A few things: Running Debian sid, GCC 3.3.6, 2.6.12.3 custom 32 bit k8 kernel
Ok, so I downloaded the official ATi driver package from the website and ran it. Went through the interface and installed stuff automatically. The I ran fglrxconfig and set all the stuff. Then I reboot, but I notice that GL programs are still slow. I check the logs, and sure enough directrendering is disabled. fglrxinfo shows this for the renderer:
display: :0.0 screen: 0
OpenGL vendor string: Mesa project:
www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
So, after searching around, I find about a dozen "guides" to installing the drivers peroperly. I tried this one:
http://xoomer.virgilio.it/flavio.sta...installer.html
However, I failed pretty much every step of the way. For example, here's the error output I got from each of these steps:
#3a
Code:
chembot@CompuThor:/usr/src/fglrx-installer-8.14.13$ sudo dpkg-buildpackage -b -rfakeroot -tc -uc -D
dpkg-buildpackage: source package is fglrx-installer
dpkg-buildpackage: source version is 8.14.13-2
dpkg-buildpackage: source changed by Flavio Stanchina <flavio@stanchina.net>
dpkg-buildpackage: host architecture i386
fakeroot debian/rules clean
dh_testdir
#dh_testroot
dh_clean
rm -fr usr opt lib
rm -fr extra_src
debian/rules build
dh_testdir
rpm2cpio fglrx_6_8_0-8.14.13-1.i386.rpm | cpio -i -d -f "./lib/modules/fglrx/fglrx.*.o" --no-preserve-owner
50672 blocks
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
mkdir -p usr/share/doc/fglrx; \
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
usr/X11R6/lib \
usr/share usr/src -type f | xargs chmod -x
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib -name "*.sh" -type f | xargs chmod +x
# extract panel source
mkdir -p extra_src/panel
tar xfzC usr/src/ATI/fglrx_panel_sources.tgz extra_src/panel
patch -d extra_src/panel -p1 -i /usr/src/fglrx-installer-8.14.13/debian/patches-8.14.13/panel.diff
patching file ATITVOExtensions.c
patching file FGLRXExtensions.c
patching file Makefile
# build panel source
make -C extra_src/panel QTDIR=/usr/share/qt3
make[1]: Entering directory `/usr/src/fglrx-installer-8.14.13/extra_src/panel'
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy FGLRXExtensions.c
FGLRXExtensions.c:19:37: X11/extensions/xf86misc.h: No such file or directory
FGLRXExtensions.c:20:39: X11/extensions/xf86mscstr.h: No such file or directory
make[1]: *** [FGLRXExtensions.o] Error 1
make[1]: Leaving directory `/usr/src/fglrx-installer-8.14.13/extra_src/panel'
make: *** [extra_src/panel/fireglcontrol] Error 2
#4.1
Code:
chembot@CompuThor:/usr/src/modules/fglrx$ sudo ./make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /usr/src/linux-2.6.12.3 SUBDIRS=/usr/src/modules/fglrx modules
make[1]: Entering directory `/usr/src/linux-2.6.12.3'
CC [M] /usr/src/modules/fglrx/agp3.o
CC [M] /usr/src/modules/fglrx/nvidia-agp.o
CC [M] /usr/src/modules/fglrx/agpgart_be.o
/usr/src/modules/fglrx/agpgart_be.c: In function `agp_find_supported_device':
/usr/src/modules/fglrx/agpgart_be.c:7136: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7156: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7161: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7187: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7207: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7227: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7232: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_init':
/usr/src/modules/fglrx/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_cleanup':
/usr/src/modules/fglrx/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[2]: *** [/usr/src/modules/fglrx/agpgart_be.o] Error 1
make[1]: *** [_module_/usr/src/modules/fglrx] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.3'
make: *** [kmod_build] Error 2
build failed with return value 2
#4.2
chembot@CompuThor:/usr/src/linux$ sudo make SUBDIRS=/usr/src/modules/fglrx modules
CC [M] /usr/src/modules/fglrx/agp3.o
CC [M] /usr/src/modules/fglrx/nvidia-agp.o
CC [M] /usr/src/modules/fglrx/agpgart_be.o
/usr/src/modules/fglrx/agpgart_be.c: In function `agp_find_supported_device':
/usr/src/modules/fglrx/agpgart_be.c:7136: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7156: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7161: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7187: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7207: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7227: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7232: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_init':
/usr/src/modules/fglrx/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_cleanup':
/usr/src/modules/fglrx/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[1]: *** [/usr/src/modules/fglrx/agpgart_be.o] Error 1
make: *** [_module_/usr/src/modules/fglrx] Error 2
#4.3
Code:
chembot@CompuThor:/usr/src/modules/fglrx$ sudo ./make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /usr/src/linux-2.6.12.3 SUBDIRS=/usr/src/modules/fglrx modules
make[1]: Entering directory `/usr/src/linux-2.6.12.3'
CC [M] /usr/src/modules/fglrx/agp3.o
CC [M] /usr/src/modules/fglrx/nvidia-agp.o
CC [M] /usr/src/modules/fglrx/agpgart_be.o
/usr/src/modules/fglrx/agpgart_be.c: In function `agp_find_supported_device':
/usr/src/modules/fglrx/agpgart_be.c:7136: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7156: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7161: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7187: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7207: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7227: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7232: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_init':
/usr/src/modules/fglrx/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_cleanup':
/usr/src/modules/fglrx/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[2]: *** [/usr/src/modules/fglrx/agpgart_be.o] Error 1
make[1]: *** [_module_/usr/src/modules/fglrx] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.3'
make: *** [kmod_build] Error 2
build failed with return value 2
chembot@CompuThor:/usr/src/modules/fglrx$ cd ..
chembot@CompuThor:/usr/src/modules$ cd..
bash: cd..: command not found
chembot@CompuThor:/usr/src/modules$ cd ..
chembot@CompuThor:/usr/src$ cd linux
chembot@CompuThor:/usr/src/linux$ sudo make SUBDIRS=/usr/src/modules/fglrx modules
CC [M] /usr/src/modules/fglrx/agp3.o
CC [M] /usr/src/modules/fglrx/nvidia-agp.o
CC [M] /usr/src/modules/fglrx/agpgart_be.o
/usr/src/modules/fglrx/agpgart_be.c: In function `agp_find_supported_device':
/usr/src/modules/fglrx/agpgart_be.c:7136: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7156: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7161: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7187: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7207: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7227: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7232: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_init':
/usr/src/modules/fglrx/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_cleanup':
/usr/src/modules/fglrx/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[1]: *** [/usr/src/modules/fglrx/agpgart_be.o] Error 1
make: *** [_module_/usr/src/modules/fglrx] Error 2
chembot@CompuThor:/usr/src/linux$ sudo fakeroot make-kpkg --append-to-version "-32bit-k8-custom" --added-modules fglrx modules_image
for module in /usr/src/modules/fglrx ; do \
if test -d $module; then \
(cd $module; \
if ./debian/rules KVERS="2.6.12.3-32bit-k8-custom" KSRC="/usr/src/linux" \
KMAINT="Unknown Kernel Package Maintainer" KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf" \
KPKG_DEST_DIR="/usr/src/linux/.." \
KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \ KPKG_EXTRAV_ARG="EXTRAVERSION=.3-32bit-k8-custom" \
ARCH="i386" \
KDREV="10.00.Custom" kdist_image; then \
echo "Module $module processed fine"; \
else \
echo "Module $module failed."; \
if [ "X" != "X" ]; then \
echo "Perhaps $module does not understand --rootcmd?"; \
echo "If you see messages that indicate that it is not"; \
echo "in fact being built as root, please file a bug "; \
echo "against $module."; \
fi; \
echo "Hit return to Continue"; \
read ans; \
fi; \
); \
else \
echo "Module $module does not exist"; \
echo "Hit return to Continue?"; \
fi; \
done
make[1]: Entering directory `/usr/src/modules/fglrx'
dh_testdir
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fglrx modules
make[2]: Entering directory `/usr/src/linux-2.6.12.3'
CC [M] /usr/src/modules/fglrx/agp3.o
CC [M] /usr/src/modules/fglrx/nvidia-agp.o
CC [M] /usr/src/modules/fglrx/agpgart_be.o
/usr/src/modules/fglrx/agpgart_be.c: In function `agp_find_supported_device':
/usr/src/modules/fglrx/agpgart_be.c:7136: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7156: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7161: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7187: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7207: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7227: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7232: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_init':
/usr/src/modules/fglrx/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_cleanup':
/usr/src/modules/fglrx/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[3]: *** [/usr/src/modules/fglrx/agpgart_be.o] Error 1
make[2]: *** [_module_/usr/src/modules/fglrx] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.12.3'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/modules/fglrx'
Module /usr/src/modules/fglrx failed.
Hit return to Continue
#4.4
Code:
chembot@CompuThor:/usr/src$ sudo module-assistant a-i fglrx
Build of the package fglrx-kernel-src failed! How do you │
│ wish to proceed?
dh_testroot
rm -f configure-stamp
rm -f fglrx.ko fglrx.mod.c *.o libfglrx_ip.a
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
rm -rf patch
dh_clean
rm /usr/src/modules/fglrx/debian/control
rm /usr/src/modules/fglrx/debian/dirs
if [ -f /usr/src/modules/fglrx/debian/control.template ]; then \
cat /usr/src/modules/fglrx/debian/control.template > /usr/src/modules/fglrx/debian/control; \
fi
dh_testdir
touch configure-stamp
dh_testdir
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fglrx modules
make[1]: Entering directory `/usr/src/linux-2.6.12.3'
CC [M] /usr/src/modules/fglrx/agp3.o
CC [M] /usr/src/modules/fglrx/nvidia-agp.o
CC [M] /usr/src/modules/fglrx/agpgart_be.o
/usr/src/modules/fglrx/agpgart_be.c: In function `agp_find_supported_device':
/usr/src/modules/fglrx/agpgart_be.c:7136: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7156: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7161: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7187: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7207: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7227: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c:7232: error: structure has no member named `slot_name'
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_init':
/usr/src/modules/fglrx/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared
at include/linux/pm.h:106)
/usr/src/modules/fglrx/agpgart_be.c: In function `__fgl_agp_cleanup':
/usr/src/modules/fglrx/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[2]: *** [/usr/src/modules/fglrx/agpgart_be.o] Error 1
make[1]: *** [_module_/usr/src/modules/fglrx] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.3'
make: *** [build] Error 2
I'm completely at a loss as to what needs to be done. It seems I've tried everything I can think of and everything I've read over an entire night and into the next day, but it still won't give me 3d rendering! Can anyone help me here?