<?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=200.120.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=200.120.0.0%2F16"/>
	<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Special:Contributions/200.120.0.0/16"/>
	<updated>2026-11-18T20:13:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=5004</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=5004"/>
		<updated>2008-11-04T19:32:38Z</updated>

		<summary type="html">&lt;p&gt;200.120.19.6: /* 5. Install .debs. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
After installation, in GNOME or Kubuntu, &#039;&#039;&#039;turn off visual effects&#039;&#039;&#039; or you will notice a flicker in OpenGL.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Method 1: Install the driver the Ubuntu Way ==&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by the Ubuntu people. Catalyst 8.3 is in the repositories.&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install linux-restricted-modules-generic restricted-manager&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install xorg-driver-fglrx&lt;br /&gt;
&lt;br /&gt;
$ sudo depmod -a&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;
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;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
:[...]&amp;lt;br /&amp;gt;&lt;br /&gt;
:Driver		&amp;quot;fglrx&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:[...]&amp;lt;br /&amp;gt;&lt;br /&gt;
EndSection&lt;br /&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;
On newer cards the options below enables Visual Effects and video to be played without flicker. The Textured video option can be turned on, but this can cause flicker or diagonal artifacts when playing videos.&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
:[...]&amp;lt;br /&amp;gt;&lt;br /&gt;
:Driver	&amp;quot;fglrx&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:Option	&amp;quot;VideoOverlay&amp;quot;	&amp;quot;off&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:Option	&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;on&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:Option &amp;quot;TexturedVideo&amp;quot; &amp;quot;off&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:[...]&amp;lt;br /&amp;gt;&lt;br /&gt;
EndSection&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Method 2: Manual Install Method ==&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. &lt;br /&gt;
For example:&amp;lt;pre&amp;gt;cd Desktop&amp;lt;/pre&amp;gt;&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/hardy&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;hardy&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 ({{catalystversion}}) 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&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;
===&#039;&#039;For 32 Bits&#039;&#039;===&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;
&#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;
===&#039;&#039;For 64 Bits&#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;
&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.522*.deb fglrx-kernel-source_8.522-0*.deb fglrx-amdcccle_8.522-0*.deb&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.522&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
===Fix for an error:===&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;
{{Box Terminal|&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;
}}&lt;br /&gt;
&lt;br /&gt;
=== Finishing the Install: Configuration ===&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve used fglrx previously, you will not need to do this.&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;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. &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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --input=/etc/X11/xorg.conf --tls=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. 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;
&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;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&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;
{{Box Terminal|&lt;br /&gt;
$ uname -r&lt;br /&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;
== Specific Issues ==&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;
=== 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;
=== Error! This module/version combo is already installed ===&lt;br /&gt;
&lt;br /&gt;
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>200.120.19.6</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=5003</id>
		<title>Ubuntu Hardy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=5003"/>
		<updated>2008-11-04T19:31:23Z</updated>

		<summary type="html">&lt;p&gt;200.120.19.6: /* 5. Install .debs. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the &amp;quot;ATI accelerated graphics driver&amp;quot;. Ubuntu will then install and configure the driver for you. If this does not provide the optimal solution you were looking for, please read ahead.&lt;br /&gt;
&lt;br /&gt;
After installation, in GNOME or Kubuntu, &#039;&#039;&#039;turn off visual effects&#039;&#039;&#039; or you will notice a flicker in OpenGL.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Method 1: Install the driver the Ubuntu Way ==&lt;br /&gt;
&lt;br /&gt;
This will install the current driver in Ubuntu&#039;s repository. It is older than the one AMD has released, but will be supported by the Ubuntu people. Catalyst 8.3 is in the repositories.&lt;br /&gt;
&lt;br /&gt;
{{Box Terminal|&lt;br /&gt;
$ sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install linux-restricted-modules-generic restricted-manager&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install xorg-driver-fglrx&lt;br /&gt;
&lt;br /&gt;
$ sudo depmod -a&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;
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;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
:[...]&amp;lt;br /&amp;gt;&lt;br /&gt;
:Driver		&amp;quot;fglrx&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:[...]&amp;lt;br /&amp;gt;&lt;br /&gt;
EndSection&lt;br /&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;
On newer cards the options below enables Visual Effects and video to be played without flicker. The Textured video option can be turned on, but this can cause flicker or diagonal artifacts when playing videos.&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
:[...]&amp;lt;br /&amp;gt;&lt;br /&gt;
:Driver	&amp;quot;fglrx&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:Option	&amp;quot;VideoOverlay&amp;quot;	&amp;quot;off&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:Option	&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;on&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:Option &amp;quot;TexturedVideo&amp;quot; &amp;quot;off&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:[...]&amp;lt;br /&amp;gt;&lt;br /&gt;
EndSection&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Method 2: Manual Install Method ==&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. &lt;br /&gt;
For example:&amp;lt;pre&amp;gt;cd Desktop&amp;lt;/pre&amp;gt;&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/hardy&lt;br /&gt;
}}&lt;br /&gt;
(&amp;quot;hardy&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 ({{catalystversion}}) 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&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;
For 32 Bits&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;
&#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;
For 64 Bits&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_i386.deb&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Additional 64-bit instructions ===&lt;br /&gt;
&lt;br /&gt;
If you have a 64 bit install, the above dpkg command 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.522*.deb fglrx-kernel-source_8.522-0*.deb fglrx-amdcccle_8.522-0*.deb&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.522&amp;lt;/tt&amp;gt; fails to install due to a diverted file conflict, you can [http://emmetcaulfield.net/Tech/ATIv84+Hardy/ fix the package with this procedure].&lt;br /&gt;
&lt;br /&gt;
===Fix for an error:===&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;
{{Box Terminal|&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;
}}&lt;br /&gt;
&lt;br /&gt;
=== Finishing the Install: Configuration ===&lt;br /&gt;
&lt;br /&gt;
If you&#039;ve used fglrx previously, you will not need to do this.&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;
&amp;lt;pre&amp;gt;sudo aticonfig --initial -f&amp;lt;/pre&amp;gt;&lt;br /&gt;
in a terminal. If it does not error you should be fine. &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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --input=/etc/X11/xorg.conf --tls=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, reboot the computer and type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
into the terminal. If the vendor string contains ATI, you have installed the driver successfully. 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;
&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;
=== Removing Mesa drivers ===&lt;br /&gt;
If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check:&lt;br /&gt;
&lt;br /&gt;
*Remove the package xserver-xgl.&lt;br /&gt;
:&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;
{{Box Terminal|&lt;br /&gt;
$ uname -r&lt;br /&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;
== Specific Issues ==&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;
=== 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;
=== Error! This module/version combo is already installed ===&lt;br /&gt;
&lt;br /&gt;
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>200.120.19.6</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Feisty_Installation_Guide&amp;diff=3733</id>
		<title>Ubuntu Feisty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Feisty_Installation_Guide&amp;diff=3733"/>
		<updated>2007-05-23T04:47:31Z</updated>

		<summary type="html">&lt;p&gt;200.120.20.129: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[:Category:Releases|latest]] fglrx driver supports Radeon 9500+ and the X-series cards up to X1900.&lt;br /&gt;
&lt;br /&gt;
==Pre-Installation Checks==&lt;br /&gt;
=== Enable &amp;quot;restricted&amp;quot; Repository ===&lt;br /&gt;
Make sure the &#039;&#039;restricted&#039;&#039; repository is enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; or this guide will not work!&lt;br /&gt;
&lt;br /&gt;
System &amp;gt; Administration &amp;gt; Software Sources.  Check &amp;quot;Proprietary Drivers for Devices (Restricted)&amp;quot; box.&lt;br /&gt;
&lt;br /&gt;
=== Disable Composite Extension ===&lt;br /&gt;
In Ubuntu Feisty the Composite extension is enabled by default, however, &#039;&#039;fglrx&#039;&#039; does not yet support Composite with DRI. In order to disable Composite you have to edit the &#039;&#039;xorg.conf&#039;&#039; file:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add these lines at the end of the file:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
&amp;lt;pre&amp;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&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
*Note: Xubuntu does not have gedit. The default text editor in Xubuntu is called mousepad.&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mousepad /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: Kubuntu does not have gedit. The default text editor in Kubuntu is called Kate. Another option is to use nano.&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo kate /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
===Method 1: Install the Driver the Ubuntu Way===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install linux-restricted-modules-$(uname -r) # (Okay if it is already installed)&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;
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 8.36.5 Driver Manually===&lt;br /&gt;
&lt;br /&gt;
*Note: &#039;&#039;This is just an alternative installation method for the section above. It might help if you still get &#039;DRI missing&#039; errors.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*NOTE: This driver is now prepared for 2.6.20 kernels!&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer: [https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8.36.5-x86.x86_64.run  ati-driver-installer-8.36.5-x86.x86_64.run](this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems), taking care of which version needs for your [[Hardware|device]].&lt;br /&gt;
&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 does not enable the Universe and Multiverse repositories. But they include some important programs and codecs, so it is highly recommended to activate them.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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 bash ati-driver-installer-8.36.5-x86.x86_64.run --buildpkg Ubuntu/feisty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Blacklist old fglrx module from linux-restricted-modules:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*Note: You only need to do this if you&#039;ve installed the driver from Method 1 above.&lt;br /&gt;
&lt;br /&gt;
As ubuntu&#039;s &#039;&#039;linux-restricted-modules&#039;&#039; package includes the fglrx module from an old driver version (8.28.8), 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;
&amp;lt;pre&amp;gt;sudo gedit /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;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;
&#039;&#039;Install .deb packages:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.36.5-1*.deb&lt;br /&gt;
sudo dpkg -i fglrx-kernel-source_8.36.5-1*.deb&lt;br /&gt;
sudo dpkg -i fglrx-amdcccle_8.36.5-1*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Remove any old fglrx debs from /usr/src/:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo rm /usr/src/fglrx-kernel*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fix broken dependencies&#039;&#039;&lt;br /&gt;
*Note: &#039;&#039;You only need to do this if you have installed previous versions of these drivers using this method before.&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -f install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Compile the kernel module:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo module-assistant prepare&lt;br /&gt;
sudo module-assistant update&lt;br /&gt;
sudo module-assistant build fglrx&lt;br /&gt;
sudo module-assistant install fglrx&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: You have to recompile the kernel module after each kernel update!&lt;br /&gt;
&#039;&#039;NOTE&#039;&#039;: The fglrx source code now prepared for 2.6.20.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE&#039;&#039;: After this step I needed to create a link for the module to work: &amp;quot;sudo ln -s /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko&amp;quot;. (I&#039;m using Kubuntu Feisty)&lt;br /&gt;
&lt;br /&gt;
===Configure the Driver===&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.  &#039;&#039;&#039;I suggest that you do it the manual way if you patched the module, aticonfig --initial didn&#039;t work for me.  Another alternative is aticonfig --initial --force&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;
&lt;br /&gt;
===Finish the Installation===&lt;br /&gt;
Now save any open document and reboot your system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to rebooting is to restart the X Server by pressing your CTRL+ALT+BACKSPACE keys. You must remove any old kernel modules such as &amp;quot;drm&amp;quot; &amp;quot;radeon&amp;quot; or &amp;quot;fglrx&amp;quot; using the &amp;quot;rmmod&amp;quot; command. Example: &amp;lt;code&amp;gt;sudo rmmod fglrx&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Post-Installation Checks ==&lt;br /&gt;
===Verifying===&lt;br /&gt;
Run the following command to check its output to ensure the fglrx driver is installed properly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: MOBILITY RADEON 9700 Generic&lt;br /&gt;
OpenGL version string: 2.0.6458 (8.36.5)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional configure with aticonfig tool ===&lt;br /&gt;
You can even more configure the driver 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;
==Ubuntu-specific Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Revert to Xorg driver ===&lt;br /&gt;
&lt;br /&gt;
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo dpkg-reconfigure xserver-xorg&amp;lt;/pre&amp;gt;&lt;br /&gt;
and selecting the &amp;quot;ati&amp;quot; driver, or simply restoring the previous /etc/X11/xorg.conf file, if you made a backup. &lt;br /&gt;
&lt;br /&gt;
You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install --reinstall libgl1-mesa&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== If suspend is not working ===&lt;br /&gt;
&lt;br /&gt;
If after fglrx installation suspend stops working, meaning it suspends not start and just gives black screen. Then changing a few options is reported to work for some hardware ([https://launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.20/+bug/84991 Bug 84991 ]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For ATI X700:&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
POST_VIDEO=true&lt;br /&gt;
USE_DPMS=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For ATI X1300 and the ATI X1400 on a Dell Inspiron 9400 (using install methode 2):&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
POST_VIDEO=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Frequently Asked Questions]]&lt;br /&gt;
*[[Performance Issues]]&lt;br /&gt;
*[[Troubleshooting]]&lt;br /&gt;
*[http://www.petitiononline.com/x200MLin/petition.html Petition for better ATI/AMD Radeon XPRESS 200M Linux Drivers]&lt;br /&gt;
* [http://ubuntuforums.org/showpost.php?p=2221323&amp;amp;postcount=162 ati radeon xpress 200m] yo asi pude y ahora tengo escritorio 3d [[jano_l77@yahoo.es]]&lt;br /&gt;
{{VCT}}&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>200.120.20.129</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Feisty_Installation_Guide&amp;diff=3732</id>
		<title>Ubuntu Feisty Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Feisty_Installation_Guide&amp;diff=3732"/>
		<updated>2007-05-23T04:46:20Z</updated>

		<summary type="html">&lt;p&gt;200.120.20.129: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[:Category:Releases|latest]] fglrx driver supports Radeon 9500+ and the X-series cards up to X1900.&lt;br /&gt;
&lt;br /&gt;
==Pre-Installation Checks==&lt;br /&gt;
=== Enable &amp;quot;restricted&amp;quot; Repository ===&lt;br /&gt;
Make sure the &#039;&#039;restricted&#039;&#039; repository is enabled in &#039;&#039;/etc/apt/sources.list&#039;&#039; or this guide will not work!&lt;br /&gt;
&lt;br /&gt;
System &amp;gt; Administration &amp;gt; Software Sources.  Check &amp;quot;Proprietary Drivers for Devices (Restricted)&amp;quot; box.&lt;br /&gt;
&lt;br /&gt;
=== Disable Composite Extension ===&lt;br /&gt;
In Ubuntu Feisty the Composite extension is enabled by default, however, &#039;&#039;fglrx&#039;&#039; does not yet support Composite with DRI. In order to disable Composite you have to edit the &#039;&#039;xorg.conf&#039;&#039; file:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
and add these lines at the end of the file:&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
&amp;lt;pre&amp;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&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
*Note: Xubuntu does not have gedit. The default text editor in Xubuntu is called mousepad.&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo mousepad /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: Kubuntu does not have gedit. The default text editor in Kubuntu is called Kate. Another option is to use nano.&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo kate /etc/X11/xorg.conf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
===Method 1: Install the Driver the Ubuntu Way===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install linux-restricted-modules-$(uname -r) # (Okay if it is already installed)&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;
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 8.36.5 Driver Manually===&lt;br /&gt;
&lt;br /&gt;
*Note: &#039;&#039;This is just an alternative installation method for the section above. It might help if you still get &#039;DRI missing&#039; errors.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:*NOTE: This driver is now prepared for 2.6.20 kernels!&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer: [https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8.36.5-x86.x86_64.run  ati-driver-installer-8.36.5-x86.x86_64.run](this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems), taking care of which version needs for your [[Hardware|device]].&lt;br /&gt;
&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 does not enable the Universe and Multiverse repositories. But they include some important programs and codecs, so it is highly recommended to activate them.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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 bash ati-driver-installer-8.36.5-x86.x86_64.run --buildpkg Ubuntu/feisty&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Blacklist old fglrx module from linux-restricted-modules:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*Note: You only need to do this if you&#039;ve installed the driver from Method 1 above.&lt;br /&gt;
&lt;br /&gt;
As ubuntu&#039;s &#039;&#039;linux-restricted-modules&#039;&#039; package includes the fglrx module from an old driver version (8.28.8), 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;
&amp;lt;pre&amp;gt;sudo gedit /etc/default/linux-restricted-modules-common&amp;lt;/pre&amp;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;
&#039;&#039;Install .deb packages:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_8.36.5-1*.deb&lt;br /&gt;
sudo dpkg -i fglrx-kernel-source_8.36.5-1*.deb&lt;br /&gt;
sudo dpkg -i fglrx-amdcccle_8.36.5-1*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Remove any old fglrx debs from /usr/src/:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo rm /usr/src/fglrx-kernel*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Fix broken dependencies&#039;&#039;&lt;br /&gt;
*Note: &#039;&#039;You only need to do this if you have installed previous versions of these drivers using this method before.&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -f install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Compile the kernel module:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo module-assistant prepare&lt;br /&gt;
sudo module-assistant update&lt;br /&gt;
sudo module-assistant build fglrx&lt;br /&gt;
sudo module-assistant install fglrx&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT&#039;&#039;&#039;: You have to recompile the kernel module after each kernel update!&lt;br /&gt;
&#039;&#039;NOTE&#039;&#039;: The fglrx source code now prepared for 2.6.20.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOTE&#039;&#039;: After this step I needed to create a link for the module to work: &amp;quot;sudo ln -s /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko&amp;quot;. (I&#039;m using Kubuntu Feisty)&lt;br /&gt;
&lt;br /&gt;
===Configure the Driver===&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.  &#039;&#039;&#039;I suggest that you do it the manual way if you patched the module, aticonfig --initial didn&#039;t work for me.  Another alternative is aticonfig --initial --force&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;
&lt;br /&gt;
===Finish the Installation===&lt;br /&gt;
Now save any open document and reboot your system:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo shutdown -r now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Note: An &#039;&#039;&#039;alternative&#039;&#039;&#039; to rebooting is to restart the X Server by pressing your CTRL+ALT+BACKSPACE keys. You must remove any old kernel modules such as &amp;quot;drm&amp;quot; &amp;quot;radeon&amp;quot; or &amp;quot;fglrx&amp;quot; using the &amp;quot;rmmod&amp;quot; command. Example: &amp;lt;code&amp;gt;sudo rmmod fglrx&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Post-Installation Checks ==&lt;br /&gt;
===Verifying===&lt;br /&gt;
Run the following command to check its output to ensure the fglrx driver is installed properly:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: MOBILITY RADEON 9700 Generic&lt;br /&gt;
OpenGL version string: 2.0.6458 (8.36.5)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Additional configure with aticonfig tool ===&lt;br /&gt;
You can even more configure the driver 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;
==Ubuntu-specific Issues==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Revert to Xorg driver ===&lt;br /&gt;
&lt;br /&gt;
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo dpkg-reconfigure xserver-xorg&amp;lt;/pre&amp;gt;&lt;br /&gt;
and selecting the &amp;quot;ati&amp;quot; driver, or simply restoring the previous /etc/X11/xorg.conf file, if you made a backup. &lt;br /&gt;
&lt;br /&gt;
You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install --reinstall libgl1-mesa&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== If suspend is not working ===&lt;br /&gt;
&lt;br /&gt;
If after fglrx installation suspend stops working, meaning it suspends not start and just gives black screen. Then changing a few options is reported to work for some hardware ([https://launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.20/+bug/84991 Bug 84991 ]).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For ATI X700:&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
POST_VIDEO=true&lt;br /&gt;
USE_DPMS=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
For ATI X1300 and the ATI X1400 on a Dell Inspiron 9400 (using install methode 2):&lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
POST_VIDEO=false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Frequently Asked Questions]]&lt;br /&gt;
*[[Performance Issues]]&lt;br /&gt;
*[[Troubleshooting]]&lt;br /&gt;
*[http://www.petitiononline.com/x200MLin/petition.html Petition for better ATI/AMD Radeon XPRESS 200M Linux Drivers]&lt;br /&gt;
* [http://ubuntuforums.org/showpost.php?p=2221323&amp;amp;postcount=162 ati radeon xpress 200m] yo asi pude y ahora tengo escritorio 3d [[jano_l77@hotmail.com]]&lt;br /&gt;
{{VCT}}&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>200.120.20.129</name></author>
	</entry>
</feed>