<?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=89.1.151.132</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=89.1.151.132"/>
	<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Special:Contributions/89.1.151.132"/>
	<updated>2026-04-30T17:39:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Debian_Installation_Guide&amp;diff=702</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=702"/>
		<updated>2007-04-23T02:24:12Z</updated>

		<summary type="html">&lt;p&gt;89.1.151.132: /* Build the Debian packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
=== 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.33.6-x86.x86_64.run installer], not the RPM packages for this method to work.&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;
sudo apt-get install module-assistant build-essential fakeroot dh-make debconf&lt;br /&gt;
sudo sh ./ati-driver-installer-8.35.5-x86.x86_64.run --buildpkg Debian/etch (or sid, sarge, lenny, etc. (run with --listpkg too see which Distributions and releases are available))&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This used to create five deb packages in the current directory. With version 36, it creates only four. If this step succeeded without any errors but there are no packages, check the /tmp directory.&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;
== Compile the kernel driver ==&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;
&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;
== Update the xorg.conf file ==&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;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>89.1.151.132</name></author>
	</entry>
</feed>