Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139071 - xine-lib XV video bug on i915
Summary: xine-lib XV video bug on i915
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-03 13:08 UTC by HTS
Modified: 2006-07-28 00:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,2.50 KB, text/plain)
2006-07-03 13:23 UTC, HTS
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HTS 2006-07-03 13:08:28 UTC
Video Chipset:
Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
Using:
gentoo-sources 2.6.17 (also occurs with 2.6.16.*)
   <*> /dev/agpgart (AGP Support)
   <*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
   < > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
   < > Intel 810/815 support (EXPERIMENTAL)
   < > Intel 830M/845G/852GM/855GM/865G support (EXPERIMENTAL)

emerged:
   x11-libs/libdrm-2.0.1

And my xorg.conf: http://evaost4.free.fr/xorg.conf

The bug occurs in all video players when using the xv driver.
Using the OpenGL or another driver does NOT cause the bug, it is specific to XV.
How to repeat the bug.
1) Lauch Kaffeine or Xine-ui or any video player and play a video: the video plays fine
(Image1): http://evaost4.free.fr/nice_xv.jpg
2) Close the player.
3) Launch the same or another video player: the gamma are messed up
(image2): http://evaost4.free.fr/buggy_xv.jpg
Comment 1 HTS 2006-07-03 13:23:17 UTC
Created attachment 90809 [details]
emerge --info
Comment 2 HTS 2006-07-03 13:52:55 UTC
(In reply to comment #1)
Ops, just noticed I missed two use flags:
i8x0 and xvmc

Re-emerging xine-libs and re-testing...
Comment 3 HTS 2006-07-03 14:11:28 UTC
(In reply to comment #2)
As expected the i8x0 and xvmc use flags didn't solve the issue.
Leaving the bug as NEW


Comment 4 HTS 2006-07-03 14:28:42 UTC
Updated Summary as the bug only occurs with apps using xine-lib
mplayer is not affected so the bug comes from xine-lib

Sorry for not having spotted that earlier.

Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-04 07:16:01 UTC
is vlc affected?
Comment 6 HTS 2006-07-04 10:21:40 UTC
(In reply to comment #5)
> is vlc affected?


Don't know yet, emerging VLC. I'll give you feedback asap.

Comment 7 HTS 2006-07-04 12:21:21 UTC
No! VLC is not affected. VLC seems to use its own libraries like mplayer? (Or does it use xine-lib)
Seems to confirm the xine-lib bug.
I am using:
media-libs/xine-lib-1.1.2_pre20060328-r9
But the bug was there before if I remember. Shall I try to downgrade?
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-04 12:36:05 UTC
Can you attach the output of

xine --verbose=3 somefile.avi

so that I can check what does it say? If you're using a non-English locale, also set LC_ALL=C before running that.
Comment 9 HTS 2006-07-04 12:50:02 UTC
Okey, here are the logs. I'm not too sure where to look at but I've seen some reference to some visuals so I also included the output of glxinfo with warnings about those same visuals. I'm not sure it can be related in any way but never know.
First (fine) run with xine: http://evaost4.free.fr/oklog
Second (buggy) run with xine: http://evaost4.free.fr/buggylog
glxinfo output: http://evaost4.free.fr/glxinfo
Comment 10 HTS 2006-07-04 12:57:52 UTC
Also note that once xine or kaffeine have been closed once, mplayer and vlc are affected by the bug (need to restart X). So clearly, something is messed up on exit of xine and kaffeine which is not with mplayer and vlc.
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-28 00:15:21 UTC
Please report this upstream, it's unfortunately known but I don't have hardware to even test this (and not enough knowledge of Xv to fix this without testing).