Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO] ATI Mobility Raedon + Compiz-Fusion + AIGLX
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
dantrell
n00b
n00b


Joined: 01 Jun 2007
Posts: 30
Location: United States

PostPosted: Mon Apr 07, 2008 11:51 pm    Post subject: [HOWTO] ATI Mobility Raedon + Compiz-Fusion + AIGLX Reply with quote

What I'm going show you is the correct modern way to get Compiz-Fusion working on a laptop with an ATI Mobility Raedon card. This has been tested namely on the x600 series but it should work for latest and greatest. But before I start I'm going go dispel all the xorg.conf myths. You don't need all those silly options. Keep it short and sweet like so:

Code:
Section "ServerLayout"
   Identifier      "ServerLayout0"
   Screen      0   "Screen0" 0 0
   InputDevice      "Mouse0" "CorePointer"
   InputDevice      "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    # fonts commented out as they are not relevant
EndSection

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

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

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

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "HP"
   ModelName   "Oh who cares?"
EndSection

Section "Device"
   Identifier  "Device0"
   Driver      "fglrx"
   VendorName  "ATI Technologies Inc"
   BoardName   "M24 1P [Radeon Mobility X600]"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Device0"
   Monitor    "Monitor0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Section "DRI"
   Mode         0666
EndSection


Like they say, K.I.S.S. The only thing you really need to add is the DRI section. AIGLX is enabled by default and all other options are obsolete or useless.

So what do else do you really *need*? Really, just get ati-drivers and compiz-fusion. The versions I used are

Quote:
* x11-drivers/ati-drivers
Latest version available: 8.471.3
Latest version installed: 8.471.3
Size of files: 52,180 kB
Homepage: http://www.ati.com
Description: Ati precompiled drivers for recent chipsets
License: AMD GPL-2 QPL-1.0 as-is


* x11-wm/compiz-fusion
Latest version available: 0.7.4
Latest version installed: 0.7.4
Size of files: 0 kB
Homepage: http://compiz-fusion.org
Description: Compiz Fusion (meta)
License: GPL-2

So do this:

Code:
emerge -va ati-drivers compiz-fusion


Then do a:

Code:
sudo eselect opengl list


If you see this:

Quote:
Available OpenGL implementations:
[1] ati
[2] xorg-x11 *


Do this:

Code:
sudo eselect opengl set 1


And this:

Code:
sudo modprobe fglrx


Once inside Gnome (or whatever), open your terminal of choice. Punch in:

Code:
sudo fglrxinfo


If you get this:

Quote:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON X600
OpenGL version string: 1.4 (2.1.7412 Release)


do this too:

Code:
glxinfo | grep rend


and if you get that as well:

Quote:

direct rendering: Yes
OpenGL renderer string: ATI MOBILITY RADEON X600


then do this:

Code:
env LIBGL_ALWAYS_INDIRECT=1 compiz --replace ccp --sm-disable & emerald --replace &


No magic, but there might be bugs. If you use Gnome, try opening an application such as Calculator. Is it greyed out? You need to either

do this (disable integration):

Quote:
System -> Preferences -> CompizConfig Settings Manager -> Preferences -> Backend -> Untick Enable integration*


or this (switch backends):

Quote:
System -> Preferences -> CompizConfig Settings Manager -> Preferences -> Backend -> Select Flat-file*


This bug also occurs with specific themes.

Anyway, you should be all set. Compiz might be a bit slow in some cases but hey, you have wobbly windows and that's all that matters eh? :roll:

If it worked for you too, great. If it didn't, remember, this isn't a support forum (I might help you if you ask nicely in a pm, resulting correspondence will be added to this howto if needed).
_________________
Dantrell B.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum