diff options
author | Jose V Beneyto <joberui@ei.upv.es> | 2007-02-23 12:23:37 +0100 |
---|---|---|
committer | Jose V Beneyto <joberui@ei.upv.es> | 2007-02-23 12:23:37 +0100 |
commit | e2e695b77d7da58fd1861e72f383e75da00d1fba (patch) | |
tree | 493b33e2ed44f8e2bb61febcc5d1369513e48f93 /ati | |
parent | bda6b7c784f3a6cd2be0dad4eee1ecc125493195 (diff) | |
download | contrib-e2e695b77d7da58fd1861e72f383e75da00d1fba.tar.gz contrib-e2e695b77d7da58fd1861e72f383e75da00d1fba.tar.xz |
ati: initial commit, this is the lastest ati propietary driver.
Diffstat (limited to 'ati')
-rw-r--r-- | ati/.footprint | 56 | ||||
-rw-r--r-- | ati/.md5sum | 2 | ||||
-rw-r--r-- | ati/Pkgfile | 37 | ||||
-rw-r--r-- | ati/README | 36 | ||||
-rw-r--r-- | ati/atieventsd.sh | 23 |
5 files changed, 154 insertions, 0 deletions
diff --git a/ati/.footprint b/ati/.footprint new file mode 100644 index 000000000..2b41177d8 --- /dev/null +++ b/ati/.footprint @@ -0,0 +1,56 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/ati/ +-r-xr-xr-x root/root etc/ati/authatieventsd.sh +-r--r--r-- root/root etc/ati/fglrxprofiles.csv +-r--r--r-- root/root etc/ati/fglrxrc +drwxr-xr-x root/root etc/rc.d/ +-rwxr-xr-x root/root etc/rc.d/atieventsd +drwxr-xr-x root/root lib/ +drwxr-xr-x root/root lib/modules/ +drwxr-xr-x root/root lib/modules/<kernel-version>/ +drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/ +drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/ +drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/char/ +drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/char/drm/ +-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/char/drm/fglrx.ko +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/X11R6/ +drwxr-xr-x root/root usr/X11R6/bin/ +-rwxr-xr-x root/root usr/X11R6/bin/aticonfig +-rwxr-xr-x root/root usr/X11R6/bin/fgl_glxgears +-rwxr-xr-x root/root usr/X11R6/bin/fglrx_xgamma +-rwxr-xr-x root/root usr/X11R6/bin/fglrxinfo +-rwxr-xr-x root/root usr/X11R6/bin/fireglcontrolpanel +drwxr-xr-x root/root usr/X11R6/include/ +drwxr-xr-x root/root usr/X11R6/include/X11/ +drwxr-xr-x root/root usr/X11R6/include/X11/extensions/ +-r--r--r-- root/root usr/X11R6/include/X11/extensions/fglrx_gamma.h +drwxr-xr-x root/root usr/X11R6/lib/ +-rwxr-xr-x root/root usr/X11R6/lib/libGL_so_1_2_ati +-rw-r--r-- root/root usr/X11R6/lib/libatixutil.a +-rw-r--r-- root/root usr/X11R6/lib/libfglrx_dm.a +-rwxr-xr-x root/root usr/X11R6/lib/libfglrx_dm.so.1.0 +-rw-r--r-- root/root usr/X11R6/lib/libfglrx_gamma.a +-rwxr-xr-x root/root usr/X11R6/lib/libfglrx_gamma.so.1.0 +-rw-r--r-- root/root usr/X11R6/lib/libfglrx_pp.a +-rwxr-xr-x root/root usr/X11R6/lib/libfglrx_pp.so.1.0 +-rw-r--r-- root/root usr/X11R6/lib/libfglrx_tvout.a +-rwxr-xr-x root/root usr/X11R6/lib/libfglrx_tvout.so.1.0 +drwxr-xr-x root/root usr/X11R6/lib/modules/ +drwxr-xr-x root/root usr/X11R6/lib/modules/dri/ +-rwxr-xr-x root/root usr/X11R6/lib/modules/dri/atiogl_a_dri.so +-rwxr-xr-x root/root usr/X11R6/lib/modules/dri/fglrx_dri.so +drwxr-xr-x root/root usr/X11R6/lib/modules/drivers/ +-rwxr-xr-x root/root usr/X11R6/lib/modules/drivers/fglrx_drv.so +drwxr-xr-x root/root usr/X11R6/lib/modules/linux/ +-rwxr-xr-x root/root usr/X11R6/lib/modules/linux/libfglrxdrm.so +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/GL/ +-r--r--r-- root/root usr/include/GL/glATI.h +-r--r--r-- root/root usr/include/GL/glxATI.h +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/atieventsd +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man8/ +-r--r--r-- root/root usr/share/man/man8/atieventsd.8.gz diff --git a/ati/.md5sum b/ati/.md5sum new file mode 100644 index 000000000..e5f2b7d6c --- /dev/null +++ b/ati/.md5sum @@ -0,0 +1,2 @@ +5fbd42d666d467a904acbaeb600c1d5a ati-driver-installer-8.33.6-x86.x86_64.run +e4d8a8b28ae298b673c492c34799d515 atieventsd.sh diff --git a/ati/Pkgfile b/ati/Pkgfile new file mode 100644 index 000000000..2bc3262cb --- /dev/null +++ b/ati/Pkgfile @@ -0,0 +1,37 @@ +# Description: ATI Proprietary Linux Display Driver +# URL: http://www.ati.com/support/drivers/linux/radeon-linux.html +# Maintainer: Jose V Beneyto, joberui at ei dot upv dot es +# Packager: Jose V Beneyto, joberui at ei dot upv dot es +# Depends on: mesa3d, gl-select + +name=ati +version=8.33.6 +release=1 +source=(http://www2.ati.com/drivers/linux/$name-driver-installer-$version-x86.x86_64.run \ + atieventsd.sh) + +build() { + march=x86 + xversion=x690 + sh $name-driver-installer-$version-x86.x86_64.run --extract $SRC/tmp + cd $SRC/tmp/common/lib/modules/fglrx/build_mod + ln -s $SRC/tmp/arch/$march/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC* . +read + sh make.sh +read + install -d $PKG/lib/modules/`uname -r`/kernel/drivers/char/drm + install -m 644 $SRC/tmp/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko \ + $PKG/lib/modules/`uname -r`/kernel/drivers/char/drm + install -d $PKG/usr/{X11R6,include,share} + cp -r $SRC/tmp/arch/$march/usr $PKG + cp -r $SRC/tmp/common/usr/X11R6 $PKG/usr + cp -r $SRC/tmp/common/usr/include $PKG/usr + cp -r $SRC/tmp/common/usr/share/man $PKG/usr/share + cp -r $SRC/tmp/$xversion/usr/X11R6 $PKG/usr + install -d $PKG/etc/{ati,rc.d} + cp -r $SRC/tmp/common/etc/ati/* $PKG/etc/ati + rm -f $PKG/etc/ati/logo* + install -m 755 $SRC/atieventsd.sh $PKG/etc/rc.d/atieventsd + # required for use opt/gl-select + mv $PKG/usr/X11R6/lib/libGL.so.1.2 $PKG/usr/X11R6/lib/libGL_so_1_2_ati +} diff --git a/ati/README b/ati/README new file mode 100644 index 000000000..95fc6bab2 --- /dev/null +++ b/ati/README @@ -0,0 +1,36 @@ + +README for ati 8.33.6 + + + +*** NOTE for ati with udev *** + +If using udev, add your user to the "video" group to be able to use 3D. + + +POST-INSTALL + +Use opt/gl-select from ports to select the correct gl/glx +libraries and extensions like so: + + # gl-select ati + +Also to configure your X server you can execute ati configurator like this: + + # aticonfig --initial --input=/etc/X11/xorg.conf + + +POST-REMOVE + +Use opt/gl-select from ports to revert to the x11 gl/glx libraries +and extensions like so: + + # gl-select x11 + + +When UPGRADING/DOWNGRADING the ati-driver port (where the version changes), +use gl-select to revert to x11 and then re-select ati in order to +refresh the libGLcore and libGL symlinks, like so: + + # prt-get update ati + # gl-select x11; gl-select ati diff --git a/ati/atieventsd.sh b/ati/atieventsd.sh new file mode 100644 index 000000000..2dcee72cf --- /dev/null +++ b/ati/atieventsd.sh @@ -0,0 +1,23 @@ +#!/bin/sh +# +# /etc/rc.d/atieventsd: start/stop ATI external events daemon +# + +case $1 in +start) + /usr/sbin/atieventsd + ;; +stop) + killall -q /usr/sbin/atieventsd + ;; +restart) + $0 stop + sleep 2 + $0 start + ;; +*) + echo "usage: $0 [start|stop|restart]" + ;; +esac + +# End of File |