We are still actively working on the spam issue.
Difference between revisions of "Radeon"
m (→Compiling) |
m (Feature detection is great now) |
||
Line 2: | Line 2: | ||
Radeon is part of the [[GNU/Linux|Linux]] open-source graphics driver stack for AMD/ATI Radeon graphics cards that is often replaced by fglrx, the proprietary alternative, due to seemingly poor 3D acceleration and threading (soon to be provided by Mesa). | Radeon is part of the [[GNU/Linux|Linux]] open-source graphics driver stack for AMD/ATI Radeon graphics cards that is often replaced by fglrx, the proprietary alternative, due to seemingly poor 3D acceleration and threading (soon to be provided by Mesa). | ||
− | |||
− | |||
− | |||
− | |||
==Building from source== | ==Building from source== | ||
− | |||
{{warning|''This is quite bleeding edge and might not work. Should it fail, you will be on your own.''}} | {{warning|''This is quite bleeding edge and might not work. Should it fail, you will be on your own.''}} | ||
Line 18: | Line 13: | ||
=== Requirements & dependencies === | === Requirements & dependencies === | ||
− | `-- media-libs/mesa (>=11.0, preferably -git<sup>[http://www.x.org/wiki/radeonBuildHowTo/]</sup>) | + | `-- media-libs/mesa (>=11.0, preferably -git as this will have a major effect on performance, more so than this component<sup>[http://www.x.org/wiki/radeonBuildHowTo/]</sup>) |
`-- x11-libs/libdrm (>=2.4.58, preferably -git<sup>[http://www.x.org/wiki/radeonBuildHowTo/]</sup>, since this is the library DRI uses) | `-- x11-libs/libdrm (>=2.4.58, preferably -git<sup>[http://www.x.org/wiki/radeonBuildHowTo/]</sup>, since this is the library DRI uses) | ||
`-- x11-libs/libpciaccess (>=0.8.0) | `-- x11-libs/libpciaccess (>=0.8.0) | ||
Line 61: | Line 56: | ||
{{warning|Recompiling the driver will become a necessity after each major X upgrade (eg: 1.16 --> 1.17, not 1.16 --> 1.16.4), due to ABI changes.}} | {{warning|Recompiling the driver will become a necessity after each major X upgrade (eg: 1.16 --> 1.17, not 1.16 --> 1.16.4), due to ABI changes.}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== External links == | == External links == |
Revision as of 15:37, 14 February 2017
Radeon is part of the Linux open-source graphics driver stack for AMD/ATI Radeon graphics cards that is often replaced by fglrx, the proprietary alternative, due to seemingly poor 3D acceleration and threading (soon to be provided by Mesa).
Contents
Building from source
Before starting
Check your cards feature-set: https://wiki.freedesktop.org/xorg/RadeonFeature/#index6h2 "Decoder ring for engineering vs marketing names" will tell you what model your card actually is.
Back your xorg.conf up by issuing sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf~
Requirements & dependencies
`-- media-libs/mesa (>=11.0, preferably -git as this will have a major effect on performance, more so than this component[1]) `-- x11-libs/libdrm (>=2.4.58, preferably -git[2], since this is the library DRI uses) `-- x11-libs/libpciaccess (>=0.8.0) `-- x11-base/xorg-server (ideally, >=1.17) `-- x11-libs/glamor (>=0.6) `-- virtual/udev `-- x11-proto/fontsproto `-- x11-proto/randrproto `-- x11-proto/renderproto `-- x11-proto/videoproto `-- x11-proto/xextproto `-- x11-proto/xf86driproto `-- x11-proto/xproto `-- sys-devel/automake (>1.15) `-- sys-devel/autoconf (>=2.69) `-- sys-devel/libtool (>=2.4) `-- sys-devel/m4 `-- x11-misc/util-macros (>=1.18) `-- media-fonts/font-util (>=1.2.0) `-- virtual/pkgconfig `-- x11-proto/glproto `-- x11-proto/dri2proto `-- x11-proto/dri3proto `-- x11-proto/xineramaproto
Certain package managers can automatically build the dependency tree for you. However, you ought to double check to make sure the above requirements coincide, in terms of versions.
- Aptitude: run
sudo apt-get build-dep xserver-xorg-video-ati
; - Yum: run
sudo yum-builddep xorg-x11-drv-ati
; - Portage: emerge the actual driver to satisfy all dependencies;
- BUILDPKG (Arch): run
sudo makepkg -s xf86-video-ati
.
Compiling
git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-ati
cd xf86-video-ati
./autogen.sh
CFLAGS="-O3 -march=native" ./configure --prefix=/opt/xorg
make -jn
, where n is the number of jobs you want to spawnsudo make install
Example xorg.conf (compulsory reading, since you need to determine the ModulePath under files): http://pastebin.com/raw/aE3e21Bn