特殊:Badtitle/NS100:RadeonHD
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/RadeonHD }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/af | • {{#if: UbuntuHelp:RadeonHD|Afrikaans| [[::RadeonHD/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/ar | • {{#if: UbuntuHelp:RadeonHD|العربية| [[::RadeonHD/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/az | • {{#if: UbuntuHelp:RadeonHD|azərbaycanca| [[::RadeonHD/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/bcc | • {{#if: UbuntuHelp:RadeonHD|جهلسری بلوچی| [[::RadeonHD/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/bg | • {{#if: UbuntuHelp:RadeonHD|български| [[::RadeonHD/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/br | • {{#if: UbuntuHelp:RadeonHD|brezhoneg| [[::RadeonHD/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/ca | • {{#if: UbuntuHelp:RadeonHD|català| [[::RadeonHD/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/cs | • {{#if: UbuntuHelp:RadeonHD|čeština| [[::RadeonHD/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/de | • {{#if: UbuntuHelp:RadeonHD|Deutsch| [[::RadeonHD/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/el | • {{#if: UbuntuHelp:RadeonHD|Ελληνικά| [[::RadeonHD/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/es | • {{#if: UbuntuHelp:RadeonHD|español| [[::RadeonHD/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/fa | • {{#if: UbuntuHelp:RadeonHD|فارسی| [[::RadeonHD/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/fi | • {{#if: UbuntuHelp:RadeonHD|suomi| [[::RadeonHD/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/fr | • {{#if: UbuntuHelp:RadeonHD|français| [[::RadeonHD/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/gu | • {{#if: UbuntuHelp:RadeonHD|ગુજરાતી| [[::RadeonHD/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/he | • {{#if: UbuntuHelp:RadeonHD|עברית| [[::RadeonHD/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/hu | • {{#if: UbuntuHelp:RadeonHD|magyar| [[::RadeonHD/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/id | • {{#if: UbuntuHelp:RadeonHD|Bahasa Indonesia| [[::RadeonHD/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/it | • {{#if: UbuntuHelp:RadeonHD|italiano| [[::RadeonHD/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/ja | • {{#if: UbuntuHelp:RadeonHD|日本語| [[::RadeonHD/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/ko | • {{#if: UbuntuHelp:RadeonHD|한국어| [[::RadeonHD/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/ksh | • {{#if: UbuntuHelp:RadeonHD|Ripoarisch| [[::RadeonHD/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/mr | • {{#if: UbuntuHelp:RadeonHD|मराठी| [[::RadeonHD/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/ms | • {{#if: UbuntuHelp:RadeonHD|Bahasa Melayu| [[::RadeonHD/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/nl | • {{#if: UbuntuHelp:RadeonHD|Nederlands| [[::RadeonHD/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/no | • {{#if: UbuntuHelp:RadeonHD|norsk| [[::RadeonHD/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/oc | • {{#if: UbuntuHelp:RadeonHD|occitan| [[::RadeonHD/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/pl | • {{#if: UbuntuHelp:RadeonHD|polski| [[::RadeonHD/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/pt | • {{#if: UbuntuHelp:RadeonHD|português| [[::RadeonHD/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/ro | • {{#if: UbuntuHelp:RadeonHD|română| [[::RadeonHD/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/ru | • {{#if: UbuntuHelp:RadeonHD|русский| [[::RadeonHD/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/si | • {{#if: UbuntuHelp:RadeonHD|සිංහල| [[::RadeonHD/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/sq | • {{#if: UbuntuHelp:RadeonHD|shqip| [[::RadeonHD/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/sr | • {{#if: UbuntuHelp:RadeonHD|српски / srpski| [[::RadeonHD/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/sv | • {{#if: UbuntuHelp:RadeonHD|svenska| [[::RadeonHD/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/th | • {{#if: UbuntuHelp:RadeonHD|ไทย| [[::RadeonHD/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/tr | • {{#if: UbuntuHelp:RadeonHD|Türkçe| [[::RadeonHD/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/vi | • {{#if: UbuntuHelp:RadeonHD|Tiếng Việt| [[::RadeonHD/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/yue | • {{#if: UbuntuHelp:RadeonHD|粵語| [[::RadeonHD/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/zh | • {{#if: UbuntuHelp:RadeonHD|中文| [[::RadeonHD/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/zh-hans | • {{#if: UbuntuHelp:RadeonHD|中文(简体)| [[::RadeonHD/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:RadeonHD | UbuntuHelp:RadeonHD | {{#if: | :}}RadeonHD}}/zh-hant | • {{#if: UbuntuHelp:RadeonHD|中文(繁體)| [[::RadeonHD/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:RadeonHD|:RadeonHD|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :RadeonHD/zh | | {{#ifexist: RadeonHD/zh | | {{#ifeq: {{#titleparts:RadeonHD|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:RadeonHD|1|-1|}} | zh | | }}
Introduction
This document details building the open-source "radeonhd" driver. This shouldn't be necessary unless you're having problems with the open-source "ati/radeon" driver that comes pre-installed with Ubuntu. If you were looking for instructions on installing the proprietary ATI Catalyst/fglrx Linux drivers, see: http://wiki.cchtml.com/index.php/Ubuntu_Jaunty_Installation_Guide The radeonhd driver, or xf86-video-radeonhd is an X.org video driver for R500 and newer ATI graphics devices. It is being developed by Novell/SuSE for AMD, with the free documentation provided by AMD. At the time of this writing, the radeonhd driver offers accelerated 2D/3D/Xv for R5x0 (X1k cards & 690G IGP) and accelerated 2D/Xv support for R6x0/R7x0 (Radeon HD series). 3D acceleration for RadeonHD cards is under development at the time of this writing. You can keep track of when acceleration and other features are supported here: http://www.x.org/wiki/RadeonFeature
Preparation
Previous or current installations of ATI's proprietary Catalyst/fglrx drivers are known to interfere with the installation of the open-source drivers. If you've installed the proprietary drivers through Ubuntu:
sudo apt-get purge xorg-driver-fglrx fglrx-amdcccle fglrx-kernel-source xorg-driver-fglrx-dev
If you've installed proprietary drivers downloaded from ATI/AMD's website:
sudo sh /usr/share/ati/fglrx-uninstall.sh
To make sure you have the correct version of libGL:
sudo apt-get --reinstall install libgl1-mesa-glx
Prerequisite Packages
Using the following commands will get all the packages you'll need:
Ubuntu 9.04/Jaunty or 8.10/Intrepid
sudo apt-get install x11proto* xutils-dev autoconf libltdl7-dev libpciaccess-dev libdrm-dev git-core gawk xorg-dev libgl1-mesa-dev pciutils-dev
Getting DRM Kernel Modules
Notes: The commands in this section are unnecessary for people running Ubuntu 9.04 Jaunty or Radeon X1k/690G users. These commands assume you're running the kernel provided by Ubuntu.
cd ~/ git clone git://anongit.freedesktop.org/mesa/drm cd drm git checkout -b r6xx-r7xx-support origin/r6xx-r7xx-support ./autogen.sh cd linux-core make radeon.o drm.o sudo cp drm.ko /lib/modules/`uname -r`/kernel/drivers/gpu/drm/ sudo cp radeon.ko /lib/modules/`uname -r`/kernel/drivers/gpu/drm/radeon/
Building radeonhd
Note: Make sure you're connected to the internet when running the git command
cd ~/ git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-radeonhd cd xf86-video-radeonhd ./autogen.sh --prefix=/usr make sudo make install
Configuration
Configuring xorg.conf for radeonhd
Open your xorg.conf for editing:
gksudo gedit /etc/X11/xorg.conf
Now change/add the Driver line in the Device section. You can also add the option for Direct Rendering here.
Section "Device" ... Driver "radeonhd" Option "DRI" Option "AccelMethod" "EXA" EndSection
Also, add this section to give non-root applications access to DRI services
Section "DRI" Mode 0666 EndSection
Save the file and quit. The changes will take place the next time you restart X.
Configuring Compiz
Note: Compiz requires 3D acceleration, so it will only work for Radeon X1k and 690G-based graphics units at the time of this writing:
gksudo gedit /usr/bin/compiz
Now find the WHITELIST= line and add radeonhd so it looks like:
WHITELIST="nvidia intel ati radeon i810 fglrx radeonhd"
Diagnostic Commands
Radeon X1k and RS6x0
glxinfo | grep "renderer string"
This command should return a line that looks like "OpenGL renderer string: Mesa DRI R300..." If it returns "software rasterizing" then it would be a good idea to have an expert look through your /var/log/Xorg.0.log file to see what's wrong.
RadeonHD 2k-4k
cat /var/log/Xorg.0.log | grep "Direct rendering enabled"
This command should return "(II) RADEONHD(0): Direct rendering enabled" if the DRM module loaded properly.
Updating The Driver/Source
Check the following link to see if the driver has been updated since you've installed it: http://cgit.freedesktop.org/xorg/driver/xf86-video-radeonhd/ If so, you can pull the updates and recompile the driver to update it:
cd ~/xf86-video-radeonhd git pull ./autogen.sh --prefix=/usr make sudo make install
Pre-built .deb packages
Unofficial test packages updated from git can also be found at https://launchpad.net/~tormodvolden/+archive
Additional Help
The developers of this driver often respond to technical support requests at: http://www.phoronix.com/forums/forumdisplay.php?f=43 For IRC, the developers can be found at #radeonhd on freenode.net