Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-28-09, 04:13 PM   #1
EvilGuru
Registered User
 
Join Date: May 2007
Posts: 28
Default Kwin 4.2 Compositing Performance

Hi,

For some reason under KDE 4.2 with KWins compositing enabled (just the default effects, using OpenGL) I get awful performance when running even the simplest of OpenGL applications, such as GLX gears.

According to the show FPS meter I am lucky to get 30, sometimes only getting 21. My grahpics card is a GeForce 7950GX2 (not running in multiple GPU mode) with the following drivers:
Code:
[ebuild   R   ] x11-drivers/nvidia-drivers-180.41  USE="gtk (multilib) -acpi -custom-cflags" 0 kB
My X.org config file is as follows:
Code:
fluorine freddie # cat /etc/X11/xorg.conf              
Section "ServerLayout"                                 
    Identifier     "Layout0"                           
    Screen      0  "Screen0" 0 0                       
    InputDevice    "Keyboard0" "CoreKeyboard"          
    InputDevice    "Mouse0" "CorePointer"              
EndSection                                             

Section "Files" 
    FontPath    "/usr/share/fonts/75dpi" 
    FontPath    "/usr/share/fonts/misc"  
EndSection                               

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

Section "ServerFlags" 
    Option         "Xinerama" "0" 
EndSection                        

Section "InputDevice" 
    Identifier      "Mouse0" 
    Driver          "mouse"  
    Option      "Name" "Razer Razer Diamondback Optical Mouse"
    Option           "Device" "/dev/input/mice"               
    Option          "CorePointer"                             
    #Option          "Buttons" "9"                            
    #Option          "Device" "/dev/input/mice"               
    #Option          "Name" "Razer Diamondback"               
    #Option          "Protocol" "ExplorerPS/2"                
    #Option          "Resolution" "1600"                      
    #Option          "ZAxisMapping" "4 5"                     
    #Option          "ButtonMapping" "1 2 3 6 7 8 9"          
EndSection                                                    

Section "InputDevice"  
    Identifier     "Keyboard0" 
    Driver         "evdev      
    Option         "CoreKeyboard"
    Option         "Device" "/dev/input/event2" 
    Option         "XkbModel"      "evdev"      
    Option         "XkbLayout"     "gb"         
EndSection                                      

Section "Monitor" 
    # HorizSync source: edid, VertRefresh source: edid 
    Identifier     "Monitor0"                          
    ModelName      "ViewSonic VP2030m"                 
    Option         "DPMS"                              
EndSection                                             

Section "Device" 
    Identifier     "Videocard0" 
    Driver         "nvidia"     
    VendorName     "NVIDIA Corporation" 
    BoardName      "GeForce 7950GT2"
    Option         "CoolBits" "1"
    Option         "AllowGLXWithComposite"
    Option         "RenderAccel"
    Option         "HWcursor"
    Option         "TwinView"
    Option         "MetaModes" "1600x1200,1600x1200;1600x1200,NULL"
    Option         "TwinViewOrientation" "LeftOf"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200"
    EndSubSection
EndSection

Section "Extensions"
    Option "Composite" "true"
EndSection
Is there any way to improve performance at all (I do not remember it being so bad with KDE 4.1 and the 17x drivers.) Or will I have to disable compositing and go back to how things were in thee KDE 3 days.

I have tried turning off Vsync in KWin and direct rendering, to no avail.

Regards, Freddie.
EvilGuru is offline   Reply With Quote
Old 03-28-09, 05:04 PM   #2
thefirstm
Registered User
 
Join Date: Feb 2009
Posts: 226
Default Re: Kwin 4.2 Compositing Performance

Do you have antialiasing/anisotropic filtering on? I find that these cause very poor performance in the compositors.
thefirstm is offline   Reply With Quote
Old 03-28-09, 06:18 PM   #3
EvilGuru
Registered User
 
Join Date: May 2007
Posts: 28
Default Re: Kwin 4.2 Compositing Performance

Quote:
Originally Posted by thefirstm View Post
Do you have antialiasing/anisotropic filtering on? I find that these cause very poor performance in the compositors.
Disabling the application overrides I had in place did the trick. However, I did quite like them (I do a fair bit of GL development and it is nice to see prototyped stuff with AA without having to explicitly force it.)

Are there any plans to make it so that, in the future, window managers are exempt from the application overrides?

Regards, Freddie.
EvilGuru is offline   Reply With Quote
Old 03-29-09, 03:59 AM   #4
thefirstm
Registered User
 
Join Date: Feb 2009
Posts: 226
Default Re: Kwin 4.2 Compositing Performance

A trick I used back before I quit using compositors was to wait to apply the nvidia settings until after the compositor was already running, therefore making it not use anti-aliasing but any application started later would use it.
thefirstm is offline   Reply With Quote
Old 04-01-09, 06:01 AM   #5
EvilGuru
Registered User
 
Join Date: May 2007
Posts: 28
Default Re: Kwin 4.2 Compositing Performance

Even with all of the texture sharpening/AA/AF turned off I still have FPS problems with mplayer using the gl/gl2 backends. Xvideo is slightly better but in order to get a smooth animation I really need to turn off compositing.

Is there anything which can be done about this?

Regards, Freddie.
EvilGuru is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Video: Xyratex ' The Next Gen in Storage Performance and Efficiency News Archived News Items 0 06-17-12 10:50 AM
SGI Boosts Big Data Performance with Sandy Bridge News Archived News Items 0 05-15-12 09:10 AM
Boost Your Performance Goals 10x ' This Week on inside* Publications News Archived News Items 0 05-13-12 06:20 PM
NVIDIA Unleashes the GeForce GTX 670 Graphics Card ' Performance Perfected (WCCFTECH) News GeForce GTX 670 Reviews 0 05-10-12 09:40 AM
My UT2003 Tweak Guide DXnfiniteFX Gaming Central 48 10-31-02 12:59 AM

All times are GMT -5. The time now is 11:17 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.