Ubuntu: Difference between revisions

From cchtml.com
No edit summary
(181 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
== General Status ==
== Tips and Tricks ==
* Included with Distribution
* To build your own .deb packages for Ubuntu you will need to install at least the following packages from the apt repositories:
* Native Installer Support contributed by Aric Cyr
** 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 ===
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.


== Installation ==
== Installation ==
*[[Ubuntu_Breezy_Installation_Guide|Breezy (5.10) Installation Guide]]
* [[Ubuntu Wily Installation Guide| Wily 15.10]]
*[[Ubuntu_Dapper_Installation_Guide|Dapper (6.06) Installation Guide]]
* [[Ubuntu Vivid Installation Guide| Vivid 15.04]]
*[[Ubuntu_Edgy_Installation_Guide|Edgy (6.10) Installation Guide]] '''(Warning: untested guide!)'''
* [[Ubuntu Utopic Installation Guide| Utopic 14.10]]
* [[Ubuntu Trusty Installation Guide| Trusty 14.04]]
* [[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]]


== Tips and Tricks ==
== Unsupported adapter ==
* 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.''
Specific notes for Radeon HD 6xxx cards with no official support yet (see [[Hardware#Not_Yet_Supported_or_Unoffically_Supported]]).
* To build your own .deb packages for Ubuntu you will need to install at least the following packages from the apt repositories:
 
** fakeroot
After installing the fglrx module, you might get the following message when trying to configure X through aticonfig:
** debhelper
  aticonfig: No supported adapters detected
** build-essential
** make
** module-assistant
** gcc-3.4
* I found the generated packages for Breezy x86_64 broken in 8.21.7. The package xorg-driver-fglrx includes a libdri.a that is supposed to replace the original one from xserver-xorg-core. However the installation with dpkg fails, refusing to overwrite the existing libdri.a. If I run dpkg --force-overwrite the installation succeeds but the new libdri.a is saved as libdri.a.distrib. I had to manually copy it to libdri.a in order to get 3D acceleration working. Something weird going on with diversions.


* If you have linux-restricted-modules installed, you may want to disable the l-r-m packages fglrx kernel module because it will invariably get in the way of your more recent drivers.  To do this edit /etc/default/linux-restricted-modules-common and disable fglrx.
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 ==
== Related Resources ==
* [http://ubuntuforums.org/forumdisplay.php?f=114 Ubuntuforums.org Video forum]
* Ubuntuforums.org Video forum: [http://ubuntuforums.org/forumdisplay.php?f=138 Dapper]





Revision as of 22:51, 24 November 2015

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
  • 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

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.

Installation

Unsupported adapter

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

  • Ubuntuforums.org Video forum: Dapper



Distribution Neutral Steps

Verifying | Configuring | Troubleshooting