Hlingler
2007-09-29, 10:48 PM CDT
Hello:
I recently upgraded both of my older machines to F7. The upgrades went rather well. I would now like to get better graphics performance on them (see signature below for full specs).
It turns out that both boxes have ATI 3D Rage Pro AGP 1X/2X chips - one on the mobo with 4MB SGRAM, the other on an All-In-Wonder AGP card with 8MB SGRAM. I searched around quite a lot, and I know it's possible to get Direct Rendering with these chips/boards: http://forums.debian.net/viewtopic.php?p=46260&sid=605157fb16bc182134da5a9dfd667241. I've done some adjusting to the resolution/color depth settings on both machines to get them within the ranges allowed by the available SGRAM, so Xorg doesn't choke on those settings, but I can't seem to figure out how to get the correct driver(s)/modules loaded. The driver appears to be installed: /usr/lib/dri/mach64_dri.so (actually, I'm not sure if this is really the driver file - I think it should be named *.ko), part of the mesa-libGL-6.5.2-13.fc7 package. I've tried several different xorg.conf arrangements, but any attempt to change the default settings seems to result in complete failure of the X-server. And these tweaks appear to be unnecessary: using the basic default xorg.conf shows the system probing, finding the chips, loading modules, and attempting to load the correct driver, based on /var/log/Xorg:0.log. The fatal error occurs near the end: (II) ATI(0): [drm] SAREA 2200+1208: 3408
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "mach64"
(II) ATI(0): [drm] drmOpen failed
(EE) ATI(0): [dri] DRIScreenInit Failed
[...]
(EE) AIGLX: Screen 0 is not DRI capable
(II) Loading local sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions//libGLcore.soI've been staring at the DRI troubleshooting page (http://dri.freedesktop.org/wiki/DriTroubleshooting), but I'm stuck at "DRM": "dmesg | grep drm" returns a blank, although I can manually insert it with "modprobe drm", but then I don't get the card-specific DRM version output, so that's not right. I also tried to follow the example from the link above and download the driver from http://dri.freedesktop.org/snapshots/, but the install script failed to compile (I do have kernel headers and devel packages and mesa-libGL-devel installed):make DRM_MODULES=mach64.o modules
make[1]: Entering directory `/home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core'
make -C /lib/modules/2.6.22.7-85.fc7/source SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/kernels/2.6.22.7-85.fc7-i686'
CC [M] /home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core/drm_auth.o
In file included from /home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core/drm_auth.c:36:
/home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core/drmP.h:44:26: error: linux/config.h: No such file or directory
make[3]: *** [/home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core/drm_auth.o] Error 1
make[2]: *** [_module_/home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.22.7-85.fc7-i686' make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core'
make: *** [mach64.o] Error 2 There is no directory /lib/modules/2.6.22.7-85.fc7/source/modules. I think I must be missing something fairly basic and simple here. I would really appreciate any help/suggestions on what to do to get this to work.
Thanx,
Vince
I recently upgraded both of my older machines to F7. The upgrades went rather well. I would now like to get better graphics performance on them (see signature below for full specs).
It turns out that both boxes have ATI 3D Rage Pro AGP 1X/2X chips - one on the mobo with 4MB SGRAM, the other on an All-In-Wonder AGP card with 8MB SGRAM. I searched around quite a lot, and I know it's possible to get Direct Rendering with these chips/boards: http://forums.debian.net/viewtopic.php?p=46260&sid=605157fb16bc182134da5a9dfd667241. I've done some adjusting to the resolution/color depth settings on both machines to get them within the ranges allowed by the available SGRAM, so Xorg doesn't choke on those settings, but I can't seem to figure out how to get the correct driver(s)/modules loaded. The driver appears to be installed: /usr/lib/dri/mach64_dri.so (actually, I'm not sure if this is really the driver file - I think it should be named *.ko), part of the mesa-libGL-6.5.2-13.fc7 package. I've tried several different xorg.conf arrangements, but any attempt to change the default settings seems to result in complete failure of the X-server. And these tweaks appear to be unnecessary: using the basic default xorg.conf shows the system probing, finding the chips, loading modules, and attempting to load the correct driver, based on /var/log/Xorg:0.log. The fatal error occurs near the end: (II) ATI(0): [drm] SAREA 2200+1208: 3408
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "mach64"
(II) ATI(0): [drm] drmOpen failed
(EE) ATI(0): [dri] DRIScreenInit Failed
[...]
(EE) AIGLX: Screen 0 is not DRI capable
(II) Loading local sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions//libGLcore.soI've been staring at the DRI troubleshooting page (http://dri.freedesktop.org/wiki/DriTroubleshooting), but I'm stuck at "DRM": "dmesg | grep drm" returns a blank, although I can manually insert it with "modprobe drm", but then I don't get the card-specific DRM version output, so that's not right. I also tried to follow the example from the link above and download the driver from http://dri.freedesktop.org/snapshots/, but the install script failed to compile (I do have kernel headers and devel packages and mesa-libGL-devel installed):make DRM_MODULES=mach64.o modules
make[1]: Entering directory `/home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core'
make -C /lib/modules/2.6.22.7-85.fc7/source SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/kernels/2.6.22.7-85.fc7-i686'
CC [M] /home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core/drm_auth.o
In file included from /home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core/drm_auth.c:36:
/home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core/drmP.h:44:26: error: linux/config.h: No such file or directory
make[3]: *** [/home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core/drm_auth.o] Error 1
make[2]: *** [_module_/home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.22.7-85.fc7-i686' make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/shared/Source_Code/mach64-20060403-linux.i386/drm/linux-core'
make: *** [mach64.o] Error 2 There is no directory /lib/modules/2.6.22.7-85.fc7/source/modules. I think I must be missing something fairly basic and simple here. I would really appreciate any help/suggestions on what to do to get this to work.
Thanx,
Vince