<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.cchtml.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=174.55.0.0%2F16</id>
	<title>cchtml.com - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cchtml.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=174.55.0.0%2F16"/>
	<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Special:Contributions/174.55.0.0/16"/>
	<updated>2026-11-10T17:47:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Oneiric_Installation_Guide&amp;diff=8925</id>
		<title>Ubuntu Oneiric Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Oneiric_Installation_Guide&amp;diff=8925"/>
		<updated>2012-08-26T13:18:03Z</updated>

		<summary type="html">&lt;p&gt;174.55.160.197: Undo revision 8924 by 85.25.140.166 (Either ignorance or a prank)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games. Power management is now comparable to the Catalyst driver.&lt;br /&gt;
* &#039;&#039;&#039;radeonhd&#039;&#039;&#039; - an alternate driver supporting R520-R7x0 hardware. This driver is now officially deprecated in favor of radeon. If you still want to try it, see: https://help.ubuntu.com/community/RadeonHD&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;&amp;quot;Ubuntu-X&amp;quot;&#039;&#039;&#039; : This PPA offers the latest stable releases of video driver-related components. Follow the instructions at: https://launchpad.net/~ubuntu-x-swat/+archive/x-updates&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which cards are no longer supported by ATI?&#039;&#039;&#039;&lt;br /&gt;
The ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500 (including Mobility RadeonHD 2300, since it is really a DirectX 9 part).  See the complete list [http://wiki.cchtml.com/index.php/9.4 here.]&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid/10.04 (and later). If you really need the proprietary Catalyst/fglrx driver, you will have to use an older Linux distribution, such as Debian Lenny/5.0.x or Ubuntu Hardy/8.04.x.&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with Oneiric (or anything later than Lucid/10,04)! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Using Ubuntu-supplied fglrx/Catalyst ==&lt;br /&gt;
&lt;br /&gt;
This may not give you the latest drivers, but should be safest. On Ubuntu Oneiric, this will install Catalyst 8.881, which is roughly equivalent to Catalyst 11-8. NOTE: You must have the restricted repository enabled in Applications -&amp;gt; Ubuntu Software Center -&amp;gt; Edit -&amp;gt; Software Sources... for this to work. After you complete the install, skip to [[Ubuntu_Oneiric_Installation_Guide#Generate_a_new_.2Fetc.2FX11.2Fxorg.conf_file|Generate a new /etc/X11/xorg.conf file]].&lt;br /&gt;
&lt;br /&gt;
=== Command line ===&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install fglrx fglrx-amdcccle&lt;br /&gt;
&lt;br /&gt;
=== GUI ===&lt;br /&gt;
&lt;br /&gt;
You must have jockey-common and jockey-gtk (or jockey-kde for Kubuntu) packages installed. Go to the Additional Drivers Manager (System -&amp;gt; Administration -&amp;gt; Additional Drivers) and activate the &amp;quot;ATI/AMD proprietary FGLRX graphics driver&amp;quot; (or double-click the &amp;quot;available driver&amp;quot; notification icon). Ubuntu will then install and configure the driver for you.  For ocelot, go to the dashboard home and search for &amp;quot;Additional Drivers&amp;quot; in the applications search field.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) ==&lt;br /&gt;
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Before you start&#039;&#039;===&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
or Applications-&amp;gt;Ubuntu Software Center-&amp;gt;Edit-&amp;gt;Software sources-&amp;gt;Other software: check canonical partners.&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases linux-headers-generic&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
1. Install &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
 sudo apt-get install ia32-libs&lt;br /&gt;
2. Create a symlink from /usr/lib64 to /usr/lib&amp;lt;ref&amp;gt;[http://ubuntucomputing.blogspot.com/2012/01/amd-catalyst-121-driver-on-hp-pavilion.html AMD Catalyst 12.1 Driver on HP Pavilion dv6t Quad Hybrid Radeon with Linux Mint 12 / Ubuntu 11.10 Oneiric - Ubuntu Computing]&amp;lt;/ref&amp;gt; :&lt;br /&gt;
 cd /usr ; sudo ln -svT lib /usr/lib64&lt;br /&gt;
sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;http://www2.ati.com/drivers/linux/amd-driver-installer-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-x86.x86_64.run&lt;br /&gt;
 chmod +x amd-driver-installer-{{Catalystdashversion}}-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Create .deb packages.&#039;&#039;===&lt;br /&gt;
 sudo sh ./amd-driver-installer-{{Catalystdashversion}}-x86.x86_64.run --buildpkg Ubuntu/oneiric&lt;br /&gt;
It may take a while...&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Install .debs.&#039;&#039;===&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Generate a new /etc/X11/xorg.conf file&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
=== Generic Config ===&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 sudo aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
=== Minimal Config ===&lt;br /&gt;
A very basic /etc/X11/xorg.conf file might be what you need if you have a new card that&#039;s not fully supported by aticonfig. Here follows the entirety of a minimal xorg.conf file for the Radeon HD 6870:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier &amp;quot;ATI radeon 6870&amp;quot;&lt;br /&gt;
  Driver &amp;quot;fglrx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== X2/Dual GPU Cards ===&lt;br /&gt;
If you have an X2 card (e.g. 4870X2 or 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo aticonfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
=== Dual/Multi Monitors ===&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 sudo aticonfig --initial -f&lt;br /&gt;
 sudo aticonfig --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553. Be advised that you may need to manually set the correct refresh rate for your second monitor through catalyst.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Force use of the new xorg.conf (if necessary)&#039;&#039;==&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ATI driver to adopt changes made to xorg.conf, use the following command:&lt;br /&gt;
&lt;br /&gt;
 sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Test your installation&#039;&#039;==&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 11-8 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4550 (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.11005 Compatibility Profile Context (This line may be different depending on what graphics card and &lt;br /&gt;
Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 sudo aticonfig --tls=0&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Just in case&#039;&#039;===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
= Hardware Video Decode Acceleration (EXPERIMENTAL) =&lt;br /&gt;
This is confirmed to work for newer RadeonHD GPU&#039;s (those with UVD2). If you have a RadeonHD 4000-series or newer, you have UVD2. To see the complete list: http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install xvba-va-driver libva-glx1 vainfo&lt;br /&gt;
 vainfo&lt;br /&gt;
&lt;br /&gt;
vainfo should return something like the following (and no errors):&lt;br /&gt;
      libva: libva version 0.32.0&lt;br /&gt;
      Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&lt;br /&gt;
      libva: va_getDriverName() returns 0&lt;br /&gt;
      libva: Trying to open /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
      libva: va_openDriver() returns 0&lt;br /&gt;
      vainfo: VA API version: 0.32&lt;br /&gt;
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8&lt;br /&gt;
      vainfo: Supported profile and entrypoints&lt;br /&gt;
      VAProfileH264High               :	VAEntrypointVLD&lt;br /&gt;
      VAProfileVC1Advanced            :	VAEntrypointVLD&lt;br /&gt;
&lt;br /&gt;
Once you&#039;ve confirmed that vainfo is correct, you can test video playback. A good test player for xvba is VLC. You can enable xvba in Tools -&amp;gt; Preferences -&amp;gt; Input and Codecs. Check the box named &amp;quot;Use GPU acceleration (experimental)&amp;quot; and then restart VLC.&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing Catalyst/fglrx&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed them directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup&lt;br /&gt;
 sudo rm -rf /etc/ati&lt;br /&gt;
&lt;br /&gt;
If you receive&lt;br /&gt;
&lt;br /&gt;
 $ E: Internal Error, No file name for libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
Change the third command above to:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== XvBA Video Acceleration ==&lt;br /&gt;
&lt;br /&gt;
If vainfo returns an error, you may need to create a symlink:&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so&lt;br /&gt;
&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/821691&lt;br /&gt;
&lt;br /&gt;
== Video Tearing ==&lt;br /&gt;
&lt;br /&gt;
AMD/ATI claims that the &amp;quot;Tear Free Video&amp;quot; option is enabled by default, but that wasn&#039;t the case on the default Oneiric version of Catalyst (maybe Ubuntu disables it by default?).&lt;br /&gt;
If you&#039;re having issues with tearing, make sure that &amp;quot;Tear Free Video&amp;quot; is on. You can find this option in the Catalyst Control Center under &#039;Display Options&#039; or you can use the following command:&lt;br /&gt;
 sudo aticonfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using compositing, you should also make sure that vsync is enabled in the compositor&#039;s settings. I found that vsync was enabled by default, but here are the appropriate settings should you want to experiment.&lt;br /&gt;
&lt;br /&gt;
=== kwin === &lt;br /&gt;
You can enable vsync for kwin in System Settings -&amp;gt; Desktop Effects -&amp;gt; Advanced tab&lt;br /&gt;
&lt;br /&gt;
=== Compiz (Unity/GNOME-Shell) ===&lt;br /&gt;
TODO: See if there&#039;s a friendlier way to make sure vsync is enabled without installing ccsm.&lt;br /&gt;
&lt;br /&gt;
Install the compiz settings manager: &lt;br /&gt;
 sudo apt-get install compizconfig-settings-manager&lt;br /&gt;
 ccsm&lt;br /&gt;
&lt;br /&gt;
The &#039;Sync to Vblank&#039; is found in the &#039;OpenGL&#039; subsection of the &#039;General&#039; group&lt;br /&gt;
&lt;br /&gt;
== Hybrid Graphics and Catalyst==&lt;br /&gt;
&lt;br /&gt;
There are two basic types of hybrid designs. Older hybrid systems use a multiplexor (mux) to switch between GPU&#039;s. Newer systems (those with PowerXpress &amp;gt;= 4.0) are muxless. As far as I can tell, PowerXpress 4.0 started with RadeonHD 6000-series GPU&#039;s, and systems with older ATI GPU&#039;s have a mux, but don&#039;t quote that.&lt;br /&gt;
&lt;br /&gt;
=== ATI/ATI Hybrids ===&lt;br /&gt;
As of Catalyst 11-8, switching between two ATI cards (and maybe Intel/ATI muxless too?) is supposed to be doable, though I don&#039;t know if that applies to all ATI/ATI hybrids or only the muxless ones. One would use aticonfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 aticonfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo aticonfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo aticonfig --px-igpu   # Activate integrated GPU (Power-Saving mode), must re-start X to take effect&lt;br /&gt;
&lt;br /&gt;
After switching, one would log out and back in to restart X.&lt;br /&gt;
&lt;br /&gt;
=== Intel/ATI Hybrids ===&lt;br /&gt;
&lt;br /&gt;
Use of Catalyst on older systems (those with a mux) is no longer supported. I have one report of switching success with Catalyst 11-6, but ATI has now disabled switching in Catalyst, even if it worked fine with older Catalyst versions. X will refuse to start and you will find this message in your Xorg log:&lt;br /&gt;
  (WW) PowerXpress feature is not supported on A+I Mux platform. Please uninstall fglrx driver.&lt;br /&gt;
  (EE) No devices detected.&lt;br /&gt;
&lt;br /&gt;
Using open-source drivers and the vgaswitcheroo script may work better in this case.&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/8.841/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.5 in Ubuntu Natty). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.5 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the &amp;quot;ia32-libs&amp;quot; package installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
If you get a black screen hang, the first thing to check is if xorg.conf is the problem.&lt;br /&gt;
&lt;br /&gt;
You can disable the xorg.conf with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.disabled&lt;br /&gt;
&lt;br /&gt;
Reboot and check to see if things work now.&lt;br /&gt;
&lt;br /&gt;
You can reinstate the file with:&lt;br /&gt;
 sudo mv /etc/X11/xorg.conf.disabled /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick for me -&lt;br /&gt;
&lt;br /&gt;
 start on filesystem&lt;br /&gt;
&lt;br /&gt;
 script&lt;br /&gt;
	chmod 0666 /dev/null&lt;br /&gt;
	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (aticonfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 sudo aticonfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. &lt;br /&gt;
&lt;br /&gt;
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it may be possible to work around the issue by using a control file from a newer version of Catalyst than the one you&#039;re running.&lt;br /&gt;
 cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;http://www2.ati.com/drivers/linux/amd-driver-installer-&amp;lt;/nowiki&amp;gt;{{Catalystdashversion}}-x86.x86_64.run&lt;br /&gt;
 chmod +x amd-driver-installer-{{Catalystdashversion}}-x86.x86_64.run&lt;br /&gt;
 sh amd-driver-installer-{{Catalystdashversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorization files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server.&lt;br /&gt;
&lt;br /&gt;
Before the following commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 sh amd-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 sudo cp driver/packages/Ubuntu/dists/lucid/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 sudo chmod +x /etc/ati/authatieventsd.sh&lt;br /&gt;
&lt;br /&gt;
This problem can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another way to get it working is to do enable Composite, but when you want to suspend simply disable Compiz Fusion. How would you do that? Easy! Install the fusion-icon package (in repos by default):&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install fusion-icon&lt;br /&gt;
&lt;br /&gt;
After you have done that, launch it (Applications &amp;gt; System &amp;gt; Compiz Fusion Icon) and it appears in your notification area. To switch, simply right-mouse click on the icon and select Metacity. Your desktop will flicker and windows will dissapear, but after a while they appear again. Now try to suspend.&lt;br /&gt;
&lt;br /&gt;
When you wake up again, you can (hopefully) unlock your screen and there you go! Now you want Compiz back again, so right-mouse-click on the Compiz Fusion Icon and select Compiz again. Desktop flickering again, but then voila! Your Compiz Fusion Desktop is back again! (At least, that is how it is supposed to work)&lt;br /&gt;
&lt;br /&gt;
KNOWN PROBLEM: When you switch back, all your windows are on the same desktop. This happens because you switched to metacity.&lt;br /&gt;
&lt;br /&gt;
Hopefully this helped some people, as it did for me!&lt;br /&gt;
Solution posted by zwyber@gmail.com&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== Aticonfig not found after installation &amp;amp; &amp;quot;module does not exist&amp;quot; after boot ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous fglrx installs, including those through Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing aticonfig --initial after driver installation, you might end up not having the aticonfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;aticonfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;update-alternatives: error&amp;quot; during install ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;update-alternatives: error: unable to make /usr/lib/xorg/modules/drivers/fglrx_drv.so.dpkg-tmp a symlink to /etc/alternatives/fglrx_drv: No such file or directory&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can be easily solved by creating directory &amp;quot;drivers&amp;quot; under /usr/lib/xorg/modules/&lt;br /&gt;
 sudo mkdir /usr/lib/xorg/modules/drivers&lt;br /&gt;
&lt;br /&gt;
== &#039;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&#039; during deb generation ==&lt;br /&gt;
During installation you may receive the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;Can&#039;t exec &amp;quot;debian/rules&amp;quot;: Permission denied at /usr/bin/dpkg-buildpackage line 507.&amp;lt;/pre&amp;gt;&lt;br /&gt;
This can happen when your /tmp folder is mounted with the option &amp;quot;noexec&amp;quot;. The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.&lt;br /&gt;
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]&lt;br /&gt;
&lt;br /&gt;
== Black screen after uninstalling old amd drivers ==&lt;br /&gt;
Start you computer in recovery mode and exit to root shell.&lt;br /&gt;
Remount your partitions in rw mode:&lt;br /&gt;
 mount -rw -o remount /&lt;br /&gt;
 ...&lt;br /&gt;
Go to your download directory and proceed with building and installing the drivers in recovery mode.&lt;br /&gt;
All should be fine after a reboot.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;/div&gt;</summary>
		<author><name>174.55.160.197</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=cchtml.com:Current_events&amp;diff=7725</id>
		<title>cchtml.com:Current events</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=cchtml.com:Current_events&amp;diff=7725"/>
		<updated>2011-12-07T17:40:13Z</updated>

		<summary type="html">&lt;p&gt;174.55.160.197: Undo revision 7724 by 94.122.66.247 (SPAM)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*Add pages for every distribution.&lt;br /&gt;
*Setup categories as we go along.&lt;br /&gt;
*Anything else I missed.&lt;br /&gt;
&lt;br /&gt;
A spam filter is now in place, and I have customized it to better detect normal spammers. If you get blocked from the filter, please let [mailto:mike@cchtml.com me] know.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Server News==&lt;br /&gt;
09-29-06&lt;br /&gt;
New 320gig perpendicular drive installed. Working great.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
10-02-06&lt;br /&gt;
SpamBlacklist extension installed again to prevent weblink spam&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
08-17-07&lt;br /&gt;
All &#039;&#039;&#039;info&#039;&#039;&#039; domains are now blocked due to spammer abuse. If you need to post a &#039;&#039;&#039;info&#039;&#039;&#039; URL, post it on the discussion page.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
09-10-07&lt;br /&gt;
Spammers have forced me to close anonymous editing. I may re-open it if a better spam filter becomes available.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
09-11-07&lt;br /&gt;
I have enabled the simple captcha extension [http://www.mediawiki.org/wiki/Extension:ConfirmEdit ConfirmEdit] and re-enabled anonymous editing.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
06-04-08&lt;br /&gt;
Doubled Internet connection thanks to advertising support. Spammers seem to have compromised the captcha, ugh.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
10-17-09&lt;br /&gt;
Moved to new Nahalem-based server. Super-fast!&lt;br /&gt;
[http://www.italyavizesi.org İtalya Vizesi]&lt;br /&gt;
&lt;br /&gt;
A Google Adsense bar has been added to help pay for hardware and bandwidth costs. Thanks to you guys, this wiki has become a hotspot for the ATI fglrx driver. Keep those hits coming!&lt;/div&gt;</summary>
		<author><name>174.55.160.197</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Natty_Installation_Guide&amp;diff=6419</id>
		<title>Ubuntu Natty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Natty_Installation_Guide&amp;diff=6419"/>
		<updated>2011-02-25T17:09:27Z</updated>

		<summary type="html">&lt;p&gt;174.55.140.68: News Update&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Construction Notice =&lt;br /&gt;
Since Ubuntu Natty/11.04 is still under construction, so is this page. Until Natty is released, the Maverick guide ( http://wiki.cchtml.com/index.php/Ubuntu_Maverick_Installation_Guide ) will serve as the main source of info on ATI Catalyst. This page will only note items that are relevant to Natty, but not Maverick.&lt;br /&gt;
&lt;br /&gt;
= Xserver 1.10 Incompatibility Warning =&lt;br /&gt;
(This section to be removed once Catalyst supports Xserver 1.10)&lt;br /&gt;
Hopefully, AMD will integrate support for the new Xserver before Natty&#039;s release. The Catalyst 11.3 beta is said to have it. --[[User:Dtl131|Dtl131]] 21:00, 29 January 2011 (UTC)&lt;br /&gt;
&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;Major Breakage&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;WARNING: At the end of January 2011, Ubuntu integrated Xserver 1.10 into Ubuntu Natty/11.04. Even the most current release of Catalyst, 11-2, is not compatible with it, so Catalyst will not work if you have already installed Xserver 1.10. If you have not yet installed it, and want to run Catalyst on your Natty/11.04 install, you can hold the Xserver packages (or &amp;quot;Lock Version&amp;quot; as Synaptic refers to it) and continue to run Catalyst 10-12.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Patching Catalyst 10-12 Source =&lt;br /&gt;
(This section to be removed once Catalyst supports Xserver 1.10)&lt;br /&gt;
Catalyst 10-12 needs patched for compliance with kernel version 2.6.37 before you can install it.&lt;br /&gt;
&lt;br /&gt;
 $ cd ~/; mkdir catalyst10.12; cd catalyst10.12/&lt;br /&gt;
 $ wget http://www2.ati.com/drivers/linux/ati-driver-installer-10-12-x86.x86_64.run&lt;br /&gt;
 $ chmod +x ati-driver-installer-10-12-x86.x86_64.run&lt;br /&gt;
 $ ./ati-driver-installer-10-12-x86.x86_64.run --extract driver&lt;br /&gt;
 $ cd driver&lt;br /&gt;
 $ wget http://ubuntuone.com/p/WVN/firegl_public.c&lt;br /&gt;
 $ wget http://ubuntuone.com/p/WVU/Makefile&lt;br /&gt;
 $ mv firegl_public.c common/lib/modules/fglrx/build_mod/&lt;br /&gt;
 $ mv Makefile common/lib/modules/fglrx/build_mod/2.6.x/&lt;br /&gt;
 $ ./ati-installer.sh 8.801 --buildpkg Ubuntu/natty&lt;br /&gt;
 $ cd ..&lt;br /&gt;
 $ sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
= Catalyst and Unity =&lt;br /&gt;
At this time, Catalyst doesn&#039;t work with the new Ubuntu desktop (Unity). You can still use the classic GNOME desktop (or another desktop environment).&lt;/div&gt;</summary>
		<author><name>174.55.140.68</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Catalyst_10.10&amp;diff=6184</id>
		<title>Catalyst 10.10</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Catalyst_10.10&amp;diff=6184"/>
		<updated>2010-11-20T13:18:35Z</updated>

		<summary type="html">&lt;p&gt;174.55.140.68: undo trolling&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;AMD Catalyst Linux 10.10 driver&amp;lt;br /&amp;gt;&lt;br /&gt;
Revision Number: 10.10 (8.783)&amp;lt;br /&amp;gt;&lt;br /&gt;
Release Date: 10/22/2010&amp;lt;br /&amp;gt;&lt;br /&gt;
Description: Automated installer and Display Drivers for X.Org 6.8, 6.9, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, or 7.6 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
* [https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-10-10-x86.x86_64.run Installer]&lt;br /&gt;
* [https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/catalyst_1010_linux.pdf Release Notes]&lt;br /&gt;
* [https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/linux_cat1010-inst.pdf Installer instructions]&lt;br /&gt;
* [http://ati.amd.com/products/catalyst/linux.html AMD Proprietary Linux Driver FAQ]&lt;br /&gt;
&lt;br /&gt;
[[Category:Releases]]&lt;/div&gt;</summary>
		<author><name>174.55.140.68</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Lucid_Installation_Guide&amp;diff=6181</id>
		<title>Ubuntu Lucid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Lucid_Installation_Guide&amp;diff=6181"/>
		<updated>2010-11-20T01:17:12Z</updated>

		<summary type="html">&lt;p&gt;174.55.140.68: update for Catalyst 10.11&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards basically have these options:&lt;br /&gt;
# &#039;&#039;&#039;Standard Open Source Drivers&#039;&#039;&#039; Usually stable. These drivers currently have relatively poor 3D performance, but newer 3D drivers using the Gallium3D infrastructure are under development.&lt;br /&gt;
# &#039;&#039;&#039;Edge Open Source Drivers&#039;&#039;&#039; These drivers have improved 3D performance&lt;br /&gt;
# &#039;&#039;&#039;The Ubuntu Way&#039;&#039;&#039;  Use the restricted-driver management system (a.k.a jockey) that comes with Ubuntu to install the proprietary drivers.&lt;br /&gt;
# &#039;&#039;&#039;Install the proprietary drivers manually&#039;&#039;&#039;  Package-based install of a driver downloaded from AMD/ATI&#039;s site.&lt;br /&gt;
&lt;br /&gt;
= Open Source Drivers =&lt;br /&gt;
By default, Ubuntu will already try to use one of the open source drivers for your hardware.   If the feature set and stability work for you, then you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
The drivers that may be used are&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; Lowest common denominator across all graphics vendor, not many features.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; Actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; Driver support all radeon classes of hardware - with limited 3D for newer cards.&lt;br /&gt;
* &#039;&#039;&#039;radeonhd&#039;&#039;&#039; An alternate driver support R520 hardware and later. This driver is now all but officially deprecated in favor of radeon.&lt;br /&gt;
&lt;br /&gt;
By default there is no configuration file (xorg.conf) for X anymore, so X will try to do the right thing.&lt;br /&gt;
&lt;br /&gt;
If you run into stability problems with 3D applications using the radeon/radeonhd drivers, consider trying a more recent kernel.&lt;br /&gt;
[http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/ mainline-2.6.34-lucid] did the trick on a few machines.&lt;br /&gt;
&lt;br /&gt;
= Installing Open Source Edge Drivers =&lt;br /&gt;
&lt;br /&gt;
These packages are built regularly from the X.Org git repository, so they may not be fully stable. On Lucid, using this graphics stack now uses the r300g Gallium3D driver for 3D acceleration on Radeon R300-R500 (Radeon 9500 - Radeon X1950) class chips. It&#039;s probably a good idea to use the linux kernel provided by this repo if you go this route.&lt;br /&gt;
&lt;br /&gt;
To install:&lt;br /&gt;
 $ sudo add-apt-repository ppa:xorg-edgers/ppa&lt;br /&gt;
 $ sudo apt-get update&lt;br /&gt;
Now you can update your packages using Synaptic or Update Manager. &lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which cards do ATI no longer support?&#039;&#039;&#039;&lt;br /&gt;
The ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500 (including Mobility RadeonHD 2300, since it is really a DirectX 9 part).  See the complete list [http://wiki.cchtml.com/index.php/9.4 here.]&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid. If you really need the proprietary Catalyst/fglrx driver, you will have to use an older Linux distribution, such as Debian Lenny/5.0.x or Ubuntu Hardy/8.04.x.&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with Lucid! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
NOTE: You must have the restricted repository enabled in System -&amp;gt; Administration -&amp;gt; Software Sources for this to work. You must also have the fglrx-modaliases and jockey-gtk (or jockey-kde for Kubuntu) packages installed. You will be limited to the drivers for your version of Ubuntu that Canonical deems stable.  This may not give you the latest drivers, but should be safest. On Ubuntu Lucid, this will install Catalyst 8.723, which is roughly equivalent to Catalyst 10-4. Go to the Restricted Drivers Manager (System -&amp;gt; Administration -&amp;gt; Hardware Drivers) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot; (or double-click the &amp;quot;available driver&amp;quot; notification icon). Ubuntu will then install and configure the driver for you.&lt;br /&gt;
&lt;br /&gt;
== Ubuntu X Team&#039;s PPA ==&lt;br /&gt;
This is an excellent PPA, frequently updated, and run by Ubuntu veterans.&lt;br /&gt;
 $ sudo add-apt-repository ppa:ubuntu-x-swat/x-updates&lt;br /&gt;
 $ sudo apt-get update&lt;br /&gt;
At this point, you should install available updates and then you can install the driver:&lt;br /&gt;
 $ sudo apt-get install fglrx&lt;br /&gt;
&lt;br /&gt;
== Installing the drivers manually ==&lt;br /&gt;
I recommend copying and pasting the commands (do not include the leading &#039;$&#039;) to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Before you start&#039;&#039;===&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the &amp;quot;Removing the Driver&amp;quot; section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 $ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to install &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
 $ sudo apt-get install ia32-libs&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 $ cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/&lt;br /&gt;
 $ wget http://www2.ati.com/drivers/linux/ati-driver-installer-10-11-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
There is a new security hotfix need as of 9/28/2010, as a Linux kernel security update broke the driver:&lt;br /&gt;
&lt;br /&gt;
http://support.amd.com/us/kbarticles/Pages/GPU83ATICatalystLinuxHotfix.aspx&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: this does not seem necessary anymore (12-nov-10) as the Release Notes for the Catalyst 10.10 states:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Resolved Known Issues&#039;&#039;&#039;&lt;br /&gt;
Kernel module build will now function on kernels with fix for security vulnerability CVE-2010-3081&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Create .deb packages.&#039;&#039;===&lt;br /&gt;
 $ sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg Ubuntu/lucid&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Install .debs.&#039;&#039;===&lt;br /&gt;
 $ sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Generate a new /etc/X11/xorg.conf file&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Before you do this, back up your current xorg.conf if you have one (&#039;&#039;&#039;Lucid does not have an xorg.conf by default&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
==== Back Up xorg.conf ====&lt;br /&gt;
 $ sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
==== Generic Config ====&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 $ sudo aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
==== X2 Cards ====&lt;br /&gt;
If you have an X2 card (e.g. 4870X2), use... !!Do not use for two separate cards in crossfire!!&lt;br /&gt;
 $ sudo aticonfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
==== Dual/Multi Monitors ====&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 $ sudo aticonfig --initial -f --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Force use of the new xorg.conf (if necessary)&#039;&#039;===&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
 $ sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Test your installation&#039;&#039;===&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 $ fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 10-6 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4300/4500 Series (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.9901 Compatibility Profile Context (This line may be different depending on what graphics card and Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 $ fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 $ sudo aticonfig --tls=0&lt;br /&gt;
Another possibility may be to disable locked user pages with:&lt;br /&gt;
 $ sudo aticonfig --locked-userpages=off&lt;br /&gt;
This option is even described in the help output of aticonfig.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Just in case&#039;&#039;===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Updating the Driver=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing the Driver&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing the Driver=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed the directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 $ sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 $ sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 $ sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 $ sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 $ sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 $ sudo dpkg-reconfigure xserver-xorg&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;error: implicit declaration of function ‘compat_alloc_user_space’&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
This issue occurs with more recent Lucid kernels (&amp;gt;= 2.6.32-25-generic). A workaround is proposed here: http://ubuntuforums.org/showpost.php?p=9877727&amp;amp;postcount=10&lt;br /&gt;
&lt;br /&gt;
A slightly more detailed instructions (for newbies) are here: http://ubuntuforums.org/showthread.php?s=72306ca847141e035ce8bf9b28506c76&amp;amp;t=1576383&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/8.741/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 $ ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.4 in Ubuntu Lucid). This should allow you to install fglrx:&lt;br /&gt;
 $ sudo ln -sf /usr/bin/gcc-4.4 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 $ sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the &amp;quot;ia32-libs&amp;quot; package installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 $ sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Crashes in WINE == &lt;br /&gt;
For more information, see [http://bugs.winehq.org/show_bug.cgi?id=4561#c6 this WINEHQ bug report]. This issue should be fixed in WINE 1.1.40, so you may want to get an updated version of WINE by using [https://launchpad.net/~vivnet/+archive/vivnet-wine this PPA]. If you prefer the Ubuntu version of WINE, then turn FastTLS off:&lt;br /&gt;
 $ sudo aticonfig --tls=0&lt;br /&gt;
&lt;br /&gt;
== Segfault Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
After upgrading to Catalyst 10-6 the Xserver does not start. Xorg.0.log shows a segmentation fault. Adding&lt;br /&gt;
  BusID       &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
to the fglrx Device section in xorg.conf helps. For more information, look at [http://ati.cchtml.com/show_bug.cgi?id=1836 bug #1836] in the bugtracker.&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick for me -&lt;br /&gt;
&lt;br /&gt;
 $ start on filesystem&lt;br /&gt;
 $&lt;br /&gt;
 $ script&lt;br /&gt;
 $	chmod 0666 /dev/null&lt;br /&gt;
 $	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 $ end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (aticonfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 $ sudo aticonfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Slow Maximizing Windows/General 2D Slowness ==&lt;br /&gt;
As of Catalyst 10-6, a new, faster 2D acceleration method is used as the default, replacing the old XAA method. The new acceleration code was also available in Catalyst 10-2 through 10-5 (including the Catalyst that ships with Lucid), though it was not used by default. If you&#039;re using one of those versions, you can try the new acceleration code with the following command:&lt;br /&gt;
 $ sudo aticonfig --set-pcs-str=DDX,Direct2DAccel,TRUE&lt;br /&gt;
Restart X (by logging out or rebooting) to apply the change. If you experience issues and want to return to the older, stable code:&lt;br /&gt;
 $ sudo aticonfig --del-pcs-key=DDX,Direct2DAccel&lt;br /&gt;
If you&#039;re using Catalyst 10-6 or later, and are having problems with 2D operations, you may want to fall back to the old XAA. This command will do that:&lt;br /&gt;
 $ sudo aticonfig --set-pcs-str=DDX,ForceXAA,TRUE&lt;br /&gt;
&lt;br /&gt;
In the last case (at least) it is essential to run it without the Xorg server working. To do so, press CTRL+ALT+F1, log in and type the following (this will close all your programs so save your work before):&lt;br /&gt;
 $ sudo service gdm stop&lt;br /&gt;
 $ sudo aticonfig --set-pcs-str=DDX,ForceXAA,TRUE&lt;br /&gt;
 $ sudo service gdm start&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it may be possible to work around the issue by using a control file from a different version of Catalyst.&lt;br /&gt;
 $ cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/&lt;br /&gt;
 $ wget http://www2.ati.com/drivers/linux/ati-driver-installer-10-11-x86.x86_64.run&lt;br /&gt;
 $ chmod +x ati-driver-installer-10-11-x86.x86_64.run&lt;br /&gt;
 $ sh ati-driver-installer-10-11-x86.x86_64.run --extract driver&lt;br /&gt;
 $ sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 $ sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
If the above workaround causes issues, restore the original control file:&lt;br /&gt;
&lt;br /&gt;
 $ sudo mv ~/control.bak /etc/ati/control&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
 $ sudo apt-get remove xserver-xgl&lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
 $ DISPLAY=:0 glxinfo | grep render&lt;br /&gt;
:If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart some others: &lt;br /&gt;
 $ sudo modprobe -r i82875p_edac&lt;br /&gt;
 $ sudo modprobe -r fglrx&lt;br /&gt;
 $ sudo modprobe -r intel-agp&lt;br /&gt;
 $ sudo modprobe -r agpgart&lt;br /&gt;
 $ sudo modprobe agpgart&lt;br /&gt;
 $ sudo modprobe intel-agp&lt;br /&gt;
 $ sudo modprobe fglrx&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting&lt;br /&gt;
 $ gksu gedit /etc/modprobe.d/blacklisti82875p_edac.conf&lt;br /&gt;
:add the following line to the blank text file:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you upgraded to your current Ubuntu install (rather than doing a clean install), you may still be using the old kernel without knowing it.&lt;br /&gt;
 $ uname -r&lt;br /&gt;
:If your kernel version is less than 2.6.32, it is a kernel from a previous Ubuntu installation.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 $ sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 $ sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 $ sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
Before the above commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 $ cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 $ sh ati-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 $ sudo cp driver/packages/Ubuntu/dists/lucid/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 $ sudo chmod +x /etc/ati/authatieventsd.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another way to get it working is to do enable Composite, but when you want to suspend simply disable Compiz Fusion. How would you do that? Easy! Install the fusion-icon package (in repos by default):&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install fusion-icon&lt;br /&gt;
&lt;br /&gt;
After you have done that, launch it (Applications &amp;gt; System &amp;gt; Compiz Fusion Icon) and it appears in your notification area. To switch, simply right-mouse click on the icon and select Metacity. Your desktop will flicker and windows will dissapear, but after a while they appear again. Now try to suspend.&lt;br /&gt;
&lt;br /&gt;
When you wake up again, you can (hopefully) unlock your screen and there you go! Now you want Compiz back again, so right-mouse-click on the Compiz Fusion Icon and select Compiz again. Desktop flickering again, but then voila! Your Compiz Fusion Desktop is back again! (At least, that is how it is supposed to work)&lt;br /&gt;
&lt;br /&gt;
KNOWN PROBLEM: When you switch back, all your windows are on the same desktop. This happens because you switched to metacity.&lt;br /&gt;
&lt;br /&gt;
Hopefully this helped some people, as it did for me!&lt;br /&gt;
Solution posted by zwyber@gmail.com&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 $ sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 $ sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 $ sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 $ sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== Aticonfig not found after installation &amp;amp; &amp;quot;module does not exist&amp;quot; after boot ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous use of fglrx through the Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing aticonfig --initial after driver installation, you might end up not having the aticonfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;aticonfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 $ ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 $ update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 $ sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 $ sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;/div&gt;</summary>
		<author><name>174.55.140.68</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Maverick_Installation_Guide&amp;diff=6180</id>
		<title>Ubuntu Maverick Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Maverick_Installation_Guide&amp;diff=6180"/>
		<updated>2010-11-20T01:15:46Z</updated>

		<summary type="html">&lt;p&gt;174.55.140.68: update for Catalyst 10.11&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards have the following driver options:&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working and little else.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games. Power management is now comparable to the Catalyst driver.&lt;br /&gt;
* &#039;&#039;&#039;radeonhd&#039;&#039;&#039; - an alternate driver supporting R520-R7x0 hardware. This driver is now officially deprecated in favor of radeon. If you still want to try it, see: https://help.ubuntu.com/community/RadeonHD&lt;br /&gt;
* &#039;&#039;&#039;Catalyst (a.k.a fglrx)&#039;&#039;&#039; a proprietary &amp;quot;blob&amp;quot; (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD chips are supported on recent Linux distros.&lt;br /&gt;
&lt;br /&gt;
= Updated Open Source Driver PPA&#039;s =&lt;br /&gt;
* &#039;&#039;&#039;&amp;quot;Ubuntu-X&amp;quot;&#039;&#039;&#039; : This PPA offers the latest stable releases of video driver-related components. Follow the instructions at: https://launchpad.net/~ubuntu-x-swat/+archive/x-updates&lt;br /&gt;
* &#039;&#039;&#039;Xorg-edgers&#039;&#039;&#039;: This bleeding-edge PPA offers video driver-related components straight from their code (git) repositories. Follow the instructions at: https://launchpad.net/~xorg-edgers/+archive/ppa&lt;br /&gt;
&lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which cards do ATI no longer support?&#039;&#039;&#039;&lt;br /&gt;
The ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500 (including Mobility RadeonHD 2300, since it is really a DirectX 9 part).  See the complete list [http://wiki.cchtml.com/index.php/9.4 here.]&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid. If you really need the proprietary Catalyst/fglrx driver, you will have to use an older Linux distribution, such as Debian Lenny/5.0.x or Ubuntu Hardy/8.04.x.&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with Maverick! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
NOTE: You must have the restricted repository enabled in System -&amp;gt; Administration -&amp;gt; Software Sources for this to work. You must also have the fglrx-modaliases and jockey-gtk (or jockey-kde for Kubuntu) packages installed. You will be limited to the drivers for your version of Ubuntu that Canonical deems stable.  This may not give you the latest drivers, but should be safest. On Ubuntu Maverick, this will install Catalyst 8.780, which is roughly equivalent to Catalyst 10-10. Go to the Restricted Drivers Manager (System -&amp;gt; Administration -&amp;gt; Hardware Drivers) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot; (or double-click the &amp;quot;available driver&amp;quot; notification icon). Ubuntu will then install and configure the driver for you.&lt;br /&gt;
&lt;br /&gt;
== Installing the drivers manually ==&lt;br /&gt;
I recommend copying and pasting the commands (do not include the leading &#039;$&#039;) to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Before you start&#039;&#039;===&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the &amp;quot;Removing the Driver&amp;quot; section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 $ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to install &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
 $ sudo apt-get install ia32-libs&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 $ cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/&lt;br /&gt;
 $ wget http://www2.ati.com/drivers/linux/ati-driver-installer-10-11-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Create .deb packages.&#039;&#039;===&lt;br /&gt;
 $ sh ati-driver-installer-10-11-x86.x86_64.run --buildpkg Ubuntu/maverick&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Install .debs.&#039;&#039;===&lt;br /&gt;
 $ sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Generate a new /etc/X11/xorg.conf file&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Before you do this, back up your current xorg.conf if you have one (&#039;&#039;&#039;Lucid does not have an xorg.conf by default&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
==== Back Up xorg.conf ====&lt;br /&gt;
 $ sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
==== Generic Config ====&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 $ sudo aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
==== X2 Cards ====&lt;br /&gt;
If you have an X2 card (e.g. 4870X2), use... !!Do not use for two separate cards in crossfire!!&lt;br /&gt;
 $ sudo aticonfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
==== Dual/Multi Monitors ====&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 $ sudo aticonfig --initial -f --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Force use of the new xorg.conf (if necessary)&#039;&#039;===&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
 $ sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Test your installation&#039;&#039;===&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 $ fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 10-6 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4300/4500 Series (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.9901 Compatibility Profile Context (This line may be different depending on what graphics card and Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 $ fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 $ sudo aticonfig --tls=0&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Just in case&#039;&#039;===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Updating Catalyst/fglrx=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing the Driver&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing Catalyst/fglrx=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed the directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 $ sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 $ sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 $ sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 $ sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 $ sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 $ sudo dpkg-reconfigure xserver-xorg&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/8.780/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 $ ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.4 in Ubuntu Maverick). This should allow you to install fglrx:&lt;br /&gt;
 $ sudo ln -sf /usr/bin/gcc-4.4 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 $ sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the &amp;quot;ia32-libs&amp;quot; package installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 $ sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick for me -&lt;br /&gt;
&lt;br /&gt;
 $ start on filesystem&lt;br /&gt;
 $&lt;br /&gt;
 $ script&lt;br /&gt;
 $	chmod 0666 /dev/null&lt;br /&gt;
 $	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 $ end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (aticonfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 $ sudo aticonfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Slow Maximizing Windows/General 2D Slowness ==&lt;br /&gt;
As of Catalyst 10-6, a new, faster 2D acceleration method is used as the default, replacing the old XAA method. If you&#039;re not running compositing/desktop effects, and are having problems with 2D operations, you may want to fall back to the old XAA. This command will do that:&lt;br /&gt;
 $ sudo aticonfig --set-pcs-str=DDX,ForceXAA,TRUE&lt;br /&gt;
&lt;br /&gt;
In the last case (at least) it is essential to run it without the Xorg server working. To do so, press CTRL+ALT+F1, log in and type the following (this will close all your programs so save your work before):&lt;br /&gt;
 $ sudo service gdm stop&lt;br /&gt;
 $ sudo aticonfig --set-pcs-str=DDX,ForceXAA,TRUE&lt;br /&gt;
 $ sudo service gdm start&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it may be possible to work around the issue by using a control file from a different version of Catalyst.&lt;br /&gt;
 $ cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/&lt;br /&gt;
 $ wget http://www2.ati.com/drivers/linux/ati-driver-installer-10-11-x86.x86_64.run&lt;br /&gt;
 $ chmod +x ati-driver-installer-10-11-x86.x86_64.run&lt;br /&gt;
 $ sh ati-driver-installer-10-11-x86.x86_64.run --extract driver&lt;br /&gt;
 $ sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 $ sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
If the above workaround causes issues, restore the original control file:&lt;br /&gt;
&lt;br /&gt;
 $ sudo mv ~/control.bak /etc/ati/control&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
 $ sudo apt-get remove xserver-xgl&lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
 $ DISPLAY=:0 glxinfo | grep render&lt;br /&gt;
:If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 $ sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 $ sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 $ sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
Before the above commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 $ cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 $ sh ati-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 $ sudo cp driver/packages/Ubuntu/dists/lucid/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 $ sudo chmod +x /etc/ati/authatieventsd.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another way to get it working is to do enable Composite, but when you want to suspend simply disable Compiz Fusion. How would you do that? Easy! Install the fusion-icon package (in repos by default):&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install fusion-icon&lt;br /&gt;
&lt;br /&gt;
After you have done that, launch it (Applications &amp;gt; System &amp;gt; Compiz Fusion Icon) and it appears in your notification area. To switch, simply right-mouse click on the icon and select Metacity. Your desktop will flicker and windows will dissapear, but after a while they appear again. Now try to suspend.&lt;br /&gt;
&lt;br /&gt;
When you wake up again, you can (hopefully) unlock your screen and there you go! Now you want Compiz back again, so right-mouse-click on the Compiz Fusion Icon and select Compiz again. Desktop flickering again, but then voila! Your Compiz Fusion Desktop is back again! (At least, that is how it is supposed to work)&lt;br /&gt;
&lt;br /&gt;
KNOWN PROBLEM: When you switch back, all your windows are on the same desktop. This happens because you switched to metacity.&lt;br /&gt;
&lt;br /&gt;
Hopefully this helped some people, as it did for me!&lt;br /&gt;
Solution posted by zwyber@gmail.com&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 $ sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 $ sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 $ sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 $ sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== Aticonfig not found after installation &amp;amp; &amp;quot;module does not exist&amp;quot; after boot ==&lt;br /&gt;
This scenario is possible when the driver installation has seemingly succeeded and is possibly related to previous use of fglrx through the Jockey (i.e. you first used drivers provided by Ubuntu but then upgraded to ones available from AMD&#039;s website). When doing aticonfig --initial after driver installation, you might end up not having the aticonfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;aticonfig: command not found&amp;lt;/pre&amp;gt;&lt;br /&gt;
After booting you might receive X error &#039;(EE) Failed to load module &amp;quot;fglrx&amp;quot; (module does not exist, 0)&#039;. These do not necessarily indicate that the installation has failed completely. On command line, do&lt;br /&gt;
 $ ls /usr/lib/fglrx/bin&lt;br /&gt;
and see if the command lists some Ati related programs. If they are listed but not found from /usr/bin, it is possible that the &amp;quot;update-alternatives&amp;quot; fglrx .deb installation does has been ignored. See man update-alternatives for more information about the concept and workings of alternatives. In practice, update-alternatives is supposed to create several symbolic links to the files in the fglrx directory, but it will be ignored if the alternatives for the very related gl_conf entry has been set to manual. Do&lt;br /&gt;
 $ update-alternatives --get-selections | grep gl_conf&lt;br /&gt;
and see if the mode is manual instead of auto and if mesa is mentioned instead of fglrx in the path that is printed. In this case you need to &lt;br /&gt;
 $ sudo update-alternatives --set gl_conf /usr/lib/fglrx/ld.so.conf&lt;br /&gt;
to set fglrx as the active alternative. You can alternatively (no pun intended) and additionally change the gl_conf into automatic mode before the installation this way:&lt;br /&gt;
 $ sudo update-alternatives --auto gl_conf&lt;br /&gt;
After that, the alternatives should automatically be configured correctly when the graphics driver .debs are installed.&lt;/div&gt;</summary>
		<author><name>174.55.140.68</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=10.11&amp;diff=6179</id>
		<title>10.11</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=10.11&amp;diff=6179"/>
		<updated>2010-11-20T01:13:27Z</updated>

		<summary type="html">&lt;p&gt;174.55.140.68: yeah..&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#Redirect [[Catalyst 10.11]]&lt;/div&gt;</summary>
		<author><name>174.55.140.68</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=10.11&amp;diff=6178</id>
		<title>10.11</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=10.11&amp;diff=6178"/>
		<updated>2010-11-20T01:13:11Z</updated>

		<summary type="html">&lt;p&gt;174.55.140.68: Initial page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#Redirect [[Catalyst 10.10]]&lt;/div&gt;</summary>
		<author><name>174.55.140.68</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Catalystversion&amp;diff=6177</id>
		<title>Template:Catalystversion</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Catalystversion&amp;diff=6177"/>
		<updated>2010-11-20T01:08:34Z</updated>

		<summary type="html">&lt;p&gt;174.55.140.68: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[10.11]]&amp;lt;noinclude&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{catalystversion}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;This template is for the version number only.&#039;&#039;&#039;&lt;br /&gt;
[[Category:Catalyst Templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>174.55.140.68</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Catalyst_10.11&amp;diff=6176</id>
		<title>Catalyst 10.11</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Catalyst_10.11&amp;diff=6176"/>
		<updated>2010-11-20T01:07:16Z</updated>

		<summary type="html">&lt;p&gt;174.55.140.68: Initial creation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;AMD Catalyst Linux 10.11 driver&amp;lt;br /&amp;gt;&lt;br /&gt;
Revision Number: 10.11 (8.791)&amp;lt;br /&amp;gt;&lt;br /&gt;
Release Date: 11/17/2010&amp;lt;br /&amp;gt;&lt;br /&gt;
Description: Automated installer and Display Drivers for X.Org 6.7, 6.8, 6.9, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, or 7.6 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
* [https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-10-11-x86.x86_64.run Installer]&lt;br /&gt;
* [https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/catalyst_1011_linux.pdf Release Notes]&lt;br /&gt;
* [https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/linux_cat1011-inst.pdf Installer instructions]&lt;br /&gt;
* [http://ati.amd.com/products/catalyst/linux.html AMD Proprietary Linux Driver FAQ]&lt;br /&gt;
&lt;br /&gt;
[[Category:Releases]]&lt;/div&gt;</summary>
		<author><name>174.55.140.68</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Lucid_Installation_Guide&amp;diff=6078</id>
		<title>Ubuntu Lucid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Lucid_Installation_Guide&amp;diff=6078"/>
		<updated>2010-09-30T07:31:01Z</updated>

		<summary type="html">&lt;p&gt;174.55.140.68: Added compat_alloc_user_space issue&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards basically have these options:&lt;br /&gt;
# &#039;&#039;&#039;Standard Open Source Drivers&#039;&#039;&#039; Usually stable. These drivers currently have relatively poor 3D performance, but newer 3D drivers using the Gallium3D infrastructure are under development.&lt;br /&gt;
# &#039;&#039;&#039;Edge Open Source Drivers&#039;&#039;&#039; These drivers have improved 3D performance&lt;br /&gt;
# &#039;&#039;&#039;The Ubuntu Way&#039;&#039;&#039;  Use the restricted-driver management system (a.k.a jockey) that comes with Ubuntu to install the proprietary drivers.&lt;br /&gt;
# &#039;&#039;&#039;Install the proprietary drivers manually&#039;&#039;&#039;  Package-based install of a driver downloaded from AMD/ATI&#039;s site.&lt;br /&gt;
&lt;br /&gt;
= Open Source Drivers =&lt;br /&gt;
By default, Ubuntu will already try to use one of the open source drivers for your hardware.   If the feature set and stability work for you, then you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
The drivers that may be used are&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; Lowest common denominator across all graphics vendor, not many features.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; Actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; Driver support all radeon classes of hardware - with limited 3D for newer cards.&lt;br /&gt;
* &#039;&#039;&#039;radeonhd&#039;&#039;&#039; An alternate driver support R520 hardware and later. This driver is now all but officially deprecated in favor of radeon.&lt;br /&gt;
&lt;br /&gt;
By default there is no configuration file (xorg.conf) for X anymore, so X will try to do the right thing.&lt;br /&gt;
&lt;br /&gt;
If you run into stability problems with 3D applications using the radeon/radeonhd drivers, consider trying a more recent kernel.&lt;br /&gt;
[http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/ mainline-2.6.34-lucid] did the trick on a few machines.&lt;br /&gt;
&lt;br /&gt;
= Installing Open Source Edge Drivers =&lt;br /&gt;
&lt;br /&gt;
These packages are built regularly from the X.Org git repository, so they may not be fully stable. On Lucid, using this graphics stack now uses the r300g Gallium3D driver for 3D acceleration on Radeon R300-R500 (Radeon 9500 - Radeon X1950) class chips. It&#039;s probably a good idea to use the linux kernel provided by this repo if you go this route.&lt;br /&gt;
&lt;br /&gt;
To install:&lt;br /&gt;
 $ sudo add-apt-repository ppa:xorg-edgers/ppa&lt;br /&gt;
 $ sudo apt-get update&lt;br /&gt;
Now you can update your packages using Synaptic or Update Manager. &lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which cards do ATI no longer support?&#039;&#039;&#039;&lt;br /&gt;
The ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500 (including Mobility RadeonHD 2300, since it is really a DirectX 9 part).  See the complete list [http://wiki.cchtml.com/index.php/9.4 here.]&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid. If you really need the proprietary Catalyst/fglrx driver, you will have to use an older Linux distribution, such as Debian Lenny/5.0.x or Ubuntu Hardy/8.04.x.&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with Lucid! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
NOTE: You must have the restricted repository enabled in System -&amp;gt; Administration -&amp;gt; Software Sources for this to work. You must also have the fglrx-modaliases and jockey-gtk (or jockey-kde for Kubuntu) packages installed. You will be limited to the drivers for your version of Ubuntu that Canonical deems stable.  This may not give you the latest drivers, but should be safest. On Ubuntu Lucid, this will install Catalyst 8.723, which is roughly equivalent to Catalyst 10-4. Go to the Restricted Drivers Manager (System -&amp;gt; Administration -&amp;gt; Hardware Drivers) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot; (or double-click the &amp;quot;available driver&amp;quot; notification icon). Ubuntu will then install and configure the driver for you.&lt;br /&gt;
&lt;br /&gt;
== Ubuntu X Team&#039;s PPA ==&lt;br /&gt;
This is an excellent PPA, frequently updated, and run by Ubuntu veterans.&lt;br /&gt;
 $ sudo add-apt-repository ppa:ubuntu-x-swat/x-updates&lt;br /&gt;
 $ sudo apt-get update&lt;br /&gt;
At this point, you should install available updates and then you can install the driver:&lt;br /&gt;
 $ sudo apt-get install fglrx&lt;br /&gt;
&lt;br /&gt;
== Installing the drivers manually ==&lt;br /&gt;
I recommend copying and pasting the commands (do not include the leading &#039;$&#039;) to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Before you start&#039;&#039;===&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the &amp;quot;Removing the Driver&amp;quot; section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 $ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to install &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
 $ sudo apt-get install ia32-libs&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 $ cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/&lt;br /&gt;
 $ wget http://www2.ati.com/drivers/linux/ati-driver-installer-10-9-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Create .deb packages.&#039;&#039;===&lt;br /&gt;
 $ sh ati-driver-installer-10-9-x86.x86_64.run --buildpkg Ubuntu/lucid&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Install .debs.&#039;&#039;===&lt;br /&gt;
 $ sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Generate a new /etc/X11/xorg.conf file&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Before you do this, back up your current xorg.conf if you have one (&#039;&#039;&#039;Lucid does not have an xorg.conf by default&#039;&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
==== Back Up xorg.conf ====&lt;br /&gt;
 $ sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
==== Generic Config ====&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 $ sudo aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
==== X2 Cards ====&lt;br /&gt;
If you have an X2 card (e.g. 4870X2), use... !!Do not use for two separate cards in crossfire!!&lt;br /&gt;
 $ sudo aticonfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
==== Dual/Multi Monitors ====&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 $ sudo aticonfig --initial -f --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Force use of the new xorg.conf (if necessary)&#039;&#039;===&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
 $ sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Test your installation&#039;&#039;===&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 $ fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 10-6 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4300/4500 Series (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.9901 Compatibility Profile Context (This line may be different depending on what graphics card and Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 $ fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 $ sudo aticonfig --tls=0&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Just in case&#039;&#039;===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Updating the Driver=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing the Driver&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing the Driver=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed the directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 $ sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 $ sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 $ sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 $ sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 $ sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 $ sudo dpkg-reconfigure xserver-xorg&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;error: implicit declaration of function ‘compat_alloc_user_space’&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
This issue occurs with more recent Lucid kernels (&amp;gt;= 2.6.32-25-generic). A workaround is proposed here: http://ubuntuforums.org/showpost.php?p=9877727&amp;amp;postcount=10&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/8.741/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 $ ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.4 in Ubuntu Lucid). This should allow you to install fglrx:&lt;br /&gt;
 $ sudo ln -sf /usr/bin/gcc-4.4 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 $ sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the &amp;quot;ia32-libs&amp;quot; package installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 $ sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Crashes in WINE == &lt;br /&gt;
For more information, see [http://bugs.winehq.org/show_bug.cgi?id=4561#c6 this WINEHQ bug report]. This issue should be fixed in WINE 1.1.40, so you may want to get an updated version of WINE by using [https://launchpad.net/~vivnet/+archive/vivnet-wine this PPA]. If you prefer the Ubuntu version of WINE, then turn FastTLS off:&lt;br /&gt;
 $ sudo aticonfig --tls=0&lt;br /&gt;
&lt;br /&gt;
== Segfault Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
After upgrading to Catalyst 10-6 the Xserver does not start. Xorg.0.log shows a segmentation fault. Adding&lt;br /&gt;
  BusID       &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
to the fglrx Device section in xorg.conf helps. For more information, look at [http://ati.cchtml.com/show_bug.cgi?id=1836 bug #1836] in the bugtracker.&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick for me -&lt;br /&gt;
&lt;br /&gt;
 $ start on filesystem&lt;br /&gt;
 $&lt;br /&gt;
 $ script&lt;br /&gt;
 $	chmod 0666 /dev/null&lt;br /&gt;
 $	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 $ end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (aticonfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 $ sudo aticonfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Slow Maximizing Windows/General 2D Slowness ==&lt;br /&gt;
As of Catalyst 10-6, a new, faster 2D acceleration method is used as the default, replacing the old XAA method. The new acceleration code was also available in Catalyst 10-2 through 10-5 (including the Catalyst that ships with Lucid), though it was not used by default. If you&#039;re using one of those versions, you can try the new acceleration code with the following command:&lt;br /&gt;
 $ sudo aticonfig --set-pcs-str=DDX,Direct2DAccel,TRUE&lt;br /&gt;
Restart X (by logging out or rebooting) to apply the change. If you experience issues and want to return to the older, stable code:&lt;br /&gt;
 $ sudo aticonfig --del-pcs-key=DDX,Direct2DAccel&lt;br /&gt;
If you&#039;re using Catalyst 10-6 or later, and are having problems with 2D operations, you may want to fall back to the old XAA. This command will do that:&lt;br /&gt;
 $ sudo aticonfig --set-pcs-str=DDX,ForceXAA,TRUE&lt;br /&gt;
&lt;br /&gt;
In the last case (at least) it is essential to run it without the Xorg server working. To do so, press CTRL+ALT+F1, log in and type the following (this will close all your programs so save your work before):&lt;br /&gt;
 $ sudo service gdm stop&lt;br /&gt;
 $ sudo aticonfig --set-pcs-str=DDX,ForceXAA,TRUE&lt;br /&gt;
 $ sudo service gdm start&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it may be possible to work around the issue by using a control file from a different version of Catalyst.&lt;br /&gt;
 $ cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/&lt;br /&gt;
 $ wget http://www2.ati.com/drivers/linux/ati-driver-installer-10-9-x86.x86_64.run&lt;br /&gt;
 $ chmod +x ati-driver-installer-10-9-x86.x86_64.run&lt;br /&gt;
 $ sh ati-driver-installer-10-9-x86.x86_64.run --extract driver&lt;br /&gt;
 $ sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 $ sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
If the above workaround causes issues, restore the original control file:&lt;br /&gt;
&lt;br /&gt;
 $ sudo mv ~/control.bak /etc/ati/control&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
 $ sudo apt-get remove xserver-xgl&lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
 $ DISPLAY=:0 glxinfo | grep render&lt;br /&gt;
:If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart some others: &lt;br /&gt;
 $ sudo modprobe -r i82875p_edac&lt;br /&gt;
 $ sudo modprobe -r fglrx&lt;br /&gt;
 $ sudo modprobe -r intel-agp&lt;br /&gt;
 $ sudo modprobe -r agpgart&lt;br /&gt;
 $ sudo modprobe agpgart&lt;br /&gt;
 $ sudo modprobe intel-agp&lt;br /&gt;
 $ sudo modprobe fglrx&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting&lt;br /&gt;
 $ gksu gedit /etc/modprobe.d/blacklisti82875p_edac.conf&lt;br /&gt;
:add the following line to the blank text file:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you upgraded to your current Ubuntu install (rather than doing a clean install), you may still be using the old kernel without knowing it.&lt;br /&gt;
 $ uname -r&lt;br /&gt;
:If your kernel version is less than 2.6.32, it is a kernel from a previous Ubuntu installation.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 $ sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 $ sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 $ sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
Before the above commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 $ cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 $ sh ati-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 $ sudo cp driver/packages/Ubuntu/dists/lucid/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 $ sudo chmod +x /etc/ati/authatieventsd.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another way to get it working is to do enable Composite, but when you want to suspend simply disable Compiz Fusion. How would you do that? Easy! Install the fusion-icon package (in repos by default):&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install fusion-icon&lt;br /&gt;
&lt;br /&gt;
After you have done that, launch it (Applications &amp;gt; System &amp;gt; Compiz Fusion Icon) and it appears in your notification area. To switch, simply right-mouse click on the icon and select Metacity. Your desktop will flicker and windows will dissapear, but after a while they appear again. Now try to suspend.&lt;br /&gt;
&lt;br /&gt;
When you wake up again, you can (hopefully) unlock your screen and there you go! Now you want Compiz back again, so right-mouse-click on the Compiz Fusion Icon and select Compiz again. Desktop flickering again, but then voila! Your Compiz Fusion Desktop is back again! (At least, that is how it is supposed to work)&lt;br /&gt;
&lt;br /&gt;
KNOWN PROBLEM: When you switch back, all your windows are on the same desktop. This happens because you switched to metacity.&lt;br /&gt;
&lt;br /&gt;
Hopefully this helped some people, as it did for me!&lt;br /&gt;
Solution posted by zwyber@gmail.com&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 $ sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 $ sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 $ sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 $ sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>174.55.140.68</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Lucid_Installation_Guide&amp;diff=6032</id>
		<title>Ubuntu Lucid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Lucid_Installation_Guide&amp;diff=6032"/>
		<updated>2010-08-20T16:26:41Z</updated>

		<summary type="html">&lt;p&gt;174.55.140.68: Clarify uninstall script&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
= The Options =&lt;br /&gt;
Users with ATI cards basically have these options:&lt;br /&gt;
# &#039;&#039;&#039;Standard Open Source Drivers&#039;&#039;&#039; Usually stable. These drivers currently have relatively poor 3D performance, but newer 3D drivers using the Gallium3D infrastructure are under development.&lt;br /&gt;
# &#039;&#039;&#039;Edge Open Source Drivers&#039;&#039;&#039; These drivers have improved 3D performance&lt;br /&gt;
# &#039;&#039;&#039;The Ubuntu Way&#039;&#039;&#039;  Use the restricted-driver management system (a.k.a jockey) that comes with Ubuntu to install the proprietary drivers.&lt;br /&gt;
# &#039;&#039;&#039;Install the proprietary drivers manually&#039;&#039;&#039;  Package-based install of a driver downloaded from AMD/ATI&#039;s site.&lt;br /&gt;
&lt;br /&gt;
= Open Source Drivers =&lt;br /&gt;
By default, Ubuntu will already try to use one of the open source drivers for your hardware.   If the feature set and stability work for you, then you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
The drivers that may be used are&lt;br /&gt;
* &#039;&#039;&#039;vesa&#039;&#039;&#039; Lowest common denominator across all graphics vendor, not many features.&lt;br /&gt;
* &#039;&#039;&#039;ati&#039;&#039;&#039; Actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards). &lt;br /&gt;
* &#039;&#039;&#039;radeon&#039;&#039;&#039; Driver support all radeon classes of hardware - with limited 3D for newer cards.&lt;br /&gt;
* &#039;&#039;&#039;radeonhd&#039;&#039;&#039; An alternate driver support R520 hardware and later. This driver is now all but officially deprecated in favor of radeon.&lt;br /&gt;
&lt;br /&gt;
By default there is no configuration file (xorg.conf) for X anymore, so X will try to do the right thing.&lt;br /&gt;
&lt;br /&gt;
If you run into stability problems with 3D applications using the radeon/radeonhd drivers, consider trying a more recent kernel.&lt;br /&gt;
[http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/ mainline-2.6.34-lucid] did the trick on a few machines.&lt;br /&gt;
&lt;br /&gt;
= Installing Open Source Edge Drivers =&lt;br /&gt;
&lt;br /&gt;
These packages are built regularly from the X.Org git repository, so they may not be fully stable. On Lucid, using this graphics stack now uses the r300g Gallium3D driver for 3D acceleration on Radeon R300-R500 (Radeon 9500 - Radeon X1950) class chips. It&#039;s probably a good idea to use the linux kernel provided by this repo if you go this route.&lt;br /&gt;
&lt;br /&gt;
To install:&lt;br /&gt;
 $ sudo add-apt-repository ppa:xorg-edgers/ppa&lt;br /&gt;
 $ sudo apt-get update&lt;br /&gt;
Now you can update your packages using Synaptic or Update Manager. &lt;br /&gt;
= Installing Proprietary Drivers a.k.a. Catalyst/fglrx =&lt;br /&gt;
*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which cards do ATI no longer support?&#039;&#039;&#039;&lt;br /&gt;
The ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500 (including Mobility RadeonHD 2300, since it is really a DirectX 9 part).  See the complete list [http://wiki.cchtml.com/index.php/9.4 here.]&lt;br /&gt;
If your card is on that list, you are limited to open-source drivers on Ubuntu Lucid. If you really need the proprietary Catalyst/fglrx driver, you will have to use an older Linux distribution, such as Debian Lenny/5.0.x or Ubuntu Hardy/8.04.x.&lt;br /&gt;
{| WIDTH=&amp;quot;650&amp;quot; cellpadding=0 cellspacing=0 style=&amp;quot;background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;&amp;quot; &lt;br /&gt;
| style=&amp;quot;background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;&amp;quot; | &amp;lt;font size=&amp;quot;-1&amp;quot;&amp;gt;&#039;&#039;&#039;ATTENTION RADEON USERS&#039;&#039;&#039;&amp;lt;/font&amp;gt; &lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;br /&amp;gt;NOTE: If you enter your card information on AMD/ATI&#039;s driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn&#039;t support X servers past 1.5, and it will not work with Lucid! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the &#039;Removing the Driver&#039; section to restore the default/pre-installed drivers.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
NOTE: You must have the restricted repository enabled in System -&amp;gt; Administration -&amp;gt; Software Sources for this to work. You must also have the fglrx-modaliases and jockey-gtk (or jockey-kde for Kubuntu) packages installed. You will be limited to the drivers for your version of Ubuntu that Canonical deems stable.  This may not give you the latest drivers, but should be safest. On Ubuntu Lucid, this will install Catalyst 8.723, which is roughly equivalent to Catalyst 10-4. Go to the Restricted Drivers Manager (System -&amp;gt; Administration -&amp;gt; Hardware Drivers) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot; (or double-click the &amp;quot;available driver&amp;quot; notification icon). Ubuntu will then install and configure the driver for you.&lt;br /&gt;
&lt;br /&gt;
== Ubuntu X Team&#039;s PPA ==&lt;br /&gt;
This is an excellent PPA, frequently updated, and run by Ubuntu veterans.&lt;br /&gt;
 $ sudo add-apt-repository ppa:ubuntu-x-swat/x-updates&lt;br /&gt;
 $ sudo apt-get update&lt;br /&gt;
At this point, you should install available updates and then you can install the driver:&lt;br /&gt;
 $ sudo apt-get install fglrx-installer&lt;br /&gt;
&lt;br /&gt;
== Installing the drivers manually ==&lt;br /&gt;
I recommend copying and pasting the commands (do not include the leading &#039;$&#039;) to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl &#039;&#039;&#039;+ Shift&#039;&#039;&#039; + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Before you start&#039;&#039;===&lt;br /&gt;
If you have previously attempted installing Catalyst, remove any leftover files by following the &amp;quot;Removing the Driver&amp;quot; section. Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources (System -&amp;gt; Administration -&amp;gt; Software Sources).&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
 $ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to install &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
 $ sudo apt-get install ia32-libs&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
 $ cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/&lt;br /&gt;
 $ wget http://www2.ati.com/drivers/linux/ati-driver-installer-10-7-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Create .deb packages.&#039;&#039;===&lt;br /&gt;
 $ sh ati-driver-installer-10-7-x86.x86_64.run --buildpkg Ubuntu/lucid&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Install .debs.&#039;&#039;===&lt;br /&gt;
 $ sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Generate a new /etc/X11/xorg.conf file&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Before you do this, back up your current xorg.conf if you have one (Lucid does not have an xorg.conf by default)&lt;br /&gt;
&lt;br /&gt;
==== Back Up xorg.conf ====&lt;br /&gt;
 $ sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak&lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is no sure way to generate the ATI version of the Xorg.conf file.  It is entirely dependent on your configuration.  The following subsections will attempt to address possible (and tested) variations for their respective configurations.&lt;br /&gt;
&lt;br /&gt;
==== Generic Config ====&lt;br /&gt;
This will work for most people:&lt;br /&gt;
 $ sudo aticonfig --initial -f&lt;br /&gt;
&lt;br /&gt;
==== X2 Cards ====&lt;br /&gt;
If you have an X2 card (e.g. 4870X2), use... !!Do not use for two separate cards in crossfire!!&lt;br /&gt;
 $ sudo aticonfig --initial -f --adapter&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;all&lt;br /&gt;
&lt;br /&gt;
==== Dual/Multi Monitors ====&lt;br /&gt;
If you have a dual monitor display (also known as &amp;quot;Big Desktop&amp;quot;), use:&lt;br /&gt;
 $ sudo aticonfig --initial -f --set-pcs-str&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;DDX,EnableRandR12,FALSE&amp;quot;&lt;br /&gt;
This was confirmed in http://phoronix.com/forums/showthread.php?t=18553.&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Force use of the new xorg.conf (if necessary)&#039;&#039;===&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
 $ sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Test your installation&#039;&#039;===&lt;br /&gt;
NOTE: if you don&#039;t reboot first, fglrxinfo gives an error message.&lt;br /&gt;
Reboot the computer and type&lt;br /&gt;
 $ fglrxinfo&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Using fglrxinfo on a system with Catalyst 10-6 and a RadeonHD 4550 returns:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon HD 4300/4500 Series (This line may be different depending on what graphics card you are using.)&lt;br /&gt;
OpenGL version string: 3.3.9901 Compatibility Profile Context (This line may be different depending on what graphics card and Catalyst version you are using.)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now, try:&lt;br /&gt;
 $ fgl_glxgears&lt;br /&gt;
If you experience issues or a hang, you may need to disable fast TLS.&lt;br /&gt;
 $ sudo aticonfig --tls=0&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Just in case&#039;&#039;===&lt;br /&gt;
Write down or remember this series of Alt+PrntScr key combinations, just in case your screen should go black and Ctrl+Alt+F1 and Ctrl+Alt+Backspace doesn&#039;t work.&lt;br /&gt;
&lt;br /&gt;
Alt+PrntScr+r, Alt+PrntScr+s, Alt+PrntScr+e, Alt+PrntScr+i, Alt+PrntScr+n, Alt+PrntScr+u, Alt+PrntScr+b&lt;br /&gt;
&lt;br /&gt;
These key-presses will reboot the system safely. To remember the key-presses, remember this nonsensical phrase: &amp;quot;Raising Skinny Elephants Is Never Utterly Boring&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
An alternative would be to hold down Ctrl+Alt+SysRq (SysRq is usually the same key as PrintScreen) and type very slowly R E I S U B. A way to remember this is by inverting the word: &amp;quot;BUSIER&amp;quot; or remembering a phrase: &amp;quot;Restart Even If System Utterly Broken&amp;quot;. This would also safely shutdown the system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Updating the Driver=&lt;br /&gt;
&lt;br /&gt;
DO NOT try to install a new version over an old one. Follow the &#039;Removing the Driver&#039; section below to remove your existing driver, and then you can start at &#039;Downloading the latest Catalyst&#039; to install the new one.&lt;br /&gt;
&lt;br /&gt;
=Removing the Driver=&lt;br /&gt;
The uninstall script in the first command will only exist if you downloaded the drivers and installed the directly (rather than building packages as this guide does). Skip the first command if it does not exist.&lt;br /&gt;
 $ sudo sh /usr/share/ati/fglrx-uninstall.sh&lt;br /&gt;
 $ sudo apt-get remove --purge fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx&lt;br /&gt;
&lt;br /&gt;
If you plan on using open-source drivers, you will need to reinstall some packages because Catalyst overwrites or diverts some key 3D libraries with proprietary versions. For more information on this issue, see [https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver this Ubuntu wiki page]&lt;br /&gt;
 $ sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon&lt;br /&gt;
 $ sudo apt-get install xserver-xorg-video-ati&lt;br /&gt;
 $ sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core&lt;br /&gt;
 $ sudo dpkg-reconfigure xserver-xorg&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Build Fails and Log Shows &amp;quot;mixed implicit and normal rules.  Stop.&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
If the installation fails and you find the above message in /var/lib/dkms/fglrx/8.741/build/make.log, it may be because you&#039;re using a pentium-build wrapper around gcc. See what the following ls command returns:&lt;br /&gt;
 $ ls -la /usr/bin/gcc&lt;br /&gt;
If it shows that gcc is a link to builder-cc, temporarily redirect the link to point to the real gcc (gcc-4.4 in Ubuntu Lucid). This should allow you to install fglrx:&lt;br /&gt;
 $ sudo ln -sf /usr/bin/gcc-4.4 /usr/bin/gcc&lt;br /&gt;
When you&#039;re finished installing the driver, return the gcc link to its original value:&lt;br /&gt;
 $ sudo ln -sf /usr/bin/builder-cc /usr/bin/gcc&lt;br /&gt;
Launchpad link for this bug: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/555957&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot; (on 64-bit systems) ==&lt;br /&gt;
Most likely, you probably did not have the &amp;quot;ia32-libs&amp;quot; package installed beforehand. If you have a 64 bit install, the above dpkg command may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, use the following command, which will force the installation of all of the 32 bit dependencies, and then the amdcccle package:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get -f install&lt;br /&gt;
&lt;br /&gt;
Catalyst {{Template:Catalystversion}} on 64-bit systems may require the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
 $ sudo dpkg -i --force-overwrite fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
== Crashes in WINE == &lt;br /&gt;
For more information, see [http://bugs.winehq.org/show_bug.cgi?id=4561#c6 this WINEHQ bug report]. This issue should be fixed in WINE 1.1.40, so you may want to get an updated version of WINE by using [https://launchpad.net/~vivnet/+archive/vivnet-wine this PPA]. If you prefer the Ubuntu version of WINE, then turn FastTLS off:&lt;br /&gt;
 $ sudo aticonfig --tls=0&lt;br /&gt;
&lt;br /&gt;
== Segfault Starting Xserver ==&lt;br /&gt;
&lt;br /&gt;
After upgrading to Catalyst 10-6 the Xserver does not start. Xorg.0.log shows a segmentation fault. Adding&lt;br /&gt;
  BusID       &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
to the fglrx Device section in xorg.conf helps. For more information, look at [http://ati.cchtml.com/show_bug.cgi?id=1836 bug #1836] in the bugtracker.&lt;br /&gt;
&lt;br /&gt;
== Problems Starting Xserver ==&lt;br /&gt;
Before tweaking ACPI settings, try ensuring /dev/null is chmodded to 0666. This intermittently changes when using the nano (and possibly other) editors with sudo and the group/world permissions are unset. This leads to the ATI drivers hanging on boot or otherwise. A quick and dirty init script saved as /etc/init/chmodnull does the trick for me -&lt;br /&gt;
&lt;br /&gt;
 $ start on filesystem&lt;br /&gt;
 $&lt;br /&gt;
 $ script&lt;br /&gt;
 $	chmod 0666 /dev/null&lt;br /&gt;
 $	chmod 0666 /lib/udev/devices/null&lt;br /&gt;
 $ end script&lt;br /&gt;
&lt;br /&gt;
This has been tested using Ubuntu 10.04 64-bit on a ATI Radeon HD 4830 (HP Envy 15-1060ea). It&#039;s worth noting that I had to disable TLS  (aticonfig --tls=0) to get things to stay stable!&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve properly installed the driver, but experience problems when starting the X server, such as hanging, black/white/gray screen, distortion, etc., your system BIOS may have a buggy ACPI implementation. To work around, press Ctrl+Alt+F1 to get to a terminal (or failing that, boot to recovery mode) and run:&lt;br /&gt;
 $ sudo aticonfig --acpi-services=off&lt;br /&gt;
If this method works, you should consider checking your system vendor&#039;s BIOS changelogs for relevant ACPI fixes, updating your BIOS, and reenabling the driver&#039;s ACPI services.&lt;br /&gt;
&lt;br /&gt;
== Slow Maximizing Windows/General 2D Slowness ==&lt;br /&gt;
As of Catalyst 10-6, a new, faster 2D acceleration method is used as the default, replacing the old XAA method. The new acceleration code was also available in Catalyst 10-2 through 10-5 (including the Catalyst that ships with Lucid), though it was not used by default. If you&#039;re using one of those versions, you can try the new acceleration code with the following command:&lt;br /&gt;
 $ sudo aticonfig --set-pcs-str=DDX,Direct2DAccel,TRUE&lt;br /&gt;
Restart X (by logging out or rebooting) to apply the change. If you experience issues and want to return to the older, stable code:&lt;br /&gt;
 $ sudo aticonfig --del-pcs-key=DDX,Direct2DAccel&lt;br /&gt;
If you&#039;re using Catalyst 10-6 or later, and are having problems with 2D operations, you may want to fall back to the old XAA. This command will do that:&lt;br /&gt;
 $ sudo aticonfig --set-pcs-str=DDX,ForceXAA,TRUE&lt;br /&gt;
&lt;br /&gt;
In the last case (at least) it is essential to run it without the Xorg server working. To do so, press CTRL+ALT+F1, log in and type the following (this will close all your programs so save your work before):&lt;br /&gt;
 $ sudo service gdm stop&lt;br /&gt;
 $ sudo aticonfig --set-pcs-str=DDX,ForceXAA,TRUE&lt;br /&gt;
 $ sudo service gdm start&lt;br /&gt;
&lt;br /&gt;
== Unsupported Hardware Watermark ==&lt;br /&gt;
This can happen if your card&#039;s PCI ID wasn&#039;t officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn&#039;t file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help. If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it may be possible to work around the issue by using a control file from a different version of Catalyst.&lt;br /&gt;
 $ cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/&lt;br /&gt;
 $ wget http://www2.ati.com/drivers/linux/ati-driver-installer-{{Catalystversion}}-x86.x86_64.run&lt;br /&gt;
 $ chmod +x ati-driver-installer-{{Catalystversion}}-x86.x86_64.run&lt;br /&gt;
 $ sh ati-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 $ sudo mv /etc/ati/control ~/control.bak&lt;br /&gt;
 $ sudo cp driver/common/etc/ati/control /etc/ati&lt;br /&gt;
&lt;br /&gt;
If the above workaround causes issues, restore the original control file:&lt;br /&gt;
&lt;br /&gt;
 $ sudo mv ~/control.bak /etc/ati&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
 $ sudo apt-get remove xserver-xgl&lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
 $ DISPLAY=:0 glxinfo | grep render&lt;br /&gt;
:If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart some others: &lt;br /&gt;
 $ sudo modprobe -r i82875p_edac&lt;br /&gt;
 $ sudo modprobe -r fglrx&lt;br /&gt;
 $ sudo modprobe -r intel-agp&lt;br /&gt;
 $ sudo modprobe -r agpgart&lt;br /&gt;
 $ sudo modprobe agpgart&lt;br /&gt;
 $ sudo modprobe intel-agp&lt;br /&gt;
 $ sudo modprobe fglrx&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting&lt;br /&gt;
 $ gksu gedit /etc/modprobe.d/blacklisti82875p_edac.conf&lt;br /&gt;
:add the following line to the blank text file:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you upgraded to your current Ubuntu install (rather than doing a clean install), you may still be using the old kernel without knowing it.&lt;br /&gt;
 $ uname -r&lt;br /&gt;
:If your kernel version is less than 2.6.32, it is a kernel from a previous Ubuntu installation.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
 $ sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
 $ sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
 $ sudo /usr/sbin/update-rc.d -f atieventsd remove&lt;br /&gt;
&lt;br /&gt;
Before the above commands verify that /etc/ati/authatieventsd.sh exists after build and install, if not just do: &lt;br /&gt;
(assuming that the installer is in the directory we used to install)&lt;br /&gt;
&lt;br /&gt;
 $ cd ~/catalyst{{Catalystversion}}&lt;br /&gt;
 $ sh ati-driver-installer-{{Catalystversion}}-x86.x86_64.run --extract driver&lt;br /&gt;
 $ sudo cp driver/packages/Ubuntu/dists/lucid/replacements/authatieventsd.sh /etc/ati/authatieventsd.sh&lt;br /&gt;
 $ sudo chmod +x /etc/ati/authatieventsd.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You&#039;ll have to restart for this to take effect.&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another way to get it working is to do enable Composite, but when you want to suspend simply disable Compiz Fusion. How would you do that? Easy! Install the fusion-icon package (in repos by default):&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install fusion-icon&lt;br /&gt;
&lt;br /&gt;
After you have done that, launch it (Applications &amp;gt; System &amp;gt; Compiz Fusion Icon) and it appears in your notification area. To switch, simply right-mouse click on the icon and select Metacity. Your desktop will flicker and windows will dissapear, but after a while they appear again. Now try to suspend.&lt;br /&gt;
&lt;br /&gt;
When you wake up again, you can (hopefully) unlock your screen and there you go! Now you want Compiz back again, so right-mouse-click on the Compiz Fusion Icon and select Compiz again. Desktop flickering again, but then voila! Your Compiz Fusion Desktop is back again! (At least, that is how it is supposed to work)&lt;br /&gt;
&lt;br /&gt;
KNOWN PROBLEM: When you switch back, all your windows are on the same desktop. This happens because you switched to metacity.&lt;br /&gt;
&lt;br /&gt;
Hopefully this helped some people, as it did for me!&lt;br /&gt;
Solution posted by zwyber@gmail.com&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg (diversion issue) ==&lt;br /&gt;
&lt;br /&gt;
If dpkg refuses to remove an fglrx package and complains about a diversion of a file, you might need to manually remove it. For example, if dpkg complains:&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg-divert: mismatch on divert-to&lt;br /&gt;
  when removing `diversion of /usr/lib/libGL.so.1.2 to /usr/share/fglrx/diversions/libGL.so.1.2 by xorg-driver-fglrx&#039;&lt;br /&gt;
  found `diversion of /usr/lib/libGL.so.1.2 to /usr/lib/fglrx/libGL.so.1.2.xlibmesa by xorg-driver-fglrx&#039;&amp;lt;/pre&amp;gt;&lt;br /&gt;
then:&lt;br /&gt;
 $ sudo dpkg-divert --remove /usr/lib/libGL.so.1.2&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
 $ sudo dkms remove -m fglrx --all&lt;br /&gt;
&lt;br /&gt;
== New kernel installed? ==&lt;br /&gt;
In theory, DKMS should automatically install the fglrx kernel module for your new kernel the first time you boot it. Should you need to manually install it:&lt;br /&gt;
 $ sudo dkms build -m fglrx -k `uname -r`&lt;br /&gt;
 $ sudo dkms install -m fglrx -k `uname -r`&lt;br /&gt;
&lt;br /&gt;
if amdcccle doesn&#039;t work and says Identifier is not a valid word. Use lower case letter in xorg.conf&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>174.55.140.68</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=10.7&amp;diff=5989</id>
		<title>10.7</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=10.7&amp;diff=5989"/>
		<updated>2010-07-26T18:36:16Z</updated>

		<summary type="html">&lt;p&gt;174.55.164.6: Redirect page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#Redirect [[Catalyst 10.7]]&lt;/div&gt;</summary>
		<author><name>174.55.164.6</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Template:Catalystversion&amp;diff=5988</id>
		<title>Template:Catalystversion</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Template:Catalystversion&amp;diff=5988"/>
		<updated>2010-07-26T18:34:38Z</updated>

		<summary type="html">&lt;p&gt;174.55.164.6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[10.7]]&amp;lt;noinclude&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{catalystversion}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;This template is for the version number only.&#039;&#039;&#039;&lt;br /&gt;
[[Category:Catalyst Templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>174.55.164.6</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Catalyst_10.6&amp;diff=5987</id>
		<title>Catalyst 10.6</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Catalyst_10.6&amp;diff=5987"/>
		<updated>2010-07-26T18:32:47Z</updated>

		<summary type="html">&lt;p&gt;174.55.164.6: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ATI Catalyst Linux 10.6 driver&amp;lt;br /&amp;gt;&lt;br /&gt;
Revision Number: 10.6 (8.741)&amp;lt;br /&amp;gt;&lt;br /&gt;
Release Date: 6/16/2010&amp;lt;br /&amp;gt;&lt;br /&gt;
Description: Automated installer and Display Drivers for X.Org 6.7, 6.8, 6.9, 7.0, 7.1, 7.2, 7.3, 7.4, or 7.5 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
* [http://www2.ati.com/drivers/linux/ati-driver-installer-10-6-x86.x86_64.run Installer]&lt;br /&gt;
* [http://www2.ati.com/drivers/linux/catalyst_106_linux.pdf Release notes]&lt;br /&gt;
* [http://www2.ati.com/drivers/linux/linux_cat106-inst.pdf Installer instructions]&lt;br /&gt;
* [http://ati.amd.com/products/catalyst/linux.html ATI Proprietary Linux Driver FAQ]&lt;br /&gt;
&lt;br /&gt;
[[Category:Releases]]&lt;/div&gt;</summary>
		<author><name>174.55.164.6</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Catalyst_10.7&amp;diff=5986</id>
		<title>Catalyst 10.7</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Catalyst_10.7&amp;diff=5986"/>
		<updated>2010-07-26T18:31:41Z</updated>

		<summary type="html">&lt;p&gt;174.55.164.6: Created page with &amp;#039;ATI Catalyst Linux 10.7 driver&amp;lt;br /&amp;gt; Revision Number: 10.7 (8.753)&amp;lt;br /&amp;gt; Release Date: 7/26/2010&amp;lt;br /&amp;gt; Description: Automated installer and Display Drivers for X.Org 6.8, 6.9, 7.…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ATI Catalyst Linux 10.7 driver&amp;lt;br /&amp;gt;&lt;br /&gt;
Revision Number: 10.7 (8.753)&amp;lt;br /&amp;gt;&lt;br /&gt;
Release Date: 7/26/2010&amp;lt;br /&amp;gt;&lt;br /&gt;
Description: Automated installer and Display Drivers for X.Org 6.8, 6.9, 7.0, 7.1, 7.2, 7.3, 7.4, or 7.5 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
* [http://www2.ati.com/drivers/linux/ati-driver-installer-10-7-x86.x86_64.run Installer]&lt;br /&gt;
* [http://www2.ati.com/drivers/linux/catalyst_107_linux.pdf Release notes]&lt;br /&gt;
* [http://www2.ati.com/drivers/linux/linux_cat107-inst.pdf Installer instructions]&lt;br /&gt;
* [http://ati.amd.com/products/catalyst/linux.html ATI Proprietary Linux Driver FAQ]&lt;br /&gt;
&lt;br /&gt;
[[Category:Releases]]&lt;/div&gt;</summary>
		<author><name>174.55.164.6</name></author>
	</entry>
</feed>