Gusty update: using latest snapshot.
In order to get DRI working for Mach64 you need to:
This is untested because I don't have a Mach64 card. It does compile.
Please let me know if in the Section "driver": driver "ati" needs to be : driver "mach64"
Setup compiler and libraries
make a new directory to hold the drm and ati source
download, build install and latest drm from freedesktop.org
download, build install and latest ati driver
edit the driver version to be the latest
xf86-video-ati build from
http://xorg.freedesktop.org/archive/individual/driver/
copy and paste this first (you can edit the driver version if you know of newer version)
Code:
DRIVER_VS="6.7.195"
Activate sudo
Code:
sudo echo "activating sudo rights"
Code:
sudo apt-get install linux-headers-generic build-essential
sudo apt-get install autoconf-archive xorg-dev git-core libdrm-dev mesa-common-dev
SRCPATH=`pwd`
cd $SRCPATH
if [ -d 'src' ]; then echo -n ""; else mkdir src ; fi
cd src
git clone git://anongit.freedesktop.org/git/mesa/drm ;
cd drm/linux-core
make DRM_MODULES="mach64"
if [ -f mach64.ko ] ; then echo -e "\nSuccess\n" ; \
sudo cp *.ko /lib/modules/`uname -r`/kernel/drivers/char/drm/; \
sudo depmod -a; \
sudo modprobe mach64; \
fi
if [ -f 'xf86-video-ati-$DRIVER_VS.tar.bz2' ]; then echo "already have xf86-video-ati"; else \
wget http://xorg.freedesktop.org/archive/individual/driver/xf86-video-ati-$DRIVER_VS.tar.bz2 ; \
tar xvjf xf86-video-ati-$DRIVER_VS.tar.bz2 ;\
fi
cd xf86-video-ati-$DRIVER_VS
./configure --prefix=/usr
make clean
make
sudo make install
cd $SRCPATH/
echo -e "\nsudo /etc/init.d/gdm restart\n"
Can you use my diagnostic tool as it will tell me lots of things about your setup.
Code:
mkdir ~/Xinfo
cd ~/Xinfo
wget -O xinfo.sh http://fractaldimension.org.uk/ubuntu/xinfo.txt
chmod a+x ./xinfo.sh
./xinfo.sh
please attach the
*xinfo.tar.gz
view script
http://fractaldimension.org.uk/ubuntu/xinfo.txt