Now, the first thing to do is to get the updated driver from AMD's web site. Select Linux and your video card then you should be directed to the driver. Download it, and if you'd like, make a separate folder for it and move it in there after it's done, because we're gonna get kinda messy:
mkdir ~/atiNow we follow the steps on the Ubuntu Wiki to install the driver:
mv ~/Desktop/ati-driver-installer-8-01-x86.x86_64.run ~/ati
chmod +x ati-driver-installer-8-01-x86.x86_64.runThis creates a series of .deb packages which we can now install using dpkg. So, we do that right now:
./ati-driver-installer-8-01-x86.x86_64.run --buildpkg Ubuntu/gutsy
sudo dpkg -i fglrx-kernel-source_8.452.1-1_i386.debNow run
sudo dpkg -i xorg-driver-fglrx_8.452.1-1_i386.deb
sudo aticonfig --initialto rebuild your /etc/X11/xorg.conf file. If it says it didn't do anything, that's fine.
Reboot, and then you should get something like this:
$fglrxinfoThis completes the ATI binary installation. Now we move on to AIGLX with compiz. This, I borrowed heavily from CombatWombat, but a lot of his things were kinda unclear to me. So, I hope to clear it up. First thing you do is follow this tutorial on the Ubuntu forums (It's around the bottom by michael37. It has big headline-y letters. You can't miss it), but DO NOT install xserver-xgl. In fact, you should probably uninstall it if you have it. You won't be needing it.
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon 9550 / X1050 Series
OpenGL version string: 2.1.7276 Release
Now, you need to edit the file /usr/bin/compiz using a text editor. There, you need to add fglrx to the whitelist. You do that by finding the line (around line 54) that says WHITELIST= and has a group of keywords. Add fglrx to that group surrounded by whitespaces. So, it should read (or mine reads):
WHITELIST="nvidia intel ati radeon i810 fglrx"The next thing is to remove your video card from the blacklist which should be right under the whitelist. If you don't know which line is your card, you can figure it out by typing
compiz --replacein a terminal if you don't have XGL. It should fail and tell you which one is on the blacklist. When you figure that out, comment out the line by placing a "#" without quotes in front of it. Any time you upgrade compiz, you'll have to do this again. But it's not too bad.
So now we've got the compiz script running, now it's time to edit the /etc/X11/xorg.conf file. There are two ways of doing this, the way CombatWombat did it (I'm not too sure if it), and the way the Ubuntu Wiki did it. Since the Wiki is pretty self-explanatory, and I'd like to know if CombatWombat's way works, I'll show you how to make his edits. Underneath where it says "Section "Module""... EndSection put
Section "ServerFlags"Where it says "Section "Device"", add to the end:
Option "AIGLX" "on"
Option "VideoOverlay" "on"The ones with hashes are the ones you REALLY need. The rest are other options I guess. And at the end of the file, where the Section is "Extensions", change the line to
Option "OpenGLOverlay" "off"
Option "DRI" "true" #
Option "ColorTiling" "on"
Option "EnablePageFlip" "true"
Option "AccelMethod" "EXA"
Option "XAANoOffscreenPixmaps" #
Option "RenderAccel" "true"
Option "AGPMode" "4"
Option "AGPFastWrite" "on"
Option "KernelModuleParm" "agplock=0"
Option "UseInternalAGPGART" "no"
Option "EnablePrivateBackZ" "no"
Option "DisableGLXRootClipping" "true"
Option "AddARGBGLXVisuals" "true"
Option "AllowGLXWithComposite" "true"
Option "mtrr" "on"
Option "Composite" "Enable"And at the very end, put this section:
Section "DRI"And now just restart X and you should be able to enable compiz without XGL. This guide may not be exactly right, because I messed with A LOT of things while troubleshooting, and I tried to trim it down to what is REALLY needed. If you get problems, feel free to leave a comment. If your X dies, from a command line type:
sudo dpkg-reconfigure -phigh xserver-xorgfrom the command-line to rebuild the X server so that it works again, and tell me what went wrong, so I can make corrections. If X doesn't die but compiz doesn't work, run
compiz --replaceand post the output. Thank you!