[Xorg-driver-geode] Xv PutImage crash
Cui, Hunk
Hunk.Cui at amd.com
Wed Aug 4 01:21:44 PDT 2010
Hi, Daniel,
I want to ask some questions, please see below comments:
On August 03, 2010 10:28 PM, Daniel Drake <dad at laptop.org> 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.)
> For the OLPC OS we have modified Firefox so that it uses totem to play
> back ogg files, which uses Xv (through gstreamer) to play back. (Using
> firefox's software-based ogg support is far too slow for our low-power
> hardware)
[Hunk.Cui] As you said you have modified Firefox so that it uses totem
to playback the ogg file, Now in the latest Firefox versions, how to
find the totem-Xv plugin?
I have installed following package in my platform, they are:
totem, totem-common, totem-gstreamer, totem-mozilla, totem-plugins,
totem-plugins-dvb-daemon, totem-plugins-extra, totem-plugins-extra and
totem-xine. How do I use Xv to play back? Please tell me about the setup
methods and steps in Firefox, I try to reproduce it.
But in my platform, I saw totem-gstreamer: Not using xv,
playback takes up lots of CPU.
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.
About the Xv, I have less contact, please tell more about this
part that I can trace more accurate. :)
>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?
Btw: Will I need to setup Video4Linux Control Panel? (in System ->
Preferences)
I hope you can give me more setup steps and suggestion. :)
Thanks
Hunk Cui
More information about the Xorg-driver-geode
mailing list