summaryrefslogtreecommitdiff
path: root/radeonhd:INSTALL.mdwn
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@freedesktop.org>2013-06-30 20:44:33 -0700
committerJoe Rayhawk <jrayhawk@freedesktop.org>2013-06-30 20:44:33 -0700
commit32861d834d61db0b9cf7578b8d6ddde07b094bbb (patch)
tree7e1ce31f0154f50da33277a018b326d8bc5a8616 /radeonhd:INSTALL.mdwn
parent65606d21cba845f2274d4e791a1a01b7620494bb (diff)
moin2mdwn: convert page radeonhd:INSTALL
Diffstat (limited to 'radeonhd:INSTALL.mdwn')
-rw-r--r--radeonhd:INSTALL.mdwn108
1 files changed, 108 insertions, 0 deletions
diff --git a/radeonhd:INSTALL.mdwn b/radeonhd:INSTALL.mdwn
new file mode 100644
index 00000000..f5b07c2d
--- /dev/null
+++ b/radeonhd:INSTALL.mdwn
@@ -0,0 +1,108 @@
+
+_This is a little howto or install-diary of how i got the radeonhd driver (with xv-support for now) working for my system: debian testing (squeeze) and HD4850. I needed to search on a few different sites to get it finally to work, because there are some errors in any existing howto at x.org or there are some information missing, and people keep asking questions for it in the IRC, so so i decided to create this page, which I think this page is pretty useful._
+
+Preconditions:
+
+
+[[!format txt """
+apt-get install checkinstall build-essential git-core configure-debian automake xorg-dev libtool autoconf pciutils-dev libpciaccess-dev mesa-common-dev libgl1-mesa-dev libdrm-dev x11proto-dri2-dev
+"""]]
+im not sure if _libdrm-dev_ is needed because you have to compile your own version of it - please confirm somebody. _x11proto-dri2-dev_ is only aviable for testing (squeeze) [[x11proto-dri2-dev|http://packages.debian.org/squeeze/x11proto-dri2-dev]]
+[[!format txt """
+apt-get build-dep xserver-xorg-video-radeonhd
+"""]]
+Create a working directory whereever you want to (~/ or /var/tmp/ for example):
+
+
+[[!format txt """
+SRC="/your/working/directory"
+mkdir $SRC
+cd $SRC
+"""]]
+Get and install **DRM**:
+[[!format txt """
+git clone git://anongit.freedesktop.org/mesa/drm
+cd drm/linux-core
+git checkout -b r6xx-r7xx-support origin/r6xx-r7xx-support
+cd ..
+./autogen.sh --prefix=/usr
+make
+make install # as root
+"""]]
+An alternativ for _make & make install_ is _checkinstall_. In the queries you have to answer as necessary.
+
+
+[[!format txt """
+[...]
+./autogen.sh --prefix=/usr
+checkinstall # as root
+# there is a warning: *** Warning: The package version "2.4.3 [...] is not a debian policy complaint one. Please specify an alternate one
+# just type in the version yourself: "2.4.3"
+sudo dpkg -i --force all *.deb
+"""]]
+_force all_ is needed, because it overwrites some files of the libdrm-dev package. As mentioned earlier, I'm not sure if this package is needed for the installation.
+
+Build the modules (_drm.ko/radeon.ko_) and install them:
+[[!format txt """
+cd linux-core
+make DRM_MODULES="radeon"
+sudo make install
+sudo depmod -a
+"""]]
+leave drm and return to your workspace:
+[[!format txt """
+cd $SRC
+"""]]
+Get and install **xf86-video-radeonhd**:
+[[!format txt """
+git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-radeonhd
+cd xf86-video-radeonhd
+./autogen.sh --prefix=/usr
+make
+make install # as root
+"""]]
+If you want to, use _checkinstall_ again like above.
+
+Edit your xorg.conf:
+
+The _Section "Device"_ in your xorg.conf should look like below:
+[[!format txt """
+Section "Device"
+ Identifier "Configured Video Device"
+ Driver "radeonhd"
+ Option "AccelMethod" "EXA"
+ Option "DRI"
+EndSection
+"""]]
+and you have to add this to your xorg.conf
+[[!format txt """
+Section "DRI"
+ Mode 0666
+EndSection
+"""]]
+At this point i prefer rebooting the machine, but stopping x, reload the (new) drm-module and start x again should be enough.
+
+To update **DRM** to its newest version do this:
+[[!format txt """
+cd $SRC
+cd drm
+git pull
+make clean
+./autogen.sh --prefix=/usr
+make
+make install # as root
+cd linux-core
+make clean
+make DRM_MODULES="radeon"
+make install # as root
+"""]]
+To update **xf86-video-radeonhd** to its newest version do this:
+[[!format txt """
+cd $SRC
+cd xf86-video-radeonhd
+git pull
+make clean
+./autogen.sh --prefix=/usr
+make
+make install # as root
+"""]] \ No newline at end of file