<?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=80.195.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=80.195.0.0%2F16"/>
	<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Special:Contributions/80.195.0.0/16"/>
	<updated>2026-11-10T22:58:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Quantal_Installation_Guide&amp;diff=10067</id>
		<title>Ubuntu Quantal Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Quantal_Installation_Guide&amp;diff=10067"/>
		<updated>2013-05-19T01:56:13Z</updated>

		<summary type="html">&lt;p&gt;80.195.216.212: /* In case of failure: */&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.&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. You may want to use this driver for longer battery life on a laptop or for more demanding 3D applications.&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;
&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;*PLEASE READ FIRST!&lt;br /&gt;
&#039;&#039;&#039;Which Radeon cards are no longer supported by ATI&#039;s Catalyst?&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500, Mobility RadeonHD 2300&#039;&#039;&#039;&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;
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 Precise (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.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ATI RadeonHD 2x00 - 4xx0 cards&#039;&#039;&#039;&lt;br /&gt;
If you have one of these cards, you do have the option of using the Catalyst Legacy driver, but only if you downgrade your Xserver version (the Catalyst Legacy driver does not support the kernel version (3.5) or the Xserver version (1.13) that Ubuntu Quantal/12.10 uses).&lt;br /&gt;
This can be done really easily by following the instructions given at [[https://launchpad.net/~makson96/+archive/fglrx]]. This PPA downgrades the Xserver and install a patched version of fglrx that supports kernel version 3.5 of Ubuntu Quantal.&lt;br /&gt;
&lt;br /&gt;
== Using Ubuntu-supplied fglrx/Catalyst ==&lt;br /&gt;
&lt;br /&gt;
On Ubuntu Quantal, this will install fglrx/Catalyst 9.000, which is roughly equivalent to Catalyst 12-9. NOTE: You must have the restricted repository enabled in Applications -&amp;gt; Software Sources... for this to work. After you complete the install, skip to [[Ubuntu_Quantal_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 linux-source fglrx fglrx-amdcccle&lt;br /&gt;
&lt;br /&gt;
=== GUI ===&lt;br /&gt;
&lt;br /&gt;
Jockey was removed in 12.10. You now need to go to Software Sources and go to the Additional Hardware tab. You will need to install linux-headers-generic beforehand, or the Panel won&#039;t show up after the restart.&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) ==&lt;br /&gt;
&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 dh-make dkms execstack dh-modaliases linux-headers-generic fakeroot&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Create a directory for the build environment and move to that directory&lt;br /&gt;
 mkdir catalyst13.4 &amp;amp;&amp;amp; cd catalyst13.4&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;
&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-catalyst-13.4-linux-x86.x86_64.zip&lt;br /&gt;
 unzip amd-catalyst-13.4-linux-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-catalyst-13.4-linux-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Create and install .deb packages.&#039;&#039; ===&lt;br /&gt;
 sudo ./amd-catalyst-13.4-linux-x86.x86_64.run --buildpkg Ubuntu/quantal&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;In case of failure:&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo start lightdm&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&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 amdconfig --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 amdconfig. 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. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --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 amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --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 amdconfig &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 12-3 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.11566 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 amdconfig --tls=0&lt;br /&gt;
&lt;br /&gt;
== Installing Catalyst Manually (from AMD/ATI&#039;s site) BETA/EXPERIMENTAL ==&lt;br /&gt;
&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 dh-make dkms execstack dh-modaliases linux-headers-generic fakeroot&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit)&#039;&#039;:&lt;br /&gt;
 sudo apt-get install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Create a directory for the build environment and move to that directory&lt;br /&gt;
 mkdir catalyst13.3beta3 &amp;amp;&amp;amp; cd catalyst13.3beta3&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;
&lt;br /&gt;
 wget http://www2.ati.com/drivers/beta/amd-driver-installer-catalyst-13.3-beta3-linux-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-13.3-beta3-linux-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-13.3-beta3-linux-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;Create and install .deb packages.&#039;&#039; ===&lt;br /&gt;
 sudo sh ./amd-driver-installer-catalyst-13.3-beta3-linux-x86.x86_64.run --buildpkg Ubuntu/quantal&lt;br /&gt;
 sudo dpkg -i fglrx*.deb&lt;br /&gt;
&lt;br /&gt;
If building .deb packages fails, there is also an [http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide#Alternative_Manual_Installation Alternative Manual Installation]&lt;br /&gt;
&lt;br /&gt;
When running the dpkg line, you may receive an error like:&lt;br /&gt;
 Errors were encountered while processing:&lt;br /&gt;
   fglrx&lt;br /&gt;
   fglrx-amdcccle&lt;br /&gt;
   fglrx-dev&lt;br /&gt;
&lt;br /&gt;
They may have attempted to install out of order.  Install them individually as:&lt;br /&gt;
&lt;br /&gt;
  sudo dpkg -i fglrx_*.deb&lt;br /&gt;
  sudo dpkg -i fglrx-amdcccle*.deb &lt;br /&gt;
  sudo dpkg -i fglrx-dev*.deb&lt;br /&gt;
&lt;br /&gt;
You should see a successful result similar to:&lt;br /&gt;
&lt;br /&gt;
 user@user-ubuntu:~# sudo dpkg -i fglrx_9.010-0ubuntu1_amd64.deb &lt;br /&gt;
 (Reading database ... 168748 files and directories currently installed.)&lt;br /&gt;
 Preparing to replace fglrx 2:9.010-0ubuntu1 (using fglrx_9.010-0ubuntu1_amd64.deb) ...&lt;br /&gt;
 Removing all DKMS Modules&lt;br /&gt;
 Error! There are no instances of module: fglrx&lt;br /&gt;
 9.010 located in the DKMS tree.&lt;br /&gt;
 Done.&lt;br /&gt;
 Unpacking replacement fglrx ...&lt;br /&gt;
 Setting up fglrx (2:9.010-0ubuntu1) ...&lt;br /&gt;
 update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode&lt;br /&gt;
 update-alternatives: using /usr/lib/fglrx/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode&lt;br /&gt;
 update-initramfs: deferring update (trigger activated)&lt;br /&gt;
 Loading new fglrx-9.010 DKMS files...&lt;br /&gt;
 First Installation: checking all kernels...&lt;br /&gt;
 Building only for 3.5.0-17-generic&lt;br /&gt;
 Building for architecture x86_64&lt;br /&gt;
 Module build for the currently running kernel was skipped since the&lt;br /&gt;
 kernel source for this kernel does not seem to be installed.&lt;br /&gt;
 update-initramfs: deferring update (trigger activated)&lt;br /&gt;
 Processing triggers for ureadahead ...&lt;br /&gt;
 Processing triggers for bamfdaemon ...&lt;br /&gt;
 Rebuilding /usr/share/applications/bamf.index...&lt;br /&gt;
 Processing triggers for initramfs-tools ...&lt;br /&gt;
 update-initramfs: Generating /boot/initrd.img-3.5.0-17-generic&lt;br /&gt;
 Processing triggers for libc-bin ...&lt;br /&gt;
 ldconfig deferred processing now taking place&lt;br /&gt;
&lt;br /&gt;
 user@user-ubuntu:~# sudo dpkg -i fglrx-amdcccle_9.010-0ubuntu1_amd64.deb &lt;br /&gt;
 (Reading database ... 168748 files and directories currently installed.)&lt;br /&gt;
 Preparing to replace fglrx-amdcccle 2:9.010-0ubuntu1 (using fglrx-amdcccle_9.010-0ubuntu1_amd64.deb)  ...&lt;br /&gt;
 Unpacking replacement fglrx-amdcccle ...&lt;br /&gt;
 Setting up fglrx-amdcccle (2:9.010-0ubuntu1) ...&lt;br /&gt;
&lt;br /&gt;
 user@user-ubuntu:~# sudo dpkg -i fglrx-dev_9.010-0ubuntu1_amd64.deb &lt;br /&gt;
 (Reading database ... 168748 files and directories currently installed.)&lt;br /&gt;
 Preparing to replace fglrx-dev 2:9.010-0ubuntu1 (using fglrx-dev_9.010-0ubuntu1_amd64.deb) ...&lt;br /&gt;
 Unpacking replacement fglrx-dev ...&lt;br /&gt;
 Setting up fglrx-dev (2:9.010-0ubuntu1) ...&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;In case of failure:&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Remember these steps before you reboot your computer.&lt;br /&gt;
&lt;br /&gt;
If the X server fails to start, switch to a new TTY using ctrl+alt+F2. Log in, and attempt to start the X server.&lt;br /&gt;
&lt;br /&gt;
 sudo startx&lt;br /&gt;
&lt;br /&gt;
If it fails to start, you will likely see a stacktrace, and immediately above it will be something along the lines of &amp;quot;Could not stat /usr/lib64/fglrx/switchlibGL&amp;quot; which means that you failed to copy the executables properly. Ctrl+c, and immediately copy the switchlibGL and switchlibglx executables to the fglrx folder in /usr/lib64/ or /usr/lib32/. &lt;br /&gt;
&lt;br /&gt;
If all else fails, revert your xorg.conf and reboot.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf.orig /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
This should return your original display.&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 amdconfig --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 amdconfig. 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. 5970), use... &#039;&#039;&#039;!!Do not use for two separate cards in crossfire!!&#039;&#039;&#039;&lt;br /&gt;
 sudo amdconfig --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 amdconfig --initial -f&lt;br /&gt;
 sudo amdconfig --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 amdconfig &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 12-3 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.11566 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 amdconfig --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;
&lt;br /&gt;
== Using XBMC player (XvBA) ==&lt;br /&gt;
&lt;br /&gt;
XBMC has added support for accelerating video using XvBA/libxvba directly, but the support is currently not in the xbmc package in Ubuntu&#039;s repositories. To install the XvBA-enabled version of xbmc:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-add-repository ppa:wsnipex/xbmc-xvba&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install xbmc&lt;br /&gt;
&lt;br /&gt;
== Using the xvba-va Driver (VA-API) ==&lt;br /&gt;
NOTE: The VA-API wrapper for XvBA has been dead code for a while now. It will probably give you some acceleration of HD formats, but using the previously mentioned xbmc PPA is a better solution.&lt;br /&gt;
&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 libva-x11-1 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;
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/x86_64-linux-gnu/dri/fglrx_drv_video.so  #for 64-bit&lt;br /&gt;
 sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/dri/fglrx_drv_video.so  #for 32-bit&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 va-api is VLC. You can enable va-api 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;
&lt;br /&gt;
== Other ==&lt;br /&gt;
There is possibility to enable &amp;gt; H.264 Level 5.1 decoding in the driver which &amp;quot;has been in the driver for some time but not enabled by default&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 sudo amdconfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 sudo service lightdm stop&lt;br /&gt;
 sudo cp -p  /etc/ati/amdpcsdb  /etc/ati/amdpcsdb.bak&lt;br /&gt;
 sudo sed -i &#039;/UvdEnabled=V1/ a HWUVD_H264Level51Support=V1&#039; /etc/ati/amdpcsdb&lt;br /&gt;
 sudo reboot&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;
== 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 with Catalyst 12-3 installed on Kubuntu 12.04.&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 amdconfig --sync-video=on&lt;br /&gt;
The option will not take effect until you restart X (i.e. log out).&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 it&#039;s not clear if that applies to all ATI/ATI hybrids or only the muxless ones. One would use amdconfig&#039;s PowerXpress options to switch back and forth between the integrated and discrete cards, like so:&lt;br /&gt;
&lt;br /&gt;
 amdconfig --pxl            # List current activated GPU&lt;br /&gt;
 sudo amdconfig --px-dgpu   # Activate discrete GPU (High-Performance mode), must re-start X to take effect&lt;br /&gt;
 sudo amdconfig --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;
By using the officially provided drivers, there are two problems ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1068404 #1068404]):&lt;br /&gt;
: An incompatibility problem between intel and fglrx drivers (This gives segmentation fault at X server)&lt;br /&gt;
: Some paths missing for openGL operation of the fglrx driver (This prevents applications that require direct rendering, e.g. Unity/games/etc, from loading correctly)&lt;br /&gt;
&lt;br /&gt;
If you follow the instructions described in the [https://help.ubuntu.com/community/BinaryDriverHowto/ATI#WORKAROUND Binary Driver HOWTO], you should get functional configuration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There is still another bug if you use the integrated GPU (Intel), making the X server crashing ( Launchpad Bug: [https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1088220 #1088220] )&lt;br /&gt;
&lt;br /&gt;
A workaround for now is to use the discrete GPU (ATI)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information you may want to follow this [http://ubuntuforums.org/showthread.php?p=12324761#post12324761 forum topic]&lt;br /&gt;
&lt;br /&gt;
==== Script solution ====&lt;br /&gt;
&lt;br /&gt;
:Script by anion155, http://pastebin.com/1ALmnqx5.&lt;br /&gt;
:It can help you install &amp;amp; uninstall fglrx drivers for this configuration.&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/&amp;lt;version_number&amp;gt;/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.6 in Ubuntu Precise). This should allow you to install fglrx:&lt;br /&gt;
 sudo ln -sf /usr/bin/gcc-4.6 /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 ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 packages 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 -&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  (amdconfig --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 amdconfig --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 is possible to work around the issue. First check if AMD&#039;s signature file has a proper signature:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/ati/signature&lt;br /&gt;
&lt;br /&gt;
If the file only contains the word &#039;&#039;UNSIGNED&#039;&#039;, replace the line with:&lt;br /&gt;
 9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc&lt;br /&gt;
&lt;br /&gt;
Reboot and see if the watermark is gone. If not, try using a control file from a older version of Catalyst than the one you&#039;re running:&lt;br /&gt;
&lt;br /&gt;
 cd ~/; mkdir catalyst12.10; cd catalyst12.10/&lt;br /&gt;
 wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 unzip amd-driver-installer-catalyst-12.10-x86.x86_64.zip&lt;br /&gt;
 chmod +x amd-driver-installer-catalyst-12.10-x86.x86_64.run&lt;br /&gt;
 ./amd-driver-installer-catalyst-12.10-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/quantal/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;
== 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;
 &lt;br /&gt;
or specify all the correct parameters. For example:&lt;br /&gt;
 sudo dkms build -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
 sudo dkms install -m fglrx -v &#039;&#039;&#039;9.012&#039;&#039;&#039; -k &#039;&#039;&#039;3.5.0-22&#039;&#039;&#039;-generic&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
== amdconfig not found after installation ==&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 amdconfig --initial after driver installation, you might end up not having the amdconfig available at all:&lt;br /&gt;
&amp;lt;pre&amp;gt;amdconfig: 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;
== Errors during deb generation ==&lt;br /&gt;
You may recieve errors if you do not have devscripts, dh-make, execstack and dh-modaliases installed. Run apt-get to install, and the errors go away and the deb is generated correctly.&lt;br /&gt;
&lt;br /&gt;
If you recieve the error dpkg-buildpackage: not found:&lt;br /&gt;
 sudo apt-get install devscripts&lt;br /&gt;
&lt;br /&gt;
If you recieve the error make: dh: command not found:&lt;br /&gt;
 sudo apt-get install dh-make&lt;br /&gt;
&lt;br /&gt;
If you recieve the error make: execstack: Command not found:&lt;br /&gt;
 sudo apt-get install execstack&lt;br /&gt;
&lt;br /&gt;
If you recieve the error make: dh_modaliases: Command not found:&lt;br /&gt;
 sudo apt-get install dh-modaliases&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>80.195.216.212</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Configuring&amp;diff=2174</id>
		<title>Configuring</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Configuring&amp;diff=2174"/>
		<updated>2007-10-27T00:26:57Z</updated>

		<summary type="html">&lt;p&gt;80.195.232.159: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{VCT-on-top}}&lt;br /&gt;
== aticonfig ==&lt;br /&gt;
&lt;br /&gt;
Since version 8.18.6 the fglrx driver includes the &#039;&#039;&#039;aticonfig&#039;&#039;&#039; tool which simplifies &#039;&#039;xorg.conf&#039;&#039; editing. Here are some useful commands this tool offers (for a complete list see [http://wiki.cchtml.com/index.php/aticonfighelp &#039;&#039;aticonfig --help&#039;&#039;]).&lt;br /&gt;
&lt;br /&gt;
=== Changes taking effect on startup ===&lt;br /&gt;
&#039;&#039;Changes will change the config file!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
;Initial setup (creates device section using fglrx):&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo aticonfig --initial&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Enable Video acceleration (Xv Overlay):&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo aticonfig --overlay-type=Xv&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Force fglrx to use kernel&#039;s AGP driver instead of own implementation (only use when internal agpgart doesn&#039;t work):&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo aticonfig --internal-agp=off&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: Newer fglrx driver versions do not include an internal AGPGART so the kernel agpgart is used no matter what.&lt;br /&gt;
&lt;br /&gt;
;Use extended desktop with two monitors (dual-head and big desktop):&lt;br /&gt;
&lt;br /&gt;
Assuming you successfully completed the &#039;Ubuntu Gutsy Installation Guide&#039; with two monitors connected:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo aticonfig --initial=dual-head --screen-layout=right&amp;lt;/pre&amp;gt;&lt;br /&gt;
                       &lt;br /&gt;
This command will generate a dual head configuration file with the second screen located to the right of the first screen.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo aticonfig --dtop=horizontal --overlay-on=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command will set up big desktop to horizontal and set overlay on the secondary display.&lt;br /&gt;
                       &lt;br /&gt;
&lt;br /&gt;
=== Changes taking effect immediately ===&lt;br /&gt;
&#039;&#039;Changes will not change the config file.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
;Print information about power states. &lt;br /&gt;
:&amp;lt;pre&amp;gt;aticonfig --list-powerstates&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or, for us lazy folk, the shorter version is &#039;&#039;aticonfig --lsp&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Set a power state to the lowest (battery friendly):&lt;br /&gt;
:&amp;lt;pre&amp;gt;aticonfig --set-powerstate=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: check out available power states using &#039;&#039;aticonfig --list-powerstates&#039;&#039; &lt;br /&gt;
*Note: this option does not work when an external monitor is connected &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Print information about connected and enabled monitors:&lt;br /&gt;
:&amp;lt;pre&amp;gt;aticonfig --query-monitor&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Examples how to enable two monitors on the fly:&lt;br /&gt;
* Assume you have two monitors already setup correctly ([http://ubuntuforums.org/showthread.php?t=301941 Dual monitor support] at Ubuntuforums)&lt;br /&gt;
* This example enable laptop internal monitor (lvds) and external monitor (crt1)&lt;br /&gt;
:&amp;lt;pre&amp;gt;aticonfig --enable-monitor=lvds,crt1 --effective=now&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: &#039;&#039;aticonfig --enable-monitor=STRING,STRING&#039;&#039; where STRING can be one of the following set, separated by commas: none,crt1,crt2,lvds,tv,tmds1,tmds2,auto. Only 2 displays can be enabled at the same time. Any displays that are not on the list will be disabled.&lt;br /&gt;
*Note: check out connected and enabled monitors using &#039;&#039;aticonfig --query-monitor&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Turn off the second monitor on the fly and start to use only laptop internal monitor (lvds)&lt;br /&gt;
:&amp;lt;pre&amp;gt;aticonfig --enable-monitor=lvds --effective=now&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
;Swap monitors on the fly when using big desktop mode&lt;br /&gt;
* Assume you have two monitors already setup correctly ([http://ubuntuforums.org/showthread.php?t=301941 Dual monitor support] at Ubuntuforums)&lt;br /&gt;
:&amp;lt;pre&amp;gt;aticonfig --swap-monitor --effective=now&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Note: This only works for big desktop setup. This will swap the contents on the two monitors.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
Still not working?  Go to the [[Troubleshooting]] page.&lt;br /&gt;
&lt;br /&gt;
[[Category:NeedsUpdating]]&lt;br /&gt;
{{VCT}}&lt;/div&gt;</summary>
		<author><name>80.195.232.159</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4245</id>
		<title>Ubuntu Gutsy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4245"/>
		<updated>2007-10-26T22:22:53Z</updated>

		<summary type="html">&lt;p&gt;80.195.232.159: /* Method 2: Install the 8.42.3 Driver Manually */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[:Category:Releases|latest]] fglrx driver supports Radeon 9500  and the X-series cards up to HD2900. Workstation cards are not supported.&lt;br /&gt;
&lt;br /&gt;
==Pre-Installation Checks==&lt;br /&gt;
=== Enable &amp;quot;restricted&amp;quot; Repository ===&lt;br /&gt;
Make sure the &#039;&#039;restricted&#039;&#039; repository is enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; or this guide will not work!&lt;br /&gt;
&lt;br /&gt;
System &amp;gt; Administration &amp;gt; Software Sources.  Check &amp;quot;Proprietary Drivers for Devices (Restricted)&amp;quot; box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Method 1: Install the Driver the Ubuntu Way===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update	&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The second line of the above may not be necessary.  If apt says it cannot find the &amp;quot;linux-restricted-modules&amp;quot; package, try line 3.  If that fails, check your sources.list (see top of page)&lt;br /&gt;
&lt;br /&gt;
If the system complains about dependencies, use your preferred package manager to download python2.4 and, if necessary, its dependencies.&lt;br /&gt;
&lt;br /&gt;
(Note: This method did not work with ATI X1300 Radeon on Gutsy whereas method 2 worked perfectly for us. 26/10/2007)&lt;br /&gt;
&lt;br /&gt;
===Method 2: Install the 8.42.3 Driver Manually===&lt;br /&gt;
&lt;br /&gt;
*Note: &#039;&#039;This is just an alternative installation method for the section above. It might help if you still get &#039;DRI missing&#039; errors.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer:&lt;br /&gt;
[https://www2.ati.com/drivers/linux/ati-driver-installer-8.42.3-x86.x86_64.run ati-driver-installer-8.42.3-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Change to the download directory.  Make sure that you have the &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; repositories enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; before doing these steps.  &lt;br /&gt;
&lt;br /&gt;
There is a detailed manual with screenshots at [https://wiki.ubuntu.com/AddingRepositoriesHowto Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
By default, Ubuntu did not enable the Universe and Multiverse repositories, but now in Gutsy, both Universe and Multiverse are activated by default.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper \&lt;br /&gt;
debconf libstdc++5 linux-headers-generic&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create .deb packages:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
(don&#039;t use fakeroot ,&amp;quot;fakeroot: nested operation not yet supported&amp;quot;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo bash ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Ubuntu/gutsy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Blacklist old fglrx module from linux-restricted-modules:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As Ubuntu Gutsy&#039;s &#039;&#039;linux-restricted-modules&#039;&#039; package includes the fglrx module from an old driver version (8.37.6), we have to blacklist this module to make sure the new kernel module which is needed by the new driver will be used instead.&lt;br /&gt;
&lt;br /&gt;
Ubuntu/Gnome users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;gksu gedit /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Kubuntu/KDE users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;kdesu kate /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;quot;fglrx&amp;quot; to the line &amp;quot;DISABLED_MODULES&amp;quot;&lt;br /&gt;
{{Box File|/etc/default/linux-restricted-modules-common|&lt;br /&gt;
&amp;lt;pre&amp;gt;DISABLED_MODULES=&amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install .deb packages:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.42.3-1*.deb \&lt;br /&gt;
fglrx-kernel-source_8.42.3-1*.deb \&lt;br /&gt;
fglrx-amdcccle_8.42.3-1*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Note: If you get a &#039;Bad file descriptor&#039; message concerning the xorg.conf file try switching user to root and repeating the same command without sudo. This might be valid for the following commands too. (Ubuntu Gutsy installs with no password set for root by default. You can set a password for the root by typing &#039;sudo passwd root&#039; first.)&lt;br /&gt;
&lt;br /&gt;
*Note: If you have a 64 bit install, the above dpkg command will likely 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 recieve this error, issue the following command after the above dpkg command, which will force the installation of all of the 32 bit dependencies, and then the amdccle pacakge:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Remove any old fglrx debs from /usr/src/:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo rm /usr/src/fglrx-kernel*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fix broken dependencies&#039;&#039;&lt;br /&gt;
*Note: &#039;&#039;You only need to do this if you have installed previous versions of these drivers using this method before.&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -f install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Compile the kernel module:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo module-assistant prepare,update&lt;br /&gt;
sudo module-assistant build,install fglrx -f&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s necessary, because sometimes this file is written by other packages, and so there&#039;s no 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create the following folder&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir /lib/modules/$(uname -r)/volatile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the volatile directory might already exist at this stage then simply continue with the next step. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create a symbolic link&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: You have to recompile the kernel module after each kernel update! &lt;br /&gt;
(Note: How do you recompile the kernel? A simple reboot worked for us.)&lt;br /&gt;
&lt;br /&gt;
===Configure the Driver===&lt;br /&gt;
*Note Method 2 Users: Before you carry out this step you must reboot your machine. Or else the fglrx driver will not be in use on xorg.conf and using the aticonfig options will cause a memory dump and not intialise the Driver properly.&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to the &#039;&#039;&#039;aticonfig --initial&#039;&#039;&#039; command is to edit &#039;&#039;/etc/X11/xorg.conf&#039;&#039; and replace the string &amp;quot;ati&amp;quot; with &amp;quot;fglrx&amp;quot; in the &amp;quot;Device&amp;quot; section. This way you won&#039;t lose your old &amp;quot;Screen&amp;quot; and &amp;quot;Monitor&amp;quot; settings. Afterwards you can use aticonfig for setting overlay etc. Another alternative is &#039;&#039;&#039;aticonfig --initial --force&#039;&#039;&#039; if you encounter issues with the first command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --overlay-type=Xv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: Is there an alternative to the previous step?&lt;br /&gt;
&lt;br /&gt;
===Finish the Installation===&lt;br /&gt;
Now save any open document and reboot your system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to rebooting is to restart the X Server by pressing your CTRL ALT BACKSPACE keys. You must remove any old kernel modules such as &amp;quot;drm&amp;quot; &amp;quot;radeon&amp;quot; or &amp;quot;fglrx&amp;quot; using the &amp;quot;rmmod&amp;quot; command. Example: &amp;lt;code&amp;gt;sudo rmmod fglrx&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Post-Installation Checks ==&lt;br /&gt;
===Verifying===&lt;br /&gt;
Run the following command to check its output to ensure the fglrx driver is installed properly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI MOBILITY RADEON 9600/9700 Series&lt;br /&gt;
OpenGL version string: 2.0.6650 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;OpenGL vendor string&amp;lt;/code&amp;gt; should read &#039;&#039;&#039;ATI&#039;&#039;&#039; and not &#039;&#039;&#039;Mesa&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you see a message like &#039;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;&#039; then you may have to add the following to /etc/X11/xorg.conf (see [http://ubuntuforums.org/showthread.php?t=292642#post1714920]):&lt;br /&gt;
{{Box File|/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;0&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;
If you &#039;&#039;&#039;still&#039;&#039;&#039; see a message like &amp;quot;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&amp;quot; you may simply need to enable the restricted drivers.&lt;br /&gt;
&lt;br /&gt;
Ubuntu and Kubuntu use a Restricted-Driver manager to load/unload non-FOSS drivers. Even if they are installed and specified in the xorg.conf does not mean they&#039;ll load properly. &lt;br /&gt;
&lt;br /&gt;
To start the restricted manager in both Ubuntu &amp;amp; Kbuntu:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/bin/restricted-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you check the box to enable the restricted driver and reboot, it should work.&lt;br /&gt;
&lt;br /&gt;
=== Additional configure with aticonfig tool ===&lt;br /&gt;
You can configure the driver even further with the &#039;&#039;&#039;aticonfig&#039;&#039;&#039; tool, more information can be found at [[Configuring]].&lt;br /&gt;
&lt;br /&gt;
For example: &amp;lt;br&amp;gt;&lt;br /&gt;
* use powerplay option to switch power state for battery friendly or performance mode&lt;br /&gt;
* use dual head or one big desktop mode &lt;br /&gt;
* turn second monitor on/off on the fly&lt;br /&gt;
&lt;br /&gt;
==Ubuntu-specific Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Revert to Xorg driver ===&lt;br /&gt;
&lt;br /&gt;
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo dpkg-reconfigure xserver-xorg&amp;lt;/pre&amp;gt;&lt;br /&gt;
and selecting the &amp;quot;ati&amp;quot; driver, or simply restoring the previous /etc/X11/xorg.conf file, if you made a backup. &lt;br /&gt;
&lt;br /&gt;
You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install --reinstall libgl1-mesa&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== If suspend is not working ===&lt;br /&gt;
&lt;br /&gt;
If suspend stops working after fglrx installation, meaning display will not initialize after attempting to resume, then changing a few options has been reported to work for some hardware &amp;lt;!--([https://launchpad.net/ubuntu/source/linux-restricted-modules-2.6.20/bug/84991 Bug 84991 ])--&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For ATI X700 and ATI X1100 on Acer Aspire 5051:&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
POST_VIDEO=true&lt;br /&gt;
USE_DPMS=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For ATI X1300 and the ATI X1400 on a Dell Inspiron 9400, also for ATI X1600 on Asus Z96J (using install method 2):&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
POST_VIDEO=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===If you get  /usr/X11R6/lib/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
sudo ln -s /usr/lib/ /usr/X11R6/lib/modules&lt;br /&gt;
&lt;br /&gt;
=== libGL error ===&lt;br /&gt;
* fglrxinfo gives:  libGL.so.1: cannot open shared object file.&lt;br /&gt;
* Fixed with command:&lt;br /&gt;
 sudo ln /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Frequently Asked Questions]]&lt;br /&gt;
*[[Performance Issues]]&lt;br /&gt;
*[[Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>80.195.232.159</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4244</id>
		<title>Ubuntu Gutsy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4244"/>
		<updated>2007-10-26T22:19:36Z</updated>

		<summary type="html">&lt;p&gt;80.195.232.159: /* Method 2: Install the 8.42.3 Driver Manually */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[:Category:Releases|latest]] fglrx driver supports Radeon 9500  and the X-series cards up to HD2900. Workstation cards are not supported.&lt;br /&gt;
&lt;br /&gt;
==Pre-Installation Checks==&lt;br /&gt;
=== Enable &amp;quot;restricted&amp;quot; Repository ===&lt;br /&gt;
Make sure the &#039;&#039;restricted&#039;&#039; repository is enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; or this guide will not work!&lt;br /&gt;
&lt;br /&gt;
System &amp;gt; Administration &amp;gt; Software Sources.  Check &amp;quot;Proprietary Drivers for Devices (Restricted)&amp;quot; box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Method 1: Install the Driver the Ubuntu Way===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update	&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The second line of the above may not be necessary.  If apt says it cannot find the &amp;quot;linux-restricted-modules&amp;quot; package, try line 3.  If that fails, check your sources.list (see top of page)&lt;br /&gt;
&lt;br /&gt;
If the system complains about dependencies, use your preferred package manager to download python2.4 and, if necessary, its dependencies.&lt;br /&gt;
&lt;br /&gt;
(Note: This method did not work with ATI X1300 Radeon on Gutsy whereas method 2 worked perfectly for us. 26/10/2007)&lt;br /&gt;
&lt;br /&gt;
===Method 2: Install the 8.42.3 Driver Manually===&lt;br /&gt;
&lt;br /&gt;
*Note: &#039;&#039;This is just an alternative installation method for the section above. It might help if you still get &#039;DRI missing&#039; errors.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer:&lt;br /&gt;
[https://www2.ati.com/drivers/linux/ati-driver-installer-8.42.3-x86.x86_64.run ati-driver-installer-8.42.3-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Change to the download directory.  Make sure that you have the &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; repositories enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; before doing these steps.  &lt;br /&gt;
&lt;br /&gt;
There is a detailed manual with screenshots at [https://wiki.ubuntu.com/AddingRepositoriesHowto Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
By default, Ubuntu did not enable the Universe and Multiverse repositories, but now in Gutsy, both Universe and Multiverse are activated by default.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper \&lt;br /&gt;
debconf libstdc++5 linux-headers-generic&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create .deb packages:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
(don&#039;t use fakeroot ,&amp;quot;fakeroot: nested operation not yet supported&amp;quot;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo bash ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Ubuntu/gutsy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Blacklist old fglrx module from linux-restricted-modules:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As Ubuntu Gutsy&#039;s &#039;&#039;linux-restricted-modules&#039;&#039; package includes the fglrx module from an old driver version (8.37.6), we have to blacklist this module to make sure the new kernel module which is needed by the new driver will be used instead.&lt;br /&gt;
&lt;br /&gt;
Ubuntu/Gnome users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;gksu gedit /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Kubuntu/KDE users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;kdesu kate /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;quot;fglrx&amp;quot; to the line &amp;quot;DISABLED_MODULES&amp;quot;&lt;br /&gt;
{{Box File|/etc/default/linux-restricted-modules-common|&lt;br /&gt;
&amp;lt;pre&amp;gt;DISABLED_MODULES=&amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install .deb packages:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.42.3-1*.deb \&lt;br /&gt;
fglrx-kernel-source_8.42.3-1*.deb \&lt;br /&gt;
fglrx-amdcccle_8.42.3-1*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Note: If you get a &#039;Bad file descriptor&#039; message concerning the xorg.conf file try switching user to root and repeating the same command without sudo. This might be valid for the following commands too. (Ubuntu Gutsy installs with no password set for root by default. You can set a password for the root by typing &#039;sudo passwd root&#039; first.)&lt;br /&gt;
&lt;br /&gt;
*Note: If you have a 64 bit install, the above dpkg command will likely 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 recieve this error, issue the following command after the above dpkg command, which will force the installation of all of the 32 bit dependencies, and then the amdccle pacakge:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Remove any old fglrx debs from /usr/src/:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo rm /usr/src/fglrx-kernel*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fix broken dependencies&#039;&#039;&lt;br /&gt;
*Note: &#039;&#039;You only need to do this if you have installed previous versions of these drivers using this method before.&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -f install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Compile the kernel module:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo module-assistant prepare,update&lt;br /&gt;
sudo module-assistant build,install fglrx -f&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s necessary, because sometimes this file is written by other packages, and so there&#039;s no 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create the following folder&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir /lib/modules/$(uname -r)/volatile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the volatile directory might already exist at this stage then simply continue with the next step. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create a symbolic link&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: You have to recompile the kernel module after each kernel update!&lt;br /&gt;
&lt;br /&gt;
===Configure the Driver===&lt;br /&gt;
*Note Method 2 Users: Before you carry out this step you must reboot your machine. Or else the fglrx driver will not be in use on xorg.conf and using the aticonfig options will cause a memory dump and not intialise the Driver properly.&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to the &#039;&#039;&#039;aticonfig --initial&#039;&#039;&#039; command is to edit &#039;&#039;/etc/X11/xorg.conf&#039;&#039; and replace the string &amp;quot;ati&amp;quot; with &amp;quot;fglrx&amp;quot; in the &amp;quot;Device&amp;quot; section. This way you won&#039;t lose your old &amp;quot;Screen&amp;quot; and &amp;quot;Monitor&amp;quot; settings. Afterwards you can use aticonfig for setting overlay etc. Another alternative is &#039;&#039;&#039;aticonfig --initial --force&#039;&#039;&#039; if you encounter issues with the first command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --overlay-type=Xv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: Is there an alternative to the previous step?&lt;br /&gt;
&lt;br /&gt;
===Finish the Installation===&lt;br /&gt;
Now save any open document and reboot your system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to rebooting is to restart the X Server by pressing your CTRL ALT BACKSPACE keys. You must remove any old kernel modules such as &amp;quot;drm&amp;quot; &amp;quot;radeon&amp;quot; or &amp;quot;fglrx&amp;quot; using the &amp;quot;rmmod&amp;quot; command. Example: &amp;lt;code&amp;gt;sudo rmmod fglrx&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Post-Installation Checks ==&lt;br /&gt;
===Verifying===&lt;br /&gt;
Run the following command to check its output to ensure the fglrx driver is installed properly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI MOBILITY RADEON 9600/9700 Series&lt;br /&gt;
OpenGL version string: 2.0.6650 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;OpenGL vendor string&amp;lt;/code&amp;gt; should read &#039;&#039;&#039;ATI&#039;&#039;&#039; and not &#039;&#039;&#039;Mesa&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you see a message like &#039;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;&#039; then you may have to add the following to /etc/X11/xorg.conf (see [http://ubuntuforums.org/showthread.php?t=292642#post1714920]):&lt;br /&gt;
{{Box File|/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;0&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;
If you &#039;&#039;&#039;still&#039;&#039;&#039; see a message like &amp;quot;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&amp;quot; you may simply need to enable the restricted drivers.&lt;br /&gt;
&lt;br /&gt;
Ubuntu and Kubuntu use a Restricted-Driver manager to load/unload non-FOSS drivers. Even if they are installed and specified in the xorg.conf does not mean they&#039;ll load properly. &lt;br /&gt;
&lt;br /&gt;
To start the restricted manager in both Ubuntu &amp;amp; Kbuntu:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/bin/restricted-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you check the box to enable the restricted driver and reboot, it should work.&lt;br /&gt;
&lt;br /&gt;
=== Additional configure with aticonfig tool ===&lt;br /&gt;
You can configure the driver even further with the &#039;&#039;&#039;aticonfig&#039;&#039;&#039; tool, more information can be found at [[Configuring]].&lt;br /&gt;
&lt;br /&gt;
For example: &amp;lt;br&amp;gt;&lt;br /&gt;
* use powerplay option to switch power state for battery friendly or performance mode&lt;br /&gt;
* use dual head or one big desktop mode &lt;br /&gt;
* turn second monitor on/off on the fly&lt;br /&gt;
&lt;br /&gt;
==Ubuntu-specific Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Revert to Xorg driver ===&lt;br /&gt;
&lt;br /&gt;
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo dpkg-reconfigure xserver-xorg&amp;lt;/pre&amp;gt;&lt;br /&gt;
and selecting the &amp;quot;ati&amp;quot; driver, or simply restoring the previous /etc/X11/xorg.conf file, if you made a backup. &lt;br /&gt;
&lt;br /&gt;
You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install --reinstall libgl1-mesa&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== If suspend is not working ===&lt;br /&gt;
&lt;br /&gt;
If suspend stops working after fglrx installation, meaning display will not initialize after attempting to resume, then changing a few options has been reported to work for some hardware &amp;lt;!--([https://launchpad.net/ubuntu/source/linux-restricted-modules-2.6.20/bug/84991 Bug 84991 ])--&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For ATI X700 and ATI X1100 on Acer Aspire 5051:&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
POST_VIDEO=true&lt;br /&gt;
USE_DPMS=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For ATI X1300 and the ATI X1400 on a Dell Inspiron 9400, also for ATI X1600 on Asus Z96J (using install method 2):&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
POST_VIDEO=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===If you get  /usr/X11R6/lib/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
sudo ln -s /usr/lib/ /usr/X11R6/lib/modules&lt;br /&gt;
&lt;br /&gt;
=== libGL error ===&lt;br /&gt;
* fglrxinfo gives:  libGL.so.1: cannot open shared object file.&lt;br /&gt;
* Fixed with command:&lt;br /&gt;
 sudo ln /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Frequently Asked Questions]]&lt;br /&gt;
*[[Performance Issues]]&lt;br /&gt;
*[[Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>80.195.232.159</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4243</id>
		<title>Ubuntu Gutsy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4243"/>
		<updated>2007-10-26T22:12:33Z</updated>

		<summary type="html">&lt;p&gt;80.195.232.159: /* Method 2: Install the 8.42.3 Driver Manually */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[:Category:Releases|latest]] fglrx driver supports Radeon 9500  and the X-series cards up to HD2900. Workstation cards are not supported.&lt;br /&gt;
&lt;br /&gt;
==Pre-Installation Checks==&lt;br /&gt;
=== Enable &amp;quot;restricted&amp;quot; Repository ===&lt;br /&gt;
Make sure the &#039;&#039;restricted&#039;&#039; repository is enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; or this guide will not work!&lt;br /&gt;
&lt;br /&gt;
System &amp;gt; Administration &amp;gt; Software Sources.  Check &amp;quot;Proprietary Drivers for Devices (Restricted)&amp;quot; box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Method 1: Install the Driver the Ubuntu Way===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update	&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The second line of the above may not be necessary.  If apt says it cannot find the &amp;quot;linux-restricted-modules&amp;quot; package, try line 3.  If that fails, check your sources.list (see top of page)&lt;br /&gt;
&lt;br /&gt;
If the system complains about dependencies, use your preferred package manager to download python2.4 and, if necessary, its dependencies.&lt;br /&gt;
&lt;br /&gt;
(Note: This method did not work with ATI X1300 Radeon on Gutsy whereas method 2 worked perfectly for us. 26/10/2007)&lt;br /&gt;
&lt;br /&gt;
===Method 2: Install the 8.42.3 Driver Manually===&lt;br /&gt;
&lt;br /&gt;
*Note: &#039;&#039;This is just an alternative installation method for the section above. It might help if you still get &#039;DRI missing&#039; errors.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer:&lt;br /&gt;
[https://www2.ati.com/drivers/linux/ati-driver-installer-8.42.3-x86.x86_64.run ati-driver-installer-8.42.3-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Change to the download directory.  Make sure that you have the &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; repositories enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; before doing these steps.  &lt;br /&gt;
&lt;br /&gt;
There is a detailed manual with screenshots at [https://wiki.ubuntu.com/AddingRepositoriesHowto Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
By default, Ubuntu did not enable the Universe and Multiverse repositories, but now in Gutsy, both Universe and Multiverse are activated by default.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper \&lt;br /&gt;
debconf libstdc++5 linux-headers-generic&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create .deb packages:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
(don&#039;t use fakeroot ,&amp;quot;fakeroot: nested operation not yet supported&amp;quot;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo bash ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Ubuntu/gutsy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Blacklist old fglrx module from linux-restricted-modules:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As Ubuntu Gutsy&#039;s &#039;&#039;linux-restricted-modules&#039;&#039; package includes the fglrx module from an old driver version (8.37.6), we have to blacklist this module to make sure the new kernel module which is needed by the new driver will be used instead.&lt;br /&gt;
&lt;br /&gt;
Ubuntu/Gnome users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;gksu gedit /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Kubuntu/KDE users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;kdesu kate /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;quot;fglrx&amp;quot; to the line &amp;quot;DISABLED_MODULES&amp;quot;&lt;br /&gt;
{{Box File|/etc/default/linux-restricted-modules-common|&lt;br /&gt;
&amp;lt;pre&amp;gt;DISABLED_MODULES=&amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install .deb packages:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.42.3-1*.deb \&lt;br /&gt;
fglrx-kernel-source_8.42.3-1*.deb \&lt;br /&gt;
fglrx-amdcccle_8.42.3-1*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Note: If you get a &#039;Bad file descriptor&#039; message concerning the xorg.conf file try switching user to root and repeating the same command without sudo. This might be valid for the following commands too. (Ubuntu Gutsy installs with no password set for root by default. You can set a password for the root by typing &#039;sudo passwd root&#039; first.)&lt;br /&gt;
&lt;br /&gt;
*Note: If you have a 64 bit install, the above dpkg command will likely 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 recieve this error, issue the following command after the above dpkg command, which will force the installation of all of the 32 bit dependencies, and then the amdccle pacakge:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Remove any old fglrx debs from /usr/src/:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo rm /usr/src/fglrx-kernel*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fix broken dependencies&#039;&#039;&lt;br /&gt;
*Note: &#039;&#039;You only need to do this if you have installed previous versions of these drivers using this method before.&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -f install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Compile the kernel module:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo module-assistant prepare,update&lt;br /&gt;
sudo module-assistant build,install fglrx -f&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s necessary, because sometimes this file is written by other packages, and so there&#039;s no 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create the following folder&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir /lib/modules/$(uname -r)/volatile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create a symbolic link&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: You have to recompile the kernel module after each kernel update!&lt;br /&gt;
&lt;br /&gt;
===Configure the Driver===&lt;br /&gt;
*Note Method 2 Users: Before you carry out this step you must reboot your machine. Or else the fglrx driver will not be in use on xorg.conf and using the aticonfig options will cause a memory dump and not intialise the Driver properly.&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to the &#039;&#039;&#039;aticonfig --initial&#039;&#039;&#039; command is to edit &#039;&#039;/etc/X11/xorg.conf&#039;&#039; and replace the string &amp;quot;ati&amp;quot; with &amp;quot;fglrx&amp;quot; in the &amp;quot;Device&amp;quot; section. This way you won&#039;t lose your old &amp;quot;Screen&amp;quot; and &amp;quot;Monitor&amp;quot; settings. Afterwards you can use aticonfig for setting overlay etc. Another alternative is &#039;&#039;&#039;aticonfig --initial --force&#039;&#039;&#039; if you encounter issues with the first command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --overlay-type=Xv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: Is there an alternative to the previous step?&lt;br /&gt;
&lt;br /&gt;
===Finish the Installation===&lt;br /&gt;
Now save any open document and reboot your system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to rebooting is to restart the X Server by pressing your CTRL ALT BACKSPACE keys. You must remove any old kernel modules such as &amp;quot;drm&amp;quot; &amp;quot;radeon&amp;quot; or &amp;quot;fglrx&amp;quot; using the &amp;quot;rmmod&amp;quot; command. Example: &amp;lt;code&amp;gt;sudo rmmod fglrx&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Post-Installation Checks ==&lt;br /&gt;
===Verifying===&lt;br /&gt;
Run the following command to check its output to ensure the fglrx driver is installed properly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI MOBILITY RADEON 9600/9700 Series&lt;br /&gt;
OpenGL version string: 2.0.6650 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;OpenGL vendor string&amp;lt;/code&amp;gt; should read &#039;&#039;&#039;ATI&#039;&#039;&#039; and not &#039;&#039;&#039;Mesa&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you see a message like &#039;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;&#039; then you may have to add the following to /etc/X11/xorg.conf (see [http://ubuntuforums.org/showthread.php?t=292642#post1714920]):&lt;br /&gt;
{{Box File|/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;0&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;
If you &#039;&#039;&#039;still&#039;&#039;&#039; see a message like &amp;quot;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&amp;quot; you may simply need to enable the restricted drivers.&lt;br /&gt;
&lt;br /&gt;
Ubuntu and Kubuntu use a Restricted-Driver manager to load/unload non-FOSS drivers. Even if they are installed and specified in the xorg.conf does not mean they&#039;ll load properly. &lt;br /&gt;
&lt;br /&gt;
To start the restricted manager in both Ubuntu &amp;amp; Kbuntu:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/bin/restricted-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you check the box to enable the restricted driver and reboot, it should work.&lt;br /&gt;
&lt;br /&gt;
=== Additional configure with aticonfig tool ===&lt;br /&gt;
You can configure the driver even further with the &#039;&#039;&#039;aticonfig&#039;&#039;&#039; tool, more information can be found at [[Configuring]].&lt;br /&gt;
&lt;br /&gt;
For example: &amp;lt;br&amp;gt;&lt;br /&gt;
* use powerplay option to switch power state for battery friendly or performance mode&lt;br /&gt;
* use dual head or one big desktop mode &lt;br /&gt;
* turn second monitor on/off on the fly&lt;br /&gt;
&lt;br /&gt;
==Ubuntu-specific Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Revert to Xorg driver ===&lt;br /&gt;
&lt;br /&gt;
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo dpkg-reconfigure xserver-xorg&amp;lt;/pre&amp;gt;&lt;br /&gt;
and selecting the &amp;quot;ati&amp;quot; driver, or simply restoring the previous /etc/X11/xorg.conf file, if you made a backup. &lt;br /&gt;
&lt;br /&gt;
You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install --reinstall libgl1-mesa&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== If suspend is not working ===&lt;br /&gt;
&lt;br /&gt;
If suspend stops working after fglrx installation, meaning display will not initialize after attempting to resume, then changing a few options has been reported to work for some hardware &amp;lt;!--([https://launchpad.net/ubuntu/source/linux-restricted-modules-2.6.20/bug/84991 Bug 84991 ])--&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For ATI X700 and ATI X1100 on Acer Aspire 5051:&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
POST_VIDEO=true&lt;br /&gt;
USE_DPMS=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For ATI X1300 and the ATI X1400 on a Dell Inspiron 9400, also for ATI X1600 on Asus Z96J (using install method 2):&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
POST_VIDEO=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===If you get  /usr/X11R6/lib/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
sudo ln -s /usr/lib/ /usr/X11R6/lib/modules&lt;br /&gt;
&lt;br /&gt;
=== libGL error ===&lt;br /&gt;
* fglrxinfo gives:  libGL.so.1: cannot open shared object file.&lt;br /&gt;
* Fixed with command:&lt;br /&gt;
 sudo ln /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Frequently Asked Questions]]&lt;br /&gt;
*[[Performance Issues]]&lt;br /&gt;
*[[Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>80.195.232.159</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4242</id>
		<title>Ubuntu Gutsy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4242"/>
		<updated>2007-10-26T22:10:06Z</updated>

		<summary type="html">&lt;p&gt;80.195.232.159: /* Method 2: Install the 8.42.3 Driver Manually */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[:Category:Releases|latest]] fglrx driver supports Radeon 9500  and the X-series cards up to HD2900. Workstation cards are not supported.&lt;br /&gt;
&lt;br /&gt;
==Pre-Installation Checks==&lt;br /&gt;
=== Enable &amp;quot;restricted&amp;quot; Repository ===&lt;br /&gt;
Make sure the &#039;&#039;restricted&#039;&#039; repository is enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; or this guide will not work!&lt;br /&gt;
&lt;br /&gt;
System &amp;gt; Administration &amp;gt; Software Sources.  Check &amp;quot;Proprietary Drivers for Devices (Restricted)&amp;quot; box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Method 1: Install the Driver the Ubuntu Way===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update	&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The second line of the above may not be necessary.  If apt says it cannot find the &amp;quot;linux-restricted-modules&amp;quot; package, try line 3.  If that fails, check your sources.list (see top of page)&lt;br /&gt;
&lt;br /&gt;
If the system complains about dependencies, use your preferred package manager to download python2.4 and, if necessary, its dependencies.&lt;br /&gt;
&lt;br /&gt;
(Note: This method did not work with ATI X1300 Radeon on Gutsy whereas method 2 worked perfectly for us. 26/10/2007)&lt;br /&gt;
&lt;br /&gt;
===Method 2: Install the 8.42.3 Driver Manually===&lt;br /&gt;
&lt;br /&gt;
*Note: &#039;&#039;This is just an alternative installation method for the section above. It might help if you still get &#039;DRI missing&#039; errors.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer:&lt;br /&gt;
[https://www2.ati.com/drivers/linux/ati-driver-installer-8.42.3-x86.x86_64.run ati-driver-installer-8.42.3-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Change to the download directory.  Make sure that you have the &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; repositories enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; before doing these steps.  &lt;br /&gt;
&lt;br /&gt;
There is a detailed manual with screenshots at [https://wiki.ubuntu.com/AddingRepositoriesHowto Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
By default, Ubuntu did not enable the Universe and Multiverse repositories, but now in Gutsy, both Universe and Multiverse are activated by default.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper \&lt;br /&gt;
debconf libstdc++5 linux-headers-generic&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create .deb packages:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
(don&#039;t use fakeroot ,&amp;quot;fakeroot: nested operation not yet supported&amp;quot;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo bash ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Ubuntu/gutsy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Blacklist old fglrx module from linux-restricted-modules:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As Ubuntu Gutsy&#039;s &#039;&#039;linux-restricted-modules&#039;&#039; package includes the fglrx module from an old driver version (8.37.6), we have to blacklist this module to make sure the new kernel module which is needed by the new driver will be used instead.&lt;br /&gt;
&lt;br /&gt;
Ubuntu/Gnome users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;gksu gedit /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Kubuntu/KDE users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;kdesu kate /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;quot;fglrx&amp;quot; to the line &amp;quot;DISABLED_MODULES&amp;quot;&lt;br /&gt;
{{Box File|/etc/default/linux-restricted-modules-common|&lt;br /&gt;
&amp;lt;pre&amp;gt;DISABLED_MODULES=&amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install .deb packages:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.42.3-1*.deb \&lt;br /&gt;
fglrx-kernel-source_8.42.3-1*.deb \&lt;br /&gt;
fglrx-amdcccle_8.42.3-1*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Note: If you get a &#039;Bad file descriptor&#039; message concerning the xorg.conf file try switching user to root and repeat the same command without sudo. This might be valid for the following commands too. (Ubuntu Gutsy installs with no password set for root by default. You can set a password for the root by typing &#039;sudo passwd root&#039; first.)&lt;br /&gt;
&lt;br /&gt;
*Note: If you have a 64 bit install, the above dpkg command will likely 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 recieve this error, issue the following command after the above dpkg command, which will force the installation of all of the 32 bit dependencies, and then the amdccle pacakge:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Remove any old fglrx debs from /usr/src/:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo rm /usr/src/fglrx-kernel*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fix broken dependencies&#039;&#039;&lt;br /&gt;
*Note: &#039;&#039;You only need to do this if you have installed previous versions of these drivers using this method before.&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -f install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Compile the kernel module:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo module-assistant prepare,update&lt;br /&gt;
sudo module-assistant build,install fglrx -f&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s necessary, because sometimes this file is written by other packages, and so there&#039;s no 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create the following folder&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir /lib/modules/$(uname -r)/volatile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create a symbolic link&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: You have to recompile the kernel module after each kernel update!&lt;br /&gt;
&lt;br /&gt;
===Configure the Driver===&lt;br /&gt;
*Note Method 2 Users: Before you carry out this step you must reboot your machine. Or else the fglrx driver will not be in use on xorg.conf and using the aticonfig options will cause a memory dump and not intialise the Driver properly.&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to the &#039;&#039;&#039;aticonfig --initial&#039;&#039;&#039; command is to edit &#039;&#039;/etc/X11/xorg.conf&#039;&#039; and replace the string &amp;quot;ati&amp;quot; with &amp;quot;fglrx&amp;quot; in the &amp;quot;Device&amp;quot; section. This way you won&#039;t lose your old &amp;quot;Screen&amp;quot; and &amp;quot;Monitor&amp;quot; settings. Afterwards you can use aticonfig for setting overlay etc. Another alternative is &#039;&#039;&#039;aticonfig --initial --force&#039;&#039;&#039; if you encounter issues with the first command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --overlay-type=Xv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: Is there an alternative to the previous step?&lt;br /&gt;
&lt;br /&gt;
===Finish the Installation===&lt;br /&gt;
Now save any open document and reboot your system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to rebooting is to restart the X Server by pressing your CTRL ALT BACKSPACE keys. You must remove any old kernel modules such as &amp;quot;drm&amp;quot; &amp;quot;radeon&amp;quot; or &amp;quot;fglrx&amp;quot; using the &amp;quot;rmmod&amp;quot; command. Example: &amp;lt;code&amp;gt;sudo rmmod fglrx&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Post-Installation Checks ==&lt;br /&gt;
===Verifying===&lt;br /&gt;
Run the following command to check its output to ensure the fglrx driver is installed properly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI MOBILITY RADEON 9600/9700 Series&lt;br /&gt;
OpenGL version string: 2.0.6650 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;OpenGL vendor string&amp;lt;/code&amp;gt; should read &#039;&#039;&#039;ATI&#039;&#039;&#039; and not &#039;&#039;&#039;Mesa&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you see a message like &#039;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;&#039; then you may have to add the following to /etc/X11/xorg.conf (see [http://ubuntuforums.org/showthread.php?t=292642#post1714920]):&lt;br /&gt;
{{Box File|/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;0&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;
If you &#039;&#039;&#039;still&#039;&#039;&#039; see a message like &amp;quot;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&amp;quot; you may simply need to enable the restricted drivers.&lt;br /&gt;
&lt;br /&gt;
Ubuntu and Kubuntu use a Restricted-Driver manager to load/unload non-FOSS drivers. Even if they are installed and specified in the xorg.conf does not mean they&#039;ll load properly. &lt;br /&gt;
&lt;br /&gt;
To start the restricted manager in both Ubuntu &amp;amp; Kbuntu:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/bin/restricted-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you check the box to enable the restricted driver and reboot, it should work.&lt;br /&gt;
&lt;br /&gt;
=== Additional configure with aticonfig tool ===&lt;br /&gt;
You can configure the driver even further with the &#039;&#039;&#039;aticonfig&#039;&#039;&#039; tool, more information can be found at [[Configuring]].&lt;br /&gt;
&lt;br /&gt;
For example: &amp;lt;br&amp;gt;&lt;br /&gt;
* use powerplay option to switch power state for battery friendly or performance mode&lt;br /&gt;
* use dual head or one big desktop mode &lt;br /&gt;
* turn second monitor on/off on the fly&lt;br /&gt;
&lt;br /&gt;
==Ubuntu-specific Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Revert to Xorg driver ===&lt;br /&gt;
&lt;br /&gt;
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo dpkg-reconfigure xserver-xorg&amp;lt;/pre&amp;gt;&lt;br /&gt;
and selecting the &amp;quot;ati&amp;quot; driver, or simply restoring the previous /etc/X11/xorg.conf file, if you made a backup. &lt;br /&gt;
&lt;br /&gt;
You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install --reinstall libgl1-mesa&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== If suspend is not working ===&lt;br /&gt;
&lt;br /&gt;
If suspend stops working after fglrx installation, meaning display will not initialize after attempting to resume, then changing a few options has been reported to work for some hardware &amp;lt;!--([https://launchpad.net/ubuntu/source/linux-restricted-modules-2.6.20/bug/84991 Bug 84991 ])--&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For ATI X700 and ATI X1100 on Acer Aspire 5051:&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
POST_VIDEO=true&lt;br /&gt;
USE_DPMS=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For ATI X1300 and the ATI X1400 on a Dell Inspiron 9400, also for ATI X1600 on Asus Z96J (using install method 2):&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
POST_VIDEO=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===If you get  /usr/X11R6/lib/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
sudo ln -s /usr/lib/ /usr/X11R6/lib/modules&lt;br /&gt;
&lt;br /&gt;
=== libGL error ===&lt;br /&gt;
* fglrxinfo gives:  libGL.so.1: cannot open shared object file.&lt;br /&gt;
* Fixed with command:&lt;br /&gt;
 sudo ln /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Frequently Asked Questions]]&lt;br /&gt;
*[[Performance Issues]]&lt;br /&gt;
*[[Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>80.195.232.159</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4241</id>
		<title>Ubuntu Gutsy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4241"/>
		<updated>2007-10-26T22:01:28Z</updated>

		<summary type="html">&lt;p&gt;80.195.232.159: /* Method 2: Install the 8.42.3 Driver Manually */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[:Category:Releases|latest]] fglrx driver supports Radeon 9500  and the X-series cards up to HD2900. Workstation cards are not supported.&lt;br /&gt;
&lt;br /&gt;
==Pre-Installation Checks==&lt;br /&gt;
=== Enable &amp;quot;restricted&amp;quot; Repository ===&lt;br /&gt;
Make sure the &#039;&#039;restricted&#039;&#039; repository is enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; or this guide will not work!&lt;br /&gt;
&lt;br /&gt;
System &amp;gt; Administration &amp;gt; Software Sources.  Check &amp;quot;Proprietary Drivers for Devices (Restricted)&amp;quot; box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Method 1: Install the Driver the Ubuntu Way===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update	&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The second line of the above may not be necessary.  If apt says it cannot find the &amp;quot;linux-restricted-modules&amp;quot; package, try line 3.  If that fails, check your sources.list (see top of page)&lt;br /&gt;
&lt;br /&gt;
If the system complains about dependencies, use your preferred package manager to download python2.4 and, if necessary, its dependencies.&lt;br /&gt;
&lt;br /&gt;
(Note: This method did not work with ATI X1300 Radeon on Gutsy whereas method 2 worked perfectly for us. 26/10/2007)&lt;br /&gt;
&lt;br /&gt;
===Method 2: Install the 8.42.3 Driver Manually===&lt;br /&gt;
&lt;br /&gt;
*Note: &#039;&#039;This is just an alternative installation method for the section above. It might help if you still get &#039;DRI missing&#039; errors.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer:&lt;br /&gt;
[https://www2.ati.com/drivers/linux/ati-driver-installer-8.42.3-x86.x86_64.run ati-driver-installer-8.42.3-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Change to the download directory.  Make sure that you have the &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; repositories enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; before doing these steps.  &lt;br /&gt;
&lt;br /&gt;
There is a detailed manual with screenshots at [https://wiki.ubuntu.com/AddingRepositoriesHowto Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
By default, Ubuntu did not enable the Universe and Multiverse repositories, but now in Gutsy, both Universe and Multiverse are activated by default.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper \&lt;br /&gt;
debconf libstdc++5 linux-headers-generic&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create .deb packages:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
(don&#039;t use fakeroot ,&amp;quot;fakeroot: nested operation not yet supported&amp;quot;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo bash ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Ubuntu/gutsy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Blacklist old fglrx module from linux-restricted-modules:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As Ubuntu Gutsy&#039;s &#039;&#039;linux-restricted-modules&#039;&#039; package includes the fglrx module from an old driver version (8.37.6), we have to blacklist this module to make sure the new kernel module which is needed by the new driver will be used instead.&lt;br /&gt;
&lt;br /&gt;
Ubuntu/Gnome users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;gksu gedit /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Kubuntu/KDE users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;kdesu kate /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;quot;fglrx&amp;quot; to the line &amp;quot;DISABLED_MODULES&amp;quot;&lt;br /&gt;
{{Box File|/etc/default/linux-restricted-modules-common|&lt;br /&gt;
&amp;lt;pre&amp;gt;DISABLED_MODULES=&amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install .deb packages:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.42.3-1*.deb \&lt;br /&gt;
fglrx-kernel-source_8.42.3-1*.deb \&lt;br /&gt;
fglrx-amdcccle_8.42.3-1*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Note: If you have a 64 bit install, the above dpkg command will likely 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 recieve this error, issue the following command after the above dpkg command, which will force the installation of all of the 32 bit dependencies, and then the amdccle pacakge:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Remove any old fglrx debs from /usr/src/:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo rm /usr/src/fglrx-kernel*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fix broken dependencies&#039;&#039;&lt;br /&gt;
*Note: &#039;&#039;You only need to do this if you have installed previous versions of these drivers using this method before.&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -f install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Compile the kernel module:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo module-assistant prepare,update&lt;br /&gt;
sudo module-assistant build,install fglrx -f&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s necessary, because sometimes this file is written by other packages, and so there&#039;s no 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create the following folder&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir /lib/modules/$(uname -r)/volatile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create a symbolic link&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: You have to recompile the kernel module after each kernel update!&lt;br /&gt;
&lt;br /&gt;
===Configure the Driver===&lt;br /&gt;
*Note Method 2 Users: Before you carry out this step you must reboot your machine. Or else the fglrx driver will not be in use on xorg.conf and using the aticonfig options will cause a memory dump and not intialise the Driver properly.&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to the &#039;&#039;&#039;aticonfig --initial&#039;&#039;&#039; command is to edit &#039;&#039;/etc/X11/xorg.conf&#039;&#039; and replace the string &amp;quot;ati&amp;quot; with &amp;quot;fglrx&amp;quot; in the &amp;quot;Device&amp;quot; section. This way you won&#039;t lose your old &amp;quot;Screen&amp;quot; and &amp;quot;Monitor&amp;quot; settings. Afterwards you can use aticonfig for setting overlay etc. Another alternative is &#039;&#039;&#039;aticonfig --initial --force&#039;&#039;&#039; if you encounter issues with the first command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --overlay-type=Xv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: Is there an alternative to the previous step?&lt;br /&gt;
&lt;br /&gt;
===Finish the Installation===&lt;br /&gt;
Now save any open document and reboot your system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to rebooting is to restart the X Server by pressing your CTRL ALT BACKSPACE keys. You must remove any old kernel modules such as &amp;quot;drm&amp;quot; &amp;quot;radeon&amp;quot; or &amp;quot;fglrx&amp;quot; using the &amp;quot;rmmod&amp;quot; command. Example: &amp;lt;code&amp;gt;sudo rmmod fglrx&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Post-Installation Checks ==&lt;br /&gt;
===Verifying===&lt;br /&gt;
Run the following command to check its output to ensure the fglrx driver is installed properly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI MOBILITY RADEON 9600/9700 Series&lt;br /&gt;
OpenGL version string: 2.0.6650 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;OpenGL vendor string&amp;lt;/code&amp;gt; should read &#039;&#039;&#039;ATI&#039;&#039;&#039; and not &#039;&#039;&#039;Mesa&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you see a message like &#039;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;&#039; then you may have to add the following to /etc/X11/xorg.conf (see [http://ubuntuforums.org/showthread.php?t=292642#post1714920]):&lt;br /&gt;
{{Box File|/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;0&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;
If you &#039;&#039;&#039;still&#039;&#039;&#039; see a message like &amp;quot;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&amp;quot; you may simply need to enable the restricted drivers.&lt;br /&gt;
&lt;br /&gt;
Ubuntu and Kubuntu use a Restricted-Driver manager to load/unload non-FOSS drivers. Even if they are installed and specified in the xorg.conf does not mean they&#039;ll load properly. &lt;br /&gt;
&lt;br /&gt;
To start the restricted manager in both Ubuntu &amp;amp; Kbuntu:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/bin/restricted-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you check the box to enable the restricted driver and reboot, it should work.&lt;br /&gt;
&lt;br /&gt;
=== Additional configure with aticonfig tool ===&lt;br /&gt;
You can configure the driver even further with the &#039;&#039;&#039;aticonfig&#039;&#039;&#039; tool, more information can be found at [[Configuring]].&lt;br /&gt;
&lt;br /&gt;
For example: &amp;lt;br&amp;gt;&lt;br /&gt;
* use powerplay option to switch power state for battery friendly or performance mode&lt;br /&gt;
* use dual head or one big desktop mode &lt;br /&gt;
* turn second monitor on/off on the fly&lt;br /&gt;
&lt;br /&gt;
==Ubuntu-specific Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Revert to Xorg driver ===&lt;br /&gt;
&lt;br /&gt;
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo dpkg-reconfigure xserver-xorg&amp;lt;/pre&amp;gt;&lt;br /&gt;
and selecting the &amp;quot;ati&amp;quot; driver, or simply restoring the previous /etc/X11/xorg.conf file, if you made a backup. &lt;br /&gt;
&lt;br /&gt;
You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install --reinstall libgl1-mesa&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== If suspend is not working ===&lt;br /&gt;
&lt;br /&gt;
If suspend stops working after fglrx installation, meaning display will not initialize after attempting to resume, then changing a few options has been reported to work for some hardware &amp;lt;!--([https://launchpad.net/ubuntu/source/linux-restricted-modules-2.6.20/bug/84991 Bug 84991 ])--&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For ATI X700 and ATI X1100 on Acer Aspire 5051:&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
POST_VIDEO=true&lt;br /&gt;
USE_DPMS=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For ATI X1300 and the ATI X1400 on a Dell Inspiron 9400, also for ATI X1600 on Asus Z96J (using install method 2):&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
POST_VIDEO=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===If you get  /usr/X11R6/lib/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
sudo ln -s /usr/lib/ /usr/X11R6/lib/modules&lt;br /&gt;
&lt;br /&gt;
=== libGL error ===&lt;br /&gt;
* fglrxinfo gives:  libGL.so.1: cannot open shared object file.&lt;br /&gt;
* Fixed with command:&lt;br /&gt;
 sudo ln /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Frequently Asked Questions]]&lt;br /&gt;
*[[Performance Issues]]&lt;br /&gt;
*[[Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>80.195.232.159</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4240</id>
		<title>Ubuntu Gutsy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4240"/>
		<updated>2007-10-26T21:59:09Z</updated>

		<summary type="html">&lt;p&gt;80.195.232.159: /* Method 2: Install the 8.42.3 Driver Manually */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[:Category:Releases|latest]] fglrx driver supports Radeon 9500  and the X-series cards up to HD2900. Workstation cards are not supported.&lt;br /&gt;
&lt;br /&gt;
==Pre-Installation Checks==&lt;br /&gt;
=== Enable &amp;quot;restricted&amp;quot; Repository ===&lt;br /&gt;
Make sure the &#039;&#039;restricted&#039;&#039; repository is enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; or this guide will not work!&lt;br /&gt;
&lt;br /&gt;
System &amp;gt; Administration &amp;gt; Software Sources.  Check &amp;quot;Proprietary Drivers for Devices (Restricted)&amp;quot; box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Method 1: Install the Driver the Ubuntu Way===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update	&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The second line of the above may not be necessary.  If apt says it cannot find the &amp;quot;linux-restricted-modules&amp;quot; package, try line 3.  If that fails, check your sources.list (see top of page)&lt;br /&gt;
&lt;br /&gt;
If the system complains about dependencies, use your preferred package manager to download python2.4 and, if necessary, its dependencies.&lt;br /&gt;
&lt;br /&gt;
(Note: This method did not work with ATI X1300 Radeon on Gutsy whereas method 2 worked perfectly for us. 26/10/2007)&lt;br /&gt;
&lt;br /&gt;
===Method 2: Install the 8.42.3 Driver Manually===&lt;br /&gt;
&lt;br /&gt;
*Note: &#039;&#039;This is just an alternative installation method for the section above. It might help if you still get &#039;DRI missing&#039; errors.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer:&lt;br /&gt;
[https://www2.ati.com/drivers/linux/ati-driver-installer-8.42.3-x86.x86_64.run ati-driver-installer-8.42.3-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Change to the download directory.  Make sure that you have the &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; repositories enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; before doing these steps.  &lt;br /&gt;
&lt;br /&gt;
There is a detailed manual with screenshots at [https://wiki.ubuntu.com/AddingRepositoriesHowto Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
By default, Ubuntu did not enable the Universe and Multiverse repositories, but now in Gutsy, both Universe and Multiverse are activated by default.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper \&lt;br /&gt;
debconf libstdc++5 linux-headers-generic&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create .deb packages:&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
(don&#039;t use fakeroot ,&amp;quot;fakeroot: nested operation not yet supported&amp;quot;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo bash ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Ubuntu/gutsy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Blacklist old fglrx module from linux-restricted-modules:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*Note: You only need to do this if you&#039;ve installed the driver from Method 1 above.&lt;br /&gt;
&lt;br /&gt;
As Ubuntu Gutsy&#039;s &#039;&#039;linux-restricted-modules&#039;&#039; package includes the fglrx module from an old driver version (8.37.6), we have to blacklist this module to make sure the new kernel module which is needed by the new driver will be used instead.&lt;br /&gt;
&lt;br /&gt;
Ubuntu/Gnome users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;gksu gedit /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Kubuntu/KDE users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;kdesu kate /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;quot;fglrx&amp;quot; to the line &amp;quot;DISABLED_MODULES&amp;quot;&lt;br /&gt;
{{Box File|/etc/default/linux-restricted-modules-common|&lt;br /&gt;
&amp;lt;pre&amp;gt;DISABLED_MODULES=&amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install .deb packages:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.42.3-1*.deb \&lt;br /&gt;
fglrx-kernel-source_8.42.3-1*.deb \&lt;br /&gt;
fglrx-amdcccle_8.42.3-1*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Note: If you have a 64 bit install, the above dpkg command will likely 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 recieve this error, issue the following command after the above dpkg command, which will force the installation of all of the 32 bit dependencies, and then the amdccle pacakge:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Remove any old fglrx debs from /usr/src/:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo rm /usr/src/fglrx-kernel*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fix broken dependencies&#039;&#039;&lt;br /&gt;
*Note: &#039;&#039;You only need to do this if you have installed previous versions of these drivers using this method before.&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -f install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Compile the kernel module:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo module-assistant prepare,update&lt;br /&gt;
sudo module-assistant build,install fglrx -f&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s necessary, because sometimes this file is written by other packages, and so there&#039;s no 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create the following folder&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir /lib/modules/$(uname -r)/volatile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create a symbolic link&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: You have to recompile the kernel module after each kernel update!&lt;br /&gt;
&lt;br /&gt;
===Configure the Driver===&lt;br /&gt;
*Note Method 2 Users: Before you carry out this step you must reboot your machine. Or else the fglrx driver will not be in use on xorg.conf and using the aticonfig options will cause a memory dump and not intialise the Driver properly.&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to the &#039;&#039;&#039;aticonfig --initial&#039;&#039;&#039; command is to edit &#039;&#039;/etc/X11/xorg.conf&#039;&#039; and replace the string &amp;quot;ati&amp;quot; with &amp;quot;fglrx&amp;quot; in the &amp;quot;Device&amp;quot; section. This way you won&#039;t lose your old &amp;quot;Screen&amp;quot; and &amp;quot;Monitor&amp;quot; settings. Afterwards you can use aticonfig for setting overlay etc. Another alternative is &#039;&#039;&#039;aticonfig --initial --force&#039;&#039;&#039; if you encounter issues with the first command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --overlay-type=Xv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: Is there an alternative to the previous step?&lt;br /&gt;
&lt;br /&gt;
===Finish the Installation===&lt;br /&gt;
Now save any open document and reboot your system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to rebooting is to restart the X Server by pressing your CTRL ALT BACKSPACE keys. You must remove any old kernel modules such as &amp;quot;drm&amp;quot; &amp;quot;radeon&amp;quot; or &amp;quot;fglrx&amp;quot; using the &amp;quot;rmmod&amp;quot; command. Example: &amp;lt;code&amp;gt;sudo rmmod fglrx&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Post-Installation Checks ==&lt;br /&gt;
===Verifying===&lt;br /&gt;
Run the following command to check its output to ensure the fglrx driver is installed properly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI MOBILITY RADEON 9600/9700 Series&lt;br /&gt;
OpenGL version string: 2.0.6650 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;OpenGL vendor string&amp;lt;/code&amp;gt; should read &#039;&#039;&#039;ATI&#039;&#039;&#039; and not &#039;&#039;&#039;Mesa&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you see a message like &#039;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;&#039; then you may have to add the following to /etc/X11/xorg.conf (see [http://ubuntuforums.org/showthread.php?t=292642#post1714920]):&lt;br /&gt;
{{Box File|/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;0&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;
If you &#039;&#039;&#039;still&#039;&#039;&#039; see a message like &amp;quot;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&amp;quot; you may simply need to enable the restricted drivers.&lt;br /&gt;
&lt;br /&gt;
Ubuntu and Kubuntu use a Restricted-Driver manager to load/unload non-FOSS drivers. Even if they are installed and specified in the xorg.conf does not mean they&#039;ll load properly. &lt;br /&gt;
&lt;br /&gt;
To start the restricted manager in both Ubuntu &amp;amp; Kbuntu:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/bin/restricted-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you check the box to enable the restricted driver and reboot, it should work.&lt;br /&gt;
&lt;br /&gt;
=== Additional configure with aticonfig tool ===&lt;br /&gt;
You can configure the driver even further with the &#039;&#039;&#039;aticonfig&#039;&#039;&#039; tool, more information can be found at [[Configuring]].&lt;br /&gt;
&lt;br /&gt;
For example: &amp;lt;br&amp;gt;&lt;br /&gt;
* use powerplay option to switch power state for battery friendly or performance mode&lt;br /&gt;
* use dual head or one big desktop mode &lt;br /&gt;
* turn second monitor on/off on the fly&lt;br /&gt;
&lt;br /&gt;
==Ubuntu-specific Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Revert to Xorg driver ===&lt;br /&gt;
&lt;br /&gt;
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo dpkg-reconfigure xserver-xorg&amp;lt;/pre&amp;gt;&lt;br /&gt;
and selecting the &amp;quot;ati&amp;quot; driver, or simply restoring the previous /etc/X11/xorg.conf file, if you made a backup. &lt;br /&gt;
&lt;br /&gt;
You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install --reinstall libgl1-mesa&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== If suspend is not working ===&lt;br /&gt;
&lt;br /&gt;
If suspend stops working after fglrx installation, meaning display will not initialize after attempting to resume, then changing a few options has been reported to work for some hardware &amp;lt;!--([https://launchpad.net/ubuntu/source/linux-restricted-modules-2.6.20/bug/84991 Bug 84991 ])--&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For ATI X700 and ATI X1100 on Acer Aspire 5051:&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
POST_VIDEO=true&lt;br /&gt;
USE_DPMS=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For ATI X1300 and the ATI X1400 on a Dell Inspiron 9400, also for ATI X1600 on Asus Z96J (using install method 2):&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
POST_VIDEO=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===If you get  /usr/X11R6/lib/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
sudo ln -s /usr/lib/ /usr/X11R6/lib/modules&lt;br /&gt;
&lt;br /&gt;
=== libGL error ===&lt;br /&gt;
* fglrxinfo gives:  libGL.so.1: cannot open shared object file.&lt;br /&gt;
* Fixed with command:&lt;br /&gt;
 sudo ln /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Frequently Asked Questions]]&lt;br /&gt;
*[[Performance Issues]]&lt;br /&gt;
*[[Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>80.195.232.159</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4239</id>
		<title>Ubuntu Gutsy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4239"/>
		<updated>2007-10-26T21:58:33Z</updated>

		<summary type="html">&lt;p&gt;80.195.232.159: /* Method 2: Install the 8.42.3 Driver Manually */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[:Category:Releases|latest]] fglrx driver supports Radeon 9500  and the X-series cards up to HD2900. Workstation cards are not supported.&lt;br /&gt;
&lt;br /&gt;
==Pre-Installation Checks==&lt;br /&gt;
=== Enable &amp;quot;restricted&amp;quot; Repository ===&lt;br /&gt;
Make sure the &#039;&#039;restricted&#039;&#039; repository is enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; or this guide will not work!&lt;br /&gt;
&lt;br /&gt;
System &amp;gt; Administration &amp;gt; Software Sources.  Check &amp;quot;Proprietary Drivers for Devices (Restricted)&amp;quot; box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Method 1: Install the Driver the Ubuntu Way===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update	&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The second line of the above may not be necessary.  If apt says it cannot find the &amp;quot;linux-restricted-modules&amp;quot; package, try line 3.  If that fails, check your sources.list (see top of page)&lt;br /&gt;
&lt;br /&gt;
If the system complains about dependencies, use your preferred package manager to download python2.4 and, if necessary, its dependencies.&lt;br /&gt;
&lt;br /&gt;
(Note: This method did not work with ATI X1300 Radeon on Gutsy whereas method 2 worked perfectly for us. 26/10/2007)&lt;br /&gt;
&lt;br /&gt;
===Method 2: Install the 8.42.3 Driver Manually===&lt;br /&gt;
&lt;br /&gt;
*Note: &#039;&#039;This is just an alternative installation method for the section above. It might help if you still get &#039;DRI missing&#039; errors.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer:&lt;br /&gt;
[https://www2.ati.com/drivers/linux/ati-driver-installer-8.42.3-x86.x86_64.run ati-driver-installer-8.42.3-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Change to the download directory.  Make sure that you have the &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; repositories enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; before doing these steps.  &lt;br /&gt;
&lt;br /&gt;
There is a detailed manual with screenshots at [https://wiki.ubuntu.com/AddingRepositoriesHowto Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
By default, Ubuntu did not enable the Universe and Multiverse repositories, but now in Gutsy, both Universe and Multiverse are activated by default.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper \&lt;br /&gt;
debconf libstdc++5 linux-headers-generic&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create .deb packages:&#039;&#039; &lt;br /&gt;
(don&#039;t use fakeroot ,&amp;quot;fakeroot: nested operation not yet supported&amp;quot;)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo bash ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Ubuntu/gutsy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Blacklist old fglrx module from linux-restricted-modules:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*Note: You only need to do this if you&#039;ve installed the driver from Method 1 above.&lt;br /&gt;
&lt;br /&gt;
As Ubuntu Gutsy&#039;s &#039;&#039;linux-restricted-modules&#039;&#039; package includes the fglrx module from an old driver version (8.37.6), we have to blacklist this module to make sure the new kernel module which is needed by the new driver will be used instead.&lt;br /&gt;
&lt;br /&gt;
Ubuntu/Gnome users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;gksu gedit /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Kubuntu/KDE users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;kdesu kate /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;quot;fglrx&amp;quot; to the line &amp;quot;DISABLED_MODULES&amp;quot;&lt;br /&gt;
{{Box File|/etc/default/linux-restricted-modules-common|&lt;br /&gt;
&amp;lt;pre&amp;gt;DISABLED_MODULES=&amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install .deb packages:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.42.3-1*.deb \&lt;br /&gt;
fglrx-kernel-source_8.42.3-1*.deb \&lt;br /&gt;
fglrx-amdcccle_8.42.3-1*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Note: If you have a 64 bit install, the above dpkg command will likely 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 recieve this error, issue the following command after the above dpkg command, which will force the installation of all of the 32 bit dependencies, and then the amdccle pacakge:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Remove any old fglrx debs from /usr/src/:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo rm /usr/src/fglrx-kernel*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fix broken dependencies&#039;&#039;&lt;br /&gt;
*Note: &#039;&#039;You only need to do this if you have installed previous versions of these drivers using this method before.&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -f install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Compile the kernel module:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo module-assistant prepare,update&lt;br /&gt;
sudo module-assistant build,install fglrx -f&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s necessary, because sometimes this file is written by other packages, and so there&#039;s no 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create the following folder&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir /lib/modules/$(uname -r)/volatile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create a symbolic link&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: You have to recompile the kernel module after each kernel update!&lt;br /&gt;
&lt;br /&gt;
===Configure the Driver===&lt;br /&gt;
*Note Method 2 Users: Before you carry out this step you must reboot your machine. Or else the fglrx driver will not be in use on xorg.conf and using the aticonfig options will cause a memory dump and not intialise the Driver properly.&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to the &#039;&#039;&#039;aticonfig --initial&#039;&#039;&#039; command is to edit &#039;&#039;/etc/X11/xorg.conf&#039;&#039; and replace the string &amp;quot;ati&amp;quot; with &amp;quot;fglrx&amp;quot; in the &amp;quot;Device&amp;quot; section. This way you won&#039;t lose your old &amp;quot;Screen&amp;quot; and &amp;quot;Monitor&amp;quot; settings. Afterwards you can use aticonfig for setting overlay etc. Another alternative is &#039;&#039;&#039;aticonfig --initial --force&#039;&#039;&#039; if you encounter issues with the first command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --overlay-type=Xv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: Is there an alternative to the previous step?&lt;br /&gt;
&lt;br /&gt;
===Finish the Installation===&lt;br /&gt;
Now save any open document and reboot your system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to rebooting is to restart the X Server by pressing your CTRL ALT BACKSPACE keys. You must remove any old kernel modules such as &amp;quot;drm&amp;quot; &amp;quot;radeon&amp;quot; or &amp;quot;fglrx&amp;quot; using the &amp;quot;rmmod&amp;quot; command. Example: &amp;lt;code&amp;gt;sudo rmmod fglrx&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Post-Installation Checks ==&lt;br /&gt;
===Verifying===&lt;br /&gt;
Run the following command to check its output to ensure the fglrx driver is installed properly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI MOBILITY RADEON 9600/9700 Series&lt;br /&gt;
OpenGL version string: 2.0.6650 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;OpenGL vendor string&amp;lt;/code&amp;gt; should read &#039;&#039;&#039;ATI&#039;&#039;&#039; and not &#039;&#039;&#039;Mesa&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you see a message like &#039;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;&#039; then you may have to add the following to /etc/X11/xorg.conf (see [http://ubuntuforums.org/showthread.php?t=292642#post1714920]):&lt;br /&gt;
{{Box File|/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;0&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;
If you &#039;&#039;&#039;still&#039;&#039;&#039; see a message like &amp;quot;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&amp;quot; you may simply need to enable the restricted drivers.&lt;br /&gt;
&lt;br /&gt;
Ubuntu and Kubuntu use a Restricted-Driver manager to load/unload non-FOSS drivers. Even if they are installed and specified in the xorg.conf does not mean they&#039;ll load properly. &lt;br /&gt;
&lt;br /&gt;
To start the restricted manager in both Ubuntu &amp;amp; Kbuntu:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/bin/restricted-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you check the box to enable the restricted driver and reboot, it should work.&lt;br /&gt;
&lt;br /&gt;
=== Additional configure with aticonfig tool ===&lt;br /&gt;
You can configure the driver even further with the &#039;&#039;&#039;aticonfig&#039;&#039;&#039; tool, more information can be found at [[Configuring]].&lt;br /&gt;
&lt;br /&gt;
For example: &amp;lt;br&amp;gt;&lt;br /&gt;
* use powerplay option to switch power state for battery friendly or performance mode&lt;br /&gt;
* use dual head or one big desktop mode &lt;br /&gt;
* turn second monitor on/off on the fly&lt;br /&gt;
&lt;br /&gt;
==Ubuntu-specific Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Revert to Xorg driver ===&lt;br /&gt;
&lt;br /&gt;
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo dpkg-reconfigure xserver-xorg&amp;lt;/pre&amp;gt;&lt;br /&gt;
and selecting the &amp;quot;ati&amp;quot; driver, or simply restoring the previous /etc/X11/xorg.conf file, if you made a backup. &lt;br /&gt;
&lt;br /&gt;
You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install --reinstall libgl1-mesa&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== If suspend is not working ===&lt;br /&gt;
&lt;br /&gt;
If suspend stops working after fglrx installation, meaning display will not initialize after attempting to resume, then changing a few options has been reported to work for some hardware &amp;lt;!--([https://launchpad.net/ubuntu/source/linux-restricted-modules-2.6.20/bug/84991 Bug 84991 ])--&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For ATI X700 and ATI X1100 on Acer Aspire 5051:&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
POST_VIDEO=true&lt;br /&gt;
USE_DPMS=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For ATI X1300 and the ATI X1400 on a Dell Inspiron 9400, also for ATI X1600 on Asus Z96J (using install method 2):&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
POST_VIDEO=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===If you get  /usr/X11R6/lib/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
sudo ln -s /usr/lib/ /usr/X11R6/lib/modules&lt;br /&gt;
&lt;br /&gt;
=== libGL error ===&lt;br /&gt;
* fglrxinfo gives:  libGL.so.1: cannot open shared object file.&lt;br /&gt;
* Fixed with command:&lt;br /&gt;
 sudo ln /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Frequently Asked Questions]]&lt;br /&gt;
*[[Performance Issues]]&lt;br /&gt;
*[[Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>80.195.232.159</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4238</id>
		<title>Ubuntu Gutsy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4238"/>
		<updated>2007-10-26T21:55:01Z</updated>

		<summary type="html">&lt;p&gt;80.195.232.159: /* Method 1: Install the Driver the Ubuntu Way */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[:Category:Releases|latest]] fglrx driver supports Radeon 9500  and the X-series cards up to HD2900. Workstation cards are not supported.&lt;br /&gt;
&lt;br /&gt;
==Pre-Installation Checks==&lt;br /&gt;
=== Enable &amp;quot;restricted&amp;quot; Repository ===&lt;br /&gt;
Make sure the &#039;&#039;restricted&#039;&#039; repository is enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; or this guide will not work!&lt;br /&gt;
&lt;br /&gt;
System &amp;gt; Administration &amp;gt; Software Sources.  Check &amp;quot;Proprietary Drivers for Devices (Restricted)&amp;quot; box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
===Method 1: Install the Driver the Ubuntu Way===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update	&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The second line of the above may not be necessary.  If apt says it cannot find the &amp;quot;linux-restricted-modules&amp;quot; package, try line 3.  If that fails, check your sources.list (see top of page)&lt;br /&gt;
&lt;br /&gt;
If the system complains about dependencies, use your preferred package manager to download python2.4 and, if necessary, its dependencies.&lt;br /&gt;
&lt;br /&gt;
(Note: This method did not work with ATI X1300 Radeon on Gutsy whereas method 2 worked perfectly for us. 26/10/2007)&lt;br /&gt;
&lt;br /&gt;
===Method 2: Install the 8.42.3 Driver Manually===&lt;br /&gt;
&lt;br /&gt;
*Note: &#039;&#039;This is just an alternative installation method for the section above. It might help if you still get &#039;DRI missing&#039; errors.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer:&lt;br /&gt;
[https://www2.ati.com/drivers/linux/ati-driver-installer-8.42.3-x86.x86_64.run ati-driver-installer-8.42.3-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Change to the download directory.  Make sure that you have the &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; repositories enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; before doing these steps.  &lt;br /&gt;
&lt;br /&gt;
There is a detailed manual with screenshots at [https://wiki.ubuntu.com/AddingRepositoriesHowto Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
By default, Ubuntu did not enable the Universe and Multiverse repositories, but now in Gutsy, both Universe and Multiverse are activated by default.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper \&lt;br /&gt;
debconf libstdc++5 linux-headers-generic&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create .deb packages:&#039;&#039; don&#039;t use fakeroot ,&amp;quot;fakeroot: nested operation not yet supported&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo bash ati-driver-installer-8.42.3-x86.x86_64.run --buildpkg Ubuntu/gutsy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Blacklist old fglrx module from linux-restricted-modules:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*Note: You only need to do this if you&#039;ve installed the driver from Method 1 above.&lt;br /&gt;
&lt;br /&gt;
As Ubuntu Gutsy&#039;s &#039;&#039;linux-restricted-modules&#039;&#039; package includes the fglrx module from an old driver version (8.37.6), we have to blacklist this module to make sure the new kernel module which is needed by the new driver will be used instead.&lt;br /&gt;
&lt;br /&gt;
Ubuntu/Gnome users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;gksu gedit /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Kubuntu/KDE users type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;kdesu kate /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;quot;fglrx&amp;quot; to the line &amp;quot;DISABLED_MODULES&amp;quot;&lt;br /&gt;
{{Box File|/etc/default/linux-restricted-modules-common|&lt;br /&gt;
&amp;lt;pre&amp;gt;DISABLED_MODULES=&amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install .deb packages:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.42.3-1*.deb \&lt;br /&gt;
fglrx-kernel-source_8.42.3-1*.deb \&lt;br /&gt;
fglrx-amdcccle_8.42.3-1*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Note: If you have a 64 bit install, the above dpkg command will likely 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 recieve this error, issue the following command after the above dpkg command, which will force the installation of all of the 32 bit dependencies, and then the amdccle pacakge:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Remove any old fglrx debs from /usr/src/:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo rm /usr/src/fglrx-kernel*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fix broken dependencies&#039;&#039;&lt;br /&gt;
*Note: &#039;&#039;You only need to do this if you have installed previous versions of these drivers using this method before.&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -f install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Compile the kernel module:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo module-assistant prepare,update&lt;br /&gt;
sudo module-assistant build,install fglrx -f&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s necessary, because sometimes this file is written by other packages, and so there&#039;s no 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create the following folder&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir /lib/modules/$(uname -r)/volatile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create a symbolic link&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: You have to recompile the kernel module after each kernel update!&lt;br /&gt;
&lt;br /&gt;
===Configure the Driver===&lt;br /&gt;
*Note Method 2 Users: Before you carry out this step you must reboot your machine. Or else the fglrx driver will not be in use on xorg.conf and using the aticonfig options will cause a memory dump and not intialise the Driver properly.&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to the &#039;&#039;&#039;aticonfig --initial&#039;&#039;&#039; command is to edit &#039;&#039;/etc/X11/xorg.conf&#039;&#039; and replace the string &amp;quot;ati&amp;quot; with &amp;quot;fglrx&amp;quot; in the &amp;quot;Device&amp;quot; section. This way you won&#039;t lose your old &amp;quot;Screen&amp;quot; and &amp;quot;Monitor&amp;quot; settings. Afterwards you can use aticonfig for setting overlay etc. Another alternative is &#039;&#039;&#039;aticonfig --initial --force&#039;&#039;&#039; if you encounter issues with the first command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --overlay-type=Xv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: Is there an alternative to the previous step?&lt;br /&gt;
&lt;br /&gt;
===Finish the Installation===&lt;br /&gt;
Now save any open document and reboot your system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to rebooting is to restart the X Server by pressing your CTRL ALT BACKSPACE keys. You must remove any old kernel modules such as &amp;quot;drm&amp;quot; &amp;quot;radeon&amp;quot; or &amp;quot;fglrx&amp;quot; using the &amp;quot;rmmod&amp;quot; command. Example: &amp;lt;code&amp;gt;sudo rmmod fglrx&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Post-Installation Checks ==&lt;br /&gt;
===Verifying===&lt;br /&gt;
Run the following command to check its output to ensure the fglrx driver is installed properly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI MOBILITY RADEON 9600/9700 Series&lt;br /&gt;
OpenGL version string: 2.0.6650 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;OpenGL vendor string&amp;lt;/code&amp;gt; should read &#039;&#039;&#039;ATI&#039;&#039;&#039; and not &#039;&#039;&#039;Mesa&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you see a message like &#039;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;&#039; then you may have to add the following to /etc/X11/xorg.conf (see [http://ubuntuforums.org/showthread.php?t=292642#post1714920]):&lt;br /&gt;
{{Box File|/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;0&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;
If you &#039;&#039;&#039;still&#039;&#039;&#039; see a message like &amp;quot;Xlib: extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:0.0&amp;quot;.&amp;quot; you may simply need to enable the restricted drivers.&lt;br /&gt;
&lt;br /&gt;
Ubuntu and Kubuntu use a Restricted-Driver manager to load/unload non-FOSS drivers. Even if they are installed and specified in the xorg.conf does not mean they&#039;ll load properly. &lt;br /&gt;
&lt;br /&gt;
To start the restricted manager in both Ubuntu &amp;amp; Kbuntu:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/bin/restricted-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you check the box to enable the restricted driver and reboot, it should work.&lt;br /&gt;
&lt;br /&gt;
=== Additional configure with aticonfig tool ===&lt;br /&gt;
You can configure the driver even further with the &#039;&#039;&#039;aticonfig&#039;&#039;&#039; tool, more information can be found at [[Configuring]].&lt;br /&gt;
&lt;br /&gt;
For example: &amp;lt;br&amp;gt;&lt;br /&gt;
* use powerplay option to switch power state for battery friendly or performance mode&lt;br /&gt;
* use dual head or one big desktop mode &lt;br /&gt;
* turn second monitor on/off on the fly&lt;br /&gt;
&lt;br /&gt;
==Ubuntu-specific Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Revert to Xorg driver ===&lt;br /&gt;
&lt;br /&gt;
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo dpkg-reconfigure xserver-xorg&amp;lt;/pre&amp;gt;&lt;br /&gt;
and selecting the &amp;quot;ati&amp;quot; driver, or simply restoring the previous /etc/X11/xorg.conf file, if you made a backup. &lt;br /&gt;
&lt;br /&gt;
You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install --reinstall libgl1-mesa&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== If suspend is not working ===&lt;br /&gt;
&lt;br /&gt;
If suspend stops working after fglrx installation, meaning display will not initialize after attempting to resume, then changing a few options has been reported to work for some hardware &amp;lt;!--([https://launchpad.net/ubuntu/source/linux-restricted-modules-2.6.20/bug/84991 Bug 84991 ])--&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For ATI X700 and ATI X1100 on Acer Aspire 5051:&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
POST_VIDEO=true&lt;br /&gt;
USE_DPMS=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For ATI X1300 and the ATI X1400 on a Dell Inspiron 9400, also for ATI X1600 on Asus Z96J (using install method 2):&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
POST_VIDEO=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===If you get  /usr/X11R6/lib/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
sudo ln -s /usr/lib/ /usr/X11R6/lib/modules&lt;br /&gt;
&lt;br /&gt;
=== libGL error ===&lt;br /&gt;
* fglrxinfo gives:  libGL.so.1: cannot open shared object file.&lt;br /&gt;
* Fixed with command:&lt;br /&gt;
 sudo ln /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Frequently Asked Questions]]&lt;br /&gt;
*[[Performance Issues]]&lt;br /&gt;
*[[Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>80.195.232.159</name></author>
	</entry>
</feed>