Changes

Jump to: navigation, search

Ubuntu Precise Installation Guide

898 bytes added, 16:17, 29 January 2013
m
Protected "Ubuntu Precise Installation Guide": Excessive vandalism (‎[edit=autoconfirmed] (expires 21:17, 12 February 2013 (UTC)) ‎[move=autoconfirmed] (expires 21:17, 12 February 2013 (UTC)))
* '''vesa''' - very basic, lacks 2D/3D acceleration, and focuses on compatibility with all VESA-compliant graphics cards. It is good for starting the GUI environment when no accelerated driver is available/working, and little else.
* '''ati''' - actually a thin wrapper that will invoke the radeon driver (or another ati open-source driver for pre-Radeon cards).
* '''radeon''' - open source driver supporting all Radeon cards. This driver has excellent 2D acceleration and compatibility with the Linux graphics stack. 3D acceleration is sufficient for desktop effects and a nice set of native Linux games. Power management is now comparable to the Catalyst driver.* '''Catalyst (a.k.a fglrx)''' a proprietary "blob" (closed source binary) driver designed by ATI, with 3D code based off of their Windows driver. Only RadeonHD chips are supported on recent Linux distros. You may want to use this driver for longer battery life on a laptop or for more demanding 3D applications.
= Updated Open Source Driver PPA's =
|-
| <br />NOTE: If you enter your card information on AMD/ATI's driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn't support X servers past 1.5, and it will not work with Precise (or anything later than Lucid/10,04)! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the 'Removing the Driver' section to restore the default/pre-installed drivers.<br /><br />
|}
 
{| WIDTH="650" cellpadding=0 cellspacing=0 style="background-color: red; border: solid 1px #666666; color: #ffffff; text-align: center;"
| style="background-color: #666666; border: solid 1px #666666; border-bottom: 1px solid #888;" | <font size="-1">'''ATTENTION RADEONHD 2x00-4xx0 series USERS'''</font>
|-
| <br />NOTE: The last Catalyst release to support your card is the 12-6 Legacy release:
| wget http://www2.ati.com/drivers/legacy/12-6/amd-driver-installer-12.6-legacy-x86.x86_64.zip.<br /><br />
|}
== Installing Catalyst Manually (from AMD/ATI's site) ==
 
IMPORTANT NOTE: Installing Catalyst 12-4 on 32-bit Precise currently requires a patch. It is recommended to use the fglrx package from Ubuntu instead, but the patch procedure can be found here: http://ubuntuforums.org/showthread.php?t=1969827
I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl '''+ Shift''' + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).
''If you are using the x86_64 architecture (64 bit)'':
sudo apt-get install ia32-libs-multiarch:i386 lib32gcc1 libc6-i386 cd If your ''/usr ; sudo ln -svT lib etc/usrmodprobe.d/lib64blacklist-local.conf'' contains ''blacklist fglrx'' make sure you comment out this line by adding a ''#'' in front of it.
===''Download the latest Catalyst package.''===
This package contains both the 32-bit and 64-bit driver.
cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/ wget <nowiki>http://www2.ati.com/drivers/linux/amd-driver-installer-</nowiki>{{Catalystdashversion}}catalyst-12.10-x86.x86_64.zip unzip amd-driver-installer-catalyst-12.10-x86.x86_64.runzip chmod +x amd-driver-installer-{{Catalystdashversion}}catalyst-12.10-x86.x86_64.run
===''Create and install .deb packages.'' ===
sudo sh ./amd-driver-installer-{{Catalystdashversion}}catalyst-12.10-x86.x86_64.run --buildpkg Ubuntu/precise
sudo dpkg -i fglrx*.deb
XBMC has added support for accelerating video using XvBA/libxvba directly, but the support is currently not in the xbmc package in Ubuntu's repositories. To install the XvBA-enabled version of xbmc:
sudo apt-add-repository ppa:wsnipex/xbmc-xvba-eden
sudo apt-get update
sudo apt-get install xbmc
sudo amdconfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1
== Using the xvba-va Driver (VA-API) ==
This can happen if your card's PCI ID wasn't officially certified to work with a particular version of Catalyst. It does not necessarily mean that your card is unsupported, but it does mean that you shouldn't file bugs with that particular card/driver combination. If you installed the driver by downloading it from AMD/ATI, installing a newer version of Catalyst will probably help.
If you installed the proprietary driver included with Ubuntu or you do not want to upgrade to a newer version, it may be possible to work around the issue by using a control file from a newer older version of Catalyst than the one you're running. cd ~/; mkdir catalyst{{Catalystversion}}catalyst12.4; cd catalyst{{Catalystversion}}catalyst12.4/ wget <nowiki>http://www2.ati.com/drivers/linux/amd-driver-installer-</nowiki>{{Catalystdashversion}}12-4-x86.x86_64.run chmod +x amd-driver-installer-{{Catalystdashversion}}12-4-x86.x86_64.run sh amd-driver-installer-{{Catalystdashversion}}12-4-x86.x86_64.run --extract driver
sudo mv /etc/ati/control ~/control.bak
sudo cp driver/common/etc/ati/control /etc/ati
This can happen when your /tmp folder is mounted with the option "noexec". The noexec is suggested by many howtos regarding Ubuntu on SSD, when placing the /tmp in memory.
A workaround can be found here: [http://serialized.net/2010/03/getting-around-tmpfs-noexec-problems/]
 
== Errors during deb generation ==
You may recieve errors if you do not have devscripts, dh-make, execstack and dh-modaliases installed. Run apt-get to install, and the errors go away and the deb is generated correctly.
 
If you recieve the error dpkg-buildpackage: not found:
sudo apt-get install devscripts
 
If you recieve the error make: dh: command not found:
sudo apt-get install dh-make
 
If you recieve the error make: execstack: Command not found:
sudo apt-get install execstack
 
If you recieve the error make: dh_modaliases: Command not found:
sudo apt-get install dh-modaliases
== Black screen after uninstalling old amd drivers ==

Navigation menu