[Xorg-driver-geode] Xv PutImage crash

Daniel Drake dsd at laptop.org
Wed Aug 4 07:16:21 PDT 2010


On 4 August 2010 02:21, Cui, Hunk <Hunk.Cui at amd.com> wrote:
>> There are several reasons why you might not see the crash. Most likely
>> is that you're using Firefox or some other browser that plays back ogg
>> files without using Xv.
>
> [Hunk.Cui] Now in my platform, I am using firefox browser that playback
> ogg files without using Xv, so it is far too slow in our Geode platform.
> In default situation (In Firefox, Edit ->Preferences -> Application, the
> Ogg Video plugin is "use VLC Multimedia Plugin (compatible Totem
> 2.30.2)").
>
>        The question: In these info, Do you think the Firefox is using
> totem-Xv? (I know that the totem also is a movie player in linux.)

I'm not sure.

>        But in my platform, I saw totem-gstreamer: Not using xv,
> playback takes up lots of CPU.

Perhaps you should look for another way to play back the ogg file then.

> About the bug info: https://bugs.freedesktop.org/show_bug.cgi?id=29391
>
> I have seen your log and conf file.
> Xorg.0.log: http://dev.laptop.org/~dsd/20100803/Xorg.0.log
> xorg.conf: http://dev.laptop.org/~dsd/20100803/xorg.conf
>        I saw you always use the driver name is "amd"(2.11.3), but in
> most platform, our geode driver have been updated to 2.11.8, Now I hope
> you can use the latest version 2.11.8 to test the Xv, then I can
> synchronization with your problems, and know more info.

I reproduced it on git HEAD.

>        About the Xv, I have less contact, please tell more about this
> part that I can trace more accurate. :)

All the details are here:
http://lists.x.org/archives/xorg-driver-geode/2010-August/000938.html

>>Considering this, and the fact that writing the correct number of
> dwords for a >low-resolution I420 video causes the engine to hang, I've
> come up with a >workaround for this bug: detect the buggy case when
> we're about to write 2 >lines per loop iteration (causing the overflow
> at the end), but instead of >writing 2 lines, simply write each line
> twice. This way we avoid the hang >(still writing the same number of
> dwords as before) and never overflow the >buffer.
>
> [Hunk Cui] What is the definition of I420 image?

What do you mean by definition? Are you asking what the meaning of the
word "I420" is? It refers to the format of the image - the way that
the colours are encoded into bytes, the fact that it is planar, and
the arrangement of the planes. http://www.fourcc.org/yuv.php#IYUV

> Btw: Will I need to setup Video4Linux Control Panel? (in System ->
> Preferences)

I don't think this is relevant.

Daniel


More information about the Xorg-driver-geode mailing list