Skip to contentSkip to conversation

2.4.20 DRM/DRI issue with Radeon

DISCUSSION Andy Jefferson 3 participants 4 messages Dec 1, 2002 – Dec 2, 2002 1 message not in the archive

lore
Share & tools
lore
#0 lore raw
Quoted 13 lines
Quoted 11 lines

In the 2.4.20 kernel changelog I see comments about having consistent DRM modules with XFree4.2.0. I have a Radeon Mobility M6 LY in a Dell laptop and would like to get DRI working. Whenever I use any 2.4.* (including 2.4.20) kernel I get the following messages in /var/log/XFree86.0.log, and DRM is not enabled. Is this supposed to be working in 2.4.20 ? I am using a Mandrake 8.2 system (except for the kernel).
(EE) RADEON(0): [dri] RADEONDRIScreenInit failed because of a version mismatch. [dri] radeon.o kernel module version is 1.1.1 but version 1.2.x is needed. [dri] see http://gatos.sf.net/ for an updated module
[dri] Disabling DRI.

Quoted 5 lines

Works for me.
Debian GNU/Linux unstable distribution

You did enable radeon DRM drivers in the kernel config right? For your chipset and for the Radeon, right?

Well, yes. I'm getting VERSION CONFLICT messages, and not that there is no radeon.o module. For the record, what I get from dmesg is

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Intel i830M chipset
agpgart: AGP aperture is 256M @ 0xd0000000 [drm] AGP 0.99 on Unknown @ 0xd0000000 256MB [drm] Initialized radeon 1.1.1 20010405 on minor 0

FWIW I have in the kernel

/dev/agpgart set to Module
I830M support set to Yes
Build old DRM 4.0 drivers set to No
DRM 4.1 ATI Radeon set to Module

So the version of the kernel module is 1.1.1 20010405 (with 2.4.19, AND 2.4.20) , yet the XFree86 drivers need 1.2.* as per the original message in the XFree86.0.log. Why is the kernel using 1.1.1 and not 1.2.* ?

Thx

--
Andy

_______________________________________________________________________
Freeserve AnyTime, only £13.99 per month with one month's FREE trial!
For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890

#1 lore raw
Quoted 34 lines · Andy Jefferson
Quoted 17 lines
Quoted 13 lines

In the 2.4.20 kernel changelog I see comments about having consistent DRM modules with XFree4.2.0. I have a Radeon Mobility M6 LY in a Dell laptop and would like to get DRI working. Whenever I use any 2.4.* (including 2.4.20) kernel I get the following messages in /var/log/XFree86.0.log, and DRM is not enabled. Is this supposed to be working in 2.4.20 ? I am using a Mandrake 8.2 system (except for the kernel).
(EE) RADEON(0): [dri] RADEONDRIScreenInit failed because of a version mismatch. [dri] radeon.o kernel module version is 1.1.1 but version 1.2.x is needed. [dri] see http://gatos.sf.net/ for an updated module
[dri] Disabling DRI.

Quoted 7 lines

Works for me.
Debian GNU/Linux unstable distribution

You did enable radeon DRM drivers in the kernel config right? For your chipset and for the Radeon, right?

Well, yes. I'm getting VERSION CONFLICT messages, and not that there is no radeon.o module. For the record, what I get from dmesg is

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Intel i830M chipset
agpgart: AGP aperture is 256M @ 0xd0000000 [drm] AGP 0.99 on Unknown @ 0xd0000000 256MB [drm] Initialized radeon 1.1.1 20010405 on minor 0

Quoted 9 lines

FWIW I have in the kernel

/dev/agpgart set to Module
I830M support set to Yes
Build old DRM 4.0 drivers set to No
DRM 4.1 ATI Radeon set to Module

So the version of the kernel module is 1.1.1 20010405 (with 2.4.19, AND 2.4.20) , yet the XFree86 drivers need 1.2.* as per the original message in the XFree86.0.log. Why is the kernel using 1.1.1 and not 1.???

You need to grab the later drm kernel.

Quoted 2 lines
#2 lore raw
In reply to Andy Jefferson

I'm stumped, really. Try building it INTO the kernel (ie Y instead of M.) This is what I did and it works. Or maybe you should get XFree86 4.2.1, which is what I have:

XFree86 Version 4.2.1.1 (Debian 4.2.1-4 20021123003806 [email protected]) / X Window System

Hope things work out.

-Josh

Rabid cheeseburgers forced Andy Jefferson <[email protected]> to write this on Sun, 1 Dec 2002 14:32:33 +0000:

Quoted 51 lines
Quoted 13 lines
Quoted 11 lines

In the 2.4.20 kernel changelog I see comments about having consistent DRM modules with XFree4.2.0. I have a Radeon Mobility M6 LY in a Dell laptop and would like to get DRI working. Whenever I use any 2.4.*(including 2.4.20) kernel I get the following messages in/var/log/XFree86.0.log, and DRM is not enabled. Is this supposed to be working in 2.4.20 ? I am using a Mandrake 8.2 system (except for the kernel).
(EE) RADEON(0): [dri] RADEONDRIScreenInit failed because of a version mismatch.[dri] radeon.o kernel module version is 1.1.1 but version 1.2.x is needed.[dri] see http://gatos.sf.net/ for an updated module[dri] Disabling DRI.

Quoted 5 lines

Works for me.
Debian GNU/Linux unstable distribution

You did enable radeon DRM drivers in the kernel config right? For your chipset and for the Radeon, right?

Well, yes. I'm getting VERSION CONFLICT messages, and not that there is no radeon.o module. For the record, what I get from dmesg is

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Intel i830M chipset
agpgart: AGP aperture is 256M @ 0xd0000000 [drm] AGP 0.99 on Unknown @ 0xd0000000 256MB [drm] Initialized radeon 1.1.1 20010405 on minor 0

FWIW I have in the kernel

/dev/agpgart set to Module
I830M support set to Yes
Build old DRM 4.0 drivers set to No
DRM 4.1 ATI Radeon set to Module

So the version of the kernel module is 1.1.1 20010405 (with 2.4.19, AND 2.4.20) , yet the XFree86 drivers need 1.2.* as per the original message in the XFree86.0.log. Why is the kernel using 1.1.1 and not 1.2.* ?

Thx

--
Andy

_____________________________________________________________________
__ Freeserve AnyTime, only £13.99 per month with one month's FREE trial! For more information visit http://www.freeserve.com/time/ or call free on 0800 970 8890

A message that is not in the archive (sent off-list or not yet received): 1038790613.4691.757.camel@cpq

#4 lore raw

I think it makes sense, since DRI is designed to work on top of agpgart. Can someone confirm this guess for me? Or make me look like a moron?

BTW, the following quoted message was not posted to lkml previously, so I am attaching it in its entirety.

-Josh

Rabid cheeseburgers forced Eric Blade<[email protected]> to write this on 01 Dec 2002 19:56:42-0500:

Quoted 19 lines · Joshua Kwan
Quoted 3 lines

I'm stumped, really. Try building it INTO the kernel (ie Y instead of M.) This is what I did and it works. Or maybe you should get XFree86 4.2.1, which is what I have:

This has little to do with the topic at hand, but I figured since we were discussing the Radeon and DRM/DRI, I thought I'd ask this one.

Am I correct in my assumption that the Radeon DRI code does not work
with PCI versions of the Radeon? I have a Radeon 7500 PCI (since this box that's designed as a "server" doesn't have AGP ports), and have been completely unable to get DRI to work at all. I didn't have any problems on my other box, which has an AGP Voodoo 3 in it.

Thanks,
- Eric