LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems enabling DRI - card not found (https://www.linuxquestions.org/questions/linux-software-2/problems-enabling-dri-card-not-found-123503/)

jenna_h 12-07-2003 08:16 AM

Problems enabling DRI - card not found
 
I've just upgraded my motherboard & cpu and reinstalled Mandrake 9.1, which automatically set up DRI before. Now, my video card (Matrox G400) works fine, but DRI isn't enabled. The relevant lines from the X error log are:

drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[drm] failed to load kernel module "agpgart"
[drm] failed to load kernel module "mga"
(II) MGA(0): [drm] drmOpen failed
(EE) MGA(0): [drm] DRIScreenInit failed. Disabling DRI.

I've checked in my filesystem and there's no "/dev/dri/card0". But since it's a device file, I doubt I can fix it by just creating a new file. Does anyone have any ideas? One thing I noticed is that there's a line that says:

(--) Assigning device section with no busID to primary device
(--) Chipset mgag400 found

And the output from scanpci give this information:

pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x102b device 0x0525
Matrox Graphics, Inc. MGA G400 AGP

Please let me know if this is something anyone has seen before.

Datalus 12-07-2003 08:37 AM

Try downloading the DRI mods from the card site.
I had similar problems when I was using Red Hat, so I downloaded my radeon drivers form ati.com and it solved the problem. dunno about Matrox though

jenna_h 12-07-2003 11:09 AM

I think I solved the problem...according to /var/log/syslog, the chipset on my new motherboard isn't supported. So instead of "modprobe agpgart", I had to enter "modprobe agpgart agp_try_unsupported=1". That loaded the module, and I can use DRI now. Now, I'm just wondering if it's going to stay that way or if I have to tell it to load that module every time I boot up...


All times are GMT -5. The time now is 11:57 AM.