Radeon 7200 - error loading module "dri"
Hi. I've read all the posts on this thread and have gotten very close to getting 3d acceleration on my radeon 7200 PCI card. Heres the basic info on my system.
Distribution:: RedHat 9
Kernel Version: 2.4.22
XFree86 Version: 4.3.0
VideoCard: PCI Radeon 7200 32 MB DDR
I've got the radeon.o module compiled by XFree86 copied to /lib/modules/2.4.22/../drm/radeon.o. My XF86Config file is setup to load "dri" and "glx" and the "radeon" driver. When I run glxinfo it says "Direct Renering: No". and here is the related info from my XFree86 log:
Load Module: "dri"
Loading /usr/X11R6/lib/modules/extensions/libdri.a
Module dri: vendor="The XFree86 Project"
LoadModule: "dri"
Reloading /usr/X11R6/lib/modules/extension/libdri.a
UnloadModule: "dri"
(EE) Failed to load module "dri" (once-only module, -1073743368)
Loading /usr/X11R6/lib/modules/drivers/radeon_drv.o
Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
ABI class: XFree86 XInput driver,version 0.4
ATI: ATI driver (version6.4.18) for chipsets: ati, ativga
Reloading /usr/X11R6/lib/modules/drivers/radeon_drv.o
RADEON(0): [dri] RADEONDRISAREAInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
RADEON(0): [drm] loaded kernel module for "radeon" driver
RADEON(0): [drm] created "radeon driver at busid "PCI:1:11:0"
Symbol fi1236_dump_status from module /usr/X11R6/lib/modules/drivers/radeon_drv is unresolved!
glxgears runs at about 120 fps. From what I've read here and on other forums, the problem could be that I need to set permissions for dri in the XF86Config file or that I need to get a newer modutils and rebuild XFree86(heard that could be related to "unresolved" errors. I've also read that adding "ForcePCIMode" "Yes" under the device section has solved some peoples problems. I'm just getting a little thrown off by this radeon_drv.o problem, I haven't seen any posts related to the radeon_drv.o file (apart from the confusion earlier in the thread about what driver module to copy for the kernel) . Also, why it loads dri twice and runs drmOpenDevice 3 times on card0. As far as kernel messages go, I've run dmesg |grep agpgart and dmesg | grep drm and dmesg | grep mtrr. I don't remember the output of those queries, but if that info is needed, let me know. Any help would be greatly appreciated. I am not currently in front of my linux box, but I've been working on this for about 2 weeks now, so I've got most of the related info running constantly in my head. If any more info is needed to help resolve this problem, let me know. Thanks in advance
Edit (11/24/03)
Ok. . .
I ran dmesg | grep drm and dmesg | grep radeon again. Apparantly I haven't since I rebuilt my kernel to 2.4.22. I am getting this message for both:
[drm] Initialized radeon 1.100.0 20021218 on minor 0
[drm:radeon_unlock] *ERROR* Process 2691 using kernel context 0
dmesg | grep agp returns nothing, and dmesg | grep mtrr shows no errors.
I also realized that my XFree86Config file had 2 entries Load "DRI", so I removed one and no longer get the dri "once only module" error anymore (makes sense). I am still getting the unresolved error for radeon_drv. glxgears is still running at the same fps and glxinfo still says direct "rendering: no". Since I'm using a PCI card, I shouldn't need to worry about agp not being loaded by the kernel, right? I'm about to go searching for other posts related to the radeon_unlock error and hopefully resolving that will resolve the XFree86 radeon_drv error. If anyone is familiar with this problem, I could really use your help. Thanks.
Last edited by SaiyanDNA; 11-25-2003 at 12:11 AM.
|