You are not logged in.

#1 2011-08-03 17:44:53

Bilbax
Member
Registered: 2011-08-03
Posts: 2

[SOLVED][KDE4] KWin: no desktop effects

Hi,

I've just installed Archlinux a few days ago, everything work great! excepted... the KDE's desktop effects. I have a NVIDIA GeForce 9800 GT graphic card with the closed-source driver "nvidia". It seems that the driver works correctly, but KWin tells me that:

kwin(3042): Couldn't find framebuffer configuration for depth 32 (no ARGB GLX visual)! 
kwin(3042): Failed to initialize compositing, compositing disabled 
kwin(3042): Consult http://techbase.kde.org/Projects/KWin/4.0-release-notes#Setting_up 

...when I try to enable the OpenGL's effects. But with the XRender ones, it works. Well... not completly: some effects are still not working with XRender and, more important, my dual screen configuration stoped working. Anyway, I'd rather use OpenGL.

After some Google researchs, I'm currently with that X.Org configuration file:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Option         "Xinerama" "1"
EndSection

Section "Module"
        Load            "glx"
EndSection

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

Section "Monitor"
    Identifier     "Monitor0"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    
    DefaultDepth    24
        
    Option                  "AddARGBGLXVisuals"     "true"
    Option                  "AllowGLXWithComposite" "true"
    Option                  "RenderAccel"           "true"
    
    SubSection     "Display"
        Depth               24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
   
    DefaultDepth    24
    
    Option                  "AddARGBGLXVisuals"     "true"
    Option                  "AllowGLXWithComposite" "true"
    Option                  "RenderAccel"           "true"
    
    SubSection "Display"
        Depth               24
    EndSubSection
EndSection

glxgears works with about 13 775 FPS. Here is the output of "kwin --replace":

bilbax@bilbax-desktop:~$ kwin --replace
OpenGL vendor string:                   NVIDIA Corporation
OpenGL renderer string:                 GeForce 9800 GT/PCI/SSE2
OpenGL version string:                  3.3.0 NVIDIA 275.21
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
Driver:                                 NVIDIA
Driver version:                         275.21
GPU class:                              G80/G90
OpenGL version:                         3.3
GLSL version:                           3.30
X server version:                       1.10.3
Linux kernel version:                   2.6.39
Direct rendering:                       yes
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
kwin(3579): Couldn't find framebuffer configuration for depth 32 (no ARGB GLX visual)! 
kwin(3579): Failed to initialize compositing, compositing disabled 
kwin(3579): Consult http://techbase.kde.org/Projects/KWin/4.0-release-notes#Setting_up

When I launch "nvidia-settings", the window shows up correctly but I got this in the terminal:

Xlib:  extension "RANDR" missing on display ":0".

I don't know if it is normal or not.


Thank you in advance for your help. smile

Last edited by Bilbax (2011-08-03 18:32:38)

Offline

#2 2011-08-03 17:53:36

dimitar
Member
Registered: 2011-01-27
Posts: 59

Re: [SOLVED][KDE4] KWin: no desktop effects

I have a vague memory that the proprietary nvidia driver does not support the Composite extension when Xinerama is enabled. You could try disable Xinerama and use TwinView for your dual monitor set up.

Offline

#3 2011-08-03 18:32:24

Bilbax
Member
Registered: 2011-08-03
Posts: 2

Re: [SOLVED][KDE4] KWin: no desktop effects

I love you. smile Every effects work fluently, that was so simple. tongue

Thank you a lot!

Offline

Board footer

Powered by FluxBB