[Xorg-driver-geode] Xv PutImage crash

Cui, Hunk Hunk.Cui at amd.com
Thu Aug 5 05:06:39 PDT 2010


Hi, Daniel,
	I have installed totem-mozilla" in ubuntu (I think it uses the firefox engine as you said, is it right?), used Chrome browser, when I broadcast the ogg video, then the terminal print some info: TotemEmbeded-Message: totem_embedded_set_error: 'Could not open location; you might not have permission to open the file.' So it can not broadcast the video. :(
	I am sure it is "Totem Browser Plugin 2.30.2" (using GStreamer 0.10.28). It will link to /usr/lib/mozilla/plugins/libtotem-cone-plugin.so.
	So I hope you can tell me how to use totem's mozilla plugin in browser and the install steps? (more detail) 
	For me, it is very urgent.

Thanks,
Hunk Cui   

> -----Original Message-----
> From: dsd.olpc at gmail.com [mailto:dsd.olpc at gmail.com] On Behalf Of Daniel Drake
> Sent: Wednesday, August 04, 2010 10:16 PM
> To: Cui, Hunk
> Cc: xorg-driver-geode at lists.x.org
> Subject: Re: [Xorg-driver-geode] Xv PutImage crash
> 
> 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