<?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=84.160.161.183</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=84.160.161.183"/>
	<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Special:Contributions/84.160.161.183"/>
	<updated>2026-04-30T10:19:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Installation_Guide&amp;diff=653</id>
		<title>Ubuntu Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Installation_Guide&amp;diff=653"/>
		<updated>2006-03-15T14:31:41Z</updated>

		<summary type="html">&lt;p&gt;84.160.161.183: /* Method 1: Installing Dapper&amp;#039;s Included Driver (8.23.7) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Ubuntu 5.10 (Breezy Badger) =&lt;br /&gt;
&lt;br /&gt;
== Method 1: Installing Breezy&#039;s Included Driver (8.16.20) ==&lt;br /&gt;
&lt;br /&gt;
The fglrx driver supports Radeon 8500+ and the X-series cards (see [https://support.ati.com/ics/support/KBAnswer.asp?questionID=1176 release notes]).  When running the dpkg-reconfigure commands you can accept the defaults whenever you aren&#039;t sure.&lt;br /&gt;
&lt;br /&gt;
=== Installing the driver ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;All Platforms:&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&lt;br /&gt;
sudo apt-get install linux-restricted-modules-$(uname -r) #Okay if it is already installed&lt;br /&gt;
sudo dpkg-reconfigure xserver-xorg #Select the fglrx driver and 64-bit users should deselect int10a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;64-bit users:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You have to downgrade to an older version of libdri.a due to an incompatilbity with the ATI drivers.  [http://mail3.mpr.org/mlomker/libdri.a.gz Download it here]&lt;br /&gt;
&lt;br /&gt;
Change to download directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gunzip libdri.a.gz&lt;br /&gt;
sudo cp /usr/X11R6/lib/modules/extensions/libdri.a libdri.a.old&lt;br /&gt;
sudo cp libdri.a /usr/X11R6/lib/modules/extensions/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you wish to revert to any non-fglrx driver you will need to copy the libdri.a.old file back over the fglrx version.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;All platforms:&#039;&#039; Ctrl-Alt-Backspace to restart your desktop.&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: MOBILITY RADEON 9700 Generic&lt;br /&gt;
OpenGL version string: 1.3.5272 (X4.3.0-8.16.20)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
If you have a widescreen LCD display that is stuck at 1024x768 then it is probably the bug in the 8.16.20 driver that was fixed in 8.18.X (see the next section).  &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;
== Method 2: Generating/Installing Ubuntu packages for the newer 8.23.7 drivers in Breezy Badger ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Important Warning:&#039;&#039;&#039; Installation of this driver requires removing the restricted-modules package in order to work.  That package includes drivers for madwifi (Atheros wireless cards), nvidia cards, and a handful of other devices.  I provide a work-around for the madwifi drivers, but you need to perform it before removing the restricted modules (jump to end of this this post).&lt;br /&gt;
&lt;br /&gt;
When running the dpkg-reconfigure command you should answer the questions that you know and take the defaults for the rest.  You might want to say &#039;&#039;no&#039;&#039; to the monitor detection--it has caused X-Windows to crash for some people.&lt;br /&gt;
&lt;br /&gt;
=== Remove existing fglrx driver ===&lt;br /&gt;
&lt;br /&gt;
Remove Breezy&#039;s included drivers if they are installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove xorg-driver-fglrx&lt;br /&gt;
sudo apt-get remove fglrx-control&lt;br /&gt;
sudo apt-get remove linux-restricted-modules-$(uname -r)&lt;br /&gt;
sudo dpkg-reconfigure xserver-xorg #select the &amp;quot;ati&amp;quot; module&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot.&lt;br /&gt;
&lt;br /&gt;
=== Installing the new driver ===&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer: [https://support.ati.com/ics/support/default.asp?deptID=894&amp;amp;task=knowledge&amp;amp;folderID=27 Click here]&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.  [http://mail3.mpr.org/mlomker/sources.list Sample sources.list]. &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 install gcc-3.4 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.23.7-i386.run&lt;br /&gt;
LANG=C LC_ALL=C ./ati-driver-installer-8.23.7-i386.run --buildpkg Ubuntu/breezy&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.23.7-1_i386.deb&lt;br /&gt;
sudo dpkg -i fglrx-control_8.23.7-1_i386.deb&lt;br /&gt;
sudo dpkg -i fglrx-kernel-source_8.23.7-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 driver:&#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 a-i fglrx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&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.5695 (8.23.7)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
==== General ====&lt;br /&gt;
&lt;br /&gt;
Look for error messages in /var/log/Xorg.0.log and kern.log.&lt;br /&gt;
&lt;br /&gt;
==== Madwifi Drivers in Breezy Badger ====&lt;br /&gt;
In order to continue using the [http://madwifi.org madwifi] driver you can do the following &#039;&#039;&#039;before&#039;&#039;&#039; removing the linux-restricted-modules package and rebooting.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo cp /lib/modules/$(uname -r)/volatile/ath_hal.ko /lib/modules/$(uname -r)/kernel/&lt;br /&gt;
sudo depmod -a $(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Ubuntu 6.04 (Dapper Drake) =&lt;br /&gt;
&lt;br /&gt;
== Method 1: Installing Dapper&#039;s Included Driver (8.23.7) ==&lt;br /&gt;
&lt;br /&gt;
The fglrx driver supports Radeon 8500+ and the X-series cards up to X850.&lt;br /&gt;
&lt;br /&gt;
=== Installing the driver ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&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 aticonfig --initial&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot.&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 9700 Generic&lt;br /&gt;
OpenGL version string: 2.0.5695 (8.23.7)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&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;
*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;
*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;
== Method 2: Generating/Installing Ubuntu packages for the newer 8.23.7 drivers in Ubuntu Dapper ==&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;
When running the dpkg-reconfigure command you should answer the questions that you know and take the defaults for the rest.  You might want to say &#039;&#039;no&#039;&#039; to the monitor detection--it has caused X-Windows to crash for some people.&lt;br /&gt;
&lt;br /&gt;
=== Remove existing fglrx driver ===&lt;br /&gt;
&lt;br /&gt;
Blacklist 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;
&lt;br /&gt;
Remove Dapper&#039;s included fglrx drivers if they are installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get remove xorg-driver-fglrx&lt;br /&gt;
sudo apt-get remove fglrx-control&lt;br /&gt;
sudo dpkg-reconfigure xserver-xorg #select the &amp;quot;ati&amp;quot; module&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot.&lt;br /&gt;
&lt;br /&gt;
=== Installing the new driver ===&lt;br /&gt;
&lt;br /&gt;
Download the ATI driver installer: [https://support.ati.com/ics/support/default.asp?deptID=894&amp;amp;task=knowledge&amp;amp;folderID=27 Click here]&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 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.23.7-i386.run&lt;br /&gt;
LANG=C LC_ALL=C ./ati-driver-installer-8.23.7-i386.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.23.7-1_i386.deb&lt;br /&gt;
sudo dpkg -i fglrx-control_8.23.7-1_i386.deb&lt;br /&gt;
sudo dpkg -i fglrx-kernel-source_8.23.7-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 driver:&#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 a-i fglrx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note&#039;&#039;: If &#039;&#039;sudo module-assistant a-i fglrx&#039;&#039; doesn&#039;t work then run the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i fglrx-kernel-source_8.23.7-1_i386.deb&lt;br /&gt;
sudo module-assistant build,install fglrx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is because the current fglrx kernel source package in Dapper is marked &amp;quot;newer&amp;quot; than the one created by the ATI Installer.&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;
&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.5695 (8.23.7)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
==== General ====&lt;br /&gt;
&lt;br /&gt;
Look for error messages in /var/log/Xorg.0.log and kern.log.&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>84.160.161.183</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Gentoo_Installation_Guide&amp;diff=984</id>
		<title>Gentoo Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Gentoo_Installation_Guide&amp;diff=984"/>
		<updated>2006-03-15T14:29:04Z</updated>

		<summary type="html">&lt;p&gt;84.160.161.183: revert to 14:17, 4 March 2006 ; reason: spam&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Orginally found on the [http://gentoo-wiki.com/HOWTO_ATI_Drivers Gentoo Wiki], the GNU Free Documentation license allows me to copy/paste it here.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This guide should help you install and configure the proprietry graphics drivers from ATI. This guide applies for ALL versions of fglrx - it was made before the (rather dramatic) 8.8.25 January 05 release, but it is maintained such that all versions should work.&lt;br /&gt;
&lt;br /&gt;
*Note:  If you are using an ATI 7500 Mobility (or such card that isn&#039;t supported by the ati-drivers) this HOWTO will not help.  Instead use the ATI kernel drivers. See also: http://forums.gentoo.org/viewtopic-p-2137276.html#2137276&lt;br /&gt;
&lt;br /&gt;
== Kernel Configuration ==&lt;br /&gt;
&lt;br /&gt;
Get into menuconfig (cd /usr/src/your-kernel &amp;amp;&amp;amp; make menuconfig) and check the following:&lt;br /&gt;
{{Box Code|menuconfig|&amp;lt;pre&amp;gt;&lt;br /&gt;
Loadable Module Support ---&amp;gt;&lt;br /&gt;
 [*] Enable loadable module support&lt;br /&gt;
   [*]   Module unloading &lt;br /&gt;
&lt;br /&gt;
Processor type and features  ---&amp;gt;&lt;br /&gt;
 [*] MTRR (Memory Type Range Register) support&lt;br /&gt;
&lt;br /&gt;
Device Drivers ---&amp;gt;&lt;br /&gt;
 Character Devices ---&amp;gt; &lt;br /&gt;
  &amp;lt;M&amp;gt; /dev/agpgart (AGP Support)  &lt;br /&gt;
    &amp;lt;M&amp;gt; Your_AGP_Chipset_Here&lt;br /&gt;
  [ ] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)&lt;br /&gt;
&lt;br /&gt;
 Graphics support ---&amp;gt;&lt;br /&gt;
  [ ]  Support for framebuffer devices&lt;br /&gt;
&lt;br /&gt;
Kernel Hacking ---&amp;gt;&lt;br /&gt;
  [ ] Kernel debugging&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
Sync your kernel menuconfig with the selected portions posted here. (note: you can compile /dev/agpgart &amp;amp; your agp chipset [most likely ati-agp] into the kernel if you want.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please be aware that -mm and -rc(1,2,3,4,...) kernels often break fglrx due to unexpected changes in syntax, etc. If you want to use ati-drivers, use the stock gentoo-sources or at the very least, a STABLE 2.4 or 2.6 kernel!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to compile, install, and reboot into the kernel. Directions for this are beyond the scope of this file; if you need help recompiling the kernel, [http://gentoo-wiki.com/HOWTO_Compile_a_Kernel_Manually click here].&lt;br /&gt;
&lt;br /&gt;
== Grabbing a Driver Set ==&lt;br /&gt;
&lt;br /&gt;
For installation it will be easier to drop out of X to a command prompt. Do this using whatever command your Window Manager uses. &lt;br /&gt;
I use fluxbox so it&#039;s just rightclick -&amp;gt; fluxbox menu -&amp;gt; exit. For KDE or GNOME it&#039;s probably just a matter of logging out. When all else fails, hit CTL+ALT+BACKSPACE to kill the X server ungracefully. If the X server only reboots or for some reason you&#039;ve disabled this hotkey, log in as root and type &#039;&#039;&#039;init 3&#039;&#039;&#039; to bring the system run level down.&lt;br /&gt;
&lt;br /&gt;
Thanks to portage, installing the drivers is easy. If you have not already done it recently, start by synchronising your portage tree:&lt;br /&gt;
&lt;br /&gt;
 emerge --sync&lt;br /&gt;
 &lt;br /&gt;
Getting the latest drivers will probably mean unmasking them.&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;media-video/ati-drivers ~arch&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 echo &amp;quot;media-video/ati-drivers-extra ~arch&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
Replace {{Codeline|&amp;lt;~arch&amp;gt;}} with your system architecture; it&#039;s going to be either {{Codeline|~x86}} or {{Codeline|~amd64}}, the only two CPU architectures supported by the ATI driver.&lt;br /&gt;
&lt;br /&gt;
Now let&#039;s install the drivers. ati-drivers-extra is a (god-awful) control panel for the driver you probably won&#039;t use; you can leave that part out if you want, but for completeness we mention it here.&lt;br /&gt;
&lt;br /&gt;
 su -&lt;br /&gt;
 emerge -v ati-drivers ati-drivers-extra&lt;br /&gt;
&lt;br /&gt;
The next step is switch to the ATi OpenGL subsytem:&lt;br /&gt;
&lt;br /&gt;
 (#opengl-update ati)&lt;br /&gt;
 eselect opengl set ati&lt;br /&gt;
 (very important!)(opengl-update is deprecated)&lt;br /&gt;
Configure X:&lt;br /&gt;
&lt;br /&gt;
 fglrxconfig&lt;br /&gt;
&lt;br /&gt;
If for some reason this command doesn&#039;t work (the script isn&#039;t found), then try manually executing the script from its default location:&lt;br /&gt;
&lt;br /&gt;
 /opt/ati/bin/fglrxconfig&lt;br /&gt;
&lt;br /&gt;
Now, let&#039;s get back into X.&lt;br /&gt;
&lt;br /&gt;
 startx&lt;br /&gt;
&lt;br /&gt;
Open up a command prompt and run:&lt;br /&gt;
&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
&lt;br /&gt;
If the OpenGL vendor string says &amp;quot;ATI Technologies,&amp;quot; then congrats! You&#039;ve got the drivers working and hardware acceleration going great. If not...read on...&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Config Files ===&lt;br /&gt;
By default, the driver uses the Internal AGPGART. Sometimes the internal one doesn&#039;t work, and you will have to use the one provided with the kernel. Search your xorg.conf for the line that has the option &amp;quot;UseInternalAGPGART.&amp;quot; Simply change the &amp;quot;yes&amp;quot; to &amp;quot;no.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
{{Box File|xorg.conf|&lt;br /&gt;
 Option &amp;quot;UseInternalAGPGART&amp;quot; &amp;quot;no&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now simply add the modules to {{Filename|/etc/modules.autoload.d/kernel-2.x}} where x is your kernel version. &lt;br /&gt;
&lt;br /&gt;
Add the following (ORDER IS VERY IMPORTANT);&lt;br /&gt;
{{Box File|/etc/modules.autoload.d/kernel-2.x|&lt;br /&gt;
 agpgart&lt;br /&gt;
 intel-agp # change intel-agp to your chipset. eg: via-agp, nvidia-agp sis-agp.&lt;br /&gt;
 fglrx&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, run&lt;br /&gt;
&lt;br /&gt;
 modules-update&lt;br /&gt;
&lt;br /&gt;
Then you can reboot and everything should work. If you have are having problems, check dmesg and /var/log/Xorg.0.log for more info.&lt;br /&gt;
&lt;br /&gt;
=== Blank screen or monitor turning off after startx ===&lt;br /&gt;
&lt;br /&gt;
Versions of ati-drivers &amp;gt;= 8.16.20 have an issue with this that&#039;s easily corrected by inserting:&lt;br /&gt;
{{Box File|xorg.conf|&lt;br /&gt;
     Option &amp;quot;ForceMonitors&amp;quot; &amp;quot;notv&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
in the device section of xorg.conf (discussed here: http://bugs.gentoo.org/show_bug.cgi?id=103028)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Check if you have a non-DDC monitor connected via VGA/HD15 connector. If so change your xorg.conf:&lt;br /&gt;
{{Box File|xorg.conf|&lt;br /&gt;
 #   Option &amp;quot;DesktopSetup&amp;quot;               &amp;quot;0x00000000&amp;quot;&lt;br /&gt;
     Option &amp;quot;MonitorLayout&amp;quot;              &amp;quot;NONE, CRT&amp;quot;&lt;br /&gt;
     Option &amp;quot;IgnoreEDID&amp;quot;                 &amp;quot;off&amp;quot;&lt;br /&gt;
     Option &amp;quot;HSync2&amp;quot;                     &amp;quot;30-85&amp;quot;&lt;br /&gt;
     Option &amp;quot;VRefresh2&amp;quot;                  &amp;quot;50-160&amp;quot;&lt;br /&gt;
 #   Option &amp;quot;ScreenOverlap&amp;quot;              &amp;quot;0&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
where HSync2 and VRefresh2 are your monitor parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, try changing the MonitorLayout option. The default is &amp;quot;AUTO, AUTO&amp;quot;, which is to say X will attempt to autodetect what kind of monitor you&#039;ve got on the first and second display heads. This can theoretically fail (though I have never observed it). Try changing it around a bit. For example, if you have an LCD and no secondary monitor, change the line to read:&lt;br /&gt;
&lt;br /&gt;
{{Box File|xorg.conf|&lt;br /&gt;
     Option &amp;quot;MonitorLayout&amp;quot;              &amp;quot;TMDS, NONE&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
if you have a CRT, simply replace &amp;quot;TMDS&amp;quot; with &amp;quot;CRT&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Crashes on startup ===&lt;br /&gt;
&#039;&#039;&#039;If you are unable to use any 3d applications and get this error instead:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 FGLTexMgr: open of shared memory object failed (Function not implemented)&lt;br /&gt;
 __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!&lt;br /&gt;
 fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!&lt;br /&gt;
 FGLTexMgr: open of shared memory object failed (Function not implemented)&lt;br /&gt;
 __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!&lt;br /&gt;
 fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!&lt;br /&gt;
 FGLTexMgr: open of shared memory object failed (Function not implemented)&lt;br /&gt;
 __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Then you do not have tmpfs mounted on /dev/shm, which the driver requires.&#039;&#039;&#039; To mount this, add to following line to {{filename|/etc/fstab}} (if it isn&#039;t there already):&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/fstab|&lt;br /&gt;
 tmpfs     /dev/shm           tmpfs        defaults            0 0&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then just do a:&lt;br /&gt;
 mount /dev/shm&lt;br /&gt;
&lt;br /&gt;
If the drivers still crap out on you, or for example you get a black screen on X init, try going into your system BIOS and change graphics-related stuff around. Believe it or not, for me my 9800 gives a black screen on X init if I have the AGP Aperture set at anything other than 128MB. I don&#039;t know what causes this, and I don&#039;t care; I&#039;m just relating to you how I overcame &#039;&#039;my&#039;&#039; problem ;)&lt;br /&gt;
&lt;br /&gt;
Also, &#039;&#039;&#039;whenever you update your compiler&#039;&#039;&#039;, you &#039;&#039;&#039;must&#039;&#039;&#039; recompile your kernel otherwise you won&#039;t be able to insert the fglrx module. Note that recompiling your kernel means you must also unmerge/emerge ati-drivers!&lt;br /&gt;
&lt;br /&gt;
=== Duplicate symbol errors in X log ===&lt;br /&gt;
If you are unable to start X or X fails to load the fglrx driver and you have multiple symbol errors in your Xorg log, chances are that you have compiled X with the &#039;&#039;dlloader&#039;&#039; flag.  This flag can not be used with the fglrx driver.  To fix this problem, remove the dlloader flag by editing your /etc/portage/package.use file as follows:&lt;br /&gt;
{{Box File|/etc/portage/pakage.use|&lt;br /&gt;
 x11-base/xorg-x11 -dlloader&lt;br /&gt;
}}&lt;br /&gt;
Now re-emerge the &#039;&#039;xorg-x11&#039;&#039; package and reinstall the fglrx driver.&lt;br /&gt;
&lt;br /&gt;
=== Crashes on the exit of X.org / X won&#039;t shutdown ===&lt;br /&gt;
Perform the following if you can get the fglrx drivers working with hardware acceleration, but are suffering from a complete system crash when trying to quit X. You should boot into your system, login, then start on this. You don&#039;t need to boot into X, and shouldn&#039;t need to edit your xorg.conf file (as fglrx is already setup as the driver and working)&lt;br /&gt;
&lt;br /&gt;
You&#039;ve emerged the &amp;quot;stable&amp;quot; version of the ati-drivers, these are out of date -- remove them (emerge --unmerge ati-drivers), to add the most recent you should either add them to the keywords file (/etc/portage/package.keywords) or emerge your local ebuild (emerge /usr/portage/x11-drivers/ati-drivers/ati-drivers-8.22.5.ebuild) if you&#039;re told it requires a dependency, emerge the local e-build for that, then try again. (usually eselect-opengl is required.)&lt;br /&gt;
Once you have the most recent ati-drivers emerged, run (eselect opengl set ati). Now you can (startx) and hopefully quit without any problems. &lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
*[http://ati.cchtml.com/ ATi Unofficial Bugzilla (occasionally monitored by ATi personnel)]&lt;br /&gt;
*Check out user Wedge_&#039;s excellent ATI Radeon [http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html FAQ here]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>84.160.161.183</name></author>
	</entry>
</feed>