LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-07-2003, 09:16 AM   #1
jenna_h
Member
 
Registered: Nov 2002
Distribution: Mandrake 9.0
Posts: 58

Rep: Reputation: 15
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.

Last edited by jenna_h; 12-07-2003 at 09:29 AM.
 
Old 12-07-2003, 09:37 AM   #2
Datalus
LQ Newbie
 
Registered: Nov 2003
Location: Bulgaria
Distribution: Mandrake
Posts: 7

Rep: Reputation: 0
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
 
Old 12-07-2003, 12:09 PM   #3
jenna_h
Member
 
Registered: Nov 2002
Distribution: Mandrake 9.0
Posts: 58

Original Poster
Rep: Reputation: 15
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help enabling DRI on Radeon 9000 IGP thiqued Linux - Hardware 0 09-26-2004 12:38 PM
SUSE 9.1 install problems with Maxtor Serial ATA/150 pci card but my old 9.0 found it Drewer Linux - Hardware 5 08-18-2004 08:22 PM
Enabling VSync for games with XFree/DRI kaddict Linux - General 0 07-26-2004 08:26 PM
Enabling DRI on Radeon 9000 Pro Locura Slackware 3 07-08-2003 12:49 PM
enabling DRI disables sound bennyp Linux - Hardware 3 04-27-2003 10:33 AM


All times are GMT -5. The time now is 03:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration