summaryrefslogtreecommitdiff
path: root/radeon:r6xx_r7xx_branch.mdwn
blob: 1f28562d7c933ee60932e11f15c384401965dcb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34


# r6xx-r7xx-branch

Here are some instructions in order to try out the experimental branch of the kernel drm driver together with a new [[radeon|radeon]] (also know as ati) X.org driver which utilizes it. The alternative driver, [[radeonhd|radeonhd]], can also [[utilize|radeonhd:r6xx_r7xx_branch]] the same drm branch for the same features. 

The kernel drm driver should currently provide EXA acceleration and Xv acceleration for all Radeon HD 2000 - HD 4000 series. 


## How to build

The driver is supported automatically in Linux kernel 2.6.30 and newer, in which case the instructions on this page are not needed. Support is also backported to Fedora 11 and Ubuntu 9.04 which have older kernels. 

* Make sure you use 6.12.0 or newer version of the [[radeon|radeon]] (xf86-video-ati) driver (newest [[6.12.2|http://xorg.freedesktop.org/archive/individual/driver/xf86-video-ati-6.12.2.tar.bz2]]). The R6xx-R7xx support was merged to xf86-video-ati master on Feb 26th, 2009. 
* checkout the source for the drm: 

[[!format txt """
   git clone git://anongit.freedesktop.org/mesa/drm
"""]]
* switch drm to the experimental branch and build its modules:  

[[!format txt """
   git checkout -b r6xx-r7xx-support origin/r6xx-r7xx-support
"""]]
* build the drm modules : 

[[!format txt """
   cd drm/linux-core
   make radeon.o drm.o
   sudo cp radeon.ko drm.ko /lib/modules/YOUR_KERNEL_VERSION/kernel/drivers/char/drm/
"""]]
This last path will likely depend upon your linux distribution. 

* EXA acceleration and XVideo support should now be enabled by default.