PDA

View Full Version : Radeon Mobility 7500, compiz terribly slow


krzychoocpp
January 6th, 2008, 08:40 PM
Hi!

I've just bought an off-lease ThinkPad T40 with Radeon 7500 (32MB). I've installed Gentoo Linux - everything works well, except compiz. I've installed compiz fusion form xeffects overlay git ebuilds. When I start compiz with compiz --replace ccp It fails with:compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0
I've found that I should start it with "LIBGL_ALWAYS_INDIRECT=1", because I'm using AIGLX. When I set that variable, compiz starts and works... but with weird problems.

I can drag wobblying windows and animation will not slow down. When I rotate cube to side with no windows animation is smooth, but when I'm switching to side with some windows, FPS is about 2 - X is eating 100% of my CPU almost all the time.

I've tried with many driver options, using both 'radeon' and 'ati' driver, nothing helped. I'm using KDE. glxgears gives me something about 700 FPS.

I've searched forums and found nothing that helped me. Sorry for my english, I hope you understand me :)

Any idea will be appreciated.

krzychoocpp
January 8th, 2008, 11:12 PM
*BUMP* And update.

That's really weird problem. When I press Ctrl+Alt+Arrow to rotate cube to side with some windows, animation is very choppy. Switching to side without windows is smooth.

The most weird thing is when I have for example four workspaces on a cube, on first workspace there are some windows and I press and hold Ctrl+Alt+Arrow to start rotating the cube.

If current desktop is 4 (or 2, first switch is to side with windows), every switch to first desktop will be choppy when rotating the cube.

But, when current desktop is 3 (so first switch is to side without windows), animation is always smooth!

So, this hardware is capable of running compiz. I've tried many things (even changed scheduler in kernel) and found no solution. I'm not posting config files and other details since I'm using Gentoo, so my system is very customized (in other words broken ;) ). But I will post every information that will help solve this problem.


FIXED!

Finally I can play with compiz on my laptop. I got it working after editing xorg.conf - if somebody will be experiencing this problem, edit the graphic's card section:
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "EnablePageFlipping" "true"
Option "ColorTiling" "true"
Option "AccellDFS" "0"
Option "AccelMethod "XAA"
Option "XAANoOffscreenPixmaps"

I'm using DynamicClocks too, but above config just works. It seems that root of the problem was "AccelMethod" set to "EXA".