compiz-fusion on Intel GMA950 with XFCE4

I'm trying to get compiz-fusion working on a system with an Intel GMA950 card (Macbook 2,1 to be exact). It's running 8.1-RELEASE-p2 and the latest versions of Xorg, XFCE4 and Compiz from ports.

When I start compiz with:
Code:
LIBGL_ALWAYS_INDIRECT=1 INTEL_BATCH=1 compiz --replace --indirect-rendering ccp &

...it gives me:
Code:
Error: Could not acquire compositing manager
selection on screen 0 display ":0.0"
compiz (core) - Fatal: No manageable screens found on display :0.0

compiz-manager gives this:
Code:
Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x800) to maximum 3D texture size (2048): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting emerald
/usr/local/bin/compiz (core) - Error: Could not acquire compositing manager selection on screen 0 display ":0.0"
/usr/local/bin/compiz (core) - Fatal: No manageable screens found on display :0.0


Here's my xorg.conf:

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

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "record"
        Load  "dbe"
        Load  "glx"
        Load  "dri"
        #Load  "dri2"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option "XkbRules"   "xorg"
        Option "XkbModel"   "macbook79"
        Option "XkbLayout"  "pt"
EndSection

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

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        Option          "XAANoOffscreenPixmaps" "true"
        Option          "DRI"   "true"          # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "PageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
EndSection

Section "DRI"
        Mode 0666
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
        Option "DRI" "True"
        Option "NoAccel" "False"
EndSection

Section "Extensions"
        Option          "AIGLX"         "true"
        Option          "Composite"     "Enable"
EndSection

I'm attaching my xglinfo as well.

Any help would be greatly appreciated! :D

J.
 

Attachments

  • xglinfo.txt
    9.3 KB · Views: 232
Make sure compositing is not enabled in xfwm4 and that you don't have another compositing manager (such as xcompmgr) running.

Adam
 
Hi Adam,
I disabled xfce compositing and tried starting compiz again. I didn't get any errors but the title bars have disappeared so I can't move windows anymore. I tried selecting a different theme in emerald's settings but it wouldn't let me. The themes are there but nothing happens when I click on them. My terminal window is transparent though so I guess compiz is at least partially working.
 
Sounds like compiz is completely working :) Did you enable the window decoration plugin in ccsm? Did you configure it to start emerald by putting "emerald" in the Command field in that plugin? Did you enable any of the other plugins in ccsm?

Adam
 
adamk said:
Sounds like compiz is completely working :) Did you enable the window decoration plugin in ccsm? Did you configure it to start emerald by putting "emerald" in the Command field in that plugin? Did you enable any of the other plugins in ccsm?

Adam

No, I didn't do any of that. How do I enable window decoration and other plug-ins in ccsm?

Thanks again!!
 
I've overcome apathy to install and try this again. The compiz web page makes me all stabby. Ooh--you can do this and this (but you have to install that and that, and use this other thing over there, and enable them all.

It's installed and running. emerald doesn't have smart window placement, but works. Trouble is, I can't make it do anything. The only command that makes compiz do anything is ctrl-alt-down, which does indeed flatten the cube. No other keyboard or mouse command does anything. ctrl-alt-mousebutton drags out a selection box on the desktop. alt-f1 does nothing. So is xfce intercepting all the commands, or is it yet another thing that should be enabled but isn't by default?
 
All I can really say is that compiz-fusion works fine here in xfce4. Make sure you start compiz with 'compiz-manager &'. Double check the keybindings in ccsm.

compiz really doesn't enable anything by default, leaving that up to distributions and package managers. Of course, on FreeBSD, that means nothing is getting enabled by default. Quite similar to how even after installing apache, hal, dbus, postgres, etc., you have to enable them in rc.conf if you want to use them. That's the way it should be.

So what functionality do you want, that isn't working?

Oh, and emerald doesn't have any window placement. It's not the window manager. compiz is. I don't know what you consider "smart" but the "Place Windows" plugin has various placement modes: Cascade, Centered, Smart, Maximize, Random and Under Pointer.

Adam
 
Isn't the "Rotate Cube" compiz's big claim to fame? Got that enabled, but can't make it do that... or anything, really.

What's the minimum amount of settings that are needed to do that?

I'll try the Place Windows plugin.
 
My Rotate Cube enable checkmark wasn't saved. No idea what was going on there. But I can rotate it now, and window effects like wobbly windows work.
 
I enabled (checked) the Rotate Cube plugin and went back to find the check mark missing. Don't know why it didn't stick; maybe I shut down the WM without quitting ccsm the first time.
 
I enabled window decorations and wobbly windows. I can see the title bar now but I'm unable to click it and drag the windows. They're pinned to the top/left corner. Is there anything else that needs to be enabled?

Thank you! :D

J.
 
Back
Top