Bug 19737 - Poor 2D (CompizFusion / Video) performance on SuSE 11.1 with Xorg 7.4 and radeon
Summary: Poor 2D (CompizFusion / Video) performance on SuSE 11.1 with Xorg 7.4 and radeon
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-25 12:11 UTC by Simon Groot Bramel
Modified: 2009-02-12 03:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
GlxGears of 11.0 (242.07 KB, image/png)
2009-01-25 12:11 UTC, Simon Groot Bramel
no flags Details
GlxGears of 11.1 (note: I have already added a GART Option and fixed that) (786.53 KB, image/png)
2009-01-25 12:12 UTC, Simon Groot Bramel
no flags Details
The CompizFusion Ringswitcher on 11.0 (269.14 KB, image/png)
2009-01-25 12:19 UTC, Simon Groot Bramel
no flags Details
The CompizFusion Ringswitcher on 11.1 (269.70 KB, image/png)
2009-01-25 12:20 UTC, Simon Groot Bramel
no flags Details
my xorg.conf (4.63 KB, text/plain)
2009-01-25 12:20 UTC, Simon Groot Bramel
no flags Details
Xorg.log (35.02 KB, text/plain)
2009-01-25 12:21 UTC, Simon Groot Bramel
no flags Details
Xorg.log after lockup (2nd half of the bug) (35.39 KB, text/plain)
2009-02-11 11:50 UTC, Simon Groot Bramel
no flags Details

Description Simon Groot Bramel 2009-01-25 12:11:01 UTC
Created attachment 22231 [details]
GlxGears of 11.0

Hello guys,
I hope thats the right place to ask.

I have a Notebook with a Pentium M and an ATI Radeon Mobility 9700 (RV350) using OpenSuSE 11.1 with Xorg 7.4 and Radeon (xf86-driver-ati-9.10).
I had problems with upgrading to Xorg 7.4 due to the AGPMode (as written in a different bug) but Alex Deucher helped me out (thanks for that again).

Now I still have two issues itching which probably belong to the radeon driver. The first on is the performance. As you can see in the screenshots I attached the poor performance only belongs to CompizFusion. Having been able to play videos back in SuSE 11.0 on Xorg 7.3 and older graphics drivers, now I am not even able to switch windows probably.
This doesn't seem to be so much of a CPU Load Problem since the CPU is quite idle while switching between windows.

I have already tried a lot of things in Xorg.conf. EXA made the problems worth and the Xserver to crash randomly. Back to the AccelMethod of XAA, I added ColorTiling and PageFlipping to On, even tried AGPFastWrite but none of that gave any performance boosts. A newer version of compiz neither...
Why is Compiz effected and glxgears not? Thats strange in my eyes...


The second issue is the hibernate mode - trying to wake up my notebook the fan start, the buttons get yellow again, the hard drive spins up (but doesn't start to work like ratteling or so) ---> and the screen stays black. No chance to soft reboot then, I have to go the hard way.
It feels like that was caused by the graphics driver, could that be true or is there a way to find out? I have read that in some earlier versions of openSUSE 11.1 you had to boot with "noHz=off" but that didn't change my issue.
The standby problem is not so much of priority and you can leave out answers because it doesn't belong to the bug, but I didn't want to add another one (I don't want to flood you though)


Thank you for your participation.

There are some images and files attached which will hopefully help you.


---
simon
Comment 1 Simon Groot Bramel 2009-01-25 12:12:38 UTC
Created attachment 22232 [details]
GlxGears of 11.1 (note: I have already added a GART Option and fixed that)
Comment 2 Simon Groot Bramel 2009-01-25 12:19:11 UTC
Created attachment 22233 [details]
The CompizFusion Ringswitcher on 11.0
Comment 3 Simon Groot Bramel 2009-01-25 12:20:03 UTC
Created attachment 22234 [details]
The CompizFusion Ringswitcher on 11.1
Comment 4 Simon Groot Bramel 2009-01-25 12:20:44 UTC
Created attachment 22235 [details]
my xorg.conf
Comment 5 Simon Groot Bramel 2009-01-25 12:21:22 UTC
Created attachment 22236 [details]
Xorg.log
Comment 6 Simon Groot Bramel 2009-01-25 12:25:49 UTC
I think I should add that the performance is only so bad if switching between more than two windows.
For a better comparison I used dolphin twice and firefox once.
Switching between two windows has an fps closely above 25 which makes it feel smoother but its still far from being as high as on 11.0

and once the switching is done (ALT+TAB released) the fps rate goes up to the usual 250+ again (equal on both drivers). The compiz installation & configuration was exactly the same, since I was logged in as the same user on the /home-Partition.


thanks, Simon
Comment 7 Alex Deucher 2009-01-25 22:24:05 UTC
unless you are using dualhead, I'd remove the virtual lines in your config.  With such a large desktop you aren't leaving much room for textures.  You might also try adjusting the amount of offscreen video ram reserved for textures using the FBTexPercent option.  See the radeon man page for more info on that option.
Comment 8 Simon Groot Bramel 2009-01-26 04:26:39 UTC
Yiip! That solved the problem.

I hadn't even watched the virtual lines - Sax2 simply put them there.

G*R*E*A*T* And again: Thank you so much - I am happy to have an ATI Card so that I can use your driver ;-)
Comment 9 Michel Dänzer 2009-01-26 04:41:45 UTC
BTW, I'd really recommend using EXA for compositing. Neither 2D acceleration nor zero-copy texture-from-pixmap are possible with XAA.
Comment 10 Simon Groot Bramel 2009-01-26 08:46:30 UTC
Thanks

after it had been fast at last, I gave "EXA" a try and was amazed by the video performance. I could draw the videos with xvsm driver and therefore see them on the scale plugin and stuff like that BUT I also encountered frequent hangs (especially when using the cairo-dock) so I had to go back to XAA for a stable system.,, :-(
Comment 11 Simon Groot Bramel 2009-02-11 09:50:24 UTC
(In reply to comment #9)
> BTW, I'd really recommend using EXA for compositing. Neither 2D acceleration
> nor zero-copy texture-from-pixmap are possible with XAA.
> 

I don't wanna annoy you with opening a new bug for this: I still can't use EXA - my X freezes in minutes. There is no loop or so in Xorg.0.log...

I hope you can read this, even though the bug is marked as fixed - should I open a new one? Is this problem known? Does it only appear with RV-350 Cards?
Thanks!
Comment 12 Alex Deucher 2009-02-11 10:31:37 UTC
you might want to try the latest bits from git master.
Comment 13 Simon Groot Bramel 2009-02-11 10:38:55 UTC
(In reply to comment #12)
> you might want to try the latest bits from git master.
> 

I'm using 6.10.99 - downloaded from gitweb, 2 hours ago:

git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-ati

===============

does that mean I'm using the git master's version?
is there another file which might be helpful?
Comment 14 Simon Groot Bramel 2009-02-11 10:39:49 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > you might want to try the latest bits from git master.
> > 
> 
> I'm using 6.10.99 - downloaded from gitweb, 2 hours ago:
> 
> git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-ati
> 
> ===============
> 
> does that mean I'm using the git master's version?
> is there another file which might be helpful?
> 

WHOOW - I've just seen that you added an EXA Fix into the master 92 minutes ago.

I'll check it and let u know here!
Comment 15 Simon Groot Bramel 2009-02-11 11:50:39 UTC
Created attachment 22835 [details]
Xorg.log after lockup (2nd half of the bug)

That doesn't look so bad, does it?
But I don't know where else to search
Comment 16 Simon Groot Bramel 2009-02-11 11:53:11 UTC
(In reply to comment #14)
> (In reply to comment #13)
> > (In reply to comment #12)
> > > you might want to try the latest bits from git master.
> > > 
> > 
> > I'm using 6.10.99 - downloaded from gitweb, 2 hours ago:
> > 
> > git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-ati
> > 
> > ===============
> > 
> > does that mean I'm using the git master's version?
> > is there another file which might be helpful?
> > 
> 
> WHOOW - I've just seen that you added an EXA Fix into the master 92 minutes
> ago.
> 
> I'll check it and let u know here!
> 



Nope, didn't work!
I've created an attachment of the Xorg.0.log but I'm not sure whether it contains the needed information.
Comment 17 Michel Dänzer 2009-02-12 03:05:42 UTC
(In reply to comment #11)
> I don't wanna annoy you with opening a new bug for this: I still can't use EXA
> - my X freezes in minutes.

In general, it's less problematic to file a duplicate report than to clutter up a report with unrelated issues.

> should I open a new one?

Please do, after checking there isn't already one which matches your problem exactly.

> Is this problem known? Does it only appear with RV-350 Cards?

No such problem on my RV350, but apparently RV350s do tend to be picky vs. Option "AGPMode", so playing with that might be a start for narrowing it down.


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.