<?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=202.7.176.133</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=202.7.176.133"/>
	<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Special:Contributions/202.7.176.133"/>
	<updated>2026-06-11T10:11:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4498</id>
		<title>Ubuntu Gutsy Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Ubuntu_Gutsy_Installation_Guide&amp;diff=4498"/>
		<updated>2008-08-29T12:23:02Z</updated>

		<summary type="html">&lt;p&gt;202.7.176.133: Bot spam removed&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Post-Installation Checks and Tweaks ==&lt;br /&gt;
===Verifying===&lt;br /&gt;
Run the following command to check its output to ensure the fglrx driver is installed properly:&lt;br /&gt;
&lt;br /&gt;
64bit Users only ( 32bit users can continue to the fglrxinfo test ), after rebooting you may have noticed that you cant open aticonfig and the fglrxinfo test below may not show ati in the info from the test, to fix this in terminal do the following command&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -s /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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: ATI MOBILITY RADEON X300&lt;br /&gt;
OpenGL version string: 2.1.7415 Release&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;OpenGL vendor string&amp;lt;/code&amp;gt; should read &#039;&#039;&#039;ATI&#039;&#039;&#039; and not &#039;&#039;&#039;Mesa&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If it still says &#039;&#039;Mesa&#039;&#039; and not &#039;&#039;ATI&#039;&#039;, even after re-enabling the driver from the Restricted-manager:&#039;&#039;&#039;&lt;br /&gt;
You can try the following:&lt;br /&gt;
:*&amp;lt;pre&amp;gt;$ less /var/log/Xorg.0.log |grep EE&amp;lt;/pre&amp;gt; if this command returns &amp;lt;code&amp;gt;(EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work&amp;lt;/code&amp;gt; then remove the kernel module and reinstall it.&lt;br /&gt;
:: &amp;lt;pre&amp;gt;$ sudo dkms remove -m fglrx -v 8.471 --all&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:*Remove all the packages provided by the &amp;lt;code&amp;gt;xserver-xorg-video-all&amp;lt;/code&amp;gt; meta-package (search for it using Synaptic or Adept), then restart the machine. The X Server should now use the new fglrx driver by force (provided the driver is being used in &#039;&#039;xorg.conf&#039;&#039;).&lt;br /&gt;
::If you can&#039;t log in after this, you&#039;ll have to log in to a terminal in the login screen, and reinstall the &amp;lt;code&amp;gt;xserver-xorg-video-all&amp;lt;/code&amp;gt; package. Your problem is probably somewhere else. (taken from [http://ubuntuforums.org/showpost.php?p=3655658&amp;amp;postcount=139]).&lt;br /&gt;
&lt;br /&gt;
:*Remove the package xserver-xgl. &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;
::&#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.&lt;br /&gt;
&lt;br /&gt;
Note: Here is the [[glxinfo]] of a good install (for those interested).&lt;br /&gt;
&lt;br /&gt;
=== Enable laptop mode on battery power ===&lt;br /&gt;
&lt;br /&gt;
Enabling laptop mode on battery power gives you much better battery life, however be aware that sometimes it causes odd hangs.&lt;br /&gt;
&lt;br /&gt;
Switch ENABLE_LAPTOP_MODE to true  &lt;br /&gt;
{{Box File|/etc/default/acpi-support|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Switch to laptop-mode on battery power - off by default as it causes odd&lt;br /&gt;
# hangs on some machines&lt;br /&gt;
ENABLE_LAPTOP_MODE=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Switch FGLRX_ACPI_SWITCH_POWERSTATES to true&lt;br /&gt;
{{Box File|/etc/default/fglrx|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Uncomment the next line to enable powerstate switching on ACPI&lt;br /&gt;
# events for lid open/close and AC adapter on/off&lt;br /&gt;
FGLRX_ACPI_SWITCH_POWERSTATES=true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Additional configure with aticonfig tool ===&lt;br /&gt;
You can configure the driver even further with the &#039;&#039;&#039;aticonfig&#039;&#039;&#039; tool, more information can be found at [[Configuring]].&lt;br /&gt;
&lt;br /&gt;
For example: &amp;lt;br&amp;gt;&lt;br /&gt;
* use powerplay option to switch power state for battery friendly or performance mode&lt;br /&gt;
* use dual head or one big desktop mode &lt;br /&gt;
* turn second monitor on/off on the fly&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Specific Issues==&lt;br /&gt;
&lt;br /&gt;
=== 3D desktop effects ===&lt;br /&gt;
The new ATI drivers use AIGLX so there is not need to install XGL that older drivers (&amp;lt; 8.40) required.&lt;br /&gt;
&lt;br /&gt;
Remove this section from to the /etc/X11/xorg.conf file.&lt;br /&gt;
The new xorg server enables &amp;quot;Composite&amp;quot; by default.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
#        Option  &amp;quot;Composite&amp;quot; &amp;quot;0&amp;quot;&lt;br /&gt;
# EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Compiz does not know about the fglrx driver. You can either skip the checks&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir -p ~/.config/compiz &amp;amp;&amp;amp; echo SKIP_CHECKS=yes &amp;gt;&amp;gt; ~/.config/compiz/compiz-manager&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or add it to the compiz white list, and clear the blacklist pci Ids variable &#039;&#039;&#039;*Recommended*&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /usr/bin/compiz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Driver whitelist&lt;br /&gt;
WHITELIST=&amp;quot;fglrx nvidia intel ati radeon i810&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# blacklist based on the pci ids &lt;br /&gt;
# BLACKLIST_PCIIDS=&amp;quot;$T&amp;quot;&lt;br /&gt;
BLACKLIST_PCIIDS=&amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You might have to modify the path for line 30 and 31&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_BIN_PATH=&amp;quot;/usr/bin/&amp;quot; # For window decorators and compiz&lt;br /&gt;
   PLUGIN_PATH=&amp;quot;/usr/lib/compiz/&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The COMPIZ_NAME on line 35 should also be modified accordingly&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   COMPIZ_NAME=&amp;quot;compiz.real&amp;quot; # Final name for compiz (compiz.real) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the necessary configurations, just restart X and enjoy the cool effects.&lt;br /&gt;
&lt;br /&gt;
If it still does not work, locate /etc/xdg/compiz/compiz-manager.ubuntu [this line may instead be in /etc/xdg/compiz/compiz-manager] and see if it contains an infinite loop in it. If it does, comment out the line that causes the infinite loop.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# . /etc/xdg/compiz/compiz-manager.ubuntu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Kubuntu you need some extra steps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install compiz compiz-kde compizconfig-settings-manager compiz-core compiz-fusion-plugins-main compiz-plugins&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test 3D Effects, press ALT+F2 and type &amp;quot;compiz --replace&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
To configure use the tool KMenu-&amp;gt;Settings-&amp;gt;Avanced Desktop Effect Settings.&lt;br /&gt;
&lt;br /&gt;
=== Suspend/Hibernation work with 7.12===&lt;br /&gt;
&lt;br /&gt;
With Gutsy release, there was a big problem using the ATI proprietary drivers.  The Suspend/Hibernate function stopped working. The problem was due to the new SLUB allocator incorporated in 2.6.22 / 2.6.23 Kernel. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The problem has been solved in the AMD Catalyst 7.12 driver release.&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;UPDATE: The problem has NOT been solved in the AMD Catalyst 7.12 driver release.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Suspend/hibernate is not working for FireGL 5250.&lt;br /&gt;
For FireGL 5200, suspend works with the 7.12 fglrx kernel module loaded (which did not work before this release) , but does not work if X is running.&lt;br /&gt;
&lt;br /&gt;
For Thinkpad T60 with ATI X1400, to get the laptop to wake up from suspend, I had to change the following in /etc/default/acpi-support:&lt;br /&gt;
&lt;br /&gt;
SAVE_VBE_STATE=false&lt;br /&gt;
&lt;br /&gt;
POST_VIDEO=false&lt;br /&gt;
&lt;br /&gt;
Even with the above settings (like POST_VIDEO=false, etc.) my ASUS Z96J with an X1600 does not suspend. &lt;br /&gt;
&lt;br /&gt;
This bug has been a serious issue for several months now.  There is a lot of frustration over this, because Ubuntu/Canonical has not been helpful.  They&#039;ve said things like suggesting not using fglrx (thanks a lot, that really helps).&lt;br /&gt;
&lt;br /&gt;
Current status on this bug can be found here: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/121653/&lt;br /&gt;
&lt;br /&gt;
===If you get  /usr/X11R6/lib/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/ /usr/X11R6/lib/modules&lt;br /&gt;
&lt;br /&gt;
===If you get  /usr/X11R6/lib64/modules/dri/fglrx_dri.so not found===&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /usr/lib/ /usr/X11R6/lib64/modules&lt;br /&gt;
&lt;br /&gt;
===Segmentation Fault with glxinfo/fglrxinfo===&lt;br /&gt;
If &amp;lt;code&amp;gt;fglrxinfo&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;glxinfo&amp;lt;/code&amp;gt; returns a Segmentation fault like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon Xpress Series&lt;br /&gt;
OpenGL version string: 1.4 (2.1.7170 Release)&lt;br /&gt;
&lt;br /&gt;
Segmentation fault&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set output of libGL to verbose with&lt;br /&gt;
&amp;lt;pre&amp;gt;$ export LIBGL_DEBUG=verbose&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;fglrxinfo&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;glxinfo&amp;lt;/code&amp;gt; again&lt;br /&gt;
&amp;lt;pre&amp;gt;libGL: XF86DRIGetClientDriverName: 8.44.3 fglrx (screen 0)&lt;br /&gt;
libGL: OpenDriver: trying /usr/lib/dri/fglrx_dri.so&lt;br /&gt;
libGL error: dlopen /usr/lib/dri/fglrx_dri.so failed (/usr/lib/dri/fglrx_dri.so: cannot open shared object file: Permission denied)&lt;br /&gt;
libGL error: unable to load driver: fglrx_dri.so&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Radeon Xpress Series&lt;br /&gt;
OpenGL version string: 1.4 (2.1.7170 Release)&lt;br /&gt;
&lt;br /&gt;
Segmentation fault&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Don&#039;t know if its always fglrx_dri.so, but the fix is to add read permissions to the file.&lt;br /&gt;
&lt;br /&gt;
Check if read permission is not there&lt;br /&gt;
&amp;lt;pre&amp;gt;ls -l /usr/lib/dri/ |grep fglrx_dri&lt;br /&gt;
-rw-rw---- 1 root root 17462688 2008-01-13 17:42 fglrx_dri.so&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add read permission&lt;br /&gt;
&amp;lt;pre&amp;gt;$ sudo chmod +r /usr/lib/dri/fglrx_dri.so&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check read permission&lt;br /&gt;
&amp;lt;pre&amp;gt;ls -l /usr/lib/dri/ |grep fglrx_dri&lt;br /&gt;
-rw-rw-r-- 1 root root 17462688 2008-01-13 17:42 fglrx_dri.so&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== libGL error ===&lt;br /&gt;
* fglrxinfo gives:  libGL.so.1: cannot open shared object file.&lt;br /&gt;
* Check the permission of the libGL.so.1.2 file with command:&lt;br /&gt;
  ls -l /usr/lib/libGL*&lt;br /&gt;
* The file permission of libGL.so.1.2 should be &amp;quot;-rw-rw-r--&amp;quot;.  If the permission reads &amp;quot;-rw-rw----&amp;quot;, do command&lt;br /&gt;
  sudo chmod o+r /usr/lib/libGL.so.1.2&lt;br /&gt;
* If the permission is correct, fixed with command:&lt;br /&gt;
 sudo ln -s /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Monitor detection (1680x1050 Resolution Issue)--- SOLVED ===&lt;br /&gt;
&lt;br /&gt;
As specified in the release notes, &amp;quot;Connecting a display device that supports 1680x1050 to a system running Linux may result in a&lt;br /&gt;
maximum display resolution of 1280x1024 only being available&amp;quot;. (from [http://ubuntuforums.org/showthread.php?t=645974 thread])&lt;br /&gt;
&lt;br /&gt;
[&#039;&#039;&#039;It works with the latest driver&#039;&#039;&#039;]&lt;br /&gt;
&lt;br /&gt;
Fglrx driver does not detect some monitors correctly, so you have to do it manually (google about your monitor spec with keyword: xorg.conf).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;For example:&#039;&#039;&#039; Samsung 205BW 1680x1050 monitor needs manually set:  &lt;br /&gt;
{{Box File|/etc/X11/xorg.conf|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
       Option &amp;quot;DPMS&amp;quot;&lt;br /&gt;
       Identifier &amp;quot;samsung-monitor&amp;quot;&lt;br /&gt;
       VendorName &amp;quot;Samsung&amp;quot;&lt;br /&gt;
       ModelName &amp;quot;SyncMaster 205BW&amp;quot;&lt;br /&gt;
       HorizSync 31.4 - 80.0&lt;br /&gt;
       VertRefresh 56.000 - 75.000&lt;br /&gt;
       Modeline &amp;quot;1680x1050&amp;quot; 146.25 1680 1784 1960 2240 1050 1053 1059 1089&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
	Identifier	&amp;quot;samsung-screen&amp;quot;&lt;br /&gt;
	Device		&amp;quot;samsung-device&amp;quot;&lt;br /&gt;
	Monitor		&amp;quot;samsung-monitor&amp;quot;&lt;br /&gt;
	Defaultdepth	24&lt;br /&gt;
	SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
		Depth	24&lt;br /&gt;
		Modes		&amp;quot;1680x1050&amp;quot;&lt;br /&gt;
	EndSubSection&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== A possible problem with fglrx.ko conflicts ===&lt;br /&gt;
&lt;br /&gt;
NOTE: I&#039;ve run into strange problem building fglrx-kernel-source_8.443.1-1_i386.deb. If pentium-builder is installed, dkms fails to build fglrx.ko for make error (mixed implicit and static pattern rules. Stop.). It is caused by gcc.real and other indirections and wrong gcc version detection. Removing pentium-builder cures the problem.&lt;br /&gt;
&lt;br /&gt;
It&#039;s necessary, because sometimes this file is written by other packages, and so there&#039;s no 3D acceleration.&lt;br /&gt;
Check that the file /lib/modules/$(uname -r)/misc/fglrx.ko has been created.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create the following folder&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir /lib/modules/$(uname -r)/volatile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: the volatile directory might already exist at this stage then simply continue with the next step. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Create a symbolic link&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTE : On my Gutsy install, after a reboot this link was always removed automatically leaving me without an fglrx module loaded, and thus no ATI rendering. There have been several ways of getting around this suggested here, and here is the one that worked for me:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/init.d/ati-module-fix&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And put this in it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh -e&lt;br /&gt;
&lt;br /&gt;
# For loading ATI display drivers&lt;br /&gt;
&lt;br /&gt;
ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko&lt;br /&gt;
exit 0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make it executable&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo chmod ugo+x /etc/init.d/ati-module-fix&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, make this run &#039;&#039;before&#039;&#039; gdm &lt;br /&gt;
&lt;br /&gt;
To check the gdm sequence number, &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ls /etc/rc2.d/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The value for [seqno] in the section below should be the gdm sequence number -1.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo update-rc.d ati-module-fix defaults [seqno]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Hang at logout ===&lt;br /&gt;
&lt;br /&gt;
If you experience hangs when logging out (of X) try disabling 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;
== Revert to Xorg driver ==&lt;br /&gt;
&lt;br /&gt;
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo dpkg-reconfigure xserver-xorg&amp;lt;/pre&amp;gt;&lt;br /&gt;
and selecting the &amp;quot;ati&amp;quot; driver, or simply restoring the previous /etc/X11/xorg.conf file, if you made a backup. &lt;br /&gt;
&lt;br /&gt;
You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install --reinstall libgl1-mesa-glx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
*[[Frequently Asked Questions]]&lt;br /&gt;
*[[Performance Issues]]&lt;br /&gt;
*[[Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>202.7.176.133</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide&amp;diff=4964</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=4964"/>
		<updated>2008-08-02T10:55:41Z</updated>

		<summary type="html">&lt;p&gt;202.7.176.133: /* Follow These Instructions Carefully */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation ==&lt;br /&gt;
&lt;br /&gt;
For most users it won&#039;t be necessary to go into installation and configuration details of the driver. Ubuntu 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;
&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update	&lt;br /&gt;
sudo apt-get install linux-restricted-modules-generic restricted-manager&lt;br /&gt;
sudo apt-get install xorg-driver-fglrx&lt;br /&gt;
sudo depmod -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second line 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&#039;ll may need to edit Xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&amp;lt;/pre&amp;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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aticonfig --initial -f&lt;br /&gt;
&amp;lt;/pre&amp;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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fglrxinfo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]]&lt;br /&gt;
&lt;br /&gt;
==== Post-Installation Tweaks ====&lt;br /&gt;
To enable hardware accelerated video on pre-R500 cards, edit &#039;&#039;&#039;/etc/X11/xorg.conf&#039;&#039;&#039; to include the following lines without &#039;&#039;&#039;[...]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
	Driver		&amp;quot;fglrx&amp;quot;&lt;br /&gt;
	Option		&amp;quot;VideoOverlay&amp;quot;	&amp;quot;on&amp;quot;&lt;br /&gt;
	Option		&amp;quot;OpenGLOverlay&amp;quot;	&amp;quot;off&amp;quot;&lt;br /&gt;
	[...]&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset).  To prevent this, disable Visual Effects.&lt;br /&gt;
&lt;br /&gt;
=== Method 2: Manual Method (installing Catalyst 8.7) ===&lt;br /&gt;
&lt;br /&gt;
https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-7-x86.x86_64.run&lt;br /&gt;
&lt;br /&gt;
(this installer is for 32bit &#039;&#039;&#039;and&#039;&#039;&#039; 64bit systems)&lt;br /&gt;
&lt;br /&gt;
==== Follow These Instructions Carefully ====&lt;br /&gt;
&lt;br /&gt;
Switch to the directory you downloaded this into. (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;
&lt;br /&gt;
If you are using the x86_64 architecture (64 bit), be sure to inst &amp;quot;ia32-libs&amp;quot; before proceeding!&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 build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(package &#039;&#039;&#039;cdbs&#039;&#039;&#039; is required starting with Catalyst 8.7). On my machine it was installed during the package build process following the below command.&lt;br /&gt;
&lt;br /&gt;
Now use the following command to create the .deb files you will be using for installation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh ati-driver-installer-8-7-x86.x86_64.run --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have to blacklist the driver in Ubuntu&#039;s repository, so that the new driver will be used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo gedit /etc/default/linux-restricted-modules-common&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;quot;fglrx&amp;quot; to the line &amp;quot;DISABLED_MODULES&amp;quot;&lt;br /&gt;
{{Box File|/etc/default/linux-restricted-modules-common|&lt;br /&gt;
&amp;lt;pre&amp;gt;DISABLED_MODULES=&amp;quot;fglrx&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Please note that after the modification above, the &amp;quot;Restricted Driver Manager&amp;quot; will signal &amp;quot;ATI accelerated graphics driver&amp;quot; not enabled (unticked). This is perfectly correct. At the end of the installation procedure it will signal in Status: &amp;quot;in use&amp;quot; (green light), but NOT enabled. It simply means that the fglrx module contained in the linux-restricted-modules package is not enabled, but another fglrx module (8.7) is in use.&lt;br /&gt;
&lt;br /&gt;
You may also need to edit the file(s) (if they exist):&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo gedit /etc/modprobe.d/blacklist-restricted&lt;br /&gt;
sudo gedit /etc/modprobe.d/blacklist-local&amp;lt;/pre&amp;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;
Install .debs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i xorg-driver-fglrx_*.deb fglrx-kernel-source_*.deb fglrx-amdcccle_*.deb&lt;br /&gt;
&amp;lt;/pre&amp;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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -f&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Catalyst 8.7 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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.512*.deb fglrx-kernel-source_8.512-0*.deb fglrx-amdcccle_8.512-0*.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When installing the packages, if &amp;lt;tt&amp;gt;xorg-driver-fglrx_8.512&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sh ati-driver-installer-8-7-x86.x86_64.run --extract driver&lt;br /&gt;
cd driver/arch/x86_64/usr/X11R6/lib64&lt;br /&gt;
sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1&lt;br /&gt;
cd ../../../../../&lt;br /&gt;
sudo sh ati-installer.sh -- --buildpkg Ubuntu/hardy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== 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):&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.&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;
:&amp;lt;pre&amp;gt;uname -r&amp;lt;/pre&amp;gt;&lt;br /&gt;
:If the output starts with 2.6.22 or below you are not using the current kernel and the Ati drivers will not load properly.&lt;br /&gt;
&lt;br /&gt;
If this doesn&#039;t help, try [[Ubuntu Gutsy Installation Guide#Verifying]], or other links: [http://wiki.cchtml.com/index.php/Troubleshooting#No_3D_acceleration], [http://www.thinkwiki.org/wiki/Problems_with_fglrx#Perpetual_Mesa_GLX_Indirect_on_Debian], [http://ubuntuforums.org/archive/index.php/t-475699.html].&lt;br /&gt;
&lt;br /&gt;
== 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;
&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.493.1 --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>202.7.176.133</name></author>
	</entry>
</feed>