特殊:Badtitle/NS100:RadeonHD:修订间差异
小 新页面: {{From|https://help.ubuntu.com/community/RadeonHD}} {{Languages|UbuntuHelp:RadeonHD}} PAGE UNDER CONSTRUCTION == Introduction == The radeonhd driver, or xf86-video-radeonhd is an X.org vi... |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/RadeonHD}} | {{From|https://help.ubuntu.com/community/RadeonHD}} | ||
{{Languages|UbuntuHelp:RadeonHD}} | {{Languages|UbuntuHelp:RadeonHD}} | ||
== Introduction == | == Introduction == | ||
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 for AMD, with the free documentation provided by AMD. | 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 for AMD, with the free documentation provided by AMD. At the time of this writing, the radeonhd driver offers accelerated 2D/3D for R5x0 (X1k cards & 690G IGP) and basic mode-setting support for R6x0/R7x0 (Radeon HD series). Acceleration for the later cards is forthcoming, pending AMD's lawyers clearing the documentation for public release. For details, see: http://www.phoronix.com/scan.php?page=news_item&px=Njg0Mw | ||
http://www.phoronix.com/forums/showpost.php?p=51176&postcount=5 | |||
== Building radeonhd == | == Building radeonhd == | ||
=== Prerequisite Packages === | === Prerequisite Packages === | ||
Using the following commands will get all the packages one should need: | |||
==== Ubuntu 8.10 (Intrepid) ==== | ==== Ubuntu 8.10 (Intrepid) ==== | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get | sudo apt-get install x11proto* xutils-dev autoconf debhelper diffstat libltdl7-dev libpci-dev quilt libdrm-dev configure-debian git-core gawk xorg-dev libmail-box-perl libgl1-mesa-dev | ||
</nowiki></pre> | </nowiki></pre> | ||
==== Ubuntu 8.04 (Hardy) ==== | ==== Ubuntu 8.04 (Hardy) ==== | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install x11proto* | sudo apt-get install x11proto* xutils-dev autoconf debhelper diffstat libltdl3-dev libpci-dev quilt libdrm-dev configure-debian git-core gawk xorg-dev libmail-box-perl pciutils-dev libgl1-mesa-dev | ||
</nowiki></pre> | |||
Note that in general, | |||
<pre><nowiki> | |||
sudo apt-get build-dep xserver-xorg-video-radeonhd | |||
</nowiki></pre> | </nowiki></pre> | ||
should install all or most of what you need. | |||
=== Obtaining the Latest Source === | === Obtaining the Latest Source === | ||
You can put the source directory in another folder if you'd like | You can put the source directory in another folder if you'd like, we will use your home directory here: | ||
<pre><nowiki> | <pre><nowiki> | ||
cd | cd | ||
git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-radeonhd | |||
cd xf86-video-radeonhd | cd xf86-video-radeonhd | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Adding the m4 Macros === | === Adding the m4 Macros === | ||
The following command will open two files in gedit: | |||
<pre><nowiki> | |||
gedit configure.ac Makefile.am | |||
</nowiki></pre> | |||
In the configure.ac file, paste this into the file: AC_CONFIG_MACRO_DIR([m4]) after the line that reads: AC_CONFIG_AUX_DIR(.) | |||
In the Makefile.am file, paste this: ACLOCAL_AMFLAGS == -I m4 after the line that reads: SUBDIRS == src man utils/conntest | |||
=== Compiling === | |||
<pre><nowiki> | |||
cd ~/xf86-video-radeonhd | |||
libtoolize | |||
./autogen.sh --prefix=/usr | |||
make | |||
sudo make install | |||
</nowiki></pre> | |||
== Configuration == | |||
=== Configuring xorg.conf for radeonhd === | |||
Open your xorg.conf for editing: | |||
<pre><nowiki> | |||
gksudo gedit /etc/X11/xorg.conf | |||
</nowiki></pre> | |||
Now change/add the Driver line in the Device section. You can also add the option for Direct Rendering here. | |||
<pre><nowiki> | |||
Section "Driver" | |||
... | |||
Driver "radeonhd" | |||
Option "DRI" #Only works for X1k cards and RS690 IGP at this time | |||
EndSection | |||
</nowiki></pre> | |||
If you're using DRI, you can explicitly load the dri module. | |||
<pre><nowiki> | |||
Section "Module" | |||
... | |||
Load "dri" | |||
EndSection | |||
</nowiki></pre> | |||
Also, add this section to give non-root applications access to DRI services | |||
<pre><nowiki> | |||
Section "DRI" | |||
Mode 0666 | |||
EndSection | |||
</nowiki></pre> | |||
Save the file and quit. The changes will take place the next time you restart. | |||
=== Configuring Compiz === | |||
Open the compiz script for editing: | |||
<pre><nowiki> | |||
gksudo gedit /usr/bin/compiz | |||
</nowiki></pre> | |||
Now find the WHITELIST= line and add radeonhd so it looks like: | |||
<pre><nowiki> | |||
WHITELIST="nvidia intel ati radeon i810 fglrx radeonhd" | |||
</nowiki></pre> | |||
== Testing Direct Rendering (DRI) == | |||
<pre><nowiki> | |||
glxinfo | grep direct | |||
</nowiki></pre> | |||
The above command should return "direct rendering: Yes" | |||
== Updating The Driver/Source == | |||
Check the following link to see if the driver has been updated since you've installed it: | |||
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=summary | |||
If so, you can pull the updates and recompile the driver to update it: | |||
<pre><nowiki> | <pre><nowiki> | ||
cd ~/xf86-video-radeonhd | |||
git pull | |||
</nowiki></pre> | </nowiki></pre> | ||
Now follow the directions in the Compiling Section again. | |||
== Pre-built packages == | |||
Unofficial test packages updated from git can also be found at https://launchpad.net/~tormodvolden/+archive | |||
---- | ---- | ||
[[category:CategoryCleanup]] [[category:CategoryHardware]] | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年12月16日 (二) 19:56的版本
文章出处: |
{{#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
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 for AMD, with the free documentation provided by AMD. At the time of this writing, the radeonhd driver offers accelerated 2D/3D for R5x0 (X1k cards & 690G IGP) and basic mode-setting support for R6x0/R7x0 (Radeon HD series). Acceleration for the later cards is forthcoming, pending AMD's lawyers clearing the documentation for public release. For details, see: http://www.phoronix.com/scan.php?page=news_item&px=Njg0Mw http://www.phoronix.com/forums/showpost.php?p=51176&postcount=5
Building radeonhd
Prerequisite Packages
Using the following commands will get all the packages one should need:
Ubuntu 8.10 (Intrepid)
sudo apt-get install x11proto* xutils-dev autoconf debhelper diffstat libltdl7-dev libpci-dev quilt libdrm-dev configure-debian git-core gawk xorg-dev libmail-box-perl libgl1-mesa-dev
Ubuntu 8.04 (Hardy)
sudo apt-get install x11proto* xutils-dev autoconf debhelper diffstat libltdl3-dev libpci-dev quilt libdrm-dev configure-debian git-core gawk xorg-dev libmail-box-perl pciutils-dev libgl1-mesa-dev
Note that in general,
sudo apt-get build-dep xserver-xorg-video-radeonhd
should install all or most of what you need.
Obtaining the Latest Source
You can put the source directory in another folder if you'd like, we will use your home directory here:
cd git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-radeonhd cd xf86-video-radeonhd
Adding the m4 Macros
The following command will open two files in gedit:
gedit configure.ac Makefile.am
In the configure.ac file, paste this into the file: AC_CONFIG_MACRO_DIR([m4]) after the line that reads: AC_CONFIG_AUX_DIR(.) In the Makefile.am file, paste this: ACLOCAL_AMFLAGS == -I m4 after the line that reads: SUBDIRS == src man utils/conntest
Compiling
cd ~/xf86-video-radeonhd libtoolize ./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 "Driver" ... Driver "radeonhd" Option "DRI" #Only works for X1k cards and RS690 IGP at this time EndSection
If you're using DRI, you can explicitly load the dri module.
Section "Module" ... Load "dri" 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.
Configuring Compiz
Open the compiz script for editing:
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"
Testing Direct Rendering (DRI)
glxinfo | grep direct
The above command should return "direct rendering: Yes"
Updating The Driver/Source
Check the following link to see if the driver has been updated since you've installed it: http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=summary If so, you can pull the updates and recompile the driver to update it:
cd ~/xf86-video-radeonhd git pull
Now follow the directions in the Compiling Section again.
Pre-built packages
Unofficial test packages updated from git can also be found at https://launchpad.net/~tormodvolden/+archive