Bug 14673

Summary: Corrupted output using textured video
Product: xorg Reporter: Sven Arvidsson <sa>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.3 (2007.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Broken vs correct video none

Description Sven Arvidsson 2008-02-25 13:26:08 UTC
Created attachment 14567 [details]
Broken vs correct video

Hi,

Using textured video, I have two movie clips which gives corrupt output, they work fine using regular overlay. One video is in WMV format, and the other in Dirac.

Both MPlayer and GStreamer show the same problem, all other videos I tried seems to work fine.

Attached is a screenshot of the corrupt video, side to side with the correct output. If it's any help, I can attach a short sample of the videos.

I'm using a R200 (Radeon 9100) card.
Comment 1 Roland Scheidegger 2008-02-25 14:21:08 UTC
Looks like alignment issues to me. What's the resolution of the videos, and is this using planar or packed output format?
Comment 2 Alex Deucher 2008-02-25 14:23:41 UTC
looks like the stride is wrong.  What YUV format are the videos (planar or packed)?
Comment 3 Sven Arvidsson 2008-02-25 15:45:51 UTC
The WMV is 500 x 280, MPlayer reports Planar YV12. 

The Dirac video is 712 x 287, I'm not sure about the format for this one as MPlayer doesn't pick up the video stream.
Comment 4 Alex Deucher 2008-02-26 12:20:31 UTC
can you try again with the latest changes in git?
Comment 5 Sven Arvidsson 2008-02-26 12:57:23 UTC
No change as far as I can see. I'm using b4fa1ce9d2da04d94521a82d3c2e95f0fe985ccc
Comment 6 Alex Deucher 2008-02-26 13:44:25 UTC
(In reply to comment #5)
> No change as far as I can see. I'm using
> b4fa1ce9d2da04d94521a82d3c2e95f0fe985ccc
> 

How about:
a2dca1d68d751def34ef3c6f836574173737bf76
Comment 7 Sven Arvidsson 2008-02-26 14:34:01 UTC
It fixed the Dirac video, but not the WMV one. Unfortunately, it also broke a lot of other videos which worked previously. 
Comment 8 Sven Arvidsson 2008-02-27 08:22:50 UTC
I'm using 68888189cf8d460ef6f8f2f1431a6ffe9fcd8134 now, and everything works fine. Thanks for fixing this so quickly! :)

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.