Comment 83 for bug 111257

Revision history for this message
TiagoMacambira (macambira) wrote : Re: [Bug 111257] Re: totem crashes with 'BadAlloc (insufficient resources for operation)' when using compiz and xserver-xorg-video-intel driver

On 9/12/07, Mahdi <email address hidden> wrote:
> The *real* solution proposed is to use gl instead of xv to play videos while
> the intel driver is buggy. Most of the popular players support that. I don't have
> any experience with xine, but mplayer have gl video output support (check
> on gmpalyer, the video output preferences... i used to use gl2 with textures and
> it used to work like a charm) :)

Since this bug annoys the hell out of me, I'll give my 2 cents.

While I do agree that XV should not be the default option for video
output on ubuntu gutsy (at least not on intel video cards) and that it
MUST replaced by something else, I don't think that gl would be the
best solution:

 * It does not play well with compiz (on feisty) the way plain X11 output does.

      Ok, the fact that the video window miniature doesn't show up when you
      cycle throw open windows or when you invoke the compiz's exposé can
      be a minor annoyance but is nevertheless an indication that something
      is not working as expected.

 * It does not seem to be stable.

      Perhaps this just happens to me but after selecting glimagesink on
      gstreamer-properties, if I ask it to "test" video output, CPU
usage would rise
      and top on 99% here. If I ask for a second "test", g-p would
just core dump.
      Oddly enough, plain X11 output does not top CPU usage at all
(quite the contrary)
      and works flawlessly across multiples invocations.

      (g)Mplayer seems to be more stable on with gl but only when i
use plain gl -- gl2
      w/ multiple tex. just won't work. Then again it still doesn't
play along with compiz.

 * Plain X11 just works.

      It may not be the most efficient/hyped/logical bet but it is
known to work in all
      scenarios: be it a intel driver, a i810 or any other driver for
that matter. I bet it
      even works with xgl :-)

So, unless XV is fixed or gstreamer-gl is fixed and made play well
along compiz, plain X11 is the best option available now.

Cheers.

Tiago Alves Macambira