个人工具
登录
查看“UbuntuHelp:RadeonHD”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:RadeonHD”的源代码
来自Ubuntu中文
←
UbuntuHelp:RadeonHD
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/RadeonHD}} {{Languages|UbuntuHelp:RadeonHD}} == 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) ==== <pre><nowiki> 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> ==== Ubuntu 8.04 (Hardy) ==== <pre><nowiki> 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> 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: <pre><nowiki> cd git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-radeonhd cd xf86-video-radeonhd </nowiki></pre> === 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> cd ~/xf86-video-radeonhd git pull </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]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:RadeonHD
。