You are not logged in.

#1 2009-03-14 01:10:15

cdahmedeh
Member
Registered: 2009-03-09
Posts: 20

[SOVLED] Performance Issues with Compiz

Hello,

I have noticed a few problems with Compiz Fusion. It is very slow so I have tried a few things :

-Enabled Loose Binding Increase Performance to Good Level but causes window redraw issues.
-Enabling Indirect Rendering Fixes that. But then there is no more Vsync. So there is tearing when I move windows

How do I enabled Vsync and keep good performance. I have nvidia 180 and latest version of compiz.

Here are the contents of the xorg.conf.

Thanks for the help. I am still very new with Arch Linux

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Thu Feb  5 00:18:17 PST 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
    Load           "dri"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "NoLogo" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

Last edited by cdahmedeh (2009-03-14 15:05:00)

Offline

#2 2009-03-14 01:46:12

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOVLED] Performance Issues with Compiz

Are you sure your machine is capable enough to handle Compiz?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2009-03-14 02:07:58

xaiviax
Member
From: Michigan
Registered: 2008-11-04
Posts: 282

Re: [SOVLED] Performance Issues with Compiz

With nvidia drivers, I believe the Load  "dri"    line should be commented out.

Not sure if it's still needed in latest Xorg (it shouldn't hurt though), but in Section "Screen" you might want to add Option         "AddARGBGLXVisuals" "True"

Offline

#4 2009-03-14 15:04:34

cdahmedeh
Member
Registered: 2009-03-09
Posts: 20

Re: [SOVLED] Performance Issues with Compiz

Downgrade to nvidia-17xx solved all problems. Enabled loose-binding also to increase performance and no more redraw issues. Even Vsync works now !

Offline

#5 2009-03-14 15:19:53

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: [SOVLED] Performance Issues with Compiz

loose-binding needs to be enabled for all NVIDIA cards AFAIK. Then manually set your refresh rate and enable vsync, and all should be smooth. smile

Offline

#6 2009-05-03 00:29:48

soylent_green_is_hamster
Member
Registered: 2006-11-15
Posts: 109

Re: [SOVLED] Performance Issues with Compiz

I have exactly the same problem.

I have a Nvidia card, so I have to enable loose binding, but then I get the window redraw issues. So I enable Indirect rendering, then I get the screen tearing!
No amount of tweaking the vsync options in compiz or nvidia-settings can fix the issue.

Anyone else solve this, without downgrading their nvidia drivers??

Offline

Board footer

Powered by FluxBB