Bug 7431 - [radeon] Enabling EXA makes Xv stop on window moves
Summary: [radeon] Enabling EXA makes Xv stop on window moves
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.1 (2006.05)
Hardware: Other Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-05 10:12 UTC by Diego Elio Pettenò
Modified: 2008-06-29 04:59 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (3.20 KB, text/plain)
2006-07-05 10:12 UTC, Diego Elio Pettenò
no flags Details
Current xorg.conf (3.09 KB, text/plain)
2006-07-26 03:14 UTC, Diego Elio Pettenò
no flags Details
Xorg.0.log when starting XAA (64.96 KB, text/plain)
2006-07-26 03:15 UTC, Diego Elio Pettenò
no flags Details
Xorg.0.log when starting EXA (64.45 KB, text/plain)
2006-07-26 03:16 UTC, Diego Elio Pettenò
no flags Details

Description Diego Elio Pettenò 2006-07-05 10:12:05 UTC
I can reproduce this problem both on an AGP Radeon 9200 PRO card and on a 9200 
Mobility (iBook G4), platforms AMD64 and PowerPC, kernel 2.6.17 (both) and 
2.6.16 (iBook's) at least (not sure for previous versions, I just bought the 
AGP card and the iBook I just used with those two kernels).

When enabling EXA acceleration (either with and without Composite), Xv support 
seems not to work as intended. If you open a media player that uses Xv output 
(mplayer, xine, vlc, tvtime) it seems to be using Xv (there's the colorkey 
painted on the window's content), but if you try to move another window 
around, not even touching the xv surface, the image stops and stands still 
until you stop moving the window.

Returning on XAA acceleration the problem is gone (although there are still a 
few glitches with Xv on MergedFB but that's another story).

The problem seems not reproducible on a 7500 card.

I'm not sure which information is pertinent, but I'll go attaching the 
xorg.conf (currently set to use XAA, but there are the commented lines for 
EXA). Both systems are Gentoo/Linux installations, using GCC 4.1.1. The 
PowerPC using GLIBC 2.3.6, while the AMD64 using GLIBC 2.4. Both have Xorg 
7.1, DRI enabled (using 2.6.17 kernel driver).
Comment 1 Diego Elio Pettenò 2006-07-05 10:12:27 UTC
Created attachment 6129 [details]
xorg.conf
Comment 2 Doug Goldstein 2006-07-08 21:26:54 UTC
Same here. Except no MergedFB, no BackingStore enabled. (because of bug #7202)
and x86. But same gcc 4.1.1 w/ X.org 7.1 My card is actually a R250Lf which I
believe is a Radeon 9200 Mobility or 9000 Mobility
Comment 3 Michel Dänzer 2006-07-17 05:33:38 UTC
(In reply to comment #0)
> Returning on XAA acceleration the problem is gone (although there are still a 
> few glitches with Xv on MergedFB but that's another story).
> 
> The problem seems not reproducible on a 7500 card.

Please attach (as opposed to paste) the full log files for all cases, preferably
the config files as well.
Comment 4 Diego Elio Pettenò 2006-07-26 03:14:28 UTC
Created attachment 6343 [details]
Current xorg.conf

Sorry for the delay, here is the updated xorg.conf.. this is for the xaa
version: the exa version as the accelmethod comment inverted and decommented
composite.
Logs coming, too.
Comment 5 Diego Elio Pettenò 2006-07-26 03:15:16 UTC
Created attachment 6344 [details]
Xorg.0.log when starting XAA
Comment 6 Diego Elio Pettenò 2006-07-26 03:16:19 UTC
Created attachment 6345 [details]
Xorg.0.log when starting EXA
Comment 7 Diego Elio Pettenò 2006-07-26 03:17:55 UTC
Sorry forgot to add those two are for the 9250; if needed I can provide the 
ones for the 9200 mobility, too.
Comment 8 Michel Dänzer 2006-07-26 04:42:35 UTC
I'm actually seeing this, too, but I never noticed it before, and I think 'fail'
is a little harsh. Changing title.
Comment 9 Diego Elio Pettenò 2006-07-26 04:53:52 UTC
Well it is not only windows moves, it might even be a terminal with scrolling 
output, konqueror loading a page, or something like that...
Sounds to me the thing that xv should do is failing here :)
Comment 10 Eric Anholt 2006-09-25 16:21:32 UTC
Sounds like just a bug in radeon's exa code.  moving to radeon driver.
Comment 11 Michel Dänzer 2006-09-26 01:12:02 UTC
(In reply to comment #10)
> Sounds like just a bug in radeon's exa code.  moving to radeon driver.

I don't agree; I don't see anything in radeon_video.c that would explain the
difference between EXA and XAA. Diego, out of curiosity, does starting the X
server with the -dumbSched command line option make any difference?
Comment 12 James Cloos 2006-09-26 07:28:49 UTC
FWIW this does not happen on an M7 (aka 7500 Mobility, uses RV200 chip).

(I use gentoo w/ xf86-video-ati and xserver from git.)
Comment 13 Diego Elio Pettenò 2006-09-26 10:19:32 UTC
I'm told by leio that this problem might be resolved.. I haven't rebooted nor 
restarted X for a while now (from before last drivers update at least), so 
I'll have to check this after a reboot, which I should do tonight or tomorrow 
at the very least.
Comment 14 Diego Elio Pettenò 2006-09-26 23:26:22 UTC
With latest version of the drivers available in Gentoo, nothing changes, a 
part being slower after disabling BackingStore as per bug #7202 now me too.

Will try with -dumbSched now.
Comment 15 Diego Elio Pettenò 2006-09-26 23:32:27 UTC
With -dumbSched things change. If I move the window slowly, or just for a few 
seconds, the image does not freeze/slow down.
If I move a window like crazy on the screen it does though.
Comment 16 Daniel Stone 2007-02-27 01:32:49 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 17 Diego Elio Pettenò 2007-03-28 04:27:59 UTC
For what it's worth, I've just updated to version 6.6.191, I couldn't even reach to test it as enabling EXA now makes the system run as slow as a P133 trying to render Unreal with software rendering..
Comment 18 Michel Dänzer 2007-03-28 07:57:01 UTC
(In reply to comment #17)
Which version of the server is that? If in doubt please attach the full log file.
Comment 19 Diego Elio Pettenò 2008-06-29 04:59:29 UTC
I'd consider this bug fixed. I just upgraded to 6.9.0, re-enabled EXA and tried both kaffeine and xine with Xv output and they both work fine.

Cheers! :)


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.