Skip to contentSkip to conversation

Direct Rendering drivers for ATI X300 ?

DISCUSSION Gerhard Mack 6 participants 14 messages Oct 10, 2005 – Oct 11, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

Can anyone tell me if there are working open source DRM drivers that work on recent 2.6.x kernels for the ATI X300? I've tried dri.sourceforge.net and r300 but neither seems to even bother compiling. I've spent several hours on google without luck.

Gerhard

--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.

#1 lore raw
Quoted 8 lines · Gerhard Mack

Hello,

Can anyone tell me if there are working open source DRM drivers that work on recent 2.6.x kernels for the ATI X300? I've tried dri.sourceforge.net and r300 but neither seems to even bother compiling. I've spent several hours on google without luck.

Gerhard

Have you seen this

	http://r300.sourceforge.net/

However, I'm not sure how much useable it is allready. Perhaps not much. Otherwise you would probably either have to stick with the ATI's binary drivers or open source unaccelerated drivers. I'm not aware of anything else being available for recent ATI chips.

Martin

#2 lore raw
Quoted 9 lines · Martin Drab
Quoted 7 lines · Gerhard Mack

Hello,

Can anyone tell me if there are working open source DRM drivers that work on recent 2.6.x kernels for the ATI X300? I've tried dri.sourceforge.net and r300 but neither seems to even bother compiling. I've spent several hours on google without luck.

Quoted 6 lines
Quoted 1 line

Gerhard

Have you seen this

        http://r300.sourceforge.net/

i think it is now in mesa/xorg cvs:
from their website
"07/22/05 Latest version of Mesa and DRM drivers have been accepted in DRM and Mesa CVS trees on freedesktop.org CVS"

regards,

Benoit

#3 lore raw
Quoted 17 lines · Benoit Boissinot
Quoted 9 lines · Martin Drab
Quoted 7 lines · Gerhard Mack

Hello,

Can anyone tell me if there are working open source DRM drivers that work on recent 2.6.x kernels for the ATI X300? I've tried dri.sourceforge.net and r300 but neither seems to even bother compiling. I've spent several hours on google without luck.

Quoted 6 lines
Quoted 1 line

Gerhard

Have you seen this

        http://r300.sourceforge.net/
Quoted 8 lines

i think it is now in mesa/xorg cvs:
from their website
"07/22/05 Latest version of Mesa and DRM drivers have been accepted in DRM and Mesa CVS trees on freedesktop.org CVS"

regards,

Benoit

Yes, you are correct.

Martin

#4 lore raw
In reply to Martin Drab
Quoted 17 lines · Martin Drab

Date: Mon, 10 Oct 2005 18:41:27 +0200 (CEST)
From: Martin Drab <[email protected]>
To: Gerhard Mack <[email protected]>
Cc: [email protected]
Subject: Re: Direct Rendering drivers for ATI X300 ?

Quoted 8 lines · Gerhard Mack

Hello,

Can anyone tell me if there are working open source DRM drivers that work on recent 2.6.x kernels for the ATI X300? I've tried dri.sourceforge.net and r300 but neither seems to even bother compiling. I've spent several hours on google without luck.

Gerhard

Quoted 8 lines

Have you seen this

	http://r300.sourceforge.net/

However, I'm not sure how much useable it is allready. Perhaps not much. Otherwise you would probably either have to stick with the ATI's binary drivers or open source unaccelerated drivers. I'm not aware of anything else being available for recent ATI chips.

Although those drivers support the card, they do not compile on recent kernels. I managed to hack it to compile and then ended up with X being unable to access the /dev/dri/card* devices.

Gerhard

--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.

#5 lore raw
Quoted 6 lines · Gerhard Mack
Quoted 4 lines · Martin Drab

Have you seen this

	http://r300.sourceforge.net/
Quoted 8 lines
Quoted 4 lines

However, I'm not sure how much useable it is allready. Perhaps not much. Otherwise you would probably either have to stick with the ATI's binary drivers or open source unaccelerated drivers. I'm not aware of anything else being available for recent ATI chips.

Although those drivers support the card, they do not compile on recent kernels. I managed to hack it to compile and then ended up with X being unable to access the /dev/dri/card* devices.

Then check the permissions.

Martin

#6 lore raw
Quoted 19 lines · Martin Drab

Date: Mon, 10 Oct 2005 18:56:11 +0200 (CEST)
From: Martin Drab <[email protected]>
To: Gerhard Mack <[email protected]>
Cc: [email protected]
Subject: Re: Direct Rendering drivers for ATI X300 ?

Quoted 11 lines · Gerhard Mack
Quoted 8 lines · Martin Drab

Have you seen this

	http://r300.sourceforge.net/

However, I'm not sure how much useable it is allready. Perhaps not much. Otherwise you would probably either have to stick with the ATI's binary drivers or open source unaccelerated drivers. I'm not aware of anything else being available for recent ATI chips.

Quoted 7 lines
Quoted 3 lines

Although those drivers support the card, they do not compile on recent kernels. I managed to hack it to compile and then ended up with X being unable to access the /dev/dri/card* devices.

Then check the permissions.

Martin

Strangely enough the directory is empty.. if I use mknod to create the files they get removed as soon as X loads.

--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.

#7 lore raw
In reply to Gerhard Mack
Quoted 8 lines · Gerhard Mack

Hello,

Can anyone tell me if there are working open source DRM drivers that work on recent 2.6.x kernels for the ATI X300? I've tried dri.sourceforge.net and r300 but neither seems to even bother compiling. I've spent several hours on google without luck.

Gerhard

What are your dmesg reporting, when loading the modules, if you see something along these lines:

-------------------
[drm] Initialized drm 1.0.0 20040925
PCI: Unable to reserve mem region #1:8000000@c0000000 for device 0000:01:00.0 [drm] Initialized radeon 1.19.0 20050911 on minor 0:
[drm] Used old pci detect: framebuffer loaded
mtrr: 0xc0000000,0x8000000 overlaps existing 0xc0000000,0x4000000 [drm:radeon_do_init_cp] *ERROR* Cannot use PCI Express without GART in FB memory
-------------------

then you may have hit a possible x300/pci express issue - other than that I have it working perfectly here with kernel 2.6.14rc1, Quake3 is playable (although I am experiencing some minor problems with MergedFB combined with 3D gaming). I have written a small guide for Gentoo that explains how to get DRI/DRM working with R300 (and newer cards) all though you may not use Gentoo it should be very easy to get it working on other distributions:

The guide is here:
http://forums.gentoo.org/viewtopic-t-374745-highlight-r300.html

--------------
Regards.

Lars Roland

#8 lore raw
Quoted 4 lines

What are your dmesg reporting, when loading the modules, if you see something along these lines:

For PCI Express Radeon cards:

The kernel portions are in my -git tree ready for pushing to Linus after the next release is made,

The userspace portions requires X.org/Mesa/DRM CVS trees.

The DRM CVS also contains the kernel portions....

Dave.

#9 lore raw

Is there an entry for this card?

0000:05:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]
0000:05:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]

0000:05:00.0 0300: 1002:5b60
0000:05:00.1 0380: 1002:5b70

Gerhard

On Tue, 11 Oct 2005, Dave Airlie wrote

Quoted 13 lines

Date: Tue, 11 Oct 2005 10:26:41 +1000
From: Dave Airlie <[email protected]>
To: Lars Roland <[email protected]>
Cc: Gerhard Mack <[email protected]>, [email protected]
Subject: Re: Direct Rendering drivers for ATI X300 ?

Quoted 4 lines

What are your dmesg reporting, when loading the modules, if you see something along these lines:

For PCI Express Radeon cards:

Quoted 9 lines

The kernel portions are in my -git tree ready for pushing to Linus after the next release is made,

The userspace portions requires X.org/Mesa/DRM CVS trees.

The DRM CVS also contains the kernel portions....

Dave.

--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.

#10 lore raw
In reply to Dave Airlie
Quoted 4 lines · Dave Airlie

For PCI Express Radeon cards:

The kernel portions are in my -git tree ready for pushing to Linus after the next release is made,

Is the kernel support for AGP R300 already in the kernel, or is it scheduled to go later ?

Thnaks,
Xav

#11 lore raw
Quoted 9 lines

Le mardi 11 o

Quoted 4 lines

For PCI Express Radeon cards:

The kernel portions are in my -git tree ready for pushing to Linus after the next release is made,

Is the kernel support for AGP R300 already in the kernel, or is it scheduled to go later ?

Should be there since 2.6.13....

Dave.

#12 lore raw
Quoted 11 lines · Dave Airlie
Quoted 9 lines

Le mardi 11 o

Quoted 4 lines

For PCI Express Radeon cards:

The kernel portions are in my -git tree ready for pushing to Linus after the next release is made,

Is the kernel support for AGP R300 already in the kernel, or is it scheduled to go later ?

Should be there since 2.6.13....

Ok, I'll test it then.
Thanks,

Xav

#13 lore raw
In reply to Lars Roland

I found the problem.. there is no entry in pciids.h for my card:

0000:05:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]
0000:05:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]

0000:05:00.0 0300: 1002:5b60
0000:05:00.1 0380: 1002:5b70

Quoted 37 lines · Lars Roland

Date: Mon, 10 Oct 2005 21:00:42 +0200
From: Lars Roland <[email protected]>
To: Gerhard Mack <[email protected]>
Cc: [email protected]
Subject: Re: Direct Rendering drivers for ATI X300 ?

Quoted 8 lines · Gerhard Mack

Hello,

Can anyone tell me if there are working open source DRM drivers that work on recent 2.6.x kernels for the ATI X300? I've tried dri.sourceforge.net and r300 but neither seems to even bother compiling. I've spent several hours on google without luck.

Gerhard

What are your dmesg reporting, when loading the modules, if you see something along these lines:

-------------------
[drm] Initialized drm 1.0.0 20040925
PCI: Unable to reserve mem region #1:8000000@c0000000 for device 0000:01:00.0 [drm] Initialized radeon 1.19.0 20050911 on minor 0:
[drm] Used old pci detect: framebuffer loaded
mtrr: 0xc0000000,0x8000000 overlaps existing 0xc0000000,0x4000000 [drm:radeon_do_init_cp] *ERROR* Cannot use PCI Express without GART in FB memory
-------------------

then you may have hit a possible x300/pci express issue - other than that I have it working perfectly here with kernel 2.6.14rc1, Quake3 is playable (although I am experiencing some minor problems with MergedFB combined with 3D gaming). I have written a small guide for Gentoo that explains how to get DRI/DRM working with R300 (and newer cards) all though you may not use Gentoo it should be very easy to get it working on other distributions:

Quoted 9 lines

The guide is here:
http://forums.gentoo.org/viewtopic-t-374745-highlight-r300.html

--------------
Regards.

Lars Roland

--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.