<?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=66.171.0.0%2F16</id>
	<title>cchtml.com - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cchtml.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=66.171.0.0%2F16"/>
	<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Special:Contributions/66.171.0.0/16"/>
	<updated>2026-11-10T23:04:57Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5278</id>
		<title>Ubuntu Intrepid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5278"/>
		<updated>2008-11-02T00:02:37Z</updated>

		<summary type="html">&lt;p&gt;66.171.137.121: /* Finishing the Install: Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation Guide for Ubuntu Intrepid (v 8.10) =&lt;br /&gt;
&lt;br /&gt;
== The three alternatives ==&lt;br /&gt;
&lt;br /&gt;
ATI has a bad track-record when it comes to drivers for Linux. There are countless stories about black screens, hours of configuring X, installing drivers and swearing at the computer.&lt;br /&gt;
AMD has traditionally been a bit more Linux-friendly, so after AMD bought ATI, there has arised a slight hope for better drivers for ATI-cards on Linux.&lt;br /&gt;
&lt;br /&gt;
However, creating better drivers takes some time, so while the people at AMD are doing their thing, people with ATI cards basically have these options:&lt;br /&gt;
# Use the open source drivers. These are stable and nice, but currently they have poor 3D-performance, if any. If that&#039;s not a problem, they are the Right Choice (tm).&lt;br /&gt;
# Use the restricted-driver management system that comes with Ubuntu to install the drivers (envy/jocky/&amp;quot;restricted&amp;quot; packages). &lt;br /&gt;
# Install the drivers manually. This should be your last resort, and may not even work.&lt;br /&gt;
&lt;br /&gt;
= The open source drivers =&lt;br /&gt;
By default, one of the open source drivers are used. If this works for you, you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
These comes with the X.org X server:&lt;br /&gt;
* vesa&lt;br /&gt;
* ati&lt;br /&gt;
* radeon&lt;br /&gt;
* radeonhd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ati&amp;quot; driver will automatically choose the best driver for your video card. There is no need to change it from &amp;quot;ati&amp;quot; or even create an xorg.conf file in most cases. The xorg.conf file is being deprecated.&lt;br /&gt;
&lt;br /&gt;
= Installing the restricted drivers &amp;quot;the Ubuntu way&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.10 (Intrepid) 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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Just use the hardware manager on the system menu (jocky-gtk), or this:&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by Ubuntu.&lt;br /&gt;
Note that there are different version-numbers for Catalyst itself and the amdccle program that comes with Catalyst!&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo depmod -a&amp;lt;br /&amp;gt;&lt;br /&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 may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/X11/xorg.conf ;kubuntu&lt;br /&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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
aticonfig must be used every time you change xorg.conf!&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;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&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;
= Installing the restricted drivers manually =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to inst &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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;
===&#039;&#039;1. Install necessary build tools.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;2. Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Download page: Catalyst {{catalystversion}}. This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
Open a terminal window and switch to the directory you downloaded the installer to. (Example: $ cd Desktop)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;3. Create .deb packages.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sh {{catalystfilename}} --buildpkg Ubuntu/intrepid&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;intrepid&amp;quot; is not a typo)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;4. Add driver to kernel module blacklist.&#039;&#039;===&lt;br /&gt;
The ATI driver must be added to the kernel module blacklist so that the new ATI driver will be used. If it is not blacklisted, the official Ubuntu repository version of the ATI driver will be loaded instead.&lt;br /&gt;
&lt;br /&gt;
For Ubuntu&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For Kubuntu&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo nano /etc/default/linux-restricted-modules-common&lt;br /&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;
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.10) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file(s) (if they exist):&lt;br /&gt;
&lt;br /&gt;
For Ubuntu&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-local&amp;lt;br /&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For Kubuntu&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-local&lt;br /&gt;
}}&lt;br /&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;5. Install .debs.&#039;&#039;===&lt;br /&gt;
For 32-bit systems&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_i386.deb fglrx-kernel-source_8.542-0ubuntu1_i386.deb fglrx-amdcccle_8.542-0ubuntu1_i386.deb&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
or for 64-bit systems&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&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 may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, 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;
{{Box Terminal|&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Catalyst {{catalystversion}} 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;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.542&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;
If you get problems with dkms, you can patch the temporary sources and compile them yourself: http://www.phoronix.com/forums/showthread.php?t=12546&lt;br /&gt;
&lt;br /&gt;
If you can&#039;t get past these problems, consider using Hardy and just upgrading the kernel manually and installing the packages you need from Intrepid. &amp;quot;EnvyNG&amp;quot; is also an idea.&lt;br /&gt;
&lt;br /&gt;
== Finishing the Install: Configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you&#039;ve used fglrx previously, you will not need to do this.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&lt;br /&gt;
For Ubuntu&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Kubuntu&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo nano /etc/X11/xorg.conf &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and add the following line to the Device section (if it does not already exist).  Include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;: &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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
in a terminal. If it does not error you should be fine. &lt;br /&gt;
&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&gt;
}}&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Release 8.8 looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: Radeon X1950 Series&lt;br /&gt;
OpenGL version string: 2.1.7873 Release&lt;br /&gt;
&amp;lt;/pre&amp;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;
== Finally ==&lt;br /&gt;
# Add tweaks as needed: http://ge.ubuntuforums.com/showthread.php?t=849422&lt;br /&gt;
# Restart X, if it doesn&#039;t work, you can use the &amp;quot;vesa&amp;quot;, &amp;quot;radeon&amp;quot; or &amp;quot;radeonhd&amp;quot; driver in the mean time, until you make it work.&lt;br /&gt;
# If you downgraded X to make fglrx work: enter synaptic, make sure all packages with &amp;quot;xorg&amp;quot; and &amp;quot;x11&amp;quot; are locked so that you can update and upgrade without worries.&lt;br /&gt;
&lt;br /&gt;
Done! Now run amdcccle, glxgears, warsow etc :)&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Couldn&#039;t find library libfglrx_gamma.so.1 ==&lt;br /&gt;
If you are having this error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-shlibdeps: failure: couldn&#039;t find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is &#039;&#039;).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix it by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-7-x86.x86_64.run --extract driver&lt;br /&gt;
cd driver/arch/x86_64/usr/X11R6/lib64&lt;br /&gt;
sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1&lt;br /&gt;
cd ../../../../../&lt;br /&gt;
sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo apt-get remove xserver-xgl&amp;lt;/pre&amp;gt;&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;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart a some others: &lt;br /&gt;
&amp;lt;pre&amp;gt;rmmod i82875p_edac&lt;br /&gt;
rmmod fglrx&lt;br /&gt;
rmmod intel-agp&lt;br /&gt;
rmmod agpgart&lt;br /&gt;
modprobe agpgart&lt;br /&gt;
modprobe intel-agp&lt;br /&gt;
modprobe fglrx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting - add the following line at the beginning of /etc/modprobe.d/blacklist:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you&#039;re 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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/sbin/update-rc.d -f atieventsd remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For 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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false &lt;br /&gt;
&lt;br /&gt;
ENABLE_LAPTOP_MODE=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg ==&lt;br /&gt;
&lt;br /&gt;
If dpkg really-really refuses to remove an older fglrx-package, it might be needed to edit /var/lib/dpkg/diversions and remove a few lines. This sort of trickery should be avoided until you&#039;ve tried absolutely everything else, though.&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dkms remove -m fglrx -v 8.522 --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>66.171.137.121</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5277</id>
		<title>Ubuntu Intrepid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5277"/>
		<updated>2008-11-01T22:41:16Z</updated>

		<summary type="html">&lt;p&gt;66.171.137.121: /* Finishing the Install: Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation Guide for Ubuntu Intrepid (v 8.10) =&lt;br /&gt;
&lt;br /&gt;
== The three alternatives ==&lt;br /&gt;
&lt;br /&gt;
ATI has a bad track-record when it comes to drivers for Linux. There are countless stories about black screens, hours of configuring X, installing drivers and swearing at the computer.&lt;br /&gt;
AMD has traditionally been a bit more Linux-friendly, so after AMD bought ATI, there has arised a slight hope for better drivers for ATI-cards on Linux.&lt;br /&gt;
&lt;br /&gt;
However, creating better drivers takes some time, so while the people at AMD are doing their thing, people with ATI cards basically have these options:&lt;br /&gt;
# Use the open source drivers. These are stable and nice, but currently they have poor 3D-performance, if any. If that&#039;s not a problem, they are the Right Choice (tm).&lt;br /&gt;
# Use the restricted-driver management system that comes with Ubuntu to install the drivers (envy/jocky/&amp;quot;restricted&amp;quot; packages). &lt;br /&gt;
# Install the drivers manually. This should be your last resort, and may not even work.&lt;br /&gt;
&lt;br /&gt;
= The open source drivers =&lt;br /&gt;
By default, one of the open source drivers are used. If this works for you, you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
These comes with the X.org X server:&lt;br /&gt;
* vesa&lt;br /&gt;
* ati&lt;br /&gt;
* radeon&lt;br /&gt;
* radeonhd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ati&amp;quot; driver will automatically choose the best driver for your video card. There is no need to change it from &amp;quot;ati&amp;quot; or even create an xorg.conf file in most cases. The xorg.conf file is being deprecated.&lt;br /&gt;
&lt;br /&gt;
= Installing the restricted drivers &amp;quot;the Ubuntu way&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.10 (Intrepid) 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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Just use the hardware manager on the system menu (jocky-gtk), or this:&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by Ubuntu.&lt;br /&gt;
Note that there are different version-numbers for Catalyst itself and the amdccle program that comes with Catalyst!&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo depmod -a&amp;lt;br /&amp;gt;&lt;br /&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 may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/X11/xorg.conf ;kubuntu&lt;br /&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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
aticonfig must be used every time you change xorg.conf!&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;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&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;
= Installing the restricted drivers manually =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to inst &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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;
===&#039;&#039;1. Install necessary build tools.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;2. Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Download page: Catalyst {{catalystversion}}. This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
Open a terminal window and switch to the directory you downloaded the installer to. (Example: $ cd Desktop)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;3. Create .deb packages.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sh {{catalystfilename}} --buildpkg Ubuntu/intrepid&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;intrepid&amp;quot; is not a typo)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;4. Add driver to kernel module blacklist.&#039;&#039;===&lt;br /&gt;
The ATI driver must be added to the kernel module blacklist so that the new ATI driver will be used. If it is not blacklisted, the official Ubuntu repository version of the ATI driver will be loaded instead.&lt;br /&gt;
&lt;br /&gt;
For Ubuntu&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For Kubuntu&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo nano /etc/default/linux-restricted-modules-common&lt;br /&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;
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.10) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file(s) (if they exist):&lt;br /&gt;
&lt;br /&gt;
For Ubuntu&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-local&amp;lt;br /&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For Kubuntu&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-local&lt;br /&gt;
}}&lt;br /&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;5. Install .debs.&#039;&#039;===&lt;br /&gt;
For 32-bit systems&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_i386.deb fglrx-kernel-source_8.542-0ubuntu1_i386.deb fglrx-amdcccle_8.542-0ubuntu1_i386.deb&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
or for 64-bit systems&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&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 may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, 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;
{{Box Terminal|&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Catalyst {{catalystversion}} 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;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.542&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;
If you get problems with dkms, you can patch the temporary sources and compile them yourself: http://www.phoronix.com/forums/showthread.php?t=12546&lt;br /&gt;
&lt;br /&gt;
If you can&#039;t get past these problems, consider using Hardy and just upgrading the kernel manually and installing the packages you need from Intrepid. &amp;quot;EnvyNG&amp;quot; is also an idea.&lt;br /&gt;
&lt;br /&gt;
== Finishing the Install: Configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you&#039;ve used fglrx previously, you will not need to do this.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Now you&#039;ll have to edit your xorg.conf&lt;br /&gt;
&lt;br /&gt;
For Ubuntu&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Kubuntu&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo nano /etc/X11/xorg.conf ;kubuntu&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and add the following line to the Device section (if it does not already exist).  Include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;: &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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
in a terminal. If it does not error you should be fine. &lt;br /&gt;
&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&gt;
}}&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Release 8.8 looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: Radeon X1950 Series&lt;br /&gt;
OpenGL version string: 2.1.7873 Release&lt;br /&gt;
&amp;lt;/pre&amp;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;
== Finally ==&lt;br /&gt;
# Add tweaks as needed: http://ge.ubuntuforums.com/showthread.php?t=849422&lt;br /&gt;
# Restart X, if it doesn&#039;t work, you can use the &amp;quot;vesa&amp;quot;, &amp;quot;radeon&amp;quot; or &amp;quot;radeonhd&amp;quot; driver in the mean time, until you make it work.&lt;br /&gt;
# If you downgraded X to make fglrx work: enter synaptic, make sure all packages with &amp;quot;xorg&amp;quot; and &amp;quot;x11&amp;quot; are locked so that you can update and upgrade without worries.&lt;br /&gt;
&lt;br /&gt;
Done! Now run amdcccle, glxgears, warsow etc :)&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Couldn&#039;t find library libfglrx_gamma.so.1 ==&lt;br /&gt;
If you are having this error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-shlibdeps: failure: couldn&#039;t find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is &#039;&#039;).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix it by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-7-x86.x86_64.run --extract driver&lt;br /&gt;
cd driver/arch/x86_64/usr/X11R6/lib64&lt;br /&gt;
sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1&lt;br /&gt;
cd ../../../../../&lt;br /&gt;
sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo apt-get remove xserver-xgl&amp;lt;/pre&amp;gt;&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;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart a some others: &lt;br /&gt;
&amp;lt;pre&amp;gt;rmmod i82875p_edac&lt;br /&gt;
rmmod fglrx&lt;br /&gt;
rmmod intel-agp&lt;br /&gt;
rmmod agpgart&lt;br /&gt;
modprobe agpgart&lt;br /&gt;
modprobe intel-agp&lt;br /&gt;
modprobe fglrx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting - add the following line at the beginning of /etc/modprobe.d/blacklist:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you&#039;re 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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/sbin/update-rc.d -f atieventsd remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For 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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false &lt;br /&gt;
&lt;br /&gt;
ENABLE_LAPTOP_MODE=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg ==&lt;br /&gt;
&lt;br /&gt;
If dpkg really-really refuses to remove an older fglrx-package, it might be needed to edit /var/lib/dpkg/diversions and remove a few lines. This sort of trickery should be avoided until you&#039;ve tried absolutely everything else, though.&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dkms remove -m fglrx -v 8.522 --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>66.171.137.121</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5276</id>
		<title>Ubuntu Intrepid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5276"/>
		<updated>2008-11-01T22:39:56Z</updated>

		<summary type="html">&lt;p&gt;66.171.137.121: /* 4. Add driver to kernel module blacklist. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation Guide for Ubuntu Intrepid (v 8.10) =&lt;br /&gt;
&lt;br /&gt;
== The three alternatives ==&lt;br /&gt;
&lt;br /&gt;
ATI has a bad track-record when it comes to drivers for Linux. There are countless stories about black screens, hours of configuring X, installing drivers and swearing at the computer.&lt;br /&gt;
AMD has traditionally been a bit more Linux-friendly, so after AMD bought ATI, there has arised a slight hope for better drivers for ATI-cards on Linux.&lt;br /&gt;
&lt;br /&gt;
However, creating better drivers takes some time, so while the people at AMD are doing their thing, people with ATI cards basically have these options:&lt;br /&gt;
# Use the open source drivers. These are stable and nice, but currently they have poor 3D-performance, if any. If that&#039;s not a problem, they are the Right Choice (tm).&lt;br /&gt;
# Use the restricted-driver management system that comes with Ubuntu to install the drivers (envy/jocky/&amp;quot;restricted&amp;quot; packages). &lt;br /&gt;
# Install the drivers manually. This should be your last resort, and may not even work.&lt;br /&gt;
&lt;br /&gt;
= The open source drivers =&lt;br /&gt;
By default, one of the open source drivers are used. If this works for you, you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
These comes with the X.org X server:&lt;br /&gt;
* vesa&lt;br /&gt;
* ati&lt;br /&gt;
* radeon&lt;br /&gt;
* radeonhd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ati&amp;quot; driver will automatically choose the best driver for your video card. There is no need to change it from &amp;quot;ati&amp;quot; or even create an xorg.conf file in most cases. The xorg.conf file is being deprecated.&lt;br /&gt;
&lt;br /&gt;
= Installing the restricted drivers &amp;quot;the Ubuntu way&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.10 (Intrepid) 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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Just use the hardware manager on the system menu (jocky-gtk), or this:&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by Ubuntu.&lt;br /&gt;
Note that there are different version-numbers for Catalyst itself and the amdccle program that comes with Catalyst!&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo depmod -a&amp;lt;br /&amp;gt;&lt;br /&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 may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/X11/xorg.conf ;kubuntu&lt;br /&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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
aticonfig must be used every time you change xorg.conf!&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;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&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;
= Installing the restricted drivers manually =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to inst &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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;
===&#039;&#039;1. Install necessary build tools.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;2. Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Download page: Catalyst {{catalystversion}}. This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
Open a terminal window and switch to the directory you downloaded the installer to. (Example: $ cd Desktop)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;3. Create .deb packages.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sh {{catalystfilename}} --buildpkg Ubuntu/intrepid&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;intrepid&amp;quot; is not a typo)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;4. Add driver to kernel module blacklist.&#039;&#039;===&lt;br /&gt;
The ATI driver must be added to the kernel module blacklist so that the new ATI driver will be used. If it is not blacklisted, the official Ubuntu repository version of the ATI driver will be loaded instead.&lt;br /&gt;
&lt;br /&gt;
For Ubuntu&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For Kubuntu&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo nano /etc/default/linux-restricted-modules-common&lt;br /&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;
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.10) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file(s) (if they exist):&lt;br /&gt;
&lt;br /&gt;
For Ubuntu&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-local&amp;lt;br /&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For Kubuntu&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-local&lt;br /&gt;
}}&lt;br /&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;5. Install .debs.&#039;&#039;===&lt;br /&gt;
For 32-bit systems&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_i386.deb fglrx-kernel-source_8.542-0ubuntu1_i386.deb fglrx-amdcccle_8.542-0ubuntu1_i386.deb&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
or for 64-bit systems&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&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 may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, 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;
{{Box Terminal|&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Catalyst {{catalystversion}} 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;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.542&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;
If you get problems with dkms, you can patch the temporary sources and compile them yourself: http://www.phoronix.com/forums/showthread.php?t=12546&lt;br /&gt;
&lt;br /&gt;
If you can&#039;t get past these problems, consider using Hardy and just upgrading the kernel manually and installing the packages you need from Intrepid. &amp;quot;EnvyNG&amp;quot; is also an idea.&lt;br /&gt;
&lt;br /&gt;
== Finishing the Install: Configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you&#039;ve used fglrx previously, you will not need to do this.&#039;&#039;&#039;&lt;br /&gt;
&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;
&amp;lt;pre&amp;gt;sudo nano /etc/X11/xorg.conf ;kubuntu&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the following line to the Device section (if it does not already exist).  Include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;: &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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
in a terminal. If it does not error you should be fine. &lt;br /&gt;
&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&gt;
}}&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Release 8.8 looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: Radeon X1950 Series&lt;br /&gt;
OpenGL version string: 2.1.7873 Release&lt;br /&gt;
&amp;lt;/pre&amp;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;
== Finally ==&lt;br /&gt;
# Add tweaks as needed: http://ge.ubuntuforums.com/showthread.php?t=849422&lt;br /&gt;
# Restart X, if it doesn&#039;t work, you can use the &amp;quot;vesa&amp;quot;, &amp;quot;radeon&amp;quot; or &amp;quot;radeonhd&amp;quot; driver in the mean time, until you make it work.&lt;br /&gt;
# If you downgraded X to make fglrx work: enter synaptic, make sure all packages with &amp;quot;xorg&amp;quot; and &amp;quot;x11&amp;quot; are locked so that you can update and upgrade without worries.&lt;br /&gt;
&lt;br /&gt;
Done! Now run amdcccle, glxgears, warsow etc :)&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Couldn&#039;t find library libfglrx_gamma.so.1 ==&lt;br /&gt;
If you are having this error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-shlibdeps: failure: couldn&#039;t find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is &#039;&#039;).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix it by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-7-x86.x86_64.run --extract driver&lt;br /&gt;
cd driver/arch/x86_64/usr/X11R6/lib64&lt;br /&gt;
sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1&lt;br /&gt;
cd ../../../../../&lt;br /&gt;
sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo apt-get remove xserver-xgl&amp;lt;/pre&amp;gt;&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;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart a some others: &lt;br /&gt;
&amp;lt;pre&amp;gt;rmmod i82875p_edac&lt;br /&gt;
rmmod fglrx&lt;br /&gt;
rmmod intel-agp&lt;br /&gt;
rmmod agpgart&lt;br /&gt;
modprobe agpgart&lt;br /&gt;
modprobe intel-agp&lt;br /&gt;
modprobe fglrx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting - add the following line at the beginning of /etc/modprobe.d/blacklist:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you&#039;re 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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/sbin/update-rc.d -f atieventsd remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For 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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false &lt;br /&gt;
&lt;br /&gt;
ENABLE_LAPTOP_MODE=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg ==&lt;br /&gt;
&lt;br /&gt;
If dpkg really-really refuses to remove an older fglrx-package, it might be needed to edit /var/lib/dpkg/diversions and remove a few lines. This sort of trickery should be avoided until you&#039;ve tried absolutely everything else, though.&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dkms remove -m fglrx -v 8.522 --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>66.171.137.121</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5275</id>
		<title>Ubuntu Intrepid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5275"/>
		<updated>2008-11-01T22:34:33Z</updated>

		<summary type="html">&lt;p&gt;66.171.137.121: /* 5. Install .debs. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation Guide for Ubuntu Intrepid (v 8.10) =&lt;br /&gt;
&lt;br /&gt;
== The three alternatives ==&lt;br /&gt;
&lt;br /&gt;
ATI has a bad track-record when it comes to drivers for Linux. There are countless stories about black screens, hours of configuring X, installing drivers and swearing at the computer.&lt;br /&gt;
AMD has traditionally been a bit more Linux-friendly, so after AMD bought ATI, there has arised a slight hope for better drivers for ATI-cards on Linux.&lt;br /&gt;
&lt;br /&gt;
However, creating better drivers takes some time, so while the people at AMD are doing their thing, people with ATI cards basically have these options:&lt;br /&gt;
# Use the open source drivers. These are stable and nice, but currently they have poor 3D-performance, if any. If that&#039;s not a problem, they are the Right Choice (tm).&lt;br /&gt;
# Use the restricted-driver management system that comes with Ubuntu to install the drivers (envy/jocky/&amp;quot;restricted&amp;quot; packages). &lt;br /&gt;
# Install the drivers manually. This should be your last resort, and may not even work.&lt;br /&gt;
&lt;br /&gt;
= The open source drivers =&lt;br /&gt;
By default, one of the open source drivers are used. If this works for you, you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
These comes with the X.org X server:&lt;br /&gt;
* vesa&lt;br /&gt;
* ati&lt;br /&gt;
* radeon&lt;br /&gt;
* radeonhd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ati&amp;quot; driver will automatically choose the best driver for your video card. There is no need to change it from &amp;quot;ati&amp;quot; or even create an xorg.conf file in most cases. The xorg.conf file is being deprecated.&lt;br /&gt;
&lt;br /&gt;
= Installing the restricted drivers &amp;quot;the Ubuntu way&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.10 (Intrepid) 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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Just use the hardware manager on the system menu (jocky-gtk), or this:&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by Ubuntu.&lt;br /&gt;
Note that there are different version-numbers for Catalyst itself and the amdccle program that comes with Catalyst!&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo depmod -a&amp;lt;br /&amp;gt;&lt;br /&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 may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/X11/xorg.conf ;kubuntu&lt;br /&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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
aticonfig must be used every time you change xorg.conf!&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;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&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;
= Installing the restricted drivers manually =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to inst &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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;
===&#039;&#039;1. Install necessary build tools.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;2. Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Download page: Catalyst {{catalystversion}}. This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
Open a terminal window and switch to the directory you downloaded the installer to. (Example: $ cd Desktop)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;3. Create .deb packages.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sh {{catalystfilename}} --buildpkg Ubuntu/intrepid&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;intrepid&amp;quot; is not a typo)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;4. Add driver to kernel module blacklist.&#039;&#039;===&lt;br /&gt;
The ATI driver must be added to the kernel module blacklist so that the new ATI driver will be used. If it is not blacklisted, the official Ubuntu repository version of the ATI driver will be loaded instead.&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/default/linux-restricted-modules-common;kubuntu&lt;br /&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;
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.10) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file(s) (if they exist):&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-restricted ;kubuntu&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-local&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-local ;kubuntu&lt;br /&gt;
}}&lt;br /&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;5. Install .debs.&#039;&#039;===&lt;br /&gt;
For 32-bit systems&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_i386.deb fglrx-kernel-source_8.542-0ubuntu1_i386.deb fglrx-amdcccle_8.542-0ubuntu1_i386.deb&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
or for 64-bit systems&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&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 may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, 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;
{{Box Terminal|&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Catalyst {{catalystversion}} 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;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.542&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;
If you get problems with dkms, you can patch the temporary sources and compile them yourself: http://www.phoronix.com/forums/showthread.php?t=12546&lt;br /&gt;
&lt;br /&gt;
If you can&#039;t get past these problems, consider using Hardy and just upgrading the kernel manually and installing the packages you need from Intrepid. &amp;quot;EnvyNG&amp;quot; is also an idea.&lt;br /&gt;
&lt;br /&gt;
== Finishing the Install: Configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you&#039;ve used fglrx previously, you will not need to do this.&#039;&#039;&#039;&lt;br /&gt;
&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;
&amp;lt;pre&amp;gt;sudo nano /etc/X11/xorg.conf ;kubuntu&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the following line to the Device section (if it does not already exist).  Include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;: &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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
in a terminal. If it does not error you should be fine. &lt;br /&gt;
&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&gt;
}}&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Release 8.8 looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: Radeon X1950 Series&lt;br /&gt;
OpenGL version string: 2.1.7873 Release&lt;br /&gt;
&amp;lt;/pre&amp;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;
== Finally ==&lt;br /&gt;
# Add tweaks as needed: http://ge.ubuntuforums.com/showthread.php?t=849422&lt;br /&gt;
# Restart X, if it doesn&#039;t work, you can use the &amp;quot;vesa&amp;quot;, &amp;quot;radeon&amp;quot; or &amp;quot;radeonhd&amp;quot; driver in the mean time, until you make it work.&lt;br /&gt;
# If you downgraded X to make fglrx work: enter synaptic, make sure all packages with &amp;quot;xorg&amp;quot; and &amp;quot;x11&amp;quot; are locked so that you can update and upgrade without worries.&lt;br /&gt;
&lt;br /&gt;
Done! Now run amdcccle, glxgears, warsow etc :)&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Couldn&#039;t find library libfglrx_gamma.so.1 ==&lt;br /&gt;
If you are having this error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-shlibdeps: failure: couldn&#039;t find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is &#039;&#039;).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix it by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-7-x86.x86_64.run --extract driver&lt;br /&gt;
cd driver/arch/x86_64/usr/X11R6/lib64&lt;br /&gt;
sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1&lt;br /&gt;
cd ../../../../../&lt;br /&gt;
sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo apt-get remove xserver-xgl&amp;lt;/pre&amp;gt;&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;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart a some others: &lt;br /&gt;
&amp;lt;pre&amp;gt;rmmod i82875p_edac&lt;br /&gt;
rmmod fglrx&lt;br /&gt;
rmmod intel-agp&lt;br /&gt;
rmmod agpgart&lt;br /&gt;
modprobe agpgart&lt;br /&gt;
modprobe intel-agp&lt;br /&gt;
modprobe fglrx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting - add the following line at the beginning of /etc/modprobe.d/blacklist:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you&#039;re 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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/sbin/update-rc.d -f atieventsd remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For 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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false &lt;br /&gt;
&lt;br /&gt;
ENABLE_LAPTOP_MODE=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg ==&lt;br /&gt;
&lt;br /&gt;
If dpkg really-really refuses to remove an older fglrx-package, it might be needed to edit /var/lib/dpkg/diversions and remove a few lines. This sort of trickery should be avoided until you&#039;ve tried absolutely everything else, though.&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dkms remove -m fglrx -v 8.522 --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>66.171.137.121</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5274</id>
		<title>Ubuntu Intrepid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5274"/>
		<updated>2008-11-01T16:12:55Z</updated>

		<summary type="html">&lt;p&gt;66.171.137.121: /* Finishing the Install: Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation Guide for Ubuntu Intrepid (v 8.10) =&lt;br /&gt;
&lt;br /&gt;
== The three alternatives ==&lt;br /&gt;
&lt;br /&gt;
ATI has a bad track-record when it comes to drivers for Linux. There are countless stories about black screens, hours of configuring X, installing drivers and swearing at the computer.&lt;br /&gt;
AMD has traditionally been a bit more Linux-friendly, so after AMD bought ATI, there has arised a slight hope for better drivers for ATI-cards on Linux.&lt;br /&gt;
&lt;br /&gt;
However, creating better drivers takes some time, so while the people at AMD are doing their thing, people with ATI cards basically have these options:&lt;br /&gt;
# Use the open source drivers. These are stable and nice, but currently they have poor 3D-performance, if any. If that&#039;s not a problem, they are the Right Choice (tm).&lt;br /&gt;
# Use the restricted-driver management system that comes with Ubuntu to install the drivers (envy/jocky/&amp;quot;restricted&amp;quot; packages). &lt;br /&gt;
# Install the drivers manually. This should be your last resort, and may not even work.&lt;br /&gt;
&lt;br /&gt;
= The open source drivers =&lt;br /&gt;
By default, one of the open source drivers are used. If this works for you, you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
These comes with the X.org X server:&lt;br /&gt;
* vesa&lt;br /&gt;
* ati&lt;br /&gt;
* radeon&lt;br /&gt;
* radeonhd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ati&amp;quot; driver will automatically choose the best driver for your video card. There is no need to change it from &amp;quot;ati&amp;quot; or even create an xorg.conf file in most cases. The xorg.conf file is being deprecated.&lt;br /&gt;
&lt;br /&gt;
= Installing the restricted drivers &amp;quot;the Ubuntu way&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.10 (Intrepid) 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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Just use the hardware manager on the system menu (jocky-gtk), or this:&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by Ubuntu.&lt;br /&gt;
Note that there are different version-numbers for Catalyst itself and the amdccle program that comes with Catalyst!&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo depmod -a&amp;lt;br /&amp;gt;&lt;br /&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 may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/X11/xorg.conf ;kubuntu&lt;br /&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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
aticonfig must be used every time you change xorg.conf!&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;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&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;
= Installing the restricted drivers manually =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to inst &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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;
===&#039;&#039;1. Install necessary build tools.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;2. Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Download page: Catalyst {{catalystversion}}. This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
Open a terminal window and switch to the directory you downloaded the installer to. (Example: $ cd Desktop)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;3. Create .deb packages.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sh {{catalystfilename}} --buildpkg Ubuntu/intrepid&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;intrepid&amp;quot; is not a typo)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;4. Add driver to kernel module blacklist.&#039;&#039;===&lt;br /&gt;
The ATI driver must be added to the kernel module blacklist so that the new ATI driver will be used. If it is not blacklisted, the official Ubuntu repository version of the ATI driver will be loaded instead.&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/default/linux-restricted-modules-common;kubuntu&lt;br /&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;
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.10) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file(s) (if they exist):&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-restricted ;kubuntu&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-local&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-local ;kubuntu&lt;br /&gt;
}}&lt;br /&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;5. Install .debs.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&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 may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, 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;
{{Box Terminal|&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Catalyst {{catalystversion}} 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;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.542&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;
If you get problems with dkms, you can patch the temporary sources and compile them yourself: http://www.phoronix.com/forums/showthread.php?t=12546&lt;br /&gt;
&lt;br /&gt;
If you can&#039;t get past these problems, consider using Hardy and just upgrading the kernel manually and installing the packages you need from Intrepid. &amp;quot;EnvyNG&amp;quot; is also an idea.&lt;br /&gt;
&lt;br /&gt;
== Finishing the Install: Configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you&#039;ve used fglrx previously, you will not need to do this.&#039;&#039;&#039;&lt;br /&gt;
&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;
&amp;lt;pre&amp;gt;sudo nano /etc/X11/xorg.conf ;kubuntu&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add the following line to the Device section (if it does not already exist).  Include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;: &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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
in a terminal. If it does not error you should be fine. &lt;br /&gt;
&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&gt;
}}&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Release 8.8 looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: Radeon X1950 Series&lt;br /&gt;
OpenGL version string: 2.1.7873 Release&lt;br /&gt;
&amp;lt;/pre&amp;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;
== Finally ==&lt;br /&gt;
# Add tweaks as needed: http://ge.ubuntuforums.com/showthread.php?t=849422&lt;br /&gt;
# Restart X, if it doesn&#039;t work, you can use the &amp;quot;vesa&amp;quot;, &amp;quot;radeon&amp;quot; or &amp;quot;radeonhd&amp;quot; driver in the mean time, until you make it work.&lt;br /&gt;
# If you downgraded X to make fglrx work: enter synaptic, make sure all packages with &amp;quot;xorg&amp;quot; and &amp;quot;x11&amp;quot; are locked so that you can update and upgrade without worries.&lt;br /&gt;
&lt;br /&gt;
Done! Now run amdcccle, glxgears, warsow etc :)&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Couldn&#039;t find library libfglrx_gamma.so.1 ==&lt;br /&gt;
If you are having this error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-shlibdeps: failure: couldn&#039;t find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is &#039;&#039;).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix it by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-7-x86.x86_64.run --extract driver&lt;br /&gt;
cd driver/arch/x86_64/usr/X11R6/lib64&lt;br /&gt;
sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1&lt;br /&gt;
cd ../../../../../&lt;br /&gt;
sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo apt-get remove xserver-xgl&amp;lt;/pre&amp;gt;&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;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart a some others: &lt;br /&gt;
&amp;lt;pre&amp;gt;rmmod i82875p_edac&lt;br /&gt;
rmmod fglrx&lt;br /&gt;
rmmod intel-agp&lt;br /&gt;
rmmod agpgart&lt;br /&gt;
modprobe agpgart&lt;br /&gt;
modprobe intel-agp&lt;br /&gt;
modprobe fglrx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting - add the following line at the beginning of /etc/modprobe.d/blacklist:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you&#039;re 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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/sbin/update-rc.d -f atieventsd remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For 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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false &lt;br /&gt;
&lt;br /&gt;
ENABLE_LAPTOP_MODE=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg ==&lt;br /&gt;
&lt;br /&gt;
If dpkg really-really refuses to remove an older fglrx-package, it might be needed to edit /var/lib/dpkg/diversions and remove a few lines. This sort of trickery should be avoided until you&#039;ve tried absolutely everything else, though.&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dkms remove -m fglrx -v 8.522 --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>66.171.137.121</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5273</id>
		<title>Ubuntu Intrepid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5273"/>
		<updated>2008-11-01T16:10:27Z</updated>

		<summary type="html">&lt;p&gt;66.171.137.121: /* Additional 64-bit instructions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation Guide for Ubuntu Intrepid (v 8.10) =&lt;br /&gt;
&lt;br /&gt;
== The three alternatives ==&lt;br /&gt;
&lt;br /&gt;
ATI has a bad track-record when it comes to drivers for Linux. There are countless stories about black screens, hours of configuring X, installing drivers and swearing at the computer.&lt;br /&gt;
AMD has traditionally been a bit more Linux-friendly, so after AMD bought ATI, there has arised a slight hope for better drivers for ATI-cards on Linux.&lt;br /&gt;
&lt;br /&gt;
However, creating better drivers takes some time, so while the people at AMD are doing their thing, people with ATI cards basically have these options:&lt;br /&gt;
# Use the open source drivers. These are stable and nice, but currently they have poor 3D-performance, if any. If that&#039;s not a problem, they are the Right Choice (tm).&lt;br /&gt;
# Use the restricted-driver management system that comes with Ubuntu to install the drivers (envy/jocky/&amp;quot;restricted&amp;quot; packages). &lt;br /&gt;
# Install the drivers manually. This should be your last resort, and may not even work.&lt;br /&gt;
&lt;br /&gt;
= The open source drivers =&lt;br /&gt;
By default, one of the open source drivers are used. If this works for you, you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
These comes with the X.org X server:&lt;br /&gt;
* vesa&lt;br /&gt;
* ati&lt;br /&gt;
* radeon&lt;br /&gt;
* radeonhd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ati&amp;quot; driver will automatically choose the best driver for your video card. There is no need to change it from &amp;quot;ati&amp;quot; or even create an xorg.conf file in most cases. The xorg.conf file is being deprecated.&lt;br /&gt;
&lt;br /&gt;
= Installing the restricted drivers &amp;quot;the Ubuntu way&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.10 (Intrepid) 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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Just use the hardware manager on the system menu (jocky-gtk), or this:&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by Ubuntu.&lt;br /&gt;
Note that there are different version-numbers for Catalyst itself and the amdccle program that comes with Catalyst!&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo depmod -a&amp;lt;br /&amp;gt;&lt;br /&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 may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/X11/xorg.conf ;kubuntu&lt;br /&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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
aticonfig must be used every time you change xorg.conf!&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;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&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;
= Installing the restricted drivers manually =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to inst &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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;
===&#039;&#039;1. Install necessary build tools.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;2. Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Download page: Catalyst {{catalystversion}}. This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
Open a terminal window and switch to the directory you downloaded the installer to. (Example: $ cd Desktop)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;3. Create .deb packages.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sh {{catalystfilename}} --buildpkg Ubuntu/intrepid&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;intrepid&amp;quot; is not a typo)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;4. Add driver to kernel module blacklist.&#039;&#039;===&lt;br /&gt;
The ATI driver must be added to the kernel module blacklist so that the new ATI driver will be used. If it is not blacklisted, the official Ubuntu repository version of the ATI driver will be loaded instead.&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/default/linux-restricted-modules-common;kubuntu&lt;br /&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;
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.10) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file(s) (if they exist):&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-restricted ;kubuntu&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-local&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-local ;kubuntu&lt;br /&gt;
}}&lt;br /&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;5. Install .debs.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&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 may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, 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;
{{Box Terminal|&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Catalyst {{catalystversion}} 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;
{{Box Terminal|&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.542&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;
If you get problems with dkms, you can patch the temporary sources and compile them yourself: http://www.phoronix.com/forums/showthread.php?t=12546&lt;br /&gt;
&lt;br /&gt;
If you can&#039;t get past these problems, consider using Hardy and just upgrading the kernel manually and installing the packages you need from Intrepid. &amp;quot;EnvyNG&amp;quot; is also an idea.&lt;br /&gt;
&lt;br /&gt;
== Finishing the Install: Configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you&#039;ve used fglrx previously, you will not need to do this.&#039;&#039;&#039;&lt;br /&gt;
&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).  Include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;: &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;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
in a terminal. If it does not error you should be fine. &lt;br /&gt;
&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
}}&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Release 8.8 looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: Radeon X1950 Series&lt;br /&gt;
OpenGL version string: 2.1.7873 Release&lt;br /&gt;
&amp;lt;/pre&amp;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;
== Finally ==&lt;br /&gt;
# Add tweaks as needed: http://ge.ubuntuforums.com/showthread.php?t=849422&lt;br /&gt;
# Restart X, if it doesn&#039;t work, you can use the &amp;quot;vesa&amp;quot;, &amp;quot;radeon&amp;quot; or &amp;quot;radeonhd&amp;quot; driver in the mean time, until you make it work.&lt;br /&gt;
# If you downgraded X to make fglrx work: enter synaptic, make sure all packages with &amp;quot;xorg&amp;quot; and &amp;quot;x11&amp;quot; are locked so that you can update and upgrade without worries.&lt;br /&gt;
&lt;br /&gt;
Done! Now run amdcccle, glxgears, warsow etc :)&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Couldn&#039;t find library libfglrx_gamma.so.1 ==&lt;br /&gt;
If you are having this error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-shlibdeps: failure: couldn&#039;t find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is &#039;&#039;).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix it by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-7-x86.x86_64.run --extract driver&lt;br /&gt;
cd driver/arch/x86_64/usr/X11R6/lib64&lt;br /&gt;
sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1&lt;br /&gt;
cd ../../../../../&lt;br /&gt;
sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo apt-get remove xserver-xgl&amp;lt;/pre&amp;gt;&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;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart a some others: &lt;br /&gt;
&amp;lt;pre&amp;gt;rmmod i82875p_edac&lt;br /&gt;
rmmod fglrx&lt;br /&gt;
rmmod intel-agp&lt;br /&gt;
rmmod agpgart&lt;br /&gt;
modprobe agpgart&lt;br /&gt;
modprobe intel-agp&lt;br /&gt;
modprobe fglrx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting - add the following line at the beginning of /etc/modprobe.d/blacklist:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you&#039;re 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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/sbin/update-rc.d -f atieventsd remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For 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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false &lt;br /&gt;
&lt;br /&gt;
ENABLE_LAPTOP_MODE=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg ==&lt;br /&gt;
&lt;br /&gt;
If dpkg really-really refuses to remove an older fglrx-package, it might be needed to edit /var/lib/dpkg/diversions and remove a few lines. This sort of trickery should be avoided until you&#039;ve tried absolutely everything else, though.&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dkms remove -m fglrx -v 8.522 --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>66.171.137.121</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5272</id>
		<title>Ubuntu Intrepid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5272"/>
		<updated>2008-11-01T16:09:07Z</updated>

		<summary type="html">&lt;p&gt;66.171.137.121: /* 3. Create .deb packages. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation Guide for Ubuntu Intrepid (v 8.10) =&lt;br /&gt;
&lt;br /&gt;
== The three alternatives ==&lt;br /&gt;
&lt;br /&gt;
ATI has a bad track-record when it comes to drivers for Linux. There are countless stories about black screens, hours of configuring X, installing drivers and swearing at the computer.&lt;br /&gt;
AMD has traditionally been a bit more Linux-friendly, so after AMD bought ATI, there has arised a slight hope for better drivers for ATI-cards on Linux.&lt;br /&gt;
&lt;br /&gt;
However, creating better drivers takes some time, so while the people at AMD are doing their thing, people with ATI cards basically have these options:&lt;br /&gt;
# Use the open source drivers. These are stable and nice, but currently they have poor 3D-performance, if any. If that&#039;s not a problem, they are the Right Choice (tm).&lt;br /&gt;
# Use the restricted-driver management system that comes with Ubuntu to install the drivers (envy/jocky/&amp;quot;restricted&amp;quot; packages). &lt;br /&gt;
# Install the drivers manually. This should be your last resort, and may not even work.&lt;br /&gt;
&lt;br /&gt;
= The open source drivers =&lt;br /&gt;
By default, one of the open source drivers are used. If this works for you, you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
These comes with the X.org X server:&lt;br /&gt;
* vesa&lt;br /&gt;
* ati&lt;br /&gt;
* radeon&lt;br /&gt;
* radeonhd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ati&amp;quot; driver will automatically choose the best driver for your video card. There is no need to change it from &amp;quot;ati&amp;quot; or even create an xorg.conf file in most cases. The xorg.conf file is being deprecated.&lt;br /&gt;
&lt;br /&gt;
= Installing the restricted drivers &amp;quot;the Ubuntu way&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.10 (Intrepid) 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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Just use the hardware manager on the system menu (jocky-gtk), or this:&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by Ubuntu.&lt;br /&gt;
Note that there are different version-numbers for Catalyst itself and the amdccle program that comes with Catalyst!&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo depmod -a&amp;lt;br /&amp;gt;&lt;br /&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 may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/X11/xorg.conf ;kubuntu&lt;br /&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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
aticonfig must be used every time you change xorg.conf!&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;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&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;
= Installing the restricted drivers manually =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to inst &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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;
===&#039;&#039;1. Install necessary build tools.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;2. Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Download page: Catalyst {{catalystversion}}. This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
Open a terminal window and switch to the directory you downloaded the installer to. (Example: $ cd Desktop)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;3. Create .deb packages.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sh {{catalystfilename}} --buildpkg Ubuntu/intrepid&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;intrepid&amp;quot; is not a typo)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;4. Add driver to kernel module blacklist.&#039;&#039;===&lt;br /&gt;
The ATI driver must be added to the kernel module blacklist so that the new ATI driver will be used. If it is not blacklisted, the official Ubuntu repository version of the ATI driver will be loaded instead.&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/default/linux-restricted-modules-common;kubuntu&lt;br /&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;
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.10) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file(s) (if they exist):&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-restricted ;kubuntu&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-local&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-local ;kubuntu&lt;br /&gt;
}}&lt;br /&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;5. Install .debs.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&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 may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, 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;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get install -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Catalyst {{catalystversion}} 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;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.542-0ubuntu1_i386.deb fglrx-kernel-source_8.542-0ubuntu1_i386.deb fglrx-amdcccle_8.542-0ubuntu1_i386.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.542&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;
If you get problems with dkms, you can patch the temporary sources and compile them yourself: http://www.phoronix.com/forums/showthread.php?t=12546&lt;br /&gt;
&lt;br /&gt;
If you can&#039;t get past these problems, consider using Hardy and just upgrading the kernel manually and installing the packages you need from Intrepid. &amp;quot;EnvyNG&amp;quot; is also an idea.&lt;br /&gt;
&lt;br /&gt;
== Finishing the Install: Configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you&#039;ve used fglrx previously, you will not need to do this.&#039;&#039;&#039;&lt;br /&gt;
&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).  Include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;: &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;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
in a terminal. If it does not error you should be fine. &lt;br /&gt;
&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
}}&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Release 8.8 looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: Radeon X1950 Series&lt;br /&gt;
OpenGL version string: 2.1.7873 Release&lt;br /&gt;
&amp;lt;/pre&amp;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;
== Finally ==&lt;br /&gt;
# Add tweaks as needed: http://ge.ubuntuforums.com/showthread.php?t=849422&lt;br /&gt;
# Restart X, if it doesn&#039;t work, you can use the &amp;quot;vesa&amp;quot;, &amp;quot;radeon&amp;quot; or &amp;quot;radeonhd&amp;quot; driver in the mean time, until you make it work.&lt;br /&gt;
# If you downgraded X to make fglrx work: enter synaptic, make sure all packages with &amp;quot;xorg&amp;quot; and &amp;quot;x11&amp;quot; are locked so that you can update and upgrade without worries.&lt;br /&gt;
&lt;br /&gt;
Done! Now run amdcccle, glxgears, warsow etc :)&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Couldn&#039;t find library libfglrx_gamma.so.1 ==&lt;br /&gt;
If you are having this error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-shlibdeps: failure: couldn&#039;t find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is &#039;&#039;).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix it by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-7-x86.x86_64.run --extract driver&lt;br /&gt;
cd driver/arch/x86_64/usr/X11R6/lib64&lt;br /&gt;
sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1&lt;br /&gt;
cd ../../../../../&lt;br /&gt;
sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo apt-get remove xserver-xgl&amp;lt;/pre&amp;gt;&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;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart a some others: &lt;br /&gt;
&amp;lt;pre&amp;gt;rmmod i82875p_edac&lt;br /&gt;
rmmod fglrx&lt;br /&gt;
rmmod intel-agp&lt;br /&gt;
rmmod agpgart&lt;br /&gt;
modprobe agpgart&lt;br /&gt;
modprobe intel-agp&lt;br /&gt;
modprobe fglrx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting - add the following line at the beginning of /etc/modprobe.d/blacklist:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you&#039;re 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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/sbin/update-rc.d -f atieventsd remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For 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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false &lt;br /&gt;
&lt;br /&gt;
ENABLE_LAPTOP_MODE=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg ==&lt;br /&gt;
&lt;br /&gt;
If dpkg really-really refuses to remove an older fglrx-package, it might be needed to edit /var/lib/dpkg/diversions and remove a few lines. This sort of trickery should be avoided until you&#039;ve tried absolutely everything else, though.&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dkms remove -m fglrx -v 8.522 --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>66.171.137.121</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5271</id>
		<title>Ubuntu Intrepid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5271"/>
		<updated>2008-11-01T16:08:37Z</updated>

		<summary type="html">&lt;p&gt;66.171.137.121: /* 1. Install necessary build tools. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation Guide for Ubuntu Intrepid (v 8.10) =&lt;br /&gt;
&lt;br /&gt;
== The three alternatives ==&lt;br /&gt;
&lt;br /&gt;
ATI has a bad track-record when it comes to drivers for Linux. There are countless stories about black screens, hours of configuring X, installing drivers and swearing at the computer.&lt;br /&gt;
AMD has traditionally been a bit more Linux-friendly, so after AMD bought ATI, there has arised a slight hope for better drivers for ATI-cards on Linux.&lt;br /&gt;
&lt;br /&gt;
However, creating better drivers takes some time, so while the people at AMD are doing their thing, people with ATI cards basically have these options:&lt;br /&gt;
# Use the open source drivers. These are stable and nice, but currently they have poor 3D-performance, if any. If that&#039;s not a problem, they are the Right Choice (tm).&lt;br /&gt;
# Use the restricted-driver management system that comes with Ubuntu to install the drivers (envy/jocky/&amp;quot;restricted&amp;quot; packages). &lt;br /&gt;
# Install the drivers manually. This should be your last resort, and may not even work.&lt;br /&gt;
&lt;br /&gt;
= The open source drivers =&lt;br /&gt;
By default, one of the open source drivers are used. If this works for you, you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
These comes with the X.org X server:&lt;br /&gt;
* vesa&lt;br /&gt;
* ati&lt;br /&gt;
* radeon&lt;br /&gt;
* radeonhd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ati&amp;quot; driver will automatically choose the best driver for your video card. There is no need to change it from &amp;quot;ati&amp;quot; or even create an xorg.conf file in most cases. The xorg.conf file is being deprecated.&lt;br /&gt;
&lt;br /&gt;
= Installing the restricted drivers &amp;quot;the Ubuntu way&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.10 (Intrepid) 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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Just use the hardware manager on the system menu (jocky-gtk), or this:&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by Ubuntu.&lt;br /&gt;
Note that there are different version-numbers for Catalyst itself and the amdccle program that comes with Catalyst!&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo depmod -a&amp;lt;br /&amp;gt;&lt;br /&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 may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/X11/xorg.conf ;kubuntu&lt;br /&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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
aticonfig must be used every time you change xorg.conf!&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;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&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;
= Installing the restricted drivers manually =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to inst &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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;
===&#039;&#039;1. Install necessary build tools.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;2. Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Download page: Catalyst {{catalystversion}}. This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
Open a terminal window and switch to the directory you downloaded the installer to. (Example: $ cd Desktop)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;3. Create .deb packages.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sh {{catalystfilename}} --buildpkg Ubuntu/intrepid&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;intrepid&amp;quot; is not a typo)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;4. Add driver to kernel module blacklist.&#039;&#039;===&lt;br /&gt;
The ATI driver must be added to the kernel module blacklist so that the new ATI driver will be used. If it is not blacklisted, the official Ubuntu repository version of the ATI driver will be loaded instead.&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/default/linux-restricted-modules-common;kubuntu&lt;br /&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;
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.10) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file(s) (if they exist):&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-restricted ;kubuntu&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-local&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-local ;kubuntu&lt;br /&gt;
}}&lt;br /&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;5. Install .debs.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&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 may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, 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;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get install -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Catalyst {{catalystversion}} 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;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.542-0ubuntu1_i386.deb fglrx-kernel-source_8.542-0ubuntu1_i386.deb fglrx-amdcccle_8.542-0ubuntu1_i386.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.542&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;
If you get problems with dkms, you can patch the temporary sources and compile them yourself: http://www.phoronix.com/forums/showthread.php?t=12546&lt;br /&gt;
&lt;br /&gt;
If you can&#039;t get past these problems, consider using Hardy and just upgrading the kernel manually and installing the packages you need from Intrepid. &amp;quot;EnvyNG&amp;quot; is also an idea.&lt;br /&gt;
&lt;br /&gt;
== Finishing the Install: Configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you&#039;ve used fglrx previously, you will not need to do this.&#039;&#039;&#039;&lt;br /&gt;
&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).  Include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;: &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;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
in a terminal. If it does not error you should be fine. &lt;br /&gt;
&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
}}&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Release 8.8 looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: Radeon X1950 Series&lt;br /&gt;
OpenGL version string: 2.1.7873 Release&lt;br /&gt;
&amp;lt;/pre&amp;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;
== Finally ==&lt;br /&gt;
# Add tweaks as needed: http://ge.ubuntuforums.com/showthread.php?t=849422&lt;br /&gt;
# Restart X, if it doesn&#039;t work, you can use the &amp;quot;vesa&amp;quot;, &amp;quot;radeon&amp;quot; or &amp;quot;radeonhd&amp;quot; driver in the mean time, until you make it work.&lt;br /&gt;
# If you downgraded X to make fglrx work: enter synaptic, make sure all packages with &amp;quot;xorg&amp;quot; and &amp;quot;x11&amp;quot; are locked so that you can update and upgrade without worries.&lt;br /&gt;
&lt;br /&gt;
Done! Now run amdcccle, glxgears, warsow etc :)&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Couldn&#039;t find library libfglrx_gamma.so.1 ==&lt;br /&gt;
If you are having this error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-shlibdeps: failure: couldn&#039;t find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is &#039;&#039;).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix it by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-7-x86.x86_64.run --extract driver&lt;br /&gt;
cd driver/arch/x86_64/usr/X11R6/lib64&lt;br /&gt;
sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1&lt;br /&gt;
cd ../../../../../&lt;br /&gt;
sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo apt-get remove xserver-xgl&amp;lt;/pre&amp;gt;&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;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart a some others: &lt;br /&gt;
&amp;lt;pre&amp;gt;rmmod i82875p_edac&lt;br /&gt;
rmmod fglrx&lt;br /&gt;
rmmod intel-agp&lt;br /&gt;
rmmod agpgart&lt;br /&gt;
modprobe agpgart&lt;br /&gt;
modprobe intel-agp&lt;br /&gt;
modprobe fglrx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting - add the following line at the beginning of /etc/modprobe.d/blacklist:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you&#039;re 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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/sbin/update-rc.d -f atieventsd remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For 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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false &lt;br /&gt;
&lt;br /&gt;
ENABLE_LAPTOP_MODE=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg ==&lt;br /&gt;
&lt;br /&gt;
If dpkg really-really refuses to remove an older fglrx-package, it might be needed to edit /var/lib/dpkg/diversions and remove a few lines. This sort of trickery should be avoided until you&#039;ve tried absolutely everything else, though.&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dkms remove -m fglrx -v 8.522 --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>66.171.137.121</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5270</id>
		<title>Ubuntu Intrepid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5270"/>
		<updated>2008-11-01T16:07:58Z</updated>

		<summary type="html">&lt;p&gt;66.171.137.121: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation Guide for Ubuntu Intrepid (v 8.10) =&lt;br /&gt;
&lt;br /&gt;
== The three alternatives ==&lt;br /&gt;
&lt;br /&gt;
ATI has a bad track-record when it comes to drivers for Linux. There are countless stories about black screens, hours of configuring X, installing drivers and swearing at the computer.&lt;br /&gt;
AMD has traditionally been a bit more Linux-friendly, so after AMD bought ATI, there has arised a slight hope for better drivers for ATI-cards on Linux.&lt;br /&gt;
&lt;br /&gt;
However, creating better drivers takes some time, so while the people at AMD are doing their thing, people with ATI cards basically have these options:&lt;br /&gt;
# Use the open source drivers. These are stable and nice, but currently they have poor 3D-performance, if any. If that&#039;s not a problem, they are the Right Choice (tm).&lt;br /&gt;
# Use the restricted-driver management system that comes with Ubuntu to install the drivers (envy/jocky/&amp;quot;restricted&amp;quot; packages). &lt;br /&gt;
# Install the drivers manually. This should be your last resort, and may not even work.&lt;br /&gt;
&lt;br /&gt;
= The open source drivers =&lt;br /&gt;
By default, one of the open source drivers are used. If this works for you, you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
These comes with the X.org X server:&lt;br /&gt;
* vesa&lt;br /&gt;
* ati&lt;br /&gt;
* radeon&lt;br /&gt;
* radeonhd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ati&amp;quot; driver will automatically choose the best driver for your video card. There is no need to change it from &amp;quot;ati&amp;quot; or even create an xorg.conf file in most cases. The xorg.conf file is being deprecated.&lt;br /&gt;
&lt;br /&gt;
= Installing the restricted drivers &amp;quot;the Ubuntu way&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.10 (Intrepid) 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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Just use the hardware manager on the system menu (jocky-gtk), or this:&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by Ubuntu.&lt;br /&gt;
Note that there are different version-numbers for Catalyst itself and the amdccle program that comes with Catalyst!&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo depmod -a&amp;lt;br /&amp;gt;&lt;br /&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 may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/X11/xorg.conf ;kubuntu&lt;br /&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;
{{Box Terminal|&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
aticonfig must be used every time you change xorg.conf!&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;
{{Box Terminal|&lt;br /&gt;
fglrxinfo&lt;br /&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;
= Installing the restricted drivers manually =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to inst &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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;
===&#039;&#039;1. Install necessary build tools.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;2. Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Download page: Catalyst {{catalystversion}}. This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
Open a terminal window and switch to the directory you downloaded the installer to. (Example: $ cd Desktop)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;3. Create .deb packages.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sh {{catalystfilename}} --buildpkg Ubuntu/intrepid&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;intrepid&amp;quot; is not a typo)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;4. Add driver to kernel module blacklist.&#039;&#039;===&lt;br /&gt;
The ATI driver must be added to the kernel module blacklist so that the new ATI driver will be used. If it is not blacklisted, the official Ubuntu repository version of the ATI driver will be loaded instead.&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/default/linux-restricted-modules-common;kubuntu&lt;br /&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;
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.10) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file(s) (if they exist):&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-restricted ;kubuntu&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-local&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-local ;kubuntu&lt;br /&gt;
}}&lt;br /&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;5. Install .debs.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&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 may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, 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;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get install -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Catalyst {{catalystversion}} 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;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.542-0ubuntu1_i386.deb fglrx-kernel-source_8.542-0ubuntu1_i386.deb fglrx-amdcccle_8.542-0ubuntu1_i386.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.542&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;
If you get problems with dkms, you can patch the temporary sources and compile them yourself: http://www.phoronix.com/forums/showthread.php?t=12546&lt;br /&gt;
&lt;br /&gt;
If you can&#039;t get past these problems, consider using Hardy and just upgrading the kernel manually and installing the packages you need from Intrepid. &amp;quot;EnvyNG&amp;quot; is also an idea.&lt;br /&gt;
&lt;br /&gt;
== Finishing the Install: Configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you&#039;ve used fglrx previously, you will not need to do this.&#039;&#039;&#039;&lt;br /&gt;
&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).  Include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;: &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;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
in a terminal. If it does not error you should be fine. &lt;br /&gt;
&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
}}&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Release 8.8 looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: Radeon X1950 Series&lt;br /&gt;
OpenGL version string: 2.1.7873 Release&lt;br /&gt;
&amp;lt;/pre&amp;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;
== Finally ==&lt;br /&gt;
# Add tweaks as needed: http://ge.ubuntuforums.com/showthread.php?t=849422&lt;br /&gt;
# Restart X, if it doesn&#039;t work, you can use the &amp;quot;vesa&amp;quot;, &amp;quot;radeon&amp;quot; or &amp;quot;radeonhd&amp;quot; driver in the mean time, until you make it work.&lt;br /&gt;
# If you downgraded X to make fglrx work: enter synaptic, make sure all packages with &amp;quot;xorg&amp;quot; and &amp;quot;x11&amp;quot; are locked so that you can update and upgrade without worries.&lt;br /&gt;
&lt;br /&gt;
Done! Now run amdcccle, glxgears, warsow etc :)&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Couldn&#039;t find library libfglrx_gamma.so.1 ==&lt;br /&gt;
If you are having this error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-shlibdeps: failure: couldn&#039;t find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is &#039;&#039;).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix it by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-7-x86.x86_64.run --extract driver&lt;br /&gt;
cd driver/arch/x86_64/usr/X11R6/lib64&lt;br /&gt;
sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1&lt;br /&gt;
cd ../../../../../&lt;br /&gt;
sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo apt-get remove xserver-xgl&amp;lt;/pre&amp;gt;&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;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart a some others: &lt;br /&gt;
&amp;lt;pre&amp;gt;rmmod i82875p_edac&lt;br /&gt;
rmmod fglrx&lt;br /&gt;
rmmod intel-agp&lt;br /&gt;
rmmod agpgart&lt;br /&gt;
modprobe agpgart&lt;br /&gt;
modprobe intel-agp&lt;br /&gt;
modprobe fglrx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting - add the following line at the beginning of /etc/modprobe.d/blacklist:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you&#039;re 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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/sbin/update-rc.d -f atieventsd remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For 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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false &lt;br /&gt;
&lt;br /&gt;
ENABLE_LAPTOP_MODE=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg ==&lt;br /&gt;
&lt;br /&gt;
If dpkg really-really refuses to remove an older fglrx-package, it might be needed to edit /var/lib/dpkg/diversions and remove a few lines. This sort of trickery should be avoided until you&#039;ve tried absolutely everything else, though.&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dkms remove -m fglrx -v 8.522 --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>66.171.137.121</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5269</id>
		<title>Ubuntu Intrepid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5269"/>
		<updated>2008-11-01T16:04:53Z</updated>

		<summary type="html">&lt;p&gt;66.171.137.121: /* 4. Add driver to kernel module blacklist. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation Guide for Ubuntu Intrepid (v 8.10) =&lt;br /&gt;
&lt;br /&gt;
== The three alternatives ==&lt;br /&gt;
&lt;br /&gt;
ATI has a bad track-record when it comes to drivers for Linux. There are countless stories about black screens, hours of configuring X, installing drivers and swearing at the computer.&lt;br /&gt;
AMD has traditionally been a bit more Linux-friendly, so after AMD bought ATI, there has arised a slight hope for better drivers for ATI-cards on Linux.&lt;br /&gt;
&lt;br /&gt;
However, creating better drivers takes some time, so while the people at AMD are doing their thing, people with ATI cards basically have these options:&lt;br /&gt;
# Use the open source drivers. These are stable and nice, but currently they have poor 3D-performance, if any. If that&#039;s not a problem, they are the Right Choice (tm).&lt;br /&gt;
# Use the restricted-driver management system that comes with Ubuntu to install the drivers (envy/jocky/&amp;quot;restricted&amp;quot; packages). &lt;br /&gt;
# Install the drivers manually. This should be your last resort, and may not even work.&lt;br /&gt;
&lt;br /&gt;
= The open source drivers =&lt;br /&gt;
By default, one of the open source drivers are used. If this works for you, you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
These comes with the X.org X server:&lt;br /&gt;
* vesa&lt;br /&gt;
* ati&lt;br /&gt;
* radeon&lt;br /&gt;
* radeonhd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ati&amp;quot; driver will automatically choose the best driver for your video card. There is no need to change it from &amp;quot;ati&amp;quot; or even create an xorg.conf file in most cases. The xorg.conf file is being deprecated.&lt;br /&gt;
&lt;br /&gt;
= Installing the restricted drivers &amp;quot;the Ubuntu way&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.10 (Intrepid) 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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Just use the hardware manager on the system menu (jocky-gtk), or this:&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by Ubuntu.&lt;br /&gt;
Note that there are different version-numbers for Catalyst itself and the amdccle program that comes with Catalyst!&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo apt-get install linux-restricted-modules-generic restricted-manager&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo apt-get install xorg-driver-fglrx&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo depmod -a&amp;lt;br /&amp;gt;&lt;br /&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 may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo gedit /etc/X11/xorg.conf&lt;br /&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;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
aticonfig must be used every time you change xorg.conf!&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;
{{Box Terminal|&lt;br /&gt;
$ fglrxinfo&lt;br /&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;
= Installing the restricted drivers manually =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to inst &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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;
===&#039;&#039;1. Install necessary build tools.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;2. Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Download page: Catalyst {{catalystversion}}. This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
Open a terminal window and switch to the directory you downloaded the installer to. (Example: $ cd Desktop)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;3. Create .deb packages.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sh {{catalystfilename}} --buildpkg Ubuntu/intrepid&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;intrepid&amp;quot; is not a typo)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;4. Add driver to kernel module blacklist.&#039;&#039;===&lt;br /&gt;
The ATI driver must be added to the kernel module blacklist so that the new ATI driver will be used. If it is not blacklisted, the official Ubuntu repository version of the ATI driver will be loaded instead.&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/default/linux-restricted-modules-common;kubuntu&lt;br /&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;
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.10) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file(s) (if they exist):&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-restricted ;kubuntu&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-local&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-local ;kubuntu&lt;br /&gt;
}}&lt;br /&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;5. Install .debs.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&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 may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, 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;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get install -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Catalyst {{catalystversion}} 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;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.542-0ubuntu1_i386.deb fglrx-kernel-source_8.542-0ubuntu1_i386.deb fglrx-amdcccle_8.542-0ubuntu1_i386.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.542&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;
If you get problems with dkms, you can patch the temporary sources and compile them yourself: http://www.phoronix.com/forums/showthread.php?t=12546&lt;br /&gt;
&lt;br /&gt;
If you can&#039;t get past these problems, consider using Hardy and just upgrading the kernel manually and installing the packages you need from Intrepid. &amp;quot;EnvyNG&amp;quot; is also an idea.&lt;br /&gt;
&lt;br /&gt;
== Finishing the Install: Configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you&#039;ve used fglrx previously, you will not need to do this.&#039;&#039;&#039;&lt;br /&gt;
&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).  Include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;: &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;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
in a terminal. If it does not error you should be fine. &lt;br /&gt;
&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
}}&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Release 8.8 looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: Radeon X1950 Series&lt;br /&gt;
OpenGL version string: 2.1.7873 Release&lt;br /&gt;
&amp;lt;/pre&amp;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;
== Finally ==&lt;br /&gt;
# Add tweaks as needed: http://ge.ubuntuforums.com/showthread.php?t=849422&lt;br /&gt;
# Restart X, if it doesn&#039;t work, you can use the &amp;quot;vesa&amp;quot;, &amp;quot;radeon&amp;quot; or &amp;quot;radeonhd&amp;quot; driver in the mean time, until you make it work.&lt;br /&gt;
# If you downgraded X to make fglrx work: enter synaptic, make sure all packages with &amp;quot;xorg&amp;quot; and &amp;quot;x11&amp;quot; are locked so that you can update and upgrade without worries.&lt;br /&gt;
&lt;br /&gt;
Done! Now run amdcccle, glxgears, warsow etc :)&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Couldn&#039;t find library libfglrx_gamma.so.1 ==&lt;br /&gt;
If you are having this error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-shlibdeps: failure: couldn&#039;t find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is &#039;&#039;).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix it by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-7-x86.x86_64.run --extract driver&lt;br /&gt;
cd driver/arch/x86_64/usr/X11R6/lib64&lt;br /&gt;
sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1&lt;br /&gt;
cd ../../../../../&lt;br /&gt;
sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo apt-get remove xserver-xgl&amp;lt;/pre&amp;gt;&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;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart a some others: &lt;br /&gt;
&amp;lt;pre&amp;gt;rmmod i82875p_edac&lt;br /&gt;
rmmod fglrx&lt;br /&gt;
rmmod intel-agp&lt;br /&gt;
rmmod agpgart&lt;br /&gt;
modprobe agpgart&lt;br /&gt;
modprobe intel-agp&lt;br /&gt;
modprobe fglrx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting - add the following line at the beginning of /etc/modprobe.d/blacklist:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you&#039;re 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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/sbin/update-rc.d -f atieventsd remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For 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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false &lt;br /&gt;
&lt;br /&gt;
ENABLE_LAPTOP_MODE=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg ==&lt;br /&gt;
&lt;br /&gt;
If dpkg really-really refuses to remove an older fglrx-package, it might be needed to edit /var/lib/dpkg/diversions and remove a few lines. This sort of trickery should be avoided until you&#039;ve tried absolutely everything else, though.&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dkms remove -m fglrx -v 8.522 --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>66.171.137.121</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5268</id>
		<title>Ubuntu Intrepid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5268"/>
		<updated>2008-11-01T16:02:50Z</updated>

		<summary type="html">&lt;p&gt;66.171.137.121: /* 4. Add driver to kernel module blacklist. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation Guide for Ubuntu Intrepid (v 8.10) =&lt;br /&gt;
&lt;br /&gt;
== The three alternatives ==&lt;br /&gt;
&lt;br /&gt;
ATI has a bad track-record when it comes to drivers for Linux. There are countless stories about black screens, hours of configuring X, installing drivers and swearing at the computer.&lt;br /&gt;
AMD has traditionally been a bit more Linux-friendly, so after AMD bought ATI, there has arised a slight hope for better drivers for ATI-cards on Linux.&lt;br /&gt;
&lt;br /&gt;
However, creating better drivers takes some time, so while the people at AMD are doing their thing, people with ATI cards basically have these options:&lt;br /&gt;
# Use the open source drivers. These are stable and nice, but currently they have poor 3D-performance, if any. If that&#039;s not a problem, they are the Right Choice (tm).&lt;br /&gt;
# Use the restricted-driver management system that comes with Ubuntu to install the drivers (envy/jocky/&amp;quot;restricted&amp;quot; packages). &lt;br /&gt;
# Install the drivers manually. This should be your last resort, and may not even work.&lt;br /&gt;
&lt;br /&gt;
= The open source drivers =&lt;br /&gt;
By default, one of the open source drivers are used. If this works for you, you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
These comes with the X.org X server:&lt;br /&gt;
* vesa&lt;br /&gt;
* ati&lt;br /&gt;
* radeon&lt;br /&gt;
* radeonhd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ati&amp;quot; driver will automatically choose the best driver for your video card. There is no need to change it from &amp;quot;ati&amp;quot; or even create an xorg.conf file in most cases. The xorg.conf file is being deprecated.&lt;br /&gt;
&lt;br /&gt;
= Installing the restricted drivers &amp;quot;the Ubuntu way&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.10 (Intrepid) 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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Just use the hardware manager on the system menu (jocky-gtk), or this:&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by Ubuntu.&lt;br /&gt;
Note that there are different version-numbers for Catalyst itself and the amdccle program that comes with Catalyst!&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo apt-get install linux-restricted-modules-generic restricted-manager&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo apt-get install xorg-driver-fglrx&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo depmod -a&amp;lt;br /&amp;gt;&lt;br /&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 may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo gedit /etc/X11/xorg.conf&lt;br /&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;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
aticonfig must be used every time you change xorg.conf!&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;
{{Box Terminal|&lt;br /&gt;
$ fglrxinfo&lt;br /&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;
= Installing the restricted drivers manually =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to inst &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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;
===&#039;&#039;1. Install necessary build tools.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;2. Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Download page: Catalyst {{catalystversion}}. This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
Open a terminal window and switch to the directory you downloaded the installer to. (Example: $ cd Desktop)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;3. Create .deb packages.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sh {{catalystfilename}} --buildpkg Ubuntu/intrepid&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;intrepid&amp;quot; is not a typo)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;4. Add driver to kernel module blacklist.&#039;&#039;===&lt;br /&gt;
The ATI driver must be added to the kernel module blacklist so that the new ATI driver will be used. If it is not blacklisted, the official Ubuntu repository version of the ATI driver will be loaded instead.&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&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;
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.10) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file(s) (if they exist):&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-restricted ;kubuntu&amp;lt;br /&amp;gt;&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-local&lt;br /&gt;
sudo nano /etc/modprobe.d/blacklist-local ;kubuntu&lt;br /&gt;
}}&lt;br /&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;5. Install .debs.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&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 may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, 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;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get install -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Catalyst {{catalystversion}} 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;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.542-0ubuntu1_i386.deb fglrx-kernel-source_8.542-0ubuntu1_i386.deb fglrx-amdcccle_8.542-0ubuntu1_i386.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.542&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;
If you get problems with dkms, you can patch the temporary sources and compile them yourself: http://www.phoronix.com/forums/showthread.php?t=12546&lt;br /&gt;
&lt;br /&gt;
If you can&#039;t get past these problems, consider using Hardy and just upgrading the kernel manually and installing the packages you need from Intrepid. &amp;quot;EnvyNG&amp;quot; is also an idea.&lt;br /&gt;
&lt;br /&gt;
== Finishing the Install: Configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you&#039;ve used fglrx previously, you will not need to do this.&#039;&#039;&#039;&lt;br /&gt;
&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).  Include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;: &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;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
in a terminal. If it does not error you should be fine. &lt;br /&gt;
&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
}}&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Release 8.8 looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: Radeon X1950 Series&lt;br /&gt;
OpenGL version string: 2.1.7873 Release&lt;br /&gt;
&amp;lt;/pre&amp;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;
== Finally ==&lt;br /&gt;
# Add tweaks as needed: http://ge.ubuntuforums.com/showthread.php?t=849422&lt;br /&gt;
# Restart X, if it doesn&#039;t work, you can use the &amp;quot;vesa&amp;quot;, &amp;quot;radeon&amp;quot; or &amp;quot;radeonhd&amp;quot; driver in the mean time, until you make it work.&lt;br /&gt;
# If you downgraded X to make fglrx work: enter synaptic, make sure all packages with &amp;quot;xorg&amp;quot; and &amp;quot;x11&amp;quot; are locked so that you can update and upgrade without worries.&lt;br /&gt;
&lt;br /&gt;
Done! Now run amdcccle, glxgears, warsow etc :)&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Couldn&#039;t find library libfglrx_gamma.so.1 ==&lt;br /&gt;
If you are having this error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-shlibdeps: failure: couldn&#039;t find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is &#039;&#039;).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix it by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-7-x86.x86_64.run --extract driver&lt;br /&gt;
cd driver/arch/x86_64/usr/X11R6/lib64&lt;br /&gt;
sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1&lt;br /&gt;
cd ../../../../../&lt;br /&gt;
sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo apt-get remove xserver-xgl&amp;lt;/pre&amp;gt;&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;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart a some others: &lt;br /&gt;
&amp;lt;pre&amp;gt;rmmod i82875p_edac&lt;br /&gt;
rmmod fglrx&lt;br /&gt;
rmmod intel-agp&lt;br /&gt;
rmmod agpgart&lt;br /&gt;
modprobe agpgart&lt;br /&gt;
modprobe intel-agp&lt;br /&gt;
modprobe fglrx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting - add the following line at the beginning of /etc/modprobe.d/blacklist:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you&#039;re 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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/sbin/update-rc.d -f atieventsd remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For 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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false &lt;br /&gt;
&lt;br /&gt;
ENABLE_LAPTOP_MODE=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg ==&lt;br /&gt;
&lt;br /&gt;
If dpkg really-really refuses to remove an older fglrx-package, it might be needed to edit /var/lib/dpkg/diversions and remove a few lines. This sort of trickery should be avoided until you&#039;ve tried absolutely everything else, though.&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dkms remove -m fglrx -v 8.522 --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>66.171.137.121</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5267</id>
		<title>Ubuntu Intrepid Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Intrepid_Installation_Guide&amp;diff=5267"/>
		<updated>2008-11-01T15:58:38Z</updated>

		<summary type="html">&lt;p&gt;66.171.137.121: /* 5. Install .debs. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installation Guide for Ubuntu Intrepid (v 8.10) =&lt;br /&gt;
&lt;br /&gt;
== The three alternatives ==&lt;br /&gt;
&lt;br /&gt;
ATI has a bad track-record when it comes to drivers for Linux. There are countless stories about black screens, hours of configuring X, installing drivers and swearing at the computer.&lt;br /&gt;
AMD has traditionally been a bit more Linux-friendly, so after AMD bought ATI, there has arised a slight hope for better drivers for ATI-cards on Linux.&lt;br /&gt;
&lt;br /&gt;
However, creating better drivers takes some time, so while the people at AMD are doing their thing, people with ATI cards basically have these options:&lt;br /&gt;
# Use the open source drivers. These are stable and nice, but currently they have poor 3D-performance, if any. If that&#039;s not a problem, they are the Right Choice (tm).&lt;br /&gt;
# Use the restricted-driver management system that comes with Ubuntu to install the drivers (envy/jocky/&amp;quot;restricted&amp;quot; packages). &lt;br /&gt;
# Install the drivers manually. This should be your last resort, and may not even work.&lt;br /&gt;
&lt;br /&gt;
= The open source drivers =&lt;br /&gt;
By default, one of the open source drivers are used. If this works for you, you don&#039;t need to change anything.&lt;br /&gt;
&lt;br /&gt;
These comes with the X.org X server:&lt;br /&gt;
* vesa&lt;br /&gt;
* ati&lt;br /&gt;
* radeon&lt;br /&gt;
* radeonhd&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;ati&amp;quot; driver will automatically choose the best driver for your video card. There is no need to change it from &amp;quot;ati&amp;quot; or even create an xorg.conf file in most cases. The xorg.conf file is being deprecated.&lt;br /&gt;
&lt;br /&gt;
= Installing the restricted drivers &amp;quot;the Ubuntu way&amp;quot; =&lt;br /&gt;
&lt;br /&gt;
== Restricted Drivers Manager ==&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.10 (Intrepid) 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;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Just use the hardware manager on the system menu (jocky-gtk), or this:&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by Ubuntu.&lt;br /&gt;
Note that there are different version-numbers for Catalyst itself and the amdccle program that comes with Catalyst!&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo apt-get install linux-restricted-modules-generic restricted-manager&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo apt-get install xorg-driver-fglrx&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo depmod -a&amp;lt;br /&amp;gt;&lt;br /&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 may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo gedit /etc/X11/xorg.conf&lt;br /&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;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
aticonfig must be used every time you change xorg.conf!&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;
{{Box Terminal|&lt;br /&gt;
$ fglrxinfo&lt;br /&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;
= Installing the restricted drivers manually =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you are using the x86_64 architecture (64 bit), be sure to inst &amp;quot;ia32-libs&amp;quot; before proceeding!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
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;
===&#039;&#039;1. Install necessary build tools.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get update&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;2. Download the latest Catalyst package.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
Download page: Catalyst {{catalystversion}}. This package contains both the 32-bit and 64-bit driver.&lt;br /&gt;
&lt;br /&gt;
Open a terminal window and switch to the directory you downloaded the installer to. (Example: $ cd Desktop)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;3. Create .deb packages.&#039;&#039;===&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sh {{catalystfilename}} --buildpkg Ubuntu/intrepid&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;intrepid&amp;quot; is not a typo)&lt;br /&gt;
&lt;br /&gt;
===&#039;&#039;4. Add driver to kernel module blacklist.&#039;&#039;===&lt;br /&gt;
The ATI driver must be added to the kernel module blacklist so that the new ATI driver will be used. If it is not blacklisted, the official Ubuntu repository version of the ATI driver will be loaded instead.&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&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;
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.10) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file(s) (if they exist):&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo gedit /etc/modprobe.d/blacklist-restricted&amp;lt;br /&amp;gt;&lt;br /&gt;
$ sudo gedit /etc/modprobe.d/blacklist-local&lt;br /&gt;
}}&lt;br /&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;5. Install .debs.&#039;&#039;===&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i xorg-driver-fglrx_8.542-0ubuntu1_amd64.deb fglrx-kernel-source_8.542-0ubuntu1_amd64.deb fglrx-amdcccle_8.542-0ubuntu1_amd64.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&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 may complain that &amp;quot;Errors were encountered while processing: fglrx-amdcccle&amp;quot;.  This is because of a dependency of the amdccle package on 32 bit libraries.  If you receive this error, 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;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get install -f&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Catalyst {{catalystversion}} 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;
{{Box Terminal|&lt;br /&gt;
$ sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.542-0ubuntu1_i386.deb fglrx-kernel-source_8.542-0ubuntu1_i386.deb fglrx-amdcccle_8.542-0ubuntu1_i386.deb&lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;Using [http://en.wikipedia.org/wiki/Command_line_completion tab completion] can make this command easier.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.542&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;
If you get problems with dkms, you can patch the temporary sources and compile them yourself: http://www.phoronix.com/forums/showthread.php?t=12546&lt;br /&gt;
&lt;br /&gt;
If you can&#039;t get past these problems, consider using Hardy and just upgrading the kernel manually and installing the packages you need from Intrepid. &amp;quot;EnvyNG&amp;quot; is also an idea.&lt;br /&gt;
&lt;br /&gt;
== Finishing the Install: Configuration ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If you&#039;ve used fglrx previously, you will not need to do this.&#039;&#039;&#039;&lt;br /&gt;
&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).  Include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;: &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;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig --initial -f&lt;br /&gt;
}}&lt;br /&gt;
in a terminal. If it does not error you should be fine. &lt;br /&gt;
&lt;br /&gt;
Some people find that changes to xorg.conf don&#039;t get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command:&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo aticonfig &amp;lt;nowiki&amp;gt;--input=/etc/X11/xorg.conf --tls=1&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
}}&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Release 8.8 looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: Radeon X1950 Series&lt;br /&gt;
OpenGL version string: 2.1.7873 Release&lt;br /&gt;
&amp;lt;/pre&amp;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;
== Finally ==&lt;br /&gt;
# Add tweaks as needed: http://ge.ubuntuforums.com/showthread.php?t=849422&lt;br /&gt;
# Restart X, if it doesn&#039;t work, you can use the &amp;quot;vesa&amp;quot;, &amp;quot;radeon&amp;quot; or &amp;quot;radeonhd&amp;quot; driver in the mean time, until you make it work.&lt;br /&gt;
# If you downgraded X to make fglrx work: enter synaptic, make sure all packages with &amp;quot;xorg&amp;quot; and &amp;quot;x11&amp;quot; are locked so that you can update and upgrade without worries.&lt;br /&gt;
&lt;br /&gt;
Done! Now run amdcccle, glxgears, warsow etc :)&lt;br /&gt;
&lt;br /&gt;
= Issues =&lt;br /&gt;
&lt;br /&gt;
== Couldn&#039;t find library libfglrx_gamma.so.1 ==&lt;br /&gt;
If you are having this error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-shlibdeps: failure: couldn&#039;t find library libfglrx_gamma.so.1 needed by debian/xorg-driver-fglrx/usr/bin/fglrx_xgamma (its RPATH is &#039;&#039;).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix it by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-7-x86.x86_64.run --extract driver&lt;br /&gt;
cd driver/arch/x86_64/usr/X11R6/lib64&lt;br /&gt;
sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1&lt;br /&gt;
cd ../../../../../&lt;br /&gt;
sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mesa drivers ==&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, you might want to remove Mesa:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo apt-get remove xserver-xgl&amp;lt;/pre&amp;gt;&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;
&lt;br /&gt;
:&#039;&#039;&#039;Warning:&#039;&#039;&#039; This might make your compiz stop working as it is configured to use XGL. A solution might be to run the Envy script in order to configure compiz.  Or, if Compiz stopped working due to &amp;quot;Composite&amp;quot; problem, check that the following is set in the /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
	Option		&amp;quot;Composite&amp;quot;	&amp;quot;Enable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check for AGP and DRI errors in /var/log/Xorg.0.log like these are: &lt;br /&gt;
:&amp;lt;i&amp;gt;(EE) fglrx(0): [agp] unable to acquire AGP, error -1023&lt;br /&gt;
:(EE) fglrx(0): cannot init AGP&lt;br /&gt;
:(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.&lt;br /&gt;
:(WW) fglrx(0): * DRI initialization failed!                  *&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart a some others: &lt;br /&gt;
&amp;lt;pre&amp;gt;rmmod i82875p_edac&lt;br /&gt;
rmmod fglrx&lt;br /&gt;
rmmod intel-agp&lt;br /&gt;
rmmod agpgart&lt;br /&gt;
modprobe agpgart&lt;br /&gt;
modprobe intel-agp&lt;br /&gt;
modprobe fglrx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Blacklist the modules e7xxx_edac so it doesn&#039;t start up again when booting - add the following line at the beginning of /etc/modprobe.d/blacklist:&lt;br /&gt;
:&amp;lt;pre&amp;gt;blacklist i82875p_edac&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram).&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; http://openwetware.org/wiki/Computing/Linux/Ubuntu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Check you are running the correct kernel. &lt;br /&gt;
:&#039;&#039;&#039;Explanation:&#039;&#039;&#039; If you&#039;re 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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Hang at logout ==&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) it is probably due to the /etc/ati/authatieventsd.sh script looking for X authorisation files in the wrong place when it starts up. You can kill the hanging authatieventsd.sh processes from a console tty to allow the shutdown of the X server. This can be fixed permanently with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mkdir -p /var/lib/xdm/authdir&lt;br /&gt;
sudo ln -s /var/run/xauth /var/lib/xdm/authdir/authfiles&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If that doesn&#039;t work then you can disable atieventsd with this command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo /usr/sbin/update-rc.d -f atieventsd remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Suspend/Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Suspend hibernation &#039;&#039;&#039;works&#039;&#039;&#039; with the latest driver.&lt;br /&gt;
&lt;br /&gt;
For 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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false &lt;br /&gt;
&lt;br /&gt;
ENABLE_LAPTOP_MODE=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For Radeon 3200, to wake up from suspend, I had to add the following lines to /etc/X11/xorg.conf:&lt;br /&gt;
(This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option        &amp;quot;Composite&amp;quot;        &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
       Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot; &lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Can&#039;t remove fglrx with dpkg ==&lt;br /&gt;
&lt;br /&gt;
If dpkg really-really refuses to remove an older fglrx-package, it might be needed to edit /var/lib/dpkg/diversions and remove a few lines. This sort of trickery should be avoided until you&#039;ve tried absolutely everything else, though.&lt;br /&gt;
&lt;br /&gt;
== This module/version combo is already installed ==&lt;br /&gt;
&lt;br /&gt;
If you get this error-message, simply uninstall the previous version before installing the new one with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dkms remove -m fglrx -v 8.522 --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>66.171.137.121</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4426</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=4426"/>
		<updated>2008-03-05T22:37:41Z</updated>

		<summary type="html">&lt;p&gt;66.171.112.211: /* Method 2: Install the Catalyst 8.3 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.3 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;The newest 8.455.2 does not enable DRI using gutsy. It needs a more recent X.org for this, but 2D does work.&#039;&#039; &amp;quot;(II) fglrx(0): driver needs X.org 7.1.x.y with x.y &amp;gt;= 0.0&amp;quot;&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; (Follow these instructions for a workaround: http://64studio.com/node/150#comment-1148)&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.3-x86.x86_64.run ati-driver-installer-8.3-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Change to the download directory.  Make sure that you have the &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; repositories enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; before doing these steps.  &lt;br /&gt;
&lt;br /&gt;
There is a detailed manual with screenshots at [https://wiki.ubuntu.com/AddingRepositoriesHowto Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
By default, Ubuntu did not enable the Universe and Multiverse repositories, but now in Gutsy, both Universe and Multiverse are activated by default.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install 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;
sudo sh ati-driver-installer-8.3-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 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 (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;gksu 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;
&#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.471-0*.deb fglrx-kernel-source_8.471-0*.deb fglrx-amdcccle_8.471-0*.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;
*Note:  I attempted the above and received the following error message:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Error! Your kernel source for kernel 2.6.22-14-386 cannot be found at&lt;br /&gt;
/lib/modules/2.6.22-14-386/build or /lib/modules/2.6.22-14-386/source.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Google eventually lead me to 1) the [http://www2.ati.com/drivers/linux/linux_8.16.20.html ATI release notes] and &lt;br /&gt;
2) the  Feisty installation guide here [[Ubuntu_Feisty_Installation_Guide]], both of which lead me to suspect that I need to install kernel sources or kernel headers.  &lt;br /&gt;
&lt;br /&gt;
However, I already have the linux-headers-generic package installed.  Somebody on #ubuntu recommended that I install the specific headers package for my kernel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
$ uname -r&lt;br /&gt;
$ sudo aptitude install linux-headers-2.6.22-14-386&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This seemed to fix it, the aptitude command installed the headers and then proceeded to complete the installation of fglrx-kernel-source_8.452.1-1*.deb.&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 brute&#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;
Some have had luck with both mirrored.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --force-monitor=crt1&lt;br /&gt;
sudo aticonfig --enable-monitor=crt1,tv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
reboot after that and it should mirror the CRT1 onto the TV.&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.7281 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.452.1 --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;
&lt;br /&gt;
You might have to modify the path for line 30 and 31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_BIN_PATH=&amp;quot;/usr/bin/&amp;quot; # For window decorators and compiz&lt;br /&gt;
   PLUGIN_PATH=&amp;quot;/usr/lib/compiz/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The COMPIZ_NAME on line 35 should also be modified accordingly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_NAME=&amp;quot;compiz.real&amp;quot; # Final name for compiz (compiz.real) &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;
If it still does not work, locate /etc/xdg/compiz/compiz-manager.ubuntu and see if it contains an infinite loop in it. If it does, comment out the line that causes the infinite loop.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# . /etc/xdg/compiz/compiz-manager.ubuntu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
===If you get  /usr/X11R6/lib64/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/ /usr/X11R6/lib64/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)--- SOLVED ===&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;
[&#039;&#039;&#039;It works with the latest driver&#039;&#039;&#039;]&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>66.171.112.211</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4425</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=4425"/>
		<updated>2008-03-05T22:35:09Z</updated>

		<summary type="html">&lt;p&gt;66.171.112.211: /* Method 2: Install the Catalyst 8.3 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.3 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;The newest 8.455.2 does not enable DRI using gutsy. It needs a more recent X.org for this, but 2D does work.&#039;&#039; &amp;quot;(II) fglrx(0): driver needs X.org 7.1.x.y with x.y &amp;gt;= 0.0&amp;quot;&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; (Follow these instructions for a workaround: http://64studio.com/node/150#comment-1148)&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.3-x86.x86_64.run ati-driver-installer-8.3-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Change to the download directory.  Make sure that you have the &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; repositories enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; before doing these steps.  &lt;br /&gt;
&lt;br /&gt;
There is a detailed manual with screenshots at [https://wiki.ubuntu.com/AddingRepositoriesHowto Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
By default, Ubuntu did not enable the Universe and Multiverse repositories, but now in Gutsy, both Universe and Multiverse are activated by default.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install 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;
sudo sh ati-driver-installer-8.3-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 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 (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;gksu 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;
&#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.455.2-0*.deb fglrx-kernel-source_8.455.2-0*.deb fglrx-amdcccle_8.455.2-0*.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;
*Note:  I attempted the above and received the following error message:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Error! Your kernel source for kernel 2.6.22-14-386 cannot be found at&lt;br /&gt;
/lib/modules/2.6.22-14-386/build or /lib/modules/2.6.22-14-386/source.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Google eventually lead me to 1) the [http://www2.ati.com/drivers/linux/linux_8.16.20.html ATI release notes] and &lt;br /&gt;
2) the  Feisty installation guide here [[Ubuntu_Feisty_Installation_Guide]], both of which lead me to suspect that I need to install kernel sources or kernel headers.  &lt;br /&gt;
&lt;br /&gt;
However, I already have the linux-headers-generic package installed.  Somebody on #ubuntu recommended that I install the specific headers package for my kernel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
$ uname -r&lt;br /&gt;
$ sudo aptitude install linux-headers-2.6.22-14-386&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This seemed to fix it, the aptitude command installed the headers and then proceeded to complete the installation of fglrx-kernel-source_8.452.1-1*.deb.&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 brute&#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;
Some have had luck with both mirrored.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --force-monitor=crt1&lt;br /&gt;
sudo aticonfig --enable-monitor=crt1,tv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
reboot after that and it should mirror the CRT1 onto the TV.&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.7281 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.452.1 --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;
&lt;br /&gt;
You might have to modify the path for line 30 and 31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_BIN_PATH=&amp;quot;/usr/bin/&amp;quot; # For window decorators and compiz&lt;br /&gt;
   PLUGIN_PATH=&amp;quot;/usr/lib/compiz/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The COMPIZ_NAME on line 35 should also be modified accordingly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_NAME=&amp;quot;compiz.real&amp;quot; # Final name for compiz (compiz.real) &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;
If it still does not work, locate /etc/xdg/compiz/compiz-manager.ubuntu and see if it contains an infinite loop in it. If it does, comment out the line that causes the infinite loop.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# . /etc/xdg/compiz/compiz-manager.ubuntu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
===If you get  /usr/X11R6/lib64/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/ /usr/X11R6/lib64/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)--- SOLVED ===&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;
[&#039;&#039;&#039;It works with the latest driver&#039;&#039;&#039;]&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>66.171.112.211</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4424</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=4424"/>
		<updated>2008-03-05T22:13:25Z</updated>

		<summary type="html">&lt;p&gt;66.171.112.211: /* Method 2: Install the Catalyst 8.3 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.3 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;The newest 8.455.2 does not enable DRI using gutsy. It needs a more recent X.org for this, but 2D does work.&#039;&#039; &amp;quot;(II) fglrx(0): driver needs X.org 7.1.x.y with x.y &amp;gt;= 0.0&amp;quot;&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; (Follow these instructions for a workaround: http://64studio.com/node/150#comment-1148)&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.3-x86.x86_64.run ati-driver-installer-8.3-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Change to the download directory.  Make sure that you have the &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; repositories enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; before doing these steps.  &lt;br /&gt;
&lt;br /&gt;
There is a detailed manual with screenshots at [https://wiki.ubuntu.com/AddingRepositoriesHowto Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
By default, Ubuntu did not enable the Universe and Multiverse repositories, but now in Gutsy, both Universe and Multiverse are activated by default.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install 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;
sudo sh ati-driver-installer-8.03-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 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 (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;gksu 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;
&#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.455.2-0*.deb fglrx-kernel-source_8.455.2-0*.deb fglrx-amdcccle_8.455.2-0*.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;
*Note:  I attempted the above and received the following error message:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Error! Your kernel source for kernel 2.6.22-14-386 cannot be found at&lt;br /&gt;
/lib/modules/2.6.22-14-386/build or /lib/modules/2.6.22-14-386/source.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Google eventually lead me to 1) the [http://www2.ati.com/drivers/linux/linux_8.16.20.html ATI release notes] and &lt;br /&gt;
2) the  Feisty installation guide here [[Ubuntu_Feisty_Installation_Guide]], both of which lead me to suspect that I need to install kernel sources or kernel headers.  &lt;br /&gt;
&lt;br /&gt;
However, I already have the linux-headers-generic package installed.  Somebody on #ubuntu recommended that I install the specific headers package for my kernel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
$ uname -r&lt;br /&gt;
$ sudo aptitude install linux-headers-2.6.22-14-386&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This seemed to fix it, the aptitude command installed the headers and then proceeded to complete the installation of fglrx-kernel-source_8.452.1-1*.deb.&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 brute&#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;
Some have had luck with both mirrored.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --force-monitor=crt1&lt;br /&gt;
sudo aticonfig --enable-monitor=crt1,tv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
reboot after that and it should mirror the CRT1 onto the TV.&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.7281 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.452.1 --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;
&lt;br /&gt;
You might have to modify the path for line 30 and 31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_BIN_PATH=&amp;quot;/usr/bin/&amp;quot; # For window decorators and compiz&lt;br /&gt;
   PLUGIN_PATH=&amp;quot;/usr/lib/compiz/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The COMPIZ_NAME on line 35 should also be modified accordingly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_NAME=&amp;quot;compiz.real&amp;quot; # Final name for compiz (compiz.real) &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;
If it still does not work, locate /etc/xdg/compiz/compiz-manager.ubuntu and see if it contains an infinite loop in it. If it does, comment out the line that causes the infinite loop.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# . /etc/xdg/compiz/compiz-manager.ubuntu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
===If you get  /usr/X11R6/lib64/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/ /usr/X11R6/lib64/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)--- SOLVED ===&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;
[&#039;&#039;&#039;It works with the latest driver&#039;&#039;&#039;]&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>66.171.112.211</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4423</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=4423"/>
		<updated>2008-03-05T22:12:44Z</updated>

		<summary type="html">&lt;p&gt;66.171.112.211: /* Method 2: Install the Catalyst 8.3 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.3 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;The newest 8.455.2 does not enable DRI using gutsy. It needs a more recent X.org for this, but 2D does work.&#039;&#039; &amp;quot;(II) fglrx(0): driver needs X.org 7.1.x.y with x.y &amp;gt;= 0.0&amp;quot;&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; (Follow these instructions for a workaround: http://64studio.com/node/150#comment-1148)&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.03-x86.x86_64.run ati-driver-installer-8.03-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;
sudo sh ati-driver-installer-8.03-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 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 (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;gksu 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;
&#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.455.2-0*.deb fglrx-kernel-source_8.455.2-0*.deb fglrx-amdcccle_8.455.2-0*.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;
*Note:  I attempted the above and received the following error message:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Error! Your kernel source for kernel 2.6.22-14-386 cannot be found at&lt;br /&gt;
/lib/modules/2.6.22-14-386/build or /lib/modules/2.6.22-14-386/source.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Google eventually lead me to 1) the [http://www2.ati.com/drivers/linux/linux_8.16.20.html ATI release notes] and &lt;br /&gt;
2) the  Feisty installation guide here [[Ubuntu_Feisty_Installation_Guide]], both of which lead me to suspect that I need to install kernel sources or kernel headers.  &lt;br /&gt;
&lt;br /&gt;
However, I already have the linux-headers-generic package installed.  Somebody on #ubuntu recommended that I install the specific headers package for my kernel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
$ uname -r&lt;br /&gt;
$ sudo aptitude install linux-headers-2.6.22-14-386&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This seemed to fix it, the aptitude command installed the headers and then proceeded to complete the installation of fglrx-kernel-source_8.452.1-1*.deb.&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 brute&#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;
Some have had luck with both mirrored.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --force-monitor=crt1&lt;br /&gt;
sudo aticonfig --enable-monitor=crt1,tv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
reboot after that and it should mirror the CRT1 onto the TV.&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.7281 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.452.1 --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;
&lt;br /&gt;
You might have to modify the path for line 30 and 31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_BIN_PATH=&amp;quot;/usr/bin/&amp;quot; # For window decorators and compiz&lt;br /&gt;
   PLUGIN_PATH=&amp;quot;/usr/lib/compiz/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The COMPIZ_NAME on line 35 should also be modified accordingly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_NAME=&amp;quot;compiz.real&amp;quot; # Final name for compiz (compiz.real) &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;
If it still does not work, locate /etc/xdg/compiz/compiz-manager.ubuntu and see if it contains an infinite loop in it. If it does, comment out the line that causes the infinite loop.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# . /etc/xdg/compiz/compiz-manager.ubuntu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
===If you get  /usr/X11R6/lib64/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/ /usr/X11R6/lib64/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)--- SOLVED ===&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;
[&#039;&#039;&#039;It works with the latest driver&#039;&#039;&#039;]&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>66.171.112.211</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4422</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=4422"/>
		<updated>2008-03-05T22:11:54Z</updated>

		<summary type="html">&lt;p&gt;66.171.112.211: /* Method 2: Install the Catalyst 8.3 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.3 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;The newest 8.455.2 does not enable DRI using gutsy. It needs a more recent X.org for this, but 2D does work.&#039;&#039; &amp;quot;(II) fglrx(0): driver needs X.org 7.1.x.y with x.y &amp;gt;= 0.0&amp;quot;&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; (Follow these instructions for a workaround: http://64studio.com/node/150#comment-1148)&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-03-x86.x86_64.run ati-driver-installer-8-03-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;
sudo sh ati-driver-installer-8.03-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 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 (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;gksu 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;
&#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.455.2-0*.deb fglrx-kernel-source_8.455.2-0*.deb fglrx-amdcccle_8.455.2-0*.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;
*Note:  I attempted the above and received the following error message:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Error! Your kernel source for kernel 2.6.22-14-386 cannot be found at&lt;br /&gt;
/lib/modules/2.6.22-14-386/build or /lib/modules/2.6.22-14-386/source.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Google eventually lead me to 1) the [http://www2.ati.com/drivers/linux/linux_8.16.20.html ATI release notes] and &lt;br /&gt;
2) the  Feisty installation guide here [[Ubuntu_Feisty_Installation_Guide]], both of which lead me to suspect that I need to install kernel sources or kernel headers.  &lt;br /&gt;
&lt;br /&gt;
However, I already have the linux-headers-generic package installed.  Somebody on #ubuntu recommended that I install the specific headers package for my kernel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
$ uname -r&lt;br /&gt;
$ sudo aptitude install linux-headers-2.6.22-14-386&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This seemed to fix it, the aptitude command installed the headers and then proceeded to complete the installation of fglrx-kernel-source_8.452.1-1*.deb.&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 brute&#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;
Some have had luck with both mirrored.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --force-monitor=crt1&lt;br /&gt;
sudo aticonfig --enable-monitor=crt1,tv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
reboot after that and it should mirror the CRT1 onto the TV.&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.7281 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.452.1 --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;
&lt;br /&gt;
You might have to modify the path for line 30 and 31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_BIN_PATH=&amp;quot;/usr/bin/&amp;quot; # For window decorators and compiz&lt;br /&gt;
   PLUGIN_PATH=&amp;quot;/usr/lib/compiz/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The COMPIZ_NAME on line 35 should also be modified accordingly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_NAME=&amp;quot;compiz.real&amp;quot; # Final name for compiz (compiz.real) &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;
If it still does not work, locate /etc/xdg/compiz/compiz-manager.ubuntu and see if it contains an infinite loop in it. If it does, comment out the line that causes the infinite loop.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# . /etc/xdg/compiz/compiz-manager.ubuntu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
===If you get  /usr/X11R6/lib64/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/ /usr/X11R6/lib64/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)--- SOLVED ===&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;
[&#039;&#039;&#039;It works with the latest driver&#039;&#039;&#039;]&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>66.171.112.211</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4421</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=4421"/>
		<updated>2008-03-05T22:08:25Z</updated>

		<summary type="html">&lt;p&gt;66.171.112.211: /* Method 2: Install the Catalyst 8.3 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.3 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;The newest 8.455.2 does not enable DRI using gutsy. It needs a more recent X.org for this, but 2D does work.&#039;&#039; &amp;quot;(II) fglrx(0): driver needs X.org 7.1.x.y with x.y &amp;gt;= 0.0&amp;quot;&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; (Follow these instructions for a workaround: http://64studio.com/node/150#comment-1148)&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-3-x86.x86_64.run ati-driver-installer-8-3-x86.x86_64.run] (this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
Change to the download directory.  Make sure that you have the &#039;&#039;universe&#039;&#039; and &#039;&#039;multiverse&#039;&#039; repositories enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; before doing these steps.  &lt;br /&gt;
&lt;br /&gt;
There is a detailed manual with screenshots at [https://wiki.ubuntu.com/AddingRepositoriesHowto Ubuntu Wiki].&lt;br /&gt;
&lt;br /&gt;
By default, Ubuntu did not enable the Universe and Multiverse repositories, but now in Gutsy, both Universe and Multiverse are activated by default.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install 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;
sudo sh ati-driver-installer-8.03-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 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 (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;gksu 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;
&#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.455.2-0*.deb fglrx-kernel-source_8.455.2-0*.deb fglrx-amdcccle_8.455.2-0*.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;
*Note:  I attempted the above and received the following error message:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Error! Your kernel source for kernel 2.6.22-14-386 cannot be found at&lt;br /&gt;
/lib/modules/2.6.22-14-386/build or /lib/modules/2.6.22-14-386/source.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Google eventually lead me to 1) the [http://www2.ati.com/drivers/linux/linux_8.16.20.html ATI release notes] and &lt;br /&gt;
2) the  Feisty installation guide here [[Ubuntu_Feisty_Installation_Guide]], both of which lead me to suspect that I need to install kernel sources or kernel headers.  &lt;br /&gt;
&lt;br /&gt;
However, I already have the linux-headers-generic package installed.  Somebody on #ubuntu recommended that I install the specific headers package for my kernel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
$ uname -r&lt;br /&gt;
$ sudo aptitude install linux-headers-2.6.22-14-386&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This seemed to fix it, the aptitude command installed the headers and then proceeded to complete the installation of fglrx-kernel-source_8.452.1-1*.deb.&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 brute&#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;
Some have had luck with both mirrored.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --force-monitor=crt1&lt;br /&gt;
sudo aticonfig --enable-monitor=crt1,tv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
reboot after that and it should mirror the CRT1 onto the TV.&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.7281 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.452.1 --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;
&lt;br /&gt;
You might have to modify the path for line 30 and 31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_BIN_PATH=&amp;quot;/usr/bin/&amp;quot; # For window decorators and compiz&lt;br /&gt;
   PLUGIN_PATH=&amp;quot;/usr/lib/compiz/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The COMPIZ_NAME on line 35 should also be modified accordingly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_NAME=&amp;quot;compiz.real&amp;quot; # Final name for compiz (compiz.real) &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;
If it still does not work, locate /etc/xdg/compiz/compiz-manager.ubuntu and see if it contains an infinite loop in it. If it does, comment out the line that causes the infinite loop.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# . /etc/xdg/compiz/compiz-manager.ubuntu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
===If you get  /usr/X11R6/lib64/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/ /usr/X11R6/lib64/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)--- SOLVED ===&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;
[&#039;&#039;&#039;It works with the latest driver&#039;&#039;&#039;]&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>66.171.112.211</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4420</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=4420"/>
		<updated>2008-03-05T22:04:42Z</updated>

		<summary type="html">&lt;p&gt;66.171.112.211: /* Method 2: Install the Catalyst 8.3 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.3 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;The newest 8.455.2 does not enable DRI using gutsy. It needs a more recent X.org for this, but 2D does work.&#039;&#039; &amp;quot;(II) fglrx(0): driver needs X.org 7.1.x.y with x.y &amp;gt;= 0.0&amp;quot;&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; (Follow these instructions for a workaround: http://64studio.com/node/150#comment-1148)&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.03-x86.x86_64.run ati-driver-installer-8.03-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;
sudo sh ati-driver-installer-8.03-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 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 (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;gksu 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;
&#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.455.2-0*.deb fglrx-kernel-source_8.455.2-0*.deb fglrx-amdcccle_8.455.2-0*.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;
*Note:  I attempted the above and received the following error message:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Error! Your kernel source for kernel 2.6.22-14-386 cannot be found at&lt;br /&gt;
/lib/modules/2.6.22-14-386/build or /lib/modules/2.6.22-14-386/source.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Google eventually lead me to 1) the [http://www2.ati.com/drivers/linux/linux_8.16.20.html ATI release notes] and &lt;br /&gt;
2) the  Feisty installation guide here [[Ubuntu_Feisty_Installation_Guide]], both of which lead me to suspect that I need to install kernel sources or kernel headers.  &lt;br /&gt;
&lt;br /&gt;
However, I already have the linux-headers-generic package installed.  Somebody on #ubuntu recommended that I install the specific headers package for my kernel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
$ uname -r&lt;br /&gt;
$ sudo aptitude install linux-headers-2.6.22-14-386&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This seemed to fix it, the aptitude command installed the headers and then proceeded to complete the installation of fglrx-kernel-source_8.452.1-1*.deb.&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 brute&#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;
Some have had luck with both mirrored.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --force-monitor=crt1&lt;br /&gt;
sudo aticonfig --enable-monitor=crt1,tv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
reboot after that and it should mirror the CRT1 onto the TV.&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.7281 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.452.1 --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;
&lt;br /&gt;
You might have to modify the path for line 30 and 31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_BIN_PATH=&amp;quot;/usr/bin/&amp;quot; # For window decorators and compiz&lt;br /&gt;
   PLUGIN_PATH=&amp;quot;/usr/lib/compiz/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The COMPIZ_NAME on line 35 should also be modified accordingly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_NAME=&amp;quot;compiz.real&amp;quot; # Final name for compiz (compiz.real) &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;
If it still does not work, locate /etc/xdg/compiz/compiz-manager.ubuntu and see if it contains an infinite loop in it. If it does, comment out the line that causes the infinite loop.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# . /etc/xdg/compiz/compiz-manager.ubuntu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
===If you get  /usr/X11R6/lib64/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/ /usr/X11R6/lib64/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)--- SOLVED ===&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;
[&#039;&#039;&#039;It works with the latest driver&#039;&#039;&#039;]&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>66.171.112.211</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4419</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=4419"/>
		<updated>2008-03-05T22:03:35Z</updated>

		<summary type="html">&lt;p&gt;66.171.112.211: /* Method 2: Install the Catalyst 8.2 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.3 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;The newest 8.455.2 does not enable DRI using gutsy. It needs a more recent X.org for this, but 2D does work.&#039;&#039; &amp;quot;(II) fglrx(0): driver needs X.org 7.1.x.y with x.y &amp;gt;= 0.0&amp;quot;&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; (Follow these instructions for a workaround: http://64studio.com/node/150#comment-1148)&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-03-x86.x86_64.run ati-driver-installer-8-03-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;
sudo sh ati-driver-installer-8-03-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 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 (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;gksu 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;
&#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.455.2-0*.deb fglrx-kernel-source_8.455.2-0*.deb fglrx-amdcccle_8.455.2-0*.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;
*Note:  I attempted the above and received the following error message:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Error! Your kernel source for kernel 2.6.22-14-386 cannot be found at&lt;br /&gt;
/lib/modules/2.6.22-14-386/build or /lib/modules/2.6.22-14-386/source.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Google eventually lead me to 1) the [http://www2.ati.com/drivers/linux/linux_8.16.20.html ATI release notes] and &lt;br /&gt;
2) the  Feisty installation guide here [[Ubuntu_Feisty_Installation_Guide]], both of which lead me to suspect that I need to install kernel sources or kernel headers.  &lt;br /&gt;
&lt;br /&gt;
However, I already have the linux-headers-generic package installed.  Somebody on #ubuntu recommended that I install the specific headers package for my kernel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
$ uname -r&lt;br /&gt;
$ sudo aptitude install linux-headers-2.6.22-14-386&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This seemed to fix it, the aptitude command installed the headers and then proceeded to complete the installation of fglrx-kernel-source_8.452.1-1*.deb.&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 brute&#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;
Some have had luck with both mirrored.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --force-monitor=crt1&lt;br /&gt;
sudo aticonfig --enable-monitor=crt1,tv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
reboot after that and it should mirror the CRT1 onto the TV.&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.7281 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.452.1 --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;
&lt;br /&gt;
You might have to modify the path for line 30 and 31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_BIN_PATH=&amp;quot;/usr/bin/&amp;quot; # For window decorators and compiz&lt;br /&gt;
   PLUGIN_PATH=&amp;quot;/usr/lib/compiz/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The COMPIZ_NAME on line 35 should also be modified accordingly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_NAME=&amp;quot;compiz.real&amp;quot; # Final name for compiz (compiz.real) &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;
If it still does not work, locate /etc/xdg/compiz/compiz-manager.ubuntu and see if it contains an infinite loop in it. If it does, comment out the line that causes the infinite loop.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# . /etc/xdg/compiz/compiz-manager.ubuntu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
===If you get  /usr/X11R6/lib64/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/ /usr/X11R6/lib64/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)--- SOLVED ===&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;
[&#039;&#039;&#039;It works with the latest driver&#039;&#039;&#039;]&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>66.171.112.211</name></author>
	</entry>
</feed>