You are not logged in.

#1 2008-07-12 18:14:57

FruitieX
Member
Registered: 2008-07-03
Posts: 18

[SOLVED]Compiz Fusion slower on Arch.

Hi, I'm still quite new to Arch Linux. I've got almost everything set up the way I want now, but Compiz Fusion works way slower than it used to on Ubuntu. For example, I used to get 60 fps when Expo mode is activated, but now it feels more like 30fps, even with no windows open! And it generally seems to slow down to lower fps more easily with lots of windows open. I have an Nvidia GeForce 9500M GS card with 512MB VRAM, so that shouldn't be a problem. I am using GNOME, if that matters.

I use a script like this to launch Compiz:

#!
killall -s SIGKILL compiz
killall -s SIGKILL compiz.real
nvidia-settings -a SyncToVBlank=0
nvidia-settings -a FSAA=0
sleep 0.25
compiz ccp --replace

Could it be the ccp option I had to add for Compiz to work under Arch?

EDIT: Oh, never mind about the frames per second problem, that was just a flaw in my Gnome Session settings. (It set vsync and AA to 0, but never loaded them, I think tongue)

Oh, and while we're at it: How do I get the "gtk-window-decorator" http://wiki.compiz-fusion.org/Decorator … wDecorator to work instead of Emerald, I want to have the same window decorators with and without Compiz.

Thanks! smile

Last edited by FruitieX (2008-07-12 18:27:21)

Offline

#2 2008-07-12 19:11:43

INCSlayer
Member
From: Sweden
Registered: 2007-09-06
Posts: 296
Website

Re: [SOLVED]Compiz Fusion slower on Arch.

Pacman -S compiz-decorator-gtk
for gnome

and might i humbly suggest that you try the -Ss command it searches for things in the repositories so:
Pacman -Ss decorator gives this:
community/compiz-decorator-gtk 0.7.6-1 (compiz)
    Decorator of Compiz for GNOME
community/compiz-decorator-kde 0.7.6-1 (compiz)
    Decorator of Compiz for KDE
community/emerald 0.7.6-1 (compiz-fusion)
    Emerald window decorator
which would have told you what you have to install.

Last edited by INCSlayer (2008-07-12 19:15:00)


dovie andi se tovya sagain

Offline

#3 2008-07-12 19:20:27

FruitieX
Member
Registered: 2008-07-03
Posts: 18

Re: [SOLVED]Compiz Fusion slower on Arch.

oh wow, thanks for that search tip! I've been using pacman -Q -s and wondering where all packages are... smile

I STILL have some performance issues tho, maybe there is an AIGLX driver in use instead of the faster Nvidia one, where Ubuntu would have autoenabled the nvidia driver? I dunno smile

Would be cool to get it to run as fast as possible, compiz is a nice bonus tongue

Last edited by FruitieX (2008-07-12 19:26:57)

Offline

#4 2008-07-12 19:26:31

INCSlayer
Member
From: Sweden
Registered: 2007-09-06
Posts: 296
Website

Re: [SOLVED]Compiz Fusion slower on Arch.

thats also easy to check
open /etc/X11/xorg.conf in a editor of your choice
and check Section "ServerLayout" (it should be at the top)
if there is a:
Option "AIGLX" "true"
either remove it or comment it out by putting a # before it altough i cant see why there should be one but it never hurts to check right big_smile


dovie andi se tovya sagain

Offline

#5 2008-07-12 19:28:44

FruitieX
Member
Registered: 2008-07-03
Posts: 18

Re: [SOLVED]Compiz Fusion slower on Arch.

Ha, well I copied the xorg.conf over from my Ubuntu install (cleaned it a bit first) so nope, I do not have that in there smile.

Option "AIGLX" "false" ? tongue

Offline

#6 2008-07-12 20:04:16

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [SOLVED]Compiz Fusion slower on Arch.

I've noticed the same slowdown in expo mode on my desktop machine. This seems to be an issue with newer 8xxx and 9xxx seies cards. My laptop has just a 6150 and it works very well with compiz, no slowdowns when in expo mode. I've got a second 8800gt coming next week that I plan to run in SLI with my current one and I'l see if compiz performance improves. In the mean time I'd suggest using the --loose-bindings and --ignore-desktop-hints options when you start compiz. This will increase performance on nvidia hardware for some reason.

Offline

#7 2008-07-12 20:50:08

FruitieX
Member
Registered: 2008-07-03
Posts: 18

Re: [SOLVED]Compiz Fusion slower on Arch.

The --loose-binding and --ignore-desktop-hints options did it! 60fps in expo mode just like in Ubuntu! Thank you very much! smile

Offline

#8 2008-07-15 16:47:46

sidc
Member
Registered: 2008-06-19
Posts: 76

Re: [SOLVED]Compiz Fusion slower on Arch.

Umm, I run compiz fusion on XFCE . I just set it as an auto-started application. How do I add the --loose-bindings and --ignore-desktop-hints options? Is there any alternate way to start compiz fusion in XFCE other than adding it to the auto-started applications?

Offline

#9 2008-07-15 18:41:42

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [SOLVED]Compiz Fusion slower on Arch.

If you use a DE with compiz you can always use fusion-icon to start compiz instead of calling it directly. This gives you a tray icon that has options for loose bindings and automatically uses --ignore-desktop-hints. I know this is packaged with compiz-fusion-git from the repo listed in the forums, but not sure about the compiz in offical repo.

Offline

#10 2008-07-15 20:06:36

sidc
Member
Registered: 2008-06-19
Posts: 76

Re: [SOLVED]Compiz Fusion slower on Arch.

When I click fusion-icon in the start menu in XFCE, the screen just refreshes, but no icon appears in the tray icon. Is this a bug or should I do something so that it appears?

Offline

#11 2008-07-15 20:46:20

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [SOLVED]Compiz Fusion slower on Arch.

try running it from a terminal and see if any errors are reported.

Offline

#12 2008-07-15 23:46:56

vsk
Member
Registered: 2008-05-27
Posts: 70

Re: [SOLVED]Compiz Fusion slower on Arch.

The Gentoo Wiki on AIGLX reports that the GLcore module makes compiz lag;

In "Module", make sure GLcore is disabled and you might want to disable vbe as it's been known to slowdown Compiz, and be sure dbe is enabled:

#    Load            "GLcore"
#    Load            "vbe"
     Load            "dbe"
# [etc...]

gentoo-wiki.com/HOWTO_AIGLX

Last edited by vsk (2008-07-15 23:48:11)

Offline

#13 2008-07-16 00:18:53

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [SOLVED]Compiz Fusion slower on Arch.

FruitieX wrote:

The --loose-binding and --ignore-desktop-hints options did it! 60fps in expo mode just like in Ubuntu! Thank you very much! smile

Glad you got it working.
Please append [SOLVED] to your post title, for the benefit of other users.
Thanks, and enjoy Arch.

Offline

#14 2008-07-16 04:31:20

sidc
Member
Registered: 2008-06-19
Posts: 76

Re: [SOLVED]Compiz Fusion slower on Arch.

When I run fusion-icon in the terminal, same thing happens, it just refreshes the compiz already running.

msid ~  $  fusion-icon
* Detected Session: xfce4
* Searching for installed applications...
* NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING
* Using the GTK Interface
* Starting Compiz
... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp
compiz (core) - Error: no 'text' plugin with ABI version '20080421' loaded

compiz (shift) - Warn: No compatible text plugin loaded.
compiz (core) - Error: no 'text' plugin with ABI version '20080421' loaded

compiz (thumbnail) - Warn: No compatible text plugin found.

How do I pass the --loose-bindings to this?

Offline

#15 2008-07-17 00:46:55

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [SOLVED]Compiz Fusion slower on Arch.

Does the tray icon appear? If so, just right click it and check the Loose Bindings box.

Offline

#16 2008-07-17 04:46:43

sidc
Member
Registered: 2008-06-19
Posts: 76

Re: [SOLVED]Compiz Fusion slower on Arch.

No, the tray icon does not appear. Anyway, I was able to enable loose bindings by editing the fusion-icon file in my ~/.config/compiz. Thanks for all your help  smile

Offline

#17 2008-07-18 13:34:05

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [SOLVED]Compiz Fusion slower on Arch.

Glad to hear that you solved the issue...

Offline

Board footer

Powered by FluxBB