Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Going insane trying to get DRI working (matrox G550)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ilovenina
n00b
n00b


Joined: 02 Oct 2002
Posts: 4

PostPosted: Wed Oct 02, 2002 2:18 pm    Post subject: Going insane trying to get DRI working (matrox G550) Reply with quote

Hi all,

I recently installed gentoo, and have been putting most of my time into trying to get DRI\3d working. I'm not exactly a unix newbie, but I'm not sure where to go from here.

Here is what I've done:

    Enabled DRM\MTRR\agp in the kernel
    Added the "DRI" section to the config
    Made sure I am using the matrox drivers

cat /var/log/XFree* | grep EE
Code:

         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) MGA(0): [drm] DRIScreenInit failed.  Disabling DRI.


cat /var/log/XFree* | grep WW
Code:

         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) MGA(0): Video BIOS info block not detected!
(WW) System lacks support for changing MTRRs


Those warnings look suspicious, but what is causing the bios errors?

I was looking through dmesg, and this is the only thing I found that was fishy:

dmesg | grep drm
Code:

[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] AGP 0.99 on VIA Apollo KT133 @ 0xe0000000 128MB
[drm] Initialized radeon 1.1.1 20010405 on minor 1


Why does it think I have a radeon? Or is it not referring to the video card? I've only enabled the G220\G400 drm in the kernel, so I'm not sure what's wrong anymore.

I think the problem lies with those config file errors, but I've enabled MTRR so I dont know why that is still giving me errors. What is that bios error? Have I missed a step somewhere?
Back to top
View user's profile Send private message
ilovenina
n00b
n00b


Joined: 02 Oct 2002
Posts: 4

PostPosted: Thu Oct 03, 2002 6:35 pm    Post subject: Reply with quote

Bump & Updates:

I think I narrowed the problem down to DRM.

cat /var/log/XFree* | grep drm
Code:

(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
(II) MGA(0): [drm] bpp: 16 depth: 16
(II) MGA(0): [drm] Sarea 2200+664: 2864
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 1
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 2
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 3
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (No such device)
~ (bunch more of these, up to card 14)
(II) MGA(0): [drm] drmOpen failed
(EE) MGA(0): [drm] DRIScreenInit failed.  Disabling DRI.


I don't understand. I have DRM enabled in the kernel, with the G200\G400 selected. Why isn't this working? I told it to use it as a module so I could see the error, here is what I get.

modprobe mga
Code:

bash-2.05a# modprobe mga
/lib/modules/2.4.19-gentoo-r9/kernel/drivers/char/drm/mga.o: unresolved symbol mtrr_del_Rsmp_272d394e
/lib/modules/2.4.19-gentoo-r9/kernel/drivers/char/drm/mga.o: unresolved symbol mtrr_add_Rsmp_56179c5f
/lib/modules/2.4.19-gentoo-r9/kernel/drivers/char/drm/mga.o: insmod /lib/modules/2.4.19-gentoo-r9/kernel/drivers/char/drm/mga.o failed
/lib/modules/2.4.19-gentoo-r9/kernel/drivers/char/drm/mga.o: insmod mga failed


What's with this? I see mtrr, but I have mtrr enabled in the kernel!!!! ARRRRRGGG

I have no idea what to do. Please help if you can. Bump :(

Maybe I'll give my system specs as well...


    Asus A7V333 motherboard
    Athlon XP 1700+
    256 megs 2100 ddr micron ram
    Matrox G550 OEM 32mb
    SBLive!
    Pioneer DVD\HP9100i CDRW
    Maxtor 40gb 7200 rpm HD
Back to top
View user's profile Send private message
Mnemia
Guru
Guru


Joined: 17 May 2002
Posts: 476

PostPosted: Thu Oct 03, 2002 8:30 pm    Post subject: Reply with quote

Did you upgrade your kernel from some other version? It sounds to me like you need to clean out your module directories and rebuild them to get rid of some old versions perhaps...the unresolved symbol thing makes me suspicious.
Check out this thread
and make sure you do the 'make mrproper' part before rebuilding.
Hope this helps.
Back to top
View user's profile Send private message
ilovenina
n00b
n00b


Joined: 02 Oct 2002
Posts: 4

PostPosted: Fri Oct 04, 2002 5:22 pm    Post subject: Reply with quote

Hmmm well I guess my only choice is to try what you are saying, but I have never upgraded the kernel, this is a fresh install... :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum