Ubuntu: Difference between revisions

From cchtml.com
No edit summary
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Installing Breezy's Included Driver (8.16.20) ==
== Installation ==
*[[Ubuntu_Installation_Guide|Installation Guide]]


The fglrx driver supports Radeon 8500+ and the X-series cards (see [https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/linux_8.16.20.html#172478 release notes])When running the dpkg-reconfigure commands you can accept the defaults whenever you aren't sure.
== Tips and Tricks ==
* 64bit users should note that there is a problem in Breezy with the libdri.a library and fglrx. There is also a problem with the package generation scipts in the 8.18.8 ATI installer. The workaround for both of these problems can be found in the install guide. ''[resolved]: Both problems are fixed in 8.19.10 release.  Always use the latest drivers when possible.''
* To build your own .deb packages for Ubuntu you will need to install at least the following packages from the apt repositories:
** fakeroot
** debhelper
** build-essential
** make
** module-assistant
** gcc-3.4


''' ''Installing the driver'' '''
== Related Resources ==
* [http://ubuntuforums.org/showthread.php?t=75378 Ubuntu Driver Howto]


''All Platforms:''
<pre>
sudo apt-get install xorg-driver-fglrx
sudo apt-get install linux-restricted-modules-$(uname -r) #Okay if it is already installed
sudo dpkg-reconfigure xserver-xorg #Select the fglrx driver and 64-bit users should deselect int10a
</pre>
''64-bit users:''
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]
Change to download directory:
<pre>
gunzip libdri.a.gz
sudo cp /usr/X11R6/lib/modules/extensions/libdri.a libdri.a.old
sudo cp libdri.a /usr/X11R6/lib/modules/extensions/
</pre>
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.
''All platforms:'' Ctrl-Alt-Backspace to restart your desktop.
''Confirm that it works''
<pre>
mlomker@mlomkernote:/$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 1.3.5272 (X4.3.0-8.16.20)
</pre>
''' ''Troubleshooting'' '''
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). 
The output of '''dmesg | grep fglrx''' and /var/log/Xorg.0.log are most useful when looking for errors.
== Installing the latest driver (8.18.x) ==
'''Important Warning:''' 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).
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 ''no'' to the monitor detection--it has caused X-Windows to crash for some people.
''' ''Remove existing fglrx driver'' '''
Remove Breezy's included drivers if they are installed:
<pre>
sudo apt-get remove xorg-driver-fglrx
sudo apt-get remove fglrx-control
sudo apt-get remove linux-restricted-modules-$(uname -r)
sudo dpkg-reconfigure xserver-xorg #Select the ATI driver
</pre>
Reboot.
''' ''Installing the new driver'' '''
Download the ATI driver installer: [https://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&folderID=27 Click here]
''All Platforms:''
Change to the download directory.  You might get some errors regarding dependencies during the dpkg process.  You can ignore them since they should be resolved when you run the ''upgrade'' step.
<pre>
sudo apt-get install gcc-3.4 module-assistant build-essential fakeroot dh-make debconf
sudo sh ./ati-driver-installer-8.18.8-i386.run --buildpkg Ubuntu/breezy
sudo dpkg -i fglrx-control_8.18.8-1_i386.deb
sudo dpkg -i fglrx-kernel-source_8.18.8-1_i386.deb
sudo dpkg -i xorg-driver-fglrx_8.18.8-1_i386.deb
sudo apt-get -f upgrade
</pre>
''Compile the kernel driver:''
<pre>
sudo module-assistant prepare
sudo module-assistant update
sudo module-assistant a-i fglrx
</pre>
''Update the xorg.conf file:''
<pre>
sudo aticonfig --initial
</pre>
''64-bit users:''
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 here].
Change to download directory:
<pre>
gunzip libdri.a.gz
sudo cp /usr/X11R6/lib/modules/extensions/libdri.a libdri.a.old
sudo cp libdri.a /usr/X11R6/lib/modules/extensions/
</pre>
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.
''All platforms:'' Ctrl-Alt-Backspace to restart your session.
''Confirm that it worked''
<pre>
mlomker@mlomkernote:/$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 1.3.5395 (X4.3.0-8.18.8)
</pre>
''' ''Troubleshooting'' '''
''Madwifi Drivers''
<pre>
cd /lib/modules/$(uname -r)/volatile
sudo cp ath_hal.ko ../madwifi
</pre>


[[Category:Distributions]]
[[Category:Distributions]]
[[Category:Installation Documentation]]

Revision as of 18:27, 24 November 2005

Installation

Tips and Tricks

  • 64bit users should note that there is a problem in Breezy with the libdri.a library and fglrx. There is also a problem with the package generation scipts in the 8.18.8 ATI installer. The workaround for both of these problems can be found in the install guide. [resolved]: Both problems are fixed in 8.19.10 release. Always use the latest drivers when possible.
  • To build your own .deb packages for Ubuntu you will need to install at least the following packages from the apt repositories:
    • fakeroot
    • debhelper
    • build-essential
    • make
    • module-assistant
    • gcc-3.4

Related Resources