<?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=213.39.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=213.39.0.0%2F16"/>
	<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Special:Contributions/213.39.0.0/16"/>
	<updated>2026-11-10T23:54:05Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Debian_Installation_Guide&amp;diff=760</id>
		<title>Debian Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Debian_Installation_Guide&amp;diff=760"/>
		<updated>2008-09-05T00:42:34Z</updated>

		<summary type="html">&lt;p&gt;213.39.196.50: /* Download the ATI driver installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2007-11, see http://wiki.debian.org/AtiHowTo&lt;br /&gt;
----&lt;br /&gt;
As of November 2005, ATI&#039;s drivers are in the non-free area of Debian. Make sure your /etc/apt/sources.list contains &amp;quot;contrib non-free&amp;quot; as well as main. You will, however, have to build your own kernel modules.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Warning: do not mix the non-free packages with the packages created by the installer as they will conflict in non-obvious ways.  Before switching from one method to another, completely remove all fglrx-related packages.  Never do upgrade from one method to another directly!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Which install method? ==&lt;br /&gt;
There are two methods that can be used to install the fglrx driver in Debian.  The first, and recommended way is to use the native Debian packages directly from the non-free repository.  The second, which may be required for newly release drivers, is to generate the Debian packages directly from the ATI installer.  Both methods are documented here.  After the packages are installed, the remaining steps are common, regardless of the install method chosen.&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Installing from Debian non-free ===&lt;br /&gt;
&lt;br /&gt;
==== Install the driver ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install module-assistant fglrx-driver fglrx-kernel-src&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== build and install the module ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#:sudo module-assistant auto-install fglrx-kernel-src&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this, you need&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#:aticonfig --initial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will update your xorg.conf to use the new driver.&lt;br /&gt;
Restart for the changes to take effect.&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Generating/Installing Debian packages from the ATI installer ===&lt;br /&gt;
==== Download the ATI driver installer ====&lt;br /&gt;
Download the driver packages directly from [http://www.ati.com ATI]. You need to download the ATI [https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8.38.7-x86.x86_64.run installer], not the RPM packages for this method to work.&lt;br /&gt;
&lt;br /&gt;
I cannot recommend the latest release ati-driver-installer-8-8-x86.x86_64.run so I down graded to ati-driver-installer-8-7-x86.x86_64.run after many crashes and corrupted screens, so far this version is better for me. still more testing to do&lt;br /&gt;
&lt;br /&gt;
==== Build the Debian packages ====&lt;br /&gt;
Change to the download directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su&lt;br /&gt;
cd ~&lt;br /&gt;
apt-get install module-assistant build-essential fakeroot dh-make debconf bzip2 wget&lt;br /&gt;
wget -c https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/64bit/ati-driver-installer-8.42.3-x86.x86_64.run&lt;br /&gt;
./ati-driver-installer-8.42.3-x86.x86_64.run --extract fglrx&lt;br /&gt;
cd fglrx&lt;br /&gt;
cd arch/x86_64/usr/X11R6&lt;br /&gt;
ln -s lib64 lib&lt;br /&gt;
## One more link needed for 8.2&lt;br /&gt;
## begin 8.2&lt;br /&gt;
ln -sf libfglrx_gamma.so.1.0 lib/libfglrx_gamma.so.1&lt;br /&gt;
## end 8.2 ;-)&lt;br /&gt;
cd ~-&lt;br /&gt;
./packages/Debian/ati-packager.sh --buildpkg etch #replace with lenny or sid when appropriate&lt;br /&gt;
cd ..&lt;br /&gt;
dpkg -i fglrx-driver_8.42.3-1_amd64.deb fglrx-driver-dev_8.42.3-1_amd64.deb fglrx-kernel-src_8.42.3-1_amd64.deb fglrx-amdcccle_8.42.3-1_amd64.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The installer has a script that tries to clone a directory that was removed in this version of the driver. Luckily, it was because the same directory was already located in a different directory. This does add a few extra steps, but this should work for everyone. Once complete, you should proceed to the configuration section.&lt;br /&gt;
&lt;br /&gt;
==== Updated for Catalyst 8.2/Etch ====&lt;br /&gt;
&lt;br /&gt;
Build the packages in /var/tmp directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su -&lt;br /&gt;
cd /var/tmp&lt;br /&gt;
apt-get install module-assistant build-essential fakeroot dh-make debconf bzip2 wget&lt;br /&gt;
wget -c https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-02-x86.x86_64.run&lt;br /&gt;
sh ati-driver-installer-8-02-x86.x86_64.run --buildpkg Debian/etch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Install the driver ====&lt;br /&gt;
You might get some errors regarding dependencies during the dpkg process.  You can ignore them since they should be resolved when you run the &#039;&#039;upgrade&#039;&#039; step.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i fglrx-control-qt3_8.24.8-1_i386.deb&lt;br /&gt;
sudo dpkg -i fglrx-kernel-src_8.24.8-1_i386.deb&lt;br /&gt;
sudo dpkg -i fglrx-driver-dev_8.24.8-1_i386.deb&lt;br /&gt;
sudo apt-get -f upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A cruder way would be just calling &amp;lt;pre&amp;gt; dpkg -i fglrx-*.deb &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updated for Catalyst 8.2 ====&lt;br /&gt;
&lt;br /&gt;
Just install the newly created debs from /var/tmp dir:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg -i fglrx-driver_*.deb fglrx-driver-dev_*.deb fglrx-kernel-src_*.deb fglrx-amdcccle_*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If amdccle package installation fails on 64-bit systems, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -f upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Afterwards, proceed with kernel module compilation and installation.&lt;br /&gt;
&lt;br /&gt;
== Compile the kernel driver ==&lt;br /&gt;
Before do this, MAKE SURE you have deleted /usr/src/fglrx-kernel*.deb maybe generated by another installation.&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 a-i fglrx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Observed error messages ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
What does this error message below refer to ? It is unclear where to follow-up for this error 2/Fehler 2 message.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
                     |  dh_testdir                                                                │&lt;br /&gt;
                     │ /usr/bin/make -C /lib/modules/2.6.11/source SUBDIRS=/usr/src/modules/fglrx │&lt;br /&gt;
                     │ /bin/sh: /usr/src/linux-2.6.11/scripts/gcc-version.sh: Datei oder Verzeich │&lt;br /&gt;
                     │ make[1]: Entering directory `/usr/src/linux-2.6.11&#039;                        │&lt;br /&gt;
                     │ make[2]: scripts/Makefile.build: Datei oder Verzeichnis nicht gefunden     │&lt;br /&gt;
                     │ make[2]: *** Keine Regel, um »scripts/Makefile.build« zu erstellen.  Schlu │&lt;br /&gt;
                     │ make[1]: *** [_module_/usr/src/modules/fglrx] Fehler 2                     │&lt;br /&gt;
                     │ make[1]: Leaving directory `/usr/src/linux-2.6.11&#039;                         │&lt;br /&gt;
                     │ make: *** [build] Fehler 2                     &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(II) LoadModule: &amp;quot;fglrx&amp;quot;&lt;br /&gt;
(II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so&lt;br /&gt;
dlopen: libstdc++.so.5: cannot open shared object file: No such file or directory&lt;br /&gt;
(EE) Failed to load /usr/lib/xorg/modules/drivers/fglrx_drv.so&lt;br /&gt;
(II) UnloadModule: &amp;quot;fglrx&amp;quot;&lt;br /&gt;
(EE) Failed to load module &amp;quot;fglrx&amp;quot; (loader failed, 7)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
Install a newer C library and recompile the kernel: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libstdc++5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; In Debian Lenny the compiling process might fail. This occurs because Debian downloads another version 1:8-5-1 as opposed to the newest version from ATI 8.501-1 (1/07/2008). This messes up the compiling&lt;br /&gt;
process. If you must know this occurs because the command &#039;&#039;m-a a-i&#039;&#039; automatically does m-a prepare, get, build, install. If you do m-a prepare, build, install fglr , without get this will not happen and&lt;br /&gt;
you can skip the solution below.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039; Disable your repositories temporarily just for the compiling bit. Compile the source using module assistant. Then do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ aptitude hold fglrx-amdcccle fglrx-driver fglrx-kernel-src&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can do the latter in ncurses by doing the following in order:&lt;br /&gt;
type, as root, aptitude and press enter; pres &amp;quot;/&amp;quot; and type fglrx; you will see 3 packages select each with the mouse or using the arrow keys and pres &amp;quot;=&amp;quot; or alternatively press package from the menu and select hold.&lt;br /&gt;
Finally enable your repositories once again.&lt;br /&gt;
&lt;br /&gt;
== Update the xorg.conf file (Configuration) ==&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;
&lt;br /&gt;
Now restart X, or reboot for the driver changes to take effect.&lt;br /&gt;
&lt;br /&gt;
== Confirm that it worked ==&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: 1.3.5461 (X4.3.0-8.19.10)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it didn&#039;t work, you may need to run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# mkdir -p /usr/X11R6/lib/modules/dri&lt;br /&gt;
# ln -s /usr/lib/dri/fglrx_dri.so /usr/X11R6/lib/modules/dri&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thanks to Maciej Matysiak for the clear debug [http://lists.debian.org/debian-amd64/2006/02/msg00217.html here] and solution [http://lists.debian.org/debian-amd64/2006/02/msg00311.html here].&lt;br /&gt;
&lt;br /&gt;
If it&#039;s still not working, try:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# rm /usr/lib/libGL.so*&lt;br /&gt;
# rm /usr/X11R6/lib/libGL.so*&lt;br /&gt;
# cd /usr/X11R6/lib&lt;br /&gt;
# cp /usr/lib/fglrx/diversions/lib/libGL.so.1.2 .&lt;br /&gt;
# ln -s libGL.so.1.2 libGL.so.1&lt;br /&gt;
# ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and confirm that &#039;ldd /usr/bin/fglrxinfo&#039; is pointing to the right one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
People seem to be experiencing a broken libGL.so.1 after installing 8.41 on Debian/etch.  If `amdcccle` complains that libGL.so.1 does&#039;t exist, DONT DELETE /usr/lib/libGL.so.1.2 LIKE IT SAYS ABOVE.  Make symbolic link to libGL.so.1.2 (which is included in fglrx package - 14 megs in size):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cd /usr/lib&lt;br /&gt;
# ln -s libGL.so.1.2 libGL.so.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
This work fine for ATI mobility radeon 1400&lt;br /&gt;
&lt;br /&gt;
(make backup the olds xorg.* files in your folder)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cp /etc/X11/xorg.conf /home/username/corg.conf.old&lt;br /&gt;
$ cp /var/log/Xorg.0.log /home/username/Xorg.0.log.old&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(add contrib non-free in repositories)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ apt-get update&lt;br /&gt;
$ apt-get install module-assistant build-essential fakeroot dh-make debconf bzip2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(from www.amd.com download the courent version of driver for your ATI)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sh ./ati-driver-installer-8.40.4-x86.x86_64.run --buildpkg Debian/lenny&lt;br /&gt;
&amp;lt;/pre&amp;gt;                         &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ apt-get install fglrx-amdcccle_8.40.4-1_i386.deb&lt;br /&gt;
$ apt-get install fglrx-driver-_8.40.4-1_i386.deb&lt;br /&gt;
$ apt-get install fglrx-driver-dev_8.40.4-1_i386.deb&lt;br /&gt;
$ apt-get install fglrx-kernel-src_8.40.4-1_i386.deb&lt;br /&gt;
$ apt-get -f upgrade&lt;br /&gt;
$ apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ module-assistant prepare&lt;br /&gt;
$ module-assistant update&lt;br /&gt;
$ module-assistant a-i fglrx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ aticonfig --initial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(reboot computer)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&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: MOBILITY RADEON 9700 Generic&lt;br /&gt;
OpenGL version string: 1.3.5461 (X4.3.0-8.19.10)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>213.39.196.50</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Debian_Installation_Guide&amp;diff=759</id>
		<title>Debian Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Debian_Installation_Guide&amp;diff=759"/>
		<updated>2008-09-05T00:42:12Z</updated>

		<summary type="html">&lt;p&gt;213.39.196.50: /* Download the ATI driver installer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;2007-11, see http://wiki.debian.org/AtiHowTo&lt;br /&gt;
----&lt;br /&gt;
As of November 2005, ATI&#039;s drivers are in the non-free area of Debian. Make sure your /etc/apt/sources.list contains &amp;quot;contrib non-free&amp;quot; as well as main. You will, however, have to build your own kernel modules.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Warning: do not mix the non-free packages with the packages created by the installer as they will conflict in non-obvious ways.  Before switching from one method to another, completely remove all fglrx-related packages.  Never do upgrade from one method to another directly!&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Which install method? ==&lt;br /&gt;
There are two methods that can be used to install the fglrx driver in Debian.  The first, and recommended way is to use the native Debian packages directly from the non-free repository.  The second, which may be required for newly release drivers, is to generate the Debian packages directly from the ATI installer.  Both methods are documented here.  After the packages are installed, the remaining steps are common, regardless of the install method chosen.&lt;br /&gt;
&lt;br /&gt;
=== Method 1: Installing from Debian non-free ===&lt;br /&gt;
&lt;br /&gt;
==== Install the driver ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install module-assistant fglrx-driver fglrx-kernel-src&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== build and install the module ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#:sudo module-assistant auto-install fglrx-kernel-src&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this, you need&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#:aticonfig --initial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will update your xorg.conf to use the new driver.&lt;br /&gt;
Restart for the changes to take effect.&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Generating/Installing Debian packages from the ATI installer ===&lt;br /&gt;
==== Download the ATI driver installer ====&lt;br /&gt;
Download the driver packages directly from [http://www.ati.com ATI]. You need to download the ATI [https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8.38.7-x86.x86_64.run installer], not the RPM packages for this method to work.&lt;br /&gt;
&lt;br /&gt;
I cannot recommend the latest release ati-driver-installer-8-8-x86.x86_64.run so I down graded to ati-driver-installer-8-7-x86.x86_64.run&lt;br /&gt;
 after many crashes and corrupted screens, so far this version is better for me. still more testing to do&lt;br /&gt;
&lt;br /&gt;
==== Build the Debian packages ====&lt;br /&gt;
Change to the download directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su&lt;br /&gt;
cd ~&lt;br /&gt;
apt-get install module-assistant build-essential fakeroot dh-make debconf bzip2 wget&lt;br /&gt;
wget -c https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/64bit/ati-driver-installer-8.42.3-x86.x86_64.run&lt;br /&gt;
./ati-driver-installer-8.42.3-x86.x86_64.run --extract fglrx&lt;br /&gt;
cd fglrx&lt;br /&gt;
cd arch/x86_64/usr/X11R6&lt;br /&gt;
ln -s lib64 lib&lt;br /&gt;
## One more link needed for 8.2&lt;br /&gt;
## begin 8.2&lt;br /&gt;
ln -sf libfglrx_gamma.so.1.0 lib/libfglrx_gamma.so.1&lt;br /&gt;
## end 8.2 ;-)&lt;br /&gt;
cd ~-&lt;br /&gt;
./packages/Debian/ati-packager.sh --buildpkg etch #replace with lenny or sid when appropriate&lt;br /&gt;
cd ..&lt;br /&gt;
dpkg -i fglrx-driver_8.42.3-1_amd64.deb fglrx-driver-dev_8.42.3-1_amd64.deb fglrx-kernel-src_8.42.3-1_amd64.deb fglrx-amdcccle_8.42.3-1_amd64.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The installer has a script that tries to clone a directory that was removed in this version of the driver. Luckily, it was because the same directory was already located in a different directory. This does add a few extra steps, but this should work for everyone. Once complete, you should proceed to the configuration section.&lt;br /&gt;
&lt;br /&gt;
==== Updated for Catalyst 8.2/Etch ====&lt;br /&gt;
&lt;br /&gt;
Build the packages in /var/tmp directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su -&lt;br /&gt;
cd /var/tmp&lt;br /&gt;
apt-get install module-assistant build-essential fakeroot dh-make debconf bzip2 wget&lt;br /&gt;
wget -c https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-02-x86.x86_64.run&lt;br /&gt;
sh ati-driver-installer-8-02-x86.x86_64.run --buildpkg Debian/etch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Install the driver ====&lt;br /&gt;
You might get some errors regarding dependencies during the dpkg process.  You can ignore them since they should be resolved when you run the &#039;&#039;upgrade&#039;&#039; step.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i fglrx-control-qt3_8.24.8-1_i386.deb&lt;br /&gt;
sudo dpkg -i fglrx-kernel-src_8.24.8-1_i386.deb&lt;br /&gt;
sudo dpkg -i fglrx-driver-dev_8.24.8-1_i386.deb&lt;br /&gt;
sudo apt-get -f upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A cruder way would be just calling &amp;lt;pre&amp;gt; dpkg -i fglrx-*.deb &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updated for Catalyst 8.2 ====&lt;br /&gt;
&lt;br /&gt;
Just install the newly created debs from /var/tmp dir:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg -i fglrx-driver_*.deb fglrx-driver-dev_*.deb fglrx-kernel-src_*.deb fglrx-amdcccle_*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If amdccle package installation fails on 64-bit systems, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -f upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Afterwards, proceed with kernel module compilation and installation.&lt;br /&gt;
&lt;br /&gt;
== Compile the kernel driver ==&lt;br /&gt;
Before do this, MAKE SURE you have deleted /usr/src/fglrx-kernel*.deb maybe generated by another installation.&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 a-i fglrx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Observed error messages ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
What does this error message below refer to ? It is unclear where to follow-up for this error 2/Fehler 2 message.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
                     |  dh_testdir                                                                │&lt;br /&gt;
                     │ /usr/bin/make -C /lib/modules/2.6.11/source SUBDIRS=/usr/src/modules/fglrx │&lt;br /&gt;
                     │ /bin/sh: /usr/src/linux-2.6.11/scripts/gcc-version.sh: Datei oder Verzeich │&lt;br /&gt;
                     │ make[1]: Entering directory `/usr/src/linux-2.6.11&#039;                        │&lt;br /&gt;
                     │ make[2]: scripts/Makefile.build: Datei oder Verzeichnis nicht gefunden     │&lt;br /&gt;
                     │ make[2]: *** Keine Regel, um »scripts/Makefile.build« zu erstellen.  Schlu │&lt;br /&gt;
                     │ make[1]: *** [_module_/usr/src/modules/fglrx] Fehler 2                     │&lt;br /&gt;
                     │ make[1]: Leaving directory `/usr/src/linux-2.6.11&#039;                         │&lt;br /&gt;
                     │ make: *** [build] Fehler 2                     &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(II) LoadModule: &amp;quot;fglrx&amp;quot;&lt;br /&gt;
(II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so&lt;br /&gt;
dlopen: libstdc++.so.5: cannot open shared object file: No such file or directory&lt;br /&gt;
(EE) Failed to load /usr/lib/xorg/modules/drivers/fglrx_drv.so&lt;br /&gt;
(II) UnloadModule: &amp;quot;fglrx&amp;quot;&lt;br /&gt;
(EE) Failed to load module &amp;quot;fglrx&amp;quot; (loader failed, 7)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039;&lt;br /&gt;
Install a newer C library and recompile the kernel: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libstdc++5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; In Debian Lenny the compiling process might fail. This occurs because Debian downloads another version 1:8-5-1 as opposed to the newest version from ATI 8.501-1 (1/07/2008). This messes up the compiling&lt;br /&gt;
process. If you must know this occurs because the command &#039;&#039;m-a a-i&#039;&#039; automatically does m-a prepare, get, build, install. If you do m-a prepare, build, install fglr , without get this will not happen and&lt;br /&gt;
you can skip the solution below.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution:&#039;&#039;&#039; Disable your repositories temporarily just for the compiling bit. Compile the source using module assistant. Then do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ aptitude hold fglrx-amdcccle fglrx-driver fglrx-kernel-src&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can do the latter in ncurses by doing the following in order:&lt;br /&gt;
type, as root, aptitude and press enter; pres &amp;quot;/&amp;quot; and type fglrx; you will see 3 packages select each with the mouse or using the arrow keys and pres &amp;quot;=&amp;quot; or alternatively press package from the menu and select hold.&lt;br /&gt;
Finally enable your repositories once again.&lt;br /&gt;
&lt;br /&gt;
== Update the xorg.conf file (Configuration) ==&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;
&lt;br /&gt;
Now restart X, or reboot for the driver changes to take effect.&lt;br /&gt;
&lt;br /&gt;
== Confirm that it worked ==&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: 1.3.5461 (X4.3.0-8.19.10)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it didn&#039;t work, you may need to run:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# mkdir -p /usr/X11R6/lib/modules/dri&lt;br /&gt;
# ln -s /usr/lib/dri/fglrx_dri.so /usr/X11R6/lib/modules/dri&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thanks to Maciej Matysiak for the clear debug [http://lists.debian.org/debian-amd64/2006/02/msg00217.html here] and solution [http://lists.debian.org/debian-amd64/2006/02/msg00311.html here].&lt;br /&gt;
&lt;br /&gt;
If it&#039;s still not working, try:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# rm /usr/lib/libGL.so*&lt;br /&gt;
# rm /usr/X11R6/lib/libGL.so*&lt;br /&gt;
# cd /usr/X11R6/lib&lt;br /&gt;
# cp /usr/lib/fglrx/diversions/lib/libGL.so.1.2 .&lt;br /&gt;
# ln -s libGL.so.1.2 libGL.so.1&lt;br /&gt;
# ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and confirm that &#039;ldd /usr/bin/fglrxinfo&#039; is pointing to the right one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
People seem to be experiencing a broken libGL.so.1 after installing 8.41 on Debian/etch.  If `amdcccle` complains that libGL.so.1 does&#039;t exist, DONT DELETE /usr/lib/libGL.so.1.2 LIKE IT SAYS ABOVE.  Make symbolic link to libGL.so.1.2 (which is included in fglrx package - 14 megs in size):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cd /usr/lib&lt;br /&gt;
# ln -s libGL.so.1.2 libGL.so.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;br /&gt;
&lt;br /&gt;
This work fine for ATI mobility radeon 1400&lt;br /&gt;
&lt;br /&gt;
(make backup the olds xorg.* files in your folder)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cp /etc/X11/xorg.conf /home/username/corg.conf.old&lt;br /&gt;
$ cp /var/log/Xorg.0.log /home/username/Xorg.0.log.old&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(add contrib non-free in repositories)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ apt-get update&lt;br /&gt;
$ apt-get install module-assistant build-essential fakeroot dh-make debconf bzip2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(from www.amd.com download the courent version of driver for your ATI)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sh ./ati-driver-installer-8.40.4-x86.x86_64.run --buildpkg Debian/lenny&lt;br /&gt;
&amp;lt;/pre&amp;gt;                         &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ apt-get install fglrx-amdcccle_8.40.4-1_i386.deb&lt;br /&gt;
$ apt-get install fglrx-driver-_8.40.4-1_i386.deb&lt;br /&gt;
$ apt-get install fglrx-driver-dev_8.40.4-1_i386.deb&lt;br /&gt;
$ apt-get install fglrx-kernel-src_8.40.4-1_i386.deb&lt;br /&gt;
$ apt-get -f upgrade&lt;br /&gt;
$ apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ module-assistant prepare&lt;br /&gt;
$ module-assistant update&lt;br /&gt;
$ module-assistant a-i fglrx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ aticonfig --initial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(reboot computer)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&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: MOBILITY RADEON 9700 Generic&lt;br /&gt;
OpenGL version string: 1.3.5461 (X4.3.0-8.19.10)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>213.39.196.50</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Dapper_Installation_Guide&amp;diff=2650</id>
		<title>Ubuntu Dapper Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Dapper_Installation_Guide&amp;diff=2650"/>
		<updated>2006-07-01T22:47:37Z</updated>

		<summary type="html">&lt;p&gt;213.39.136.145: Just corrected a part wich could produce some errors during the setup.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Method 1: Installing Dapper&#039;s Included Driver (8.25.18) ==&lt;br /&gt;
&lt;br /&gt;
The included fglrx driver supports Radeon 8500+ and the X-series cards up to X1900.&lt;br /&gt;
&lt;br /&gt;
Unfortunately OpenGL seems to be broken for R200 cards (everything below Radeon 9500) in this driver version. This may be fixed by replacing &#039;&#039;/usr/lib/libGL.so.1.2&#039;&#039; with &#039;&#039;libGL.so.1.2&#039;&#039; from the previous driver version (8.24.8).&lt;br /&gt;
&lt;br /&gt;
=== Installing the driver ===&lt;br /&gt;
&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;
&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;
sudo aticonfig --initial&lt;br /&gt;
sudo aticonfig --overlay-type=Xv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
=== Confirm that it works ===&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: RADEON 9600 Generic&lt;br /&gt;
OpenGL version string: 2.0.5814 (8.25.18)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting for Method 1 ===&lt;br /&gt;
&lt;br /&gt;
*The output of &#039;&#039;&#039;dmesg | grep fglrx&#039;&#039;&#039; and /var/log/Xorg.0.log are most useful when looking for errors. You should really include this when you are asking for help somewhere.&lt;br /&gt;
&lt;br /&gt;
*It might be necessary to create a symlink to get accelerated OpenGL:&lt;br /&gt;
:&amp;lt;pre&amp;gt;sudo ln -s /usr/lib/dri /usr/lib/xorg/modules/dri&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*AMD64 users: It may also be necessary to update /etc/profile if using GDM.  Update the $LIBGL_DRIVERS_PATH variable to point to the dri path above.&lt;br /&gt;
&lt;br /&gt;
*To ensure you automatically get the current &#039;&#039;linux-restricted-modules&#039;&#039; package with kernel updates, you should install the linux-restricted-modules-??? package matching your kernel-type (without version numer), e.g. &#039;&#039;linux-restricted-modules-386&#039;&#039;, &#039;&#039;linux-restricted-modules-686&#039;&#039; or &#039;&#039;linux-restricted-modules-k7&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*If you used Method 2 before, you have to unblacklist fglrx again by editing &#039;&#039;/etc/default/linux-restricted-modules-common&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*See [[#Troubleshooting for both Methods|Troubleshooting for both Methods]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Method 2: Generating/Installing Ubuntu packages for the 8.26.18 drivers in Ubuntu Dapper Manually ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important Change:&#039;&#039;&#039; Installation of this driver &#039;&#039;&#039;no longer requires&#039;&#039;&#039; removing the linux-restricted-modules package in order to work.  There is a new blacklist feature in Ubuntu Dapper that you can use to go around this.&lt;br /&gt;
&lt;br /&gt;
=== blacklist old fglrx module from linux-restricted-modules ===&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;
Edit &#039;&#039;DISABLED_MODULES&#039;&#039; to include fglrx&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;
=== Installing the new driver ===&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer: [http://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8.26.18-x86.run 32bit Installer]&lt;br /&gt;
&lt;br /&gt;
This guide refers to the 32bit version of the driver. If you are using a x86_64 System you need the [http://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/64bit/ati-driver-installer-8.26.18-x86_64.run 64bit Installer]. The installation procedure should be the same as for 32bit, except some filenames will differ slightly.&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;
&#039;&#039;Install necessary tools:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install module-assistant build-essential &lt;br /&gt;
sudo apt-get install fakeroot dh-make debconf libstdc++5 gcc-3.3-base&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create .deb packages:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod +x ati-driver-installer-8.26.18-x86.run&lt;br /&gt;
./ati-driver-installer-8.26.18-x86.run --buildpkg Ubuntu/dapper&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.26.18-1_i386.deb&lt;br /&gt;
sudo dpkg -i fglrx-kernel-source_8.26.18-1_i386.deb&lt;br /&gt;
sudo dpkg -i fglrx-control_8.26.18-1_i386.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Remove any old fglrx deb&#039;s from /usr/src/:&#039;&#039;&lt;br /&gt;
&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;Compile the kernel module:&#039;&#039;&lt;br /&gt;
&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;Note&#039;&#039;&#039;: You have to recompile the kernel module after each kernel update!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Update the xorg.conf file:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial&lt;br /&gt;
sudo aticonfig --overlay-type=Xv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot.&lt;br /&gt;
&lt;br /&gt;
=== Confirm that it worked ===&lt;br /&gt;
&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: RADEON 9700 Generic&lt;br /&gt;
OpenGL version string: 2.0.5879 (8.26.18)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting for Method 2===&lt;br /&gt;
&lt;br /&gt;
==== Upgrade from Breezy ====&lt;br /&gt;
If method 2 doesn&#039;t work first time round, and you have upgraded from a Breezy installation, try this:&lt;br /&gt;
&lt;br /&gt;
Remove previous versions of the fglrx driver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -r fglrx-control&lt;br /&gt;
sudo dpkg -r fglrx-kernel-source&lt;br /&gt;
sudo dpkg -r xorg-driver-fglrx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
dpkg will list dependencies for xorg-driver-fglrx which will need up be removed, for example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -r fglrx-kernel&lt;br /&gt;
sudo dpkg -r fglrx-kernel-2.6.12-10-686-smp&lt;br /&gt;
sudo dpkg -r xorg-driver-fglrx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Proceed with method 2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
== Troubleshooting for both Methods ==&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
&lt;br /&gt;
The output of &#039;&#039;&#039;dmesg | grep fglrx&#039;&#039;&#039; and /var/log/Xorg.0.log are most useful when looking for errors.&lt;br /&gt;
&lt;br /&gt;
=== 2D speed ===&lt;br /&gt;
&lt;br /&gt;
If you suffer from slow 2D speed it might help to set&lt;br /&gt;
 Option		&amp;quot;XaaNoOffscreenPixmaps&amp;quot;&lt;br /&gt;
in the fglrx section of &#039;&#039;/etc/X11/xorg.conf&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== HP Notebook dv5029us / zv6000 ===&lt;br /&gt;
&lt;br /&gt;
If you have an HP Notebook Computer (or Compaq) such as the HP dv5029us or zv6000 series, it is needed to modify the BIOS configuration. It seems for some reason using sideport memory (the card&#039;s onboard memory only) leads to an apparent system crash although the logs show successful initialization of DRI. It is needed to run the BIOS setup screen, go to memory options, and select UMA+Sideport memory and assign a value to it (I assigned an extra 128M from the system RAM). Boot the computer and the fglrx driver will work. FGLRX version is 8.24.8 on an i386 Ubuntu Dapper install.&lt;br /&gt;
&lt;br /&gt;
* Ubuntu FGLRX drivers 8.25.18, do not work properly on the dv5029us (Radeon Xpress 200M) as of this writing (5/30/2006). It is needed to revert to 8.24.8 for this specific computer in order to get proper 3D acceleration, and 2D with no tearing off.&lt;br /&gt;
&lt;br /&gt;
** ATI Driver 8.26.18, does not work with the Radeon Express 200M. Some HP/Compaq laptops only have working 3D support with ONLY UMA video memory( Sideport+UMA won&#039;t work ). This is due to a 1 year old flaw in the ATI driver. If you want to use your onboard/Sideport memory, you can only get 2D support by adding [ Option &amp;quot;no_dri&amp;quot; &amp;quot;yes&amp;quot;] to the fglrx driver section of /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
=== HP zt3000 / Compaq nx7000 ===&lt;br /&gt;
Beginning with ATI driver version 8.19, the drivers fail to properly detect modelines that are compatible with the LCD screen of the HP zt3000 (and equivalent Compaq nx7000 model), and they must be inserted into xorg.conf manually.  For the 1680x1050 LCD screen, inserting the following modelines into the &amp;quot;Monitor&amp;quot; section works:&lt;br /&gt;
        Modeline &amp;quot;640x350&amp;quot;  119.12  640 1728 1760 1840  350 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;640x400&amp;quot;  119.12  640 1728 1760 1840  400 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;720x400&amp;quot;  119.12  720 1728 1760 1840  400 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;640x480&amp;quot;  119.12  640 1728 1760 1840  480 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;800x600&amp;quot;  119.12  800 1728 1760 1840  600 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;1024x768&amp;quot;  119.12  1024 1728 1760 1840  768 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;1152x864&amp;quot;  119.12  1152 1728 1760 1840  864 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;1280x960&amp;quot;  119.12  1280 1728 1760 1840  960 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;1280x1024&amp;quot;  119.12  1280 1728 1760 1840  1024 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;832x624&amp;quot;  119.12  832 1728 1760 1840  624 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;1280x768&amp;quot;  119.12  1280 1728 1760 1840  768 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;1280x800&amp;quot;  119.12  1280 1728 1760 1840  800 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;1152x768&amp;quot;  119.12  1152 1728 1760 1840  768 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;1400x1050&amp;quot;  119.12  1400 1728 1760 1840  1050 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;1440x900&amp;quot;  119.12  1440 1728 1760 1840  900 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;1600x1024&amp;quot;  119.12  1600 1728 1760 1840  1024 1052 1058 1080&lt;br /&gt;
        Modeline &amp;quot;1680x1050&amp;quot;  119.12  1680 1728 1760 1840  1050 1052 1058 1080&lt;br /&gt;
&lt;br /&gt;
If you have the &amp;quot;1920x1200&amp;quot; version of the HP zt3000 the Modeline is:&lt;br /&gt;
        Modeline &amp;quot;1920x1200&amp;quot; 150.75 1920 2016 2048 2185  1200 1202 1208 1235&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;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>213.39.136.145</name></author>
	</entry>
</feed>