Bug 32871

Summary: [RADEON:KMS:R300G:XV] XV rendering loose blue component after a suspend/resume cycle
Product: xorg Reporter: Thierry Vignaud <thierry.vignaud>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: high CC: carlos, maraeo
Version: 7.6 (2010.12)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
mplayer -vo gl of a quake video
none
mplayer -vo xv of the same quake video
none
Xorg.0.log
none
dmesg output
none
Xorg for an r600 with this error none

Description Thierry Vignaud 2011-01-06 04:51:31 UTC
Created attachment 41706 [details]
mplayer -vo gl of a quake video

This bug exists on ATI r300-r500 at least (tested in the old days on a rv3xx and now on a RV530LE).
It affected ati driver 6.13 (and probably 6.12 but I don't remember) as well as current git with both xserver-1.7 & 1.9:

Sometimes, usually one or more suspend/resume cycle, video playback using XV is corrupted: it looks like the blue channel is lost, like if only red & green colors are kept (or the correspondinbg colors in CYV)

This affect all video players that use XV
See attachments of mplayer & mplayer -vo gl
Comment 1 Thierry Vignaud 2011-01-06 04:54:39 UTC
Created attachment 41707 [details]
mplayer -vo xv of the same quake video

all video drivers (gl, x11, ...) but xv (& sdl presuming  going through xv too) are affected.

totem & vlc are also affected when using xv...
Comment 2 Alex Deucher 2011-01-06 09:26:00 UTC
Are you using kms or ums?  Please attach your xorg log and dmesg output.
Comment 3 Thierry Vignaud 2011-01-06 13:17:28 UTC
I'm using KMS
Comment 4 Thierry Vignaud 2011-01-06 13:19:17 UTC
Created attachment 41726 [details]
Xorg.0.log
Comment 5 Thierry Vignaud 2011-01-06 13:20:07 UTC
Created attachment 41728 [details]
dmesg output
Comment 6 Thierry Vignaud 2011-01-11 08:16:25 UTC
It's definitively after the suspend/resume cycle that the colors break havoc
Comment 7 Thierry Vignaud 2011-03-02 01:55:12 UTC
This is a very annoying bug, affecting:
ati driver: 6.12-6.14
Kernel:2.6.3x-2.6.38-rc6-git7
Comment 8 Marek Olšák 2011-03-05 10:16:58 UTC
Are you using the classic or gallium driver?
Comment 9 Thierry Vignaud 2011-03-06 02:04:11 UTC
I'm using the gallium driver
Comment 10 Carlos Martín Nieto 2011-03-14 16:06:27 UTC
Created attachment 44453 [details] [review]
Xorg for an r600 with this error

I have the same effect on a r600 (according to X.0.log) using the classic driver (it reports DRI2).
Comment 11 Thierry Vignaud 2011-08-16 14:26:21 UTC
Still valid with kernel-3.0.1, mesa-7.11 & xf86-video-ati-6.14.2.tar.bz2
Videos play fine on initial boot but got color broken once a suspend-resume cycle happens.
Any idea?
Comment 12 Thierry Vignaud 2013-11-15 17:52:05 UTC
Whereas I could still see this bug a couple monthes ago, it seems to have been fixed by something as of kernel-3.12/mesa-9.2.3

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.