Bug 15356 - transformed textured video broken on r300
Summary: transformed textured video broken on r300
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 15:42 UTC by Giacomo Perale
Modified: 2008-04-11 16:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screenshot (the problem is more evident in the video) (399.85 KB, image/png)
2008-04-04 15:42 UTC, Giacomo Perale
no flags Details
xorg.conf (3.21 KB, text/plain)
2008-04-04 15:44 UTC, Giacomo Perale
no flags Details

Description Giacomo Perale 2008-04-04 15:42:36 UTC
Created attachment 15689 [details]
Screenshot (the problem is more evident in the video)

Textured video is broken on my rv370 (Radeon X550) when the window is transformed by compiz, for example when rotating the cube. The coordinates of the texture move around and the video is deformed and flickers.

See screencast: http://rapidshare.com/files/104922012/glitches.avi.html
Comment 1 Giacomo Perale 2008-04-04 15:44:50 UTC
Created attachment 15690 [details]
xorg.conf

xorg.conf

EXA composite acceleration is disabled, but the problem occurs even if it is enabled. I couldn't find the commit which introduced the problem; however it is not present in a driver snapshot dated before the r3xx-render branch was merged into master.
Comment 2 Alex Deucher 2008-04-04 15:49:09 UTC
It would be nice if you could track this down using git bisect.  I suspect it may be related to not using TCL for textured video and EXA composite, while using TCL for OpenGL.
Comment 3 Giacomo Perale 2008-04-04 16:04:05 UTC
Broken by commit 399b1d405e602c62d6deebea6d7e1f38886cd8e2 "R3xx/R5xx: use non VAP/TCP for textured video."

Another way to test the problem: play video on the textured video adaptor, launch glxgears, see the video wobble.
Comment 4 up.whatever 2008-04-11 01:09:23 UTC
My Radeon 9700 also suffers from this problem. It's not even necessary to rotate the cube, just running compiz is enough to make the video flicker every few seconds. For me it looks slightly different than in the video, it's more like the whole picture is stretched to the right for like 1 frame in irregular intervals.
With metacity texturedvideo works fine and i can confirm that it was fine with compiz too before the TCL changes.

I'm using ubuntu 8.04 (beta) with radeon driver from git and EXA + AccelDFS enabled.
Comment 5 Alex Deucher 2008-04-11 06:39:08 UTC
I've got a pile of fixes which should take care of this.  Hopefully I can get them committed this afternoon.
Comment 6 Alex Deucher 2008-04-11 08:08:50 UTC
Can you try again with my latest changes in git?
Comment 7 up.whatever 2008-04-11 16:09:42 UTC
Flickering seems to be gone with latest git here, so i guess it's fixed now. thank you. 


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.