Difference between revisions of "Ubuntu"

From cchtml.com
Jump to: navigation, search
 
(manually copy+pasting unsupported adapte)
 
(210 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
== Installing Breezy's Included Driver (8.16.20) ==
+
== Tips and Tricks ==
 +
* To build your own .deb packages for Ubuntu you will need to install at least the following packages from the apt repositories:
 +
** build-essential
 +
** fakeroot
 +
** dh-make
 +
** debconf
 +
** execstack
 +
** dh-modaliases
  
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.
+
* Moreover for latest releases, the following package simplifies module installation:
 +
** dkms
  
''' ''Installing the driver'' '''
+
* If you want to use a newer version of the driver than the one which comes with your distribution and you have ''linux-restricted-modules'' installed, you have to disable the fglrx kernel module from ''linux-restricted-modules'' because it will invariably get in the way of your more recent drivers. Detailed information on how to achieve this can be found in the distribution-specific guides.
  
''All Platforms:''
+
* You can configure the driver with the '''amdconfig''' tool, more information can be found at [[Configuring]].
<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:''
+
=== Old Version gets installed during update ===
 +
When updating a manual install - that is removing the old install and installing the new version -
 +
the old version might get installed again. This was observed starting with 8.10. If this happens it might help to remove the old version then delete the debian package files of the old version and run "sudo apt-get clean" before installing the new version. See the Ubuntu version dependent install documentation for instructions how to perform these steps. As soon as a new Catalyst version (current is 12.10 - as of Nov. 09, 2012) is available, these instructions might get updated.
  
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]
+
Very nice site!
  
Change to download directory:
+
== Installation ==
<pre>
+
* [[Ubuntu Wily Installation Guide| Wily 15.10]]
gunzip libdri.a.gz
+
* [[Ubuntu Vivid Installation Guide| Vivid 15.04]]
sudo cp /usr/X11R6/lib/modules/extensions/libdri.a libdri.a.old
+
* [[Ubuntu Utopic Installation Guide| Utopic 14.10]]
sudo cp libdri.a /usr/X11R6/lib/modules/extensions/
+
* [[Ubuntu Trusty Installation Guide| Trusty 14.04]]
</pre>
+
* [[Ubuntu Saucy Installation Guide| Saucy 13.10]]
 +
* [[Ubuntu Raring Installation Guide| Raring 13.04]]
 +
* [[Ubuntu Quantal Installation Guide| Quantal 12.10]]
 +
* [[Ubuntu Precise Installation Guide| Precise 12.04]]
 +
* [[Ubuntu Oneiric Installation Guide| Oneiric 11.10]]
 +
* [[Ubuntu Natty Installation Guide|Natty 11.04]]
 +
* [[Ubuntu Maverick Installation Guide|Maverick 10.10]]
 +
* [[Ubuntu Lucid Installation Guide|Lucid 10.04]]
 +
* [[Ubuntu Karmic Installation Guide|Karmic 9.10]]
 +
* [[Ubuntu Jaunty Installation Guide|Jaunty 9.04]]
 +
* [[Ubuntu Intrepid Installation Guide|Intrepid 8.10]]
 +
* [[Ubuntu Hardy Installation Guide|Hardy 8.04]]
 +
* [[Ubuntu Gutsy Installation Guide|Gutsy 7.10]]
 +
* [[Ubuntu Feisty Installation Guide|Feisty 7.04]]
 +
* [[Ubuntu Edgy Installation Guide|Edgy 6.10]]
 +
* [[Ubuntu Dapper Installation Guide|Dapper 6.06]]
 +
* [[Ubuntu Breezy Installation Guide|Breezy 5.10]]
  
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.
+
== Unsupported adapter ==
 +
Specific notes for Radeon HD 6xxx cards with no official support yet (see [[Hardware#Not_Yet_Supported_or_Unoffically_Supported]]).
  
''All platforms:'' Ctrl-Alt-Backspace to restart your desktop.
+
After installing the fglrx module, you might get the following message when trying to configure X through aticonfig:
 +
  aticonfig: No supported adapters detected
  
 +
Also you might see that the fglrx module has not been used by Xorg (no line saying ‘‘LoadModule: "fglrx"’’ in /var/log/Xorg.0.log). Also on my system I had segmentation faults from the ati Catalyst Control Center (amdcccle).
  
''Confirm that it works''
+
At this stage, do not panic! This does not necessarily imply a problem with the module, indeed your card may be not officially supported. Numerous reports on forums show that users end up using the drivers successfully anyway, e.g. for an HD 6850 card (BARTS codename). To force Xorg to load the driver for fglrx anyway, just manually create a minimal xorg.conf file, as suggested on this wiki (follow the tutorials). The module should then load and everything else should (hopefully) work. (On my system even the Catalyst Control Center was working at that point.) Except you have the "Unsupported hardware" mark on a corner of the screen, but that is another problem... (Forum users report they have been able to get rid of this as well, although caution should be used as the hack scripts seem not to work with version 11.1 of the Catalyst drivers.)
<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). 
+
== Related Resources ==
 +
* Ubuntuforums.org Video forum: [http://ubuntuforums.org/forumdisplay.php?f=138 Dapper]
  
The output of '''dmesg | grep fglrx''' and /var/log/Xorg.0.log are most useful when looking for errors.
 
  
 +
{{VCT}}
  
== 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'' '''
+
[[Category:Distributions]]
 
 
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>
 

Latest revision as of 19:21, 20 August 2016

Tips and Tricks[edit]

  • To build your own .deb packages for Ubuntu you will need to install at least the following packages from the apt repositories:
    • build-essential
    • fakeroot
    • dh-make
    • debconf
    • execstack
    • dh-modaliases
  • Moreover for latest releases, the following package simplifies module installation:
    • dkms
  • If you want to use a newer version of the driver than the one which comes with your distribution and you have linux-restricted-modules installed, you have to disable the fglrx kernel module from linux-restricted-modules because it will invariably get in the way of your more recent drivers. Detailed information on how to achieve this can be found in the distribution-specific guides.
  • You can configure the driver with the amdconfig tool, more information can be found at Configuring.

Old Version gets installed during update[edit]

When updating a manual install - that is removing the old install and installing the new version - the old version might get installed again. This was observed starting with 8.10. If this happens it might help to remove the old version then delete the debian package files of the old version and run "sudo apt-get clean" before installing the new version. See the Ubuntu version dependent install documentation for instructions how to perform these steps. As soon as a new Catalyst version (current is 12.10 - as of Nov. 09, 2012) is available, these instructions might get updated.

Very nice site!

Installation[edit]

Unsupported adapter[edit]

Specific notes for Radeon HD 6xxx cards with no official support yet (see Hardware#Not_Yet_Supported_or_Unoffically_Supported).

After installing the fglrx module, you might get the following message when trying to configure X through aticonfig:

 aticonfig: No supported adapters detected

Also you might see that the fglrx module has not been used by Xorg (no line saying ‘‘LoadModule: "fglrx"’’ in /var/log/Xorg.0.log). Also on my system I had segmentation faults from the ati Catalyst Control Center (amdcccle).

At this stage, do not panic! This does not necessarily imply a problem with the module, indeed your card may be not officially supported. Numerous reports on forums show that users end up using the drivers successfully anyway, e.g. for an HD 6850 card (BARTS codename). To force Xorg to load the driver for fglrx anyway, just manually create a minimal xorg.conf file, as suggested on this wiki (follow the tutorials). The module should then load and everything else should (hopefully) work. (On my system even the Catalyst Control Center was working at that point.) Except you have the "Unsupported hardware" mark on a corner of the screen, but that is another problem... (Forum users report they have been able to get rid of this as well, although caution should be used as the hack scripts seem not to work with version 11.1 of the Catalyst drivers.)


Related Resources[edit]

  • Ubuntuforums.org Video forum: Dapper



Distribution Neutral Steps

Verifying | Configuring | Troubleshooting