http://wiki.cchtml.com/api.php?action=feedcontributions&user=84.160.201.25&feedformat=atomcchtml.com - User contributions [en]2024-03-19T07:55:26ZUser contributionsMediaWiki 1.39.4http://wiki.cchtml.com/index.php?title=Ubuntu_Breezy_Installation_Guide&diff=2540Ubuntu Breezy Installation Guide2006-04-22T17:25:55Z<p>84.160.201.25: /* Confirm that it worked */ -- reinstalling restricted modules results in DRI not working cause of wrong fglrx module</p>
<hr />
<div>== Method 1: Installing Breezy's Included Driver (8.16.20) ==<br />
<br />
The fglrx driver supports Radeon 8500+ and the X-series cards (see [http://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/linux_8.16.20.html#173867 release notes]). When running the dpkg-reconfigure commands you can accept the defaults whenever you aren't sure.<br />
<br />
=== Installing the driver ===<br />
<br />
''All Platforms:''<br />
<pre><br />
sudo apt-get install xorg-driver-fglrx<br />
sudo apt-get install linux-restricted-modules-$(uname -r) #Okay if it is already installed<br />
sudo dpkg-reconfigure xserver-xorg #Select the fglrx driver and 64-bit users should deselect int10a<br />
</pre><br />
<br />
''64-bit users:''<br />
<br />
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]<br />
<br />
Change to download directory:<br />
<pre><br />
gunzip libdri.a.gz<br />
sudo cp /usr/X11R6/lib/modules/extensions/libdri.a libdri.a.old<br />
sudo cp libdri.a /usr/X11R6/lib/modules/extensions/<br />
</pre><br />
<br />
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.<br />
<br />
''All platforms:'' Ctrl-Alt-Backspace to restart your desktop.<br />
<br />
=== Confirm that it works ===<br />
<pre><br />
$ fglrxinfo<br />
display: :0.0 screen: 0<br />
OpenGL vendor string: ATI Technologies Inc.<br />
OpenGL renderer string: MOBILITY RADEON 9700 Generic<br />
OpenGL version string: 1.3.5272 (X4.3.0-8.16.20)<br />
</pre><br />
<br />
=== Troubleshooting ===<br />
<br />
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). <br />
<br />
The output of '''dmesg | grep fglrx''' and /var/log/Xorg.0.log are most useful when looking for errors.<br />
<br />
== Method 2: Generating/Installing Ubuntu packages for the newer 8.24.8 drivers in Breezy Badger ==<br />
<br />
'''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).<br />
<br />
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.<br />
<br />
=== Remove existing fglrx driver ===<br />
<br />
Remove Breezy's included drivers if they are installed:<br />
<br />
<pre><br />
sudo apt-get remove xorg-driver-fglrx<br />
sudo apt-get remove fglrx-control<br />
sudo apt-get remove linux-restricted-modules-$(uname -r)<br />
sudo dpkg-reconfigure xserver-xorg #select the "ati" module<br />
</pre><br />
<br />
Reboot.<br />
<br />
=== Installing the new driver ===<br />
<br />
Download the ATI driver installer: [http://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8.24.8-x86.run 32bit Installer]<br />
<br />
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.24.8-x86_64.run 64bit Installer]. The installation procedure should be the same as for 32bit, except some filenames will differ slightly.<br />
<br />
Change to the download directory. Make sure that you have the ''universe'' and ''multiverse'' repositories enabled in ''/etc/apt/sources.list'' before doing these steps. [http://mail3.mpr.org/mlomker/sources.list Sample sources.list]. <br />
<br />
''Install necessary tools:''<br />
<br />
<pre><br />
sudo apt-get install gcc-3.4 module-assistant build-essential <br />
sudo apt-get install fakeroot dh-make debconf libstdc++5 gcc-3.3-base<br />
</pre><br />
<br />
''Create .deb packages:''<br />
<br />
<pre><br />
chmod +x ati-driver-installer-8.24.8-x86.run<br />
LANG=C LC_ALL=C ./ati-driver-installer-8.24.8-x86.run --buildpkg Ubuntu/breezy<br />
</pre><br />
<br />
''Install .deb packages:''<br />
<br />
<pre><br />
sudo dpkg -i xorg-driver-fglrx_8.24.8-1_i386.deb<br />
sudo dpkg -i fglrx-control_8.24.8-1_i386.deb<br />
sudo dpkg -i fglrx-kernel-source_8.24.8-1_i386.deb<br />
</pre><br />
<br />
''Remove any old fglrx deb's from /usr/src/:''<br />
<br />
<pre><br />
sudo rm /usr/src/fglrx-kernel*.deb<br />
</pre><br />
<br />
''Compile the kernel driver:''<br />
<br />
<pre><br />
sudo module-assistant prepare<br />
sudo module-assistant update<br />
sudo module-assistant a-i fglrx<br />
</pre><br />
<br />
''Update the xorg.conf file:''<br />
<br />
<pre><br />
sudo aticonfig --initial<br />
sudo aticonfig --overlay-type=Xv<br />
</pre><br />
<br />
Reboot.<br />
<br />
=== Confirm that it worked ===<br />
<br />
<pre><br />
$ fglrxinfo<br />
display: :0.0 screen: 0<br />
OpenGL vendor string: ATI Technologies Inc.<br />
OpenGL renderer string: RADEON 9700 Generic<br />
OpenGL version string: 2.0.5755 (8.24.8)<br />
</pre><br />
<br />
(''renderer string'' depends on your hardware and may/will be different)<br />
<br />
=== Troubleshooting ===<br />
<br />
==== General ====<br />
<br />
Look for error messages in /var/log/Xorg.0.log and kern.log.<br />
<br />
==== Madwifi Drivers in Breezy Badger ====<br />
In order to continue using the [http://madwifi.org madwifi] driver you can do the following '''before''' removing the linux-restricted-modules package and rebooting.<br />
<pre><br />
sudo cp /lib/modules/$(uname -r)/volatile/ath_hal.ko /lib/modules/$(uname -r)/kernel/<br />
sudo depmod -a $(uname -r)<br />
</pre><br />
<br />
[[Category:Installation Documentation]]</div>84.160.201.25