summaryrefslogtreecommitdiff
path: root/radeonhd:experimental_3D.mdwn
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@freedesktop.org>2013-07-08 08:48:54 +0000
committerJoe Rayhawk <jrayhawk@freedesktop.org>2013-07-08 08:48:54 +0000
commita230726bcddd151510f3578400e682ccf0886bc0 (patch)
treecf310f4b1c051e827cbbbe884e68cd42cfa1c3ed /radeonhd:experimental_3D.mdwn
parent778329ced8fa2ea309d5dd4071c55130029c239e (diff)
moin2mdwn: convert page radeonhd:experimental_3D
Diffstat (limited to 'radeonhd:experimental_3D.mdwn')
-rw-r--r--radeonhd:experimental_3D.mdwn61
1 files changed, 61 insertions, 0 deletions
diff --git a/radeonhd:experimental_3D.mdwn b/radeonhd:experimental_3D.mdwn
new file mode 100644
index 00000000..54dee0e6
--- /dev/null
+++ b/radeonhd:experimental_3D.mdwn
@@ -0,0 +1,61 @@
+
+Note - these instructions were written while 6xx/7xx 3D support was under development. If you have reasonably up to date radeonhd (1.3.0 or higher), kernel (2.6.32 or higher) and mesa (7.7 or higher) you shouldn't need to follow *any* of the instructions on this page ;)
+
+
+# Radeon HD 2000 - HD 4000 series: Installing Experimental 3D Support
+
+** This howto should be usable already, but still may have some issues depending on distro you use. You also should have installed needed devel packages. **
+
+This guide is to instruct users to install **experimental** open source 3D support for Radeon HD 2000 - Radeon HD 4000 series (also known as R6xx/R7xx series). The instructions apply to both users of [[radeon|radeon]] (ati) and [[radeonhd|radeonhd]] X.org drivers.
+
+** Note R6xx/R7xx mesa code from 6xx-rewrite branch has been merged to master. Don't use that branch anymore **
+
+
+## Upstream status
+
+* DRM support for 3D is available in kernel since 2.6.32
+* DRM in kernel 2.6.33 contains IRQ support
+* Mesa r600 driver was added in 7.6.1, however it it good idea to use 7.7 at least
+
+## How to build drm stuff
+
+
+[[!format txt """
+ git clone git://anongit.freedesktop.org/~agd5f/drm
+ cd drm
+ git checkout -t -b r6xx-r7xx-3d origin/r6xx-r7xx-3d
+ ./autogen.sh --prefix=$(pkg-config --variable=prefix libdrm) --libdir=$(pkg-config --variable=libdir libdrm) --includedir=$(pkg-config --variable=includedir libdrm)
+ make
+ sudo make install
+"""]]
+
+[[!format txt """
+ cd linux-core
+ make
+ sudo make install
+"""]]
+
+## How to build Mesa
+
+
+[[!format txt """
+ git clone git://anongit.freedesktop.org/mesa/mesa
+ cd mesa
+ git checkout -t -b master origin/master
+ ./autogen.sh --with-dri-drivers=swrast,r600 --libdir=$(pkg-config --variable=libdir dri) --includedir=$(pkg-config --variable=includedir dri) --disable-gallium --enable-debug
+ make
+ sudo make install
+"""]]
+
+## Troubleshooting
+
+* /usr/include/drm/radeon_cs.h:185: error: ‘RADEON_GEM_DOMAIN_VRAM’ undeclared (first use in this function)[[!format txt """
+ mv /usr/lib/pkgconfig/libdrm_radeon.pc /usr/lib/pkgconfig/libdrm_radeon.pc.copy
+ mv /usr/lib64/pkgconfig/libdrm_radeon.pc /usr/lib64/pkgconfig/libdrm_radeon.pc.copy
+"""]]Of course only one of these commands is needed. After moving libdrm_radeon.pc remember to call autogen again
+* egl_tracker.h:134: error: expected specifier-qualifier-list before ‘drmModeModeInfoPtr’
+You really should disable gallium for now. See suggested Mesa's autogen.sh parameters.
+
+## 3D application statuses
+
+Check [[RadeonProgram|RadeonProgram]] for info about supported applications.