Version: (using KDE 4.0.0) Installed from: Gentoo Packages OS: Linux Composite is activated in xorg, and OpenGL works. # glxinfo | grep direct direct rendering: Yes # xdpyinfo | grep Composite Composite Kwin is compiled with xcomposite option too. The problem is, in the KDE configuration panel, I enable effets, and it's marked enable, but no effets works. In logs I just can see "Failed to create Scene object. Compositing disabled". I have elredy USE beryl with the same configuration, and I've try many compilations, but the result with kwin is always "Failed to create Scene object. Compositing disabled", and I can't understand where the problem is.
I had something similar happen to me because my distro's X config tool chose to assign a default color depth of 16 to my screen's configuration. (Option "Default Depth" in the "Screen" section in the xorg.conf file) Changing that to 24 fixed the non-working composite.
Thanks for your comment, but I use a 24 color depth, this is not the problem here. (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32 (**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32 (yes, I use two screens on the same nVidia card, vith xinerama.)
Does it work if you try without Xinerama?
I've just try, and it works without xinerama. What's a shame, I need xinerama :/
I have 2 screens on the same card using nvidia twinview, compositing works here so maybe it is something to do with the setup? Here is my device and screen sections. Section "Device" Identifier "Videocard0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 7900 GS" Option "RenderAccel" "true" Option "DisableGLXRootClipping" "true" Option "AddARGBGLXVisuals" "true" Option "AllowGLXWithComposite" "true" Option "UseCompositeWrapper" "true" EndSection Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 Option "TwinView" "1" Option "metamodes" "CRT: nvidia-auto-select +1680+0, DFP: nvidia-auto-select +0+0" SubSection "Display" Depth 24 EndSubSection EndSection
I've add this two lines in the "Device" section, but the result is the same. I know that with twinview, it's more easy to USE composite effets, but the problem is that twinview does nots allow more than 2 screens...
Compositing does not work with the original Xinerama implementation, you need things like Twinview, MergedFB, etc.