Linux Help with compiz fusion & xubuntu

Discussion in 'Software' started by WhiskeyAlpha, 7 Feb 2008.

  1. WhiskeyAlpha

    WhiskeyAlpha What's a Dremel?

    Joined:
    5 May 2006
    Posts:
    838
    Likes Received:
    4
    Hi,

    Been playing with this on and off for a little while now and never got it to work (granted, my patience isn't what it once was :)).

    I had some troubles with my Nvidia drivers which I've now sorted (thanks steveo_mcq and Cinnander:thumb:) and I thought I'd had another go at getting compiz fired up.

    I followed the guides here:

    http://www.freesoftwaremagazine.com/articles/installing_compiz_fusion
    http://customisinglife.wordpress.com/category/xubuntu/aiglx/

    and edited my Xorg.conf accordingly. Unfortunately, it still doesn't wanna play ball and I get this error message:
    [​IMG]

    it looks like it's trying to use Xgl instead of AIGLX but I've no idea why.

    My Xorg.conf:
    Code:
    # xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "Files"
    EndSection
    
    Section "Module"
            Load "dri"
            Load "dbe"
            Load "glx"
    EndSection
    
    Section "InputDevice"
            Identifier      "Generic Keyboard"
            Driver          "kbd"
            Option          "CoreKeyboard"
            Option          "XkbRules"      "xorg"
            Option          "XkbModel"      "pc105"
            Option          "XkbLayout"     "uk"
    EndSection
    
    Section "InputDevice"
            Identifier      "Configured Mouse"
            Driver          "mouse"
            Option          "CorePointer"
            Option          "Device"                "/dev/input/mice"
            Option          "Protocol"              "ImPS/2"
            Option          "ZAxisMapping"          "4 5"
    EndSection
    
    Section "InputDevice"
            Driver          "wacom"
            Identifier      "stylus"
            Option          "Device"        "/dev/input/wacom"
            Option          "Type"          "stylus"
            Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
    Section "InputDevice"
            Driver          "wacom"
            Identifier      "eraser"
            Option          "Device"        "/dev/input/wacom"
            Option          "Type"          "eraser"
            Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
            Driver          "wacom"
            Identifier      "cursor"
            Option          "Device"        "/dev/input/wacom"
            Option          "Type"          "cursor"
            Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
    EndSection
    
    Section "Device"
            Identifier      "nVidia Corporation NV44 [GeForce 6200 TurboCache(TM)]"
            Driver          "nvidia"
            BusID           "PCI:1:0:0"
            Option          "UseFBDev"              "true"
            Option          "XAANoOffscreenPixmaps"
            Option          "AddARGBGLXVisuals"     "true"
    EndSection
    
    Section "Monitor"
            Identifier      "DELL 2007WFP"
            Option          "DPMS"
            HorizSync       30-83
            VertRefresh     56-76
    EndSection
    
    Section "Screen"
    
            Identifier      "Default Screen"
            Device          "nVidia Corporation NV44 [GeForce 6200 TurboCache(TM)]"
            Monitor         "DELL 2007WFP"
            DefaultDepth    24
            SubSection "Display"
                    Modes           "1680x1050" "1280x1024" "1152x864" "1024x768" "$
            EndSubSection
            Option "AddARGBGLXVisuals"      "true"
    EndSection
    
    Section "ServerLayout"
            Identifier      "Default Layout"
            Screen          "Default Screen"
            InputDevice     "Generic Keyboard"
            InputDevice     "Configured Mouse"
            Option          "AIGLX" "true"
    
    # Uncomment if you have a wacom tablet
    #       InputDevice     "stylus"        "SendCoreEvents"
    #       InputDevice     "cursor"        "SendCoreEvents"
    #       InputDevice     "eraser"        "SendCoreEvents"
    EndSection
    
    Section "DRI"
            Mode 0666
    EndSection
    
    Section "Extensions"
            Option "Composite"      "enable"
    EndSection
    
    Any ideas?
     
    Last edited: 7 Feb 2008
  2. Elv13

    Elv13 What's a Dremel?

    Joined:
    26 Apr 2006
    Posts:
    107
    Likes Received:
    0
    XGL is incompatible with AIGLX and the composite extension, disable them or delete XGL (it is useless and work bad, it is the best thing to do). Once XGL is gone, compiz will probably see the nvidia driver and use it instead of XGL. You can also try to force AIGLX, their is an option for that, you will find it with --help.

    But, what is your card, your xorg version and your driver version (or distribution realize date)
     
  3. WhiskeyAlpha

    WhiskeyAlpha What's a Dremel?

    Joined:
    5 May 2006
    Posts:
    838
    Likes Received:
    4
    My Xubuntu installation is version 7.10 (gutsy) with the 2.6.22-14-generic Linux Kernel.

    the card is an Nvidia 6200TC, I'm not sure how to check the xorg version and the driver was simply enabled by opening the restricted driver management screen and enabling the nvidia driver. I seem to remember that this guide I used was for the "feisty" release but I'm not sure how they differ tbh.

    Are feisty and gutsy further deviations of Linux within a distribution (Ubuntu)?
     
  4. WhiskeyAlpha

    WhiskeyAlpha What's a Dremel?

    Joined:
    5 May 2006
    Posts:
    838
    Likes Received:
    4
    Oh dear,

    I removed the xserver.xgl, as per your recommendation but I think it's removed my xserver altogether. Now my gui won't start and I can't seem to build a new xorg.conf

    I presume I need an "apt-get install" to retrieve a missing package but I'm not sure which one/s.

    EDIT:

    Nevermind, I fixed it (finally getting somewhere with this linux lark maybe? :D) "sudo apt-get install xserver-xorg" did the trick. Gonna test compiz now.

    EDIT2:

    Right. Got rid of the xgl business and rebuilt my xorg.conf (as shown in original post) and I'm using the restricted nvidia driver again. I wonder if the problem is actually with compiz itself as I can't run the compiz settings manager. This is the message I get now:

    [​IMG]

    It appears that it might be working to some small degree, as the windows now do a slightly different thing when they are closed or open. It still doesn't look right though and the bars around the windows have all dissapeared. This is what happens when I run "ccsm" in a terminal:

    [​IMG]

    Any ideas?
     
    Last edited: 8 Feb 2008
  5. steveo_mcg

    steveo_mcg What's a Dremel?

    Joined:
    26 May 2005
    Posts:
    5,841
    Likes Received:
    80
    These are the code names for the releases, Feisty Fawn and Gutsy Gibbon aka 7.04 and 7.10 respectively. The namess for ubuntu are now alphabetical and the proper release names are based on the year and month of release so Feisty 7.04 was released April 2007 and gutsy was released October 2007.
     
  6. Woodstock

    Woodstock So Say We All

    Joined:
    10 Sep 2006
    Posts:
    1,783
    Likes Received:
    2
    there numbering scheme make a lot more sence now
     
  7. WhiskeyAlpha

    WhiskeyAlpha What's a Dremel?

    Joined:
    5 May 2006
    Posts:
    838
    Likes Received:
    4
    Thanks steveo_mcg, that makes it a little easier to understand.

    Actually, looking at the guide again, it is intended for 7.10 "gutsy gibbon" so I should be all set.

    I've read through it a couple of times though and I'm certain I've done it all right (which probably means I haven't). XGL is gone AIGLX is enabled, yet still a "no-go".
     
  8. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    It seems you're configurating this within an X session, try closing down X and retry it.
     
  9. WhiskeyAlpha

    WhiskeyAlpha What's a Dremel?

    Joined:
    5 May 2006
    Posts:
    838
    Likes Received:
    4
    [​IMG]

    I'm not sure if that closes the X session but it's the only way I know to stop the GUI (which I learnt from your good self Glider ;))
     
  10. steveo_mcg

    steveo_mcg What's a Dremel?

    Joined:
    26 May 2005
    Posts:
    5,841
    Likes Received:
    80
    Yeah that should do it, can you ctr-alt-f7 (?) and get back to an x session? if not your golden.
     
  11. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    Yep, that closes it ;)
     
  12. WhiskeyAlpha

    WhiskeyAlpha What's a Dremel?

    Joined:
    5 May 2006
    Posts:
    838
    Likes Received:
    4
    Okay, so what now guys?
     
  13. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    from the errors it gave, it seems like it's looking for metacity (aka Gnome), so not for XFCE
     
  14. WhiskeyAlpha

    WhiskeyAlpha What's a Dremel?

    Joined:
    5 May 2006
    Posts:
    838
    Likes Received:
    4
    By "it" do you mean compiz? compiz is looking for metacity (or gnome)? Why would it do that? I'm completely befuzzled. :waah:
     
  15. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
  16. Elv13

    Elv13 What's a Dremel?

    Joined:
    26 Apr 2006
    Posts:
    107
    Likes Received:
    0
    It is looking for metacity to fallback to it because it did crash.

    Did you do compiz --replace under X or in the black shell, you have to do it in X. But try to force AIGLX. If it dont work, go to the nvidia website, download the driver, chmod 777 it, run it after closing X (sudo /etc/init.d/gdm stop) and tell it to update your xorg.conf, defualt setting are ok for me.
     
Tags:

Share This Page