You are not logged in.

#1 2008-07-29 19:24:59

adriano
Member
From: Italy
Registered: 2008-07-29
Posts: 129
Website

Compiz as WM problems..

Hi to all. I see wiki and forum topic http://bbs.archlinux.org/viewtopic.php?id=51282
I'm trying to start Compiz-fusion without DE but when I start .xinitrc script or I digit in a shell "compiz --replace ccp &", I have this errors and xserver crashs

compiz (core) - Fatal: No GLXFBConfig for default depth, this isn't going to work.
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.

I tried all solution in .xinitrc and start-fusion.sh but It doesn't work.
I activated the AIGLX support for my radeon drivers like in a wiki.
This is my Xorg.conf file

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
Option "AIGLX" "true"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "record"
    Load  "extmod"
    Load  "dbe"
    Load  "xtrap"
    Load  "dri"
    Load  "freetype"
Load "glx"
Load "dbe"
Load "drm"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option    "XkbLayout" "it"
    Option    "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    #DisplaySize      330   210    # mm
    Identifier   "Monitor0"
    VendorName   "SEC"
    ModelName    "3645"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "M22 [Mobility Radeon X300]"
    BusID       "PCI:3:0:0"
Option "XAANoOffscreenPixmaps" "true"
Option "DRI" "true"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
DefaultDepth  24
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
EndSection

Section "Extensions"
  Option "Composite" "Enable"
    Option "RENDER" "true"
    Option "DAMAGE" "true"
EndSection

Section "DRI"
  Group 0
  Mode 0666
EndSection

Thanks you
bye

Last edited by adriano (2008-07-29 19:27:38)


Italian ArchLinux User
My projects on my homepage: www.obliquo.net

Offline

#2 2008-07-29 22:41:34

dr.cranium
Member
Registered: 2008-01-25
Posts: 65

Re: Compiz as WM problems..

Does changing the Default Depth line to 16 help at all? Just a guess.  I recall something about a problem with a depth of 24.

Offline

#3 2008-07-29 23:02:49

adriano
Member
From: Italy
Registered: 2008-07-29
Posts: 129
Website

Re: Compiz as WM problems..

I didn't understand...I must change 16 to all ?


Italian ArchLinux User
My projects on my homepage: www.obliquo.net

Offline

#4 2008-07-30 02:17:13

dr.cranium
Member
Registered: 2008-01-25
Posts: 65

Re: Compiz as WM problems..

The error says that "No GLXFBConfig for default depth".  Your default depth line is 24.  I would try changing it from

DefaultDepth  24
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
EndSection

to

DefaultDepth  16
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
EndSection

I also found a ton of threads when I googled "NO GLXFBConfig for default depth".  I would troll through those.

Offline

#5 2008-07-30 03:27:17

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: Compiz as WM problems..

I had the same problem as you do. The problem isn't the default depth. The problem is you don't have the direct rendering needed for compiz. Assuming you are using the opensource ATI driver "radeon" from your xorg.conf file, that unfortunately doesn't support 3D rendering for your ATI card yet.

Just to prove my point enter this:

glxinfo | grep -i "direct rendering"

If it saids no, adding the extra options or enabling AIGLX will do you no good.

I recommend uninstalling that driver and installing the proprietary driver catalyst because it is the only one that works with AIGLX and direct rendering, which is what I needed to get compiz-fusion working.

Offline

#6 2008-07-30 03:42:11

dr.cranium
Member
Registered: 2008-01-25
Posts: 65

Re: Compiz as WM problems..

lol. ignore what i said.  Listen to him.

Offline

Board footer

Powered by FluxBB