ati: initial commit, this is the lastest ati propietary driver.

This commit is contained in:
Jose V Beneyto 2007-02-23 12:23:37 +01:00
parent bda6b7c784
commit e2e695b77d
5 changed files with 154 additions and 0 deletions

56
ati/.footprint Normal file
View File

@ -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

2
ati/.md5sum Normal file
View File

@ -0,0 +1,2 @@
5fbd42d666d467a904acbaeb600c1d5a ati-driver-installer-8.33.6-x86.x86_64.run
e4d8a8b28ae298b673c492c34799d515 atieventsd.sh

37
ati/Pkgfile Normal file
View File

@ -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
}

36
ati/README Normal file
View File

@ -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

23
ati/atieventsd.sh Normal file
View File

@ -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