View previous topic :: View next topic |
Author |
Message |
surgeon n00b
Joined: 14 Nov 2002 Posts: 16 Location: Alicante (Spain)
|
Posted: Mon Nov 25, 2002 10:32 pm Post subject: Problem upgrading DRM from http://dri.sourceforge.net/ |
|
|
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 |
|
|
Graeme Lufkin n00b
Joined: 01 Dec 2002 Posts: 1
|
Posted: Mon Dec 02, 2002 9:10 pm Post subject: |
|
|
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 |
|
|
dreamdreams n00b
Joined: 25 Nov 2002 Posts: 43
|
Posted: Sat Dec 14, 2002 5:50 pm Post subject: |
|
|
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 |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Sat Dec 14, 2002 8:19 pm Post subject: |
|
|
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 |
|
|
|