You are not logged in.
Hi i recently switched to arch from Ubuntu, so far its been great up untill i installed compiz.
Compiz seems to run fine, slightly less fluid than in Ubuntu, but when i run anything complex, like a game in wine i get choppy framerate (games in wine run extremely fluid in ubuntu even with compiz enabled). Ive tried several of the solutions on the forums but none of them have really helped (at least not very noticably).
- Im using the x86_64 architecture.
- I have fusion-icon running and am using the gtk-window-decorator instead of emerald.
- Im using an Asus a8js which has an nvidia geforcego 7700 (173.14.12 driver)
- Direct rendering IS enabled:
$ glxinfo | grep direct
direct rendering: Yes
$
Any help or direction will be appreciated.
Also sorry if this is in the wrong forum, from the description it sounded like an appropriate place to me.
(edit:) I just realized i forgot to mention that games in wine run extremely well with metacity (just as well as ubuntu with compiz enabled) instead of compiz and glx-window-decorator.
Last edited by Kruppe (2008-09-29 00:08:38)
Offline
Maybe you need to change the accelerator in xorg.conf.
Change this line:
Option "AddARGBGLXVisuals" "true"
to:
Option "RenderAccel" "true"
Option "AccelMethod" "exa"
Offline
Unfortunately that helped very little if at all. Thanks for the suggestion though, I appreciate it.
Heres my xorg.conf incase someone can find something wrong with it:
Section "ServerLayout"
# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Section "Files"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "MaxTapTime" "0"
EndSection
Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 31.5 - 79.0
VertRefresh 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "nVidia Corporation GeForce Go 7700"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation GeForce Go 7700"
Monitor "Generic Monitor"
DefaultDepth 24
Option "AddARGBVisuals" "True"
#Option "AddARGBGLXVisuals" "True"
Option "RenderAccel" "True"
Option "AccelMethod" "exa"
Option "NoLogo" "True"
Option "Coolbits" "1"
Option "NvAGP" "1"
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Offline
You now have exa and argbxlvisuals enabled. Are you sure you tried with addargbvisuals completely uncommented? (And restart X afterwards??)
Offline
I wasn't sure if you meant to uncomment or comment both of the argbxlvisuals options, so tried both of the following:
#Option "AddARGBVisuals" "True"
#Option "AddARGBGLXVisuals" "True"
Option "RenderAccel" "True"
Option "AccelMethod" "exa"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "RenderAccel" "True"
Option "AccelMethod" "exa"
Both yielded no effect (i restarted X with ctrl-alt-backspace each time).
Offline
Actually now that I think about it, both of the programs I'm experiencing the most noticeable slowdown in are 32bit which means it could be a lack of certain 32 bit binaries, like bin32-mesa (which i do have now and which improved performance). If there are other binaries or libraries that i need, that could definitely be a source of the slowdown (at least from what i understand).
Offline
Hmm, I know next to nothing about 64 bits, so someone needs to chime in her. BTW, if you have the Ubuntu xorg.conf, you could always try that one as well.
Offline
Yeah, i checked the Ubuntu one against the arch one, its pretty much the same actually. Also i thought about it more, and i dont think its missing 32 bit binaries or libraries since it works with metacity just fine. Its probably some odd configuration.
Offline
I've noticed that in Ubuntu zsnes takes an average of 26% cpu, and runs pretty fluidly whereas in arch it runs at 50% cpu or so and does not run fluidly, so it might actually be the libraries.
Unless someone figures out something else to investigate, I'm going to make sure all the 32 bit libraries i need are installed from AUR and if there are more than one option for a particular library I'll try the different possible configurations. If any of said configurations worked ill post what libraries i needed / replaced.
Offline
I exported the Compiz configs from Ubuntu and used it with my Arch installation. The choppiness is almost gone with powermizer at the lowest level now. Didn't actually investigate what options were changed though...
Offline
Thanks I'll try that tonight and see if it works.
Offline
After importing the ubuntu configs, compiz became slightly snappier although not enough for me to be totally convinced it was what helped.
Good news however, the libraries / imported configs helped! I'm not sure which in particular helped the most, but here they are incase someone else needs something to try in order to fix a similar problem:
lib32-mesa
lib32-libxcomposite
lib32-gtk-engines
lib32-gtkglext
lib32-glib
lib32-dbus-glib
lib32-alsa-oss
The bad news: performance was only increased for some of the programs that were slow, zsnes is still quite slow for whatever reason, although i supect thats not entirely the systems fault.
Offline