Bug 32871 - [RADEON:KMS:R300G:XV] XV rendering loose blue component after a suspend/resume cycle
Summary: [RADEON:KMS:R300G:XV] XV rendering loose blue component after a suspend/resum...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.6 (2010.12)
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 04:51 UTC by Thierry Vignaud
Modified: 2013-11-15 17:52 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
mplayer -vo gl of a quake video (173.69 KB, image/png)
2011-01-06 04:51 UTC, Thierry Vignaud
no flags Details
mplayer -vo xv of the same quake video (120.61 KB, image/png)
2011-01-06 04:54 UTC, Thierry Vignaud
no flags Details
Xorg.0.log (34.20 KB, text/plain)
2011-01-06 13:19 UTC, Thierry Vignaud
no flags Details
dmesg output (70.45 KB, text/plain)
2011-01-06 13:20 UTC, Thierry Vignaud
no flags Details
Xorg for an r600 with this error (34.21 KB, patch)
2011-03-14 16:06 UTC, Carlos Martín Nieto
no flags Details | Splinter Review

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.