Page 1 of 8 123 ... LastLast
Results 1 to 10 of 72

Thread: HOWTO: New Xorg+aiglx+compiz method

  1. #1
    Join Date
    Aug 2006
    Beans
    32

    HOWTO: New Xorg+aiglx+compiz method

    Well, the other HOWTO by gandalfn was an excellent guide, but it doesn't work anymore due to the changes in the compiz packages. I am going to borrow a bit from his guide, but this one works.

    So, here we go!

    1. Download packages

    I used these repos, which is recommended on the compiz forums, so add them to your sources.list
    Code:
    deb http://www.beerorkid.com/compiz dapper main aiglx
    deb http://media.blutkind.org/xgl/ dapper main aiglx
    deb http://ubuntu.compiz.net/ dapper main aiglx
    and now you need to update everything so...
    Code:
    sudo apt-get update
    sudo apt-get dist-upgrade
    lets get all those DRI packages
    Code:
    sudo apt-get install linux-dri-modules-common linux-dri-modules-`uname -r`
    Now I've never had this problem, but some have, so if you have a problem at this point, regenerate your module deps.
    Code:
    sudo /sbin/ldm-manager
    Ok, now to fetch what we wanted:
    Code:
    sudo apt-get install cgwd compiz compiz-core compiz-gnome xserver-xorg-air-core
    2. Set up your xorg server!

    Open up /etc/X11/xorg.conf and make sure modules looks like:
    Code:
    Section "Module"
    # Load "GLcore"
    Load "bitmap"
    Load "ddc"
    Load "dbe"
    Load "dri"
    Load "extmod"
    Load "freetype"
    Load "glx"
    Load "int10"
    Load "type1"
    Load "vbe"
    EndSection
    and you need to add the Option "XAANoOffscreenPixmaps" to your device section like:
    Code:
    Section "Device"
    Identifier "Intel Corporation Intel Default Card"
    Driver "i810"
    Option "XAANoOffscreenPixmaps"
    BusID "PCI:0:2:0"
    EndSection
    and add AIGLX to your ServerLayout:
    Code:
    Section "ServerLayout"
    Option "AIGLX" "true"
    Identifier "Default Layout"
    Screen "Default Screen"
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    InputDevice "Synaptics Touchpad"
    EndSection
    Uncomment out the "DRI" section if it is:
    Code:
    Section "DRI"
    Mode 0666
    EndSection
    and add the Composite extension (because that's why we did this, right?)
    Code:
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection

    3. Configure gdm

    Now we need to tell gdm we want to start the xorg-air server

    Modify /etc/gdm/gdm.conf-custom so you have these lines:
    Code:
    [servers]
    0=aiglx
    
    [server-aiglx]
    name=aiglx server
    command=/usr/bin/Xorg-air :0
    flexible=true
    Now, all SHOULD be well, but it's NOT. When I installed xorg-air-core, it doesn't seem to copy over your modules from xorg, so you need to do this. I thought of doing a symbolic link, but it didn't seem to work (in fact, browsing to the dir gave me a 'too many levels deep' error, any fix for this?) so in the mean time I simply copied everything from:

    Code:
    cp /usr/lib/xorg/modules/drivers/* /usr/lib/xorg-air/modules/drivers
    cp /usr/lib/xorg/modules/input/* /usr/lib/xorg-air/modules/input
    And that seemed to work. Like I said, if anyone knows a fix for this inconvenience let me know. However, restart your machine (or just gdm, but I found it to be a problem) and you should have those fancy effects.

    However, just to note, you now have the ability to turn on/off the GL desktop in the icon, and no longer have detailed settings in your compiz icon. This is because gset-compiz is GONE. You now use gconf-editor to change your settings. In gconf-editor browse to: apps/compiz/plugins to change settings, see my screenshot for an example.

    If you have any improvements to this guide, let me know!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	screenshot3.png 
Views:	1204 
Size:	20.0 KB 
ID:	14898  

  2. #2
    Join Date
    Aug 2006
    Beans
    2

    Re: HOWTO: New Xorg+aiglx+compiz method

    Thanx a lot guy, i've been looking around for a week for some solution,
    every HowTo crash my x server, but thanks to yours, it work so f** fine!

    --> i'd like to "te serrer la main" (en français)!

    Thanks again, cheers!!!

  3. #3
    Join Date
    Oct 2005
    Location
    Parma, OH
    Beans
    Hidden!
    Distro
    Hardy Heron (Ubuntu Development)

    Re: HOWTO: New Xorg+aiglx+compiz method

    Hi skroll,
    Thanks for the How-To. However, "However, just to note, you now have the ability to turn on/off the GL desktop in the icon."
    I did not get the icon. Any ideas?

  4. #4
    Join Date
    Oct 2005
    Location
    Parma, OH
    Beans
    Hidden!
    Distro
    Hardy Heron (Ubuntu Development)

    Re: HOWTO: New Xorg+aiglx+compiz method

    Nevermind! Works great! Thanks!

  5. #5
    Join Date
    Feb 2006
    Beans
    8

    Re: HOWTO: New Xorg+aiglx+compiz method

    I dont see an icon for turn it off/on, where should it be?

  6. #6
    Join Date
    Oct 2005
    Location
    Parma, OH
    Beans
    Hidden!
    Distro
    Hardy Heron (Ubuntu Development)

    Re: HOWTO: New Xorg+aiglx+compiz method

    Quote Originally Posted by kebabtomten View Post
    I dont see an icon for turn it off/on, where should it be?
    Look in the panel up by the clock. It's a 3D red cube. See my screen capture attached below.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot.png 
Views:	816 
Size:	634.0 KB 
ID:	15036  

  7. #7
    Join Date
    Feb 2006
    Beans
    8

    Re: HOWTO: New Xorg+aiglx+compiz method

    Yeah i have found that. I have selected the trueglass engine but shouldnt i be abel to switch workspace in 3d and stuff like that?

  8. #8
    Join Date
    Jul 2006
    Beans
    37

    Re: HOWTO: New Xorg+aiglx+compiz method

    I got it working with no problems... but it's sooo much slower than my compiz-vanilla aiglx...

  9. #9
    Join Date
    Oct 2005
    Location
    Parma, OH
    Beans
    Hidden!
    Distro
    Hardy Heron (Ubuntu Development)

    Re: HOWTO: New Xorg+aiglx+compiz method

    Right-click the icon and click on GL Desktop to turn it on. Check this link for different keyboard shortcuts to the different plugins: http://en.opensuse.org/Compiz#Defaul...oard_shortcuts

  10. #10
    Join Date
    Feb 2006
    Beans
    8

    Re: HOWTO: New Xorg+aiglx+compiz method

    Where should i right-click? On the icon in the panel? If i dont get any options there.

Page 1 of 8 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •