<?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=24.254.11.230</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=24.254.11.230"/>
	<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Special:Contributions/24.254.11.230"/>
	<updated>2026-06-09T14:35:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4914</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4914"/>
		<updated>2008-05-06T22:04:27Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video on pre-R500 cards, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the following line to the Device section (if it does not already exist):&lt;br /&gt;
&amp;lt;pre&amp;gt;Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please note: Depending on the particular ATI card that you own, you may or may not automatically have all of the relevant driver features enabled.  R500 and R600 cards (X1xxx, HD series, and newer) in particular will need TexturedVideo enabled in Xorg.conf (rather than the traditional VideoOverlay) in order to support Xv accelerated video playback.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
:*Check you are running the correct kernel. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If your upgrading from Gutsy to Hardy in some instances the Grub bootloader does not get updated and the new kernel is not loaded.&lt;br /&gt;
::Run in a terminal:&lt;br /&gt;
::&amp;lt;pre&amp;gt;uname -r&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If the output starts with 2.6.22 or below you are not using the current kernel and the Ati drivers will not load properly.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4913</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4913"/>
		<updated>2008-05-06T22:03:26Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the following line to the Device section (if it does not already exist):&lt;br /&gt;
&amp;lt;pre&amp;gt;Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please note: Depending on the particular ATI card that you own, you may or may not automatically have all of the relevant driver features enabled.  R500 and R600 cards (X1xxx, HD series, and newer) in particular will need TexturedVideo enabled in Xorg.conf (rather than the traditional VideoOverlay) in order to support Xv accelerated video playback.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
:*Check you are running the correct kernel. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If your upgrading from Gutsy to Hardy in some instances the Grub bootloader does not get updated and the new kernel is not loaded.&lt;br /&gt;
::Run in a terminal:&lt;br /&gt;
::&amp;lt;pre&amp;gt;uname -r&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If the output starts with 2.6.22 or below you are not using the current kernel and the Ati drivers will not load properly.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4909</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4909"/>
		<updated>2008-04-30T00:04:32Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the following line to the Device section (if it does not already exist):&lt;br /&gt;
&amp;lt;pre&amp;gt;Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please note: Depending on the particular ATI card that you own, you may or may not automatically have all of the relevant driver features enabled.  R5000 and R600 cards (X1xxx, HD seris, and newer) in particular will need TexturedVideo enabled in Xorg.conf (rather than the traditional VideoOverlay) in order to support Xv accelerated video playback.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4908</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4908"/>
		<updated>2008-04-30T00:03:54Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the following line to the Device section (if it does not already exist):&lt;br /&gt;
&amp;lt;pre&amp;gt;Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
Please note: Depending on the particular ATI card that you own, you may or may not automatically have all of the relevant driver features enabled.  R5000 and R600 cards (X1xxx, HD seris, and newer) in particular will need TexturedVideo enabled in Xorg.conf (rather than the traditional VideoOverlay) in order to support Xv accelerated video playback.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4907</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4907"/>
		<updated>2008-04-30T00:03:08Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Finishing the Install: Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the following line to the Device section (if it does not already exist):&lt;br /&gt;
&amp;lt;pre&amp;gt;Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&amp;lt;/pre&amp;gt;&lt;br /&gt;
Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
Please note: Depending on the particular ATI card that you own, you may or may not automatically have all of the relevant driver features enabled.  R5000 and R600 cards (X1xxx, HD seris, and newer) in particular will need TexturedVideo enabled in Xorg.conf (rather than the traditional VideoOverlay) in order to support Xv accelerated video playback.&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4906</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4906"/>
		<updated>2008-04-30T00:01:03Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the line&lt;br /&gt;
&amp;lt;pre&amp;gt;Driver      &amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
to the Device section (if it does not already exist). Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
Please note: Depending on the particular ATI card that you own, you may or may not automatically have all of the relevant driver features enabled.  R5000 and R600 cards (X1xxx, HD seris, and newer) in particular will need TexturedVideo enabled in Xorg.conf (rather than the traditional VideoOverlay) in order to support Xv accelerated video playback.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4905</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4905"/>
		<updated>2008-04-30T00:00:25Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Finishing the Install: Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the line&lt;br /&gt;
&amp;lt;pre&amp;gt;Driver      &amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
to the Device section (if it does not already exist). Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
Please note: Depending on the particular ATI card that you own, you may or may not automatically have all of the relevant driver features enabled.  R5000 and R600 cards (X1xxx, HD seris, and newer) in particular will need TexturedVideo enabled in Xorg.conf (rather than the traditional VideoOverlay) in order to support Xv accelerated video playback.&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4904</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4904"/>
		<updated>2008-04-29T23:51:26Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the line&lt;br /&gt;
&amp;lt;pre&amp;gt;Driver      &amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
to the Device section (if it does not already exist). Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4903</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4903"/>
		<updated>2008-04-29T23:50:39Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the line&lt;br /&gt;
&amp;lt;pre&amp;gt;Driver      &amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
to the Device section (if it does not already exist). Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4902</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4902"/>
		<updated>2008-04-29T23:50:24Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the line&lt;br /&gt;
&amp;lt;pre&amp;gt;Driver      &amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
to the Device section (if it does not already exist). Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4901</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4901"/>
		<updated>2008-04-29T23:49:34Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the line&lt;br /&gt;
&amp;lt;pre&amp;gt;Driver      &amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
to the Device section (if it does not already exist). Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4900</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4900"/>
		<updated>2008-04-29T23:49:18Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the line&lt;br /&gt;
&amp;lt;pre&amp;gt;Driver      &amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
to the Device section (if it does not already exist). Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4899</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4899"/>
		<updated>2008-04-29T23:47:28Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Method 1: Install the driver the Ubuntu Way */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the line&lt;br /&gt;
&amp;lt;pre&amp;gt;Driver      &amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
to the Device section (if it does not already exist). Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4898</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4898"/>
		<updated>2008-04-29T23:46:48Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Method 2: Manual Method */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Finishing the Install: Configuration ====&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the line&lt;br /&gt;
&amp;lt;pre&amp;gt;Driver      &amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
to the Device section (if it does not already exist). Save and exit, then run&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4897</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4897"/>
		<updated>2008-04-29T23:37:16Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Method 2: Manual Method */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;and add the line&amp;lt;pre&amp;gt;Driver      &amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;to the Device section. Save and exit, then run&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;in a terminal. If it does not error you should be fine. Finally reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4896</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4896"/>
		<updated>2008-04-29T23:36:11Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Additional 64-bit instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo nano /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;and add the line&amp;lt;pre&amp;gt;Driver      &amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;to the Device section. Save and exit, then run&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;in a terminal. If it does not error you should be fine. Finally reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4895</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4895"/>
		<updated>2008-04-29T23:35:28Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Additional 64-bit instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Install the driver the Ubuntu Way ===&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It may be older than the one AMD has released, but as of writing, Catalyst 8.4 is in the repositories. It would seem that Ubuntu gets new builds for the Catalyst drivers a few weeks after AMD releases them.&lt;br /&gt;
&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;
The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don&#039;t have the restricted repository enabled. See Pre-Installation.&lt;br /&gt;
&lt;br /&gt;
After this, you&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the device section, if it is not already there add:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Driver     &amp;quot;fglrx&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then to make sure Xorg is set up correctly, you&#039;ll have to let aticonfig &amp;quot;initialize&amp;quot; it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this you should be able to restart your computer and have the driver working. To test type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method ===&lt;br /&gt;
&lt;br /&gt;
Download the installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-4-x86.x86_64.run ati-driver-installer-8-4-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into and the run the following. (Make sure &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; are enabled in your repository sources).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This installs the dependencies for the installer.&lt;br /&gt;
&lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name.&lt;br /&gt;
&lt;br /&gt;
If using 64bit make sure to collect package &amp;quot;ia32-libs&amp;quot; and &amp;quot; libGL.so.1&amp;quot; before proceeding!&lt;br /&gt;
&lt;br /&gt;
Remove any old fglrx .debs:&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;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As an alternative, you can just use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu --autopkg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository. This is so it doesn&#039;t ever overwrite our installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo nano /etc/default/linux-restricted-modules-common&lt;br /&gt;
&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.4) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo nano /etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&lt;br /&gt;
&lt;br /&gt;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Additional 64-bit instructions ====&lt;br /&gt;
&lt;br /&gt;
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 receive 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 package:&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;
Catalyst 8.4 on 64-bit systems requires the &#039;&#039;--force-overwrite&#039;&#039; command in the above &#039;&#039;dpkg&#039;&#039; command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.476*.deb fglrx-kernel-source_8.476-0*.deb fglrx-amdcccle_8.476-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.476&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;and add the line&amp;lt;pre&amp;gt;Driver      &amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;to the Device section. Then run&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;in a terminal. If it does not error you should be fine. Finally reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully.&lt;br /&gt;
&lt;br /&gt;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &lt;br /&gt;
::&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you installed this previously in order to make compiz work, it will not allow direct rendering on your display. You can check out if this is what it causing the problem by running&lt;br /&gt;
::&amp;lt;pre&amp;gt;DISPLAY=:0 glxinfo | grep render&amp;lt;/pre&amp;gt;&lt;br /&gt;
::If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http://ubuntuforums.org/showthread.php?t=740287])&lt;br /&gt;
::&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGl. A solution might be to run the Envy script in order to configure compiz.&lt;br /&gt;
::Also, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
::is set.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;/div&gt;</summary>
		<author><name>24.254.11.230</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4390</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=4390"/>
		<updated>2008-01-20T17:04:59Z</updated>

		<summary type="html">&lt;p&gt;24.254.11.230: /* Method 2: Install the Catalyst 8.1 Driver Manually */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 7.10 (Gutsy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
===Method 1: Install the Driver the Ubuntu Way===&lt;br /&gt;
This will install the driver that is currently in the repositories. It may be older than the current version from AMD.&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;
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;
===Method 2: Install the Catalyst 8.1 Driver Manually===&lt;br /&gt;
&lt;br /&gt;
:&#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;
*Note: &#039;&#039;If you are running the -rt kernel, you will fail to compile the kernel module with &#039;&#039;&amp;quot;FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol &#039;__rcu_read_lock&#039;&amp;quot;&#039;&#039;.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer:&lt;br /&gt;
[https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-01-x86.x86_64.run ati-driver-installer-8-01-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 build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Uninstall previous fglrx:&#039;&#039; &lt;br /&gt;
Using Synaptic, completely remove any packages containing &amp;quot;fglrx&amp;quot; in their name. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create .deb packages:&#039;&#039; &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ati-driver-installer-8-01-x86.x86_64.run --buildpkg Ubuntu/gutsy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
note: if this step fails with a signal being caught, and you are running the script on an NFS-mounted directory, copy it to a local partition, and it will work.  The same error may result from insufficient disk space.&lt;br /&gt;
&lt;br /&gt;
If this step fails on amd64/x86_64 with a &amp;lt;tt&amp;gt;No such file or directory&amp;lt;/tt&amp;gt; message about missing files in &amp;lt;tt&amp;gt;X11R6/lib&amp;lt;/tt&amp;gt;, [http://emmetcaulfield.net/tech/Ubuntu64+ATI follow these instructions] and come back here. Also check that your downloadpath does not contain spaces.&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;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated grapichs driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (7.12) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file (if it exists):&lt;br /&gt;
&amp;lt;pre&amp;gt;/etc/modprobe.d/blacklist-restricted&amp;lt;/pre&amp;gt;&lt;br /&gt;
Put a # in front of the line &amp;quot;blacklist fglrx&amp;quot;, if it is present. Otherwise, the kernel module will not load automatically, and you will not get 3D acceleration.&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;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.452.1-1*.deb fglrx-kernel-source_8.452.1-1*.deb fglrx-amdcccle_8.452.1-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 receive 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 package:&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;
Nevertheless the previous command is always recommended.&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: Alternative in the overlay-type to &amp;quot;Xv&amp;quot; can be &amp;quot;opengl&amp;quot; or &amp;quot;disable&amp;quot; if the TV-out makes problems in videos.&lt;br /&gt;
&lt;br /&gt;
====Alternative: Configure the Driver, The Manual Way:====&lt;br /&gt;
An alternative to the &amp;quot;&#039;&#039;sudo aticonfig&#039;&#039;&amp;quot; commands is to edit &amp;quot;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&amp;quot; and change the &amp;quot;Device&amp;quot; section for the video card as shown below. This way you won&#039;t lose your old settings.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gksu gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
#       Driver          &amp;quot;vesa&amp;quot;&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;		&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;		&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== TV - Out ====&lt;br /&gt;
The composite TV-Out is not working simultaneously with the VGA on my System. To use it I have turned the VGA off and only the TV on. Attention! This command turns off your Monitor!!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --enable-monitor=tv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To change back to VGA:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --enable-monitor=crt1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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 -hr 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;
*Note: Another way to reboot:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Post-Installation Checks and Tweaks ==&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 Radeon Xpress Series&lt;br /&gt;
OpenGL version string: 2.1.7170 Release&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;
&#039;&#039;&#039;If it still says &#039;&#039;Mesa&#039;&#039; and not &#039;&#039;ATI&#039;&#039;, even after re-enabling the driver from the Restricted-manager:&#039;&#039;&#039;&lt;br /&gt;
You can try the following:&lt;br /&gt;
:*&amp;lt;pre&amp;gt;$ less /var/log/Xorg.0.log |grep EE&amp;lt;/pre&amp;gt; if this command returns &amp;lt;code&amp;gt;(EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work&amp;lt;/code&amp;gt; then remove the kernel module and reinstall it.&lt;br /&gt;
:: &amp;lt;pre&amp;gt;$ sudo dkms remove -m fglrx -v 8.4331 --all&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Remove all the packages provided by the &amp;lt;code&amp;gt;xserver-xorg-video-all&amp;lt;/code&amp;gt; meta-package (search for it using Synaptic or Adept), then restart the machine. The X Server should now use the new fglrx driver by force (provided the driver is being used in &#039;&#039;xorg.conf&#039;&#039;).&lt;br /&gt;
::If you can&#039;t log in after this, you&#039;ll have to log in to a terminal in the login screen, and reinstall the &amp;lt;code&amp;gt;xserver-xorg-video-all&amp;lt;/code&amp;gt; package. Your problem is probably somewhere else. (taken from [http://ubuntuforums.org/showpost.php?p=3655658&amp;amp;postcount=139]).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If it says &#039;&#039; libGL.so.1: cannot open shared object file: No such file or directory&#039;&#039;...&#039;&#039;&#039;&lt;br /&gt;
Check if you have a &#039;&#039;/usr/lib/libGL.so.1.2&#039;&#039;, if so do this:&lt;br /&gt;
  $ ls -l /usr/lib/libGL*&lt;br /&gt;
* The file permission should be &amp;quot;-rw-rw-r--&amp;quot;.  If the permission reads &amp;quot;-rw-rw----&amp;quot;, do command&lt;br /&gt;
  $ sudo chmod o+r /usr/lib/libGL.so.1.2&lt;br /&gt;
* If the permission is correct, fixed with command:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ sudo ln -s /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: Here is the [[glxinfo]] of a good install (for those interested).&lt;br /&gt;
&lt;br /&gt;
=== Enable laptop mode on battery power ===&lt;br /&gt;
&lt;br /&gt;
Enabling laptop mode on battery power gives you much better battery life, however be aware that sometimes it causes odd hangs.&lt;br /&gt;
&lt;br /&gt;
Switch ENABLE_LAPTOP_MODE to true  &lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Switch to laptop-mode on battery power - off by default as it causes odd&lt;br /&gt;
# hangs on some machines&lt;br /&gt;
ENABLE_LAPTOP_MODE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Switch FGLRX_ACPI_SWITCH_POWERSTATES to true&lt;br /&gt;
{{Box File|/etc/default/fglrx|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Uncomment the next line to enable powerstate switching on ACPI&lt;br /&gt;
# events for lid open/close and AC adapter on/off&lt;br /&gt;
FGLRX_ACPI_SWITCH_POWERSTATES=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&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;
&lt;br /&gt;
&lt;br /&gt;
==Specific Issues==&lt;br /&gt;
&lt;br /&gt;
=== 3D desktop effects ===&lt;br /&gt;
The new ATI drivers use AIGLX so there is not need to install XGL that older drivers (&amp;lt; 8.40) required.&lt;br /&gt;
&lt;br /&gt;
Remove this section from to the /etc/X11/xorg.conf file.&lt;br /&gt;
The new xorg server enables &amp;quot;Composite&amp;quot; by default.&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;
Compiz does not know about the fglrx driver. You can either skip the checks&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir -p ~/.config/compiz &amp;amp;&amp;amp; echo SKIP_CHECKS=yes &amp;gt;&amp;gt; ~/.config/compiz/compiz-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or add it to the compiz white list, and clear the blacklist pci Ids variable &#039;&#039;&#039;*Recommended*&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /usr/bin/compiz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Driver whitelist&lt;br /&gt;
WHITELIST=&amp;quot;fglrx nvidia intel ati radeon i810&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# blacklist based on the pci ids &lt;br /&gt;
# BLACKLIST_PCIIDS=&amp;quot;$T&amp;quot;&lt;br /&gt;
BLACKLIST_PCIIDS=&amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the necessary configurations, just restart X and enjoy the cool effects.&lt;br /&gt;
&lt;br /&gt;
For Kubuntu you need some extra steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install compiz compiz-kde compizconfig-settings-manager compiz-core compiz-fusion-plugins-main compiz-plugins&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test 3D Effects, press ALT+F2 and type &amp;quot;compiz --replace&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
To configure use the tool KMenu-&amp;gt;Settings-&amp;gt;Avanced Desktop Effect Settings.&lt;br /&gt;
&lt;br /&gt;
=== Suspend/Hibernation work with 7.12===&lt;br /&gt;
&lt;br /&gt;
With Gutsy release, there was a big problem using the ATI proprietary drivers.  The Suspend/Hibernate function stopped working. The problem was due to the new SLUB allocator incorporated in 2.6.22 / 2.6.23 Kernel. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The problem has been solved in the AMD Catalyst 7.12 driver release.&#039;&#039;&#039;&lt;br /&gt;
Suspend/hibernate is not working for FireGL 5250.&lt;br /&gt;
For FireGL 5200, suspend works with the 7.12 fglrx kernel module loaded (which did not work before this release) , but does not work if X is running.&lt;br /&gt;
&lt;br /&gt;
For Thinkpad T60 with ATI X1400, to get the laptop to wake up from suspend, I had to change the following in /etc/default/acpi-support:&lt;br /&gt;
&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false&lt;br /&gt;
&lt;br /&gt;
Found here: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/121653/&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;
===Segmentation Fault with glxinfo/fglrxinfo===&lt;br /&gt;
If &amp;lt;code&amp;gt;fglrxinfo&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;glxinfo&amp;lt;/code&amp;gt; returns a Segmentation fault like this:&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 Radeon Xpress Series&lt;br /&gt;
OpenGL version string: 1.4 (2.1.7170 Release)&lt;br /&gt;
&lt;br /&gt;
Segmentation fault&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set output of libGL to verbose with&lt;br /&gt;
&amp;lt;pre&amp;gt;$ export LIBGL_DEBUG=verbose&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;fglrxinfo&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;glxinfo&amp;lt;/code&amp;gt; again&lt;br /&gt;
&amp;lt;pre&amp;gt;libGL: XF86DRIGetClientDriverName: 8.44.3 fglrx (screen 0)&lt;br /&gt;
libGL: OpenDriver: trying /usr/lib/dri/fglrx_dri.so&lt;br /&gt;
libGL error: dlopen /usr/lib/dri/fglrx_dri.so failed (/usr/lib/dri/fglrx_dri.so: cannot open shared object file: Permission denied)&lt;br /&gt;
libGL error: unable to load driver: fglrx_dri.so&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 Xpress Series&lt;br /&gt;
OpenGL version string: 1.4 (2.1.7170 Release)&lt;br /&gt;
&lt;br /&gt;
Segmentation fault&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Don&#039;t know if its always fglrx_dri.so, but the fix is to add read permissions to the file.&lt;br /&gt;
&lt;br /&gt;
Check if read permission is not there&lt;br /&gt;
&amp;lt;pre&amp;gt;ls -l /usr/lib/dri/ |grep fglrx_dri&lt;br /&gt;
-rw-rw---- 1 root root 17462688 2008-01-13 17:42 fglrx_dri.so&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add read permission&lt;br /&gt;
&amp;lt;pre&amp;gt;$ sudo chmod +r /usr/lib/dri/fglrx_dri.so&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check read permission&lt;br /&gt;
&amp;lt;pre&amp;gt;ls -l /usr/lib/dri/ |grep fglrx_dri&lt;br /&gt;
-rw-rw-r-- 1 root root 17462688 2008-01-13 17:42 fglrx_dri.so&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== libGL error ===&lt;br /&gt;
* fglrxinfo gives:  libGL.so.1: cannot open shared object file.&lt;br /&gt;
* Check the permission of the libGL.so.1.2 file with command:&lt;br /&gt;
  ls -l /usr/lib/libGL*&lt;br /&gt;
* The file permission of libGL.so.1.2 should be &amp;quot;-rw-rw-r--&amp;quot;.  If the permission reads &amp;quot;-rw-rw----&amp;quot;, do command&lt;br /&gt;
  sudo chmod o+r /usr/lib/libGL.so.1.2&lt;br /&gt;
* If the permission is correct, fixed with command:&lt;br /&gt;
 sudo ln -s /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Monitor detection (1680x1050 Resolution Issue) ===&lt;br /&gt;
&lt;br /&gt;
As specified in the release notes, &amp;quot;Connecting a display device that supports 1680x1050 to a system running Linux may result in a&lt;br /&gt;
maximum display resolution of 1280x1024 only being available&amp;quot;. (from [http://ubuntuforums.org/showthread.php?t=645974 thread])&lt;br /&gt;
&lt;br /&gt;
Fglrx driver does not detect some monitors correctly, so you have to do it manually (google about your monitor spec with keyword: xorg.conf).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For example:&#039;&#039;&#039; Samsung 205BW 1680x1050 monitor needs manually set:  &lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
       Option &amp;quot;DPMS&amp;quot;&lt;br /&gt;
       Identifier &amp;quot;samsung-monitor&amp;quot;&lt;br /&gt;
       VendorName &amp;quot;Samsung&amp;quot;&lt;br /&gt;
       ModelName &amp;quot;SyncMaster 205BW&amp;quot;&lt;br /&gt;
       HorizSync 31.4 - 80.0&lt;br /&gt;
       VertRefresh 56.000 - 75.000&lt;br /&gt;
       Modeline &amp;quot;1680x1050&amp;quot; 146.25 1680 1784 1960 2240 1050 1053 1059 1089&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;samsung-screen&amp;quot;&lt;br /&gt;
	Device		&amp;quot;samsung-device&amp;quot;&lt;br /&gt;
	Monitor		&amp;quot;samsung-monitor&amp;quot;&lt;br /&gt;
	Defaultdepth	24&lt;br /&gt;
	SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
		Depth	24&lt;br /&gt;
		Modes		&amp;quot;1680x1050&amp;quot;&lt;br /&gt;
	EndSubSection&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== A possible problem with fglrx.ko conflicts ===&lt;br /&gt;
&lt;br /&gt;
NOTE: I&#039;ve run into strange problem building fglrx-kernel-source_8.443.1-1_i386.deb. If pentium-builder is installed, dkms fails to build fglrx.ko for make error (mixed implicit and static pattern rules. Stop.). It is caused by gcc.real and other indirections and wrong gcc version detection. Removing pentium-builder cures the problem.&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;
Check that the file /lib/modules/$(uname -r)/misc/fglrx.ko has been created.&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;
NOTE : On my Gutsy install, after a reboot this link was always removed automatically leaving me without an fglrx module loaded, and thus no ATI rendering. There have been several ways of getting around this suggested here, and here is the one that worked for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/init.d/ati-module-fix&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And put this in it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh -e&lt;br /&gt;
&lt;br /&gt;
# For loading ATI display drivers&lt;br /&gt;
&lt;br /&gt;
ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko&lt;br /&gt;
exit 0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make it executable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chmod ugo+x /etc/init.d/ati-module-fix&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, make this run &#039;&#039;before&#039;&#039; gdm &lt;br /&gt;
&lt;br /&gt;
To check the gdm sequence number, &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls /etc/rc2.d/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The value for [seqno] in the section below should be the gdm sequence number -1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo update-rc.d ati-module-fix defaults [seqno]&lt;br /&gt;
&amp;lt;/pre&amp;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-glx&amp;lt;/pre&amp;gt;&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>24.254.11.230</name></author>
	</entry>
</feed>