Bug 15467

Summary: Second use of XV with different colorspace give bad colors
Product: xorg Reporter: Kevin DeKorte <kdekorte>
Component: Driver/intelAssignee: Keith Packard <keithp>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Kevin DeKorte 2008-04-12 07:17:45 UTC
Using Keith's new textured video code from git as of 4/12 I found the following.

From a fresh boot

using mplayer play a video with one colorspace ie 
http://images.linspire.com/file_types/pinguin.mpg

Then play another file that comes up in a different colorspace

The second video will have a red or green tint to it.
The overlay port does not appear to have this issue
The more videos you play the worse it gets and after awhile all mpeg files playback with color problems.

my hardware is a G35 chipset
Comment 1 Keith Packard 2008-04-12 08:45:16 UTC
Ok, this one breaks for me too.
Comment 2 Keith Packard 2008-04-13 13:01:09 UTC
I've stuffed a kludge-around into the driver that replicates all of the source surface and sampler state. No, I don't understand why this helps, but it cleans things up for me at least. Please test and re-open if it still breaks for you.
Comment 3 Kevin DeKorte 2008-04-14 05:50:34 UTC
Appears to be fixed for me. Nothing like using a sledgehammer to fix a small issue.

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.