Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem upgrading DRM from http://dri.sourceforge.net/
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
surgeon
n00b
n00b


Joined: 14 Nov 2002
Posts: 16
Location: Alicante (Spain)

PostPosted: Mon Nov 25, 2002 10:32 pm    Post subject: Problem upgrading DRM from http://dri.sourceforge.net/ Reply with quote

when I try to compile the kernel modules in http://www.xfree86.org/~alanh/linux-drm-4.2.0-kernelsource.tar.gz i got errors referring to i810
I don't have an i810 card, so I tried to modify the makefile but it didn't work :(
does anyone know another way to enable my Rage128 DRI? Xfree 4.2.1 says this:
Quote:
(EE) R128(0): [dri] R128DRIScreenInit failed because of a version mismatch.
[dri] r128.o kernel module version is 2.1.6 but version 2.2 or greater is needed.
[dri] Disabling the DRI.


I have the 2.4.19 kernel but it seems it doesn't have the latest DRI drivers :(
Back to top
View user's profile Send private message
Graeme Lufkin
n00b
n00b


Joined: 01 Dec 2002
Posts: 1

PostPosted: Mon Dec 02, 2002 9:10 pm    Post subject: Reply with quote

I had the same issue with my Rage 128 card (same message in the XFree86 log). Here's how I solved it:
I downloaded the same package, and copied the drm directory into my linux kernel tree. (That is, I moved /usr/src/linux/drivers/char/drm to drm_old, and put the new drm directory in its place.) Then, using the same kernel config options (r128 as a module) I rebuilt the kernel. I put r128 in /etc/modules.autoload and rebooted. Now the dri bit loads properly, and by running glxgears I see a ~6 fold speedup in framerate.

Not sure why the gentoo-sources kernel has old drm stuff either, but oh well.
By the way, in my XF86config, I load the 'glx' and 'dri' modules, and set the mode on DRI using
Code:
Section "DRI"
        Mode 0666
EndSection

Hope this works for you too!
Back to top
View user's profile Send private message
dreamdreams
n00b
n00b


Joined: 25 Nov 2002
Posts: 43

PostPosted: Sat Dec 14, 2002 5:50 pm    Post subject: Reply with quote

Followed Graeme Lufkin's steps, my glxgear scre boosted from ~90 to ~490, it's amazing.

But didn't feel big difference on running other X programms.
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Sat Dec 14, 2002 8:19 pm    Post subject: Reply with quote

dreamdreams wrote:
Followed Graeme Lufkin's steps, my glxgear scre boosted from ~90 to ~490, it's amazing.

But didn't feel big difference on running other X programms.


maybe because the server's redraw functions aren't written to take advantage of accelerated drivers... only OpenGL stuff like games is.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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