Bug 18937 - Textured video XV port occassionally tints everything green
Summary: Textured video XV port occassionally tints everything green
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
Depends on:
Reported: 2008-12-07 17:55 UTC by Ben Gamari
Modified: 2009-02-04 07:29 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:

Screenshot of xine (69.33 KB, image/png)
2008-12-07 17:55 UTC, Ben Gamari
no flags Details
Xorg log (32.64 KB, text/plain)
2008-12-07 19:44 UTC, Ben Gamari
no flags Details
Corrupt textured video (green tint, red stripes) (355.64 KB, image/png)
2008-12-18 09:18 UTC, Sven Arvidsson
no flags Details
Green vertical line at each side of video (29.21 KB, image/png)
2008-12-19 15:12 UTC, Sven Arvidsson
no flags Details
clear video buffer (988 bytes, patch)
2008-12-21 19:37 UTC, Wang Zhenyu
no flags Details | Splinter Review
X log (271.15 KB, text/plain)
2009-01-14 22:26 UTC, Ari Entlich
no flags Details

Description Ben Gamari 2008-12-07 17:55:54 UTC
Created attachment 20878 [details]
Screenshot of xine

With git Xorg components, everything is tinted a subtle shade of green with XV. This occurs with mplayer, xine, and totem when using XV. In particular, black is rendered as (R=0, G=32, B=0). Perhaps someone messed up in the colorspace conversion?

Xorg components as of Sun Dec 7 20:51:20 EST 2008
drm: 	b0d93c74d884b40bd94469a5ef75fdb2fef17680
xf86-video-intel: 	6d0160c6d635f46a941e5ab30bbb1420f45b2c01
mesa: 	bdc8ac4426f00eaafbe8ca0d356563efe390294d
xserver: 	c3bf15ba85fd3ab2e1fe809428b75bf34db25cc8

Linux mercury.localdomain 2.6.28-rc7 #4 SMP Sun Dec 7 18:51:20 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
Comment 1 Michael Fu 2008-12-07 18:32:05 UTC
please follow : http://intellinuxgraphics.org/how_to_report_bug.html
Comment 2 Ben Gamari 2008-12-07 19:44:25 UTC
Created attachment 20883 [details]
Xorg log
Comment 3 Ben Gamari 2008-12-07 19:48:30 UTC
I just attempted to play the DVD that I was seeing the problem with earlier and it seems to be fine. I have gone through a suspend and resume cycle between now and the initial incident however. I'll report back when I figure the conditions for reproduction.
Comment 4 Sven Arvidsson 2008-12-17 14:36:35 UTC
I have seen this a couple of times on my G45. No idea what it's caused by, it's gone after a reboot.
Comment 5 Sven Arvidsson 2008-12-18 09:18:12 UTC
Created attachment 21278 [details]
Corrupt textured video (green tint, red stripes)

It just happened again. This time there's also some vertical red stripes. I'm attaching a screenshot.

System environment:
-- chipset: G45 / ICH10R
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- Machine or mobo model: Asus P5Q-EM
-- Display connector: DVI

-- xf86-video-intel: e6479f96e5d8da39fcbb5376c4a66a1f924ec4e4
-- xserver: 1.5.2
-- mesa: 702b5b076b7591560e7e701e0c9ff2eeb30fa966
-- drm: c86d431fe6174b1c2de531929213ea7dbd92326d
-- kernel: for-airlied 66647dc60d16fae9f6963fd98b6d9baa1a8dac69
Comment 6 Sven Arvidsson 2008-12-18 12:08:01 UTC
Hmm, this time the green tint survived the reboot, but it was gone after I updated xf86-video-intel and drm to the versions below. 

-- xf86-video-intel: aae4008096399a0e84abc7c016b35092caf9db25
-- drm: 0243c9f801a35de3465a0321c02f18a4d07ce5b8
Comment 7 Sven Arvidsson 2008-12-19 15:12:43 UTC
Created attachment 21329 [details]
Green vertical line at each side of video

After a while, everything turned green again, even with aae4008096399a0e84abc7c016b35092caf9db25.

I'm now using d8e89b26ef5ef2c15e5d34162b14d279a7f0bb1c of xf86-video-intel, and instead of the whole video going green, there's a green vertical line at each side of the video. I'm not sure if that's another bug, or a clue to this problem.
Comment 8 Wang Zhenyu 2008-12-21 19:37:32 UTC
Created attachment 21373 [details] [review]
clear video buffer

Could you test if this one helps?
Comment 9 Sven Arvidsson 2008-12-22 05:36:32 UTC
Unfortunately, it didn't do any difference. 
Comment 10 Sven Arvidsson 2008-12-27 10:01:20 UTC
I have tried to bisect this, but as I have no sure way of reproducing the bug the results isn't very conclusive. 

 There are only 'skip'ped commit left to test.
 The first bad commit could be any of:
 We cannot bisect more!

I also had to skip a few commits as they only made X hang when video was played.
Comment 11 Sven Arvidsson 2009-01-11 11:36:44 UTC
I have been using xf86-video-intel 91c49067abab262edce54d33af8bfc03eee20f2e for several days now, and I have yet to see any green videos.

It would be great if someone else could confirm if the bug really is gone.
Comment 13 Ari Entlich 2009-01-14 22:26:24 UTC
Created attachment 21995 [details]
X log

X log of the session in which the problem was reproducible.
Comment 14 Ari Entlich 2009-01-14 22:46:17 UTC
Restarting the X server does seem to be sufficient.
Comment 15 Wang Zhenyu 2009-01-20 22:23:48 UTC
Please test with current master.
Comment 16 Ben Gamari 2009-02-04 07:29:04 UTC
I haven't been watching too much with Xv recently, however I haven't seen this recur on master. I think we can probably call it fixed and reopen if someone still sees it.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.