Click to See Complete Forum and Search --> : Radeon DRI driver install fail
templest
08-27-2003, 08:30 PM
Hey... I've been working for 3 days straight (no joke, only reason I get out of room is to shower and eat, aswell as about 4-5 hours of sleep a day) on getting some damned Hardware Acceleration on this God-forsaken-poor-excuse-for-a-video-card Radeon 7000 PCI (yes PCI.. not AGP). But all attempts in vain. And forget about any linux driver on www.ati.com (there are none... at least not for this card). I've resently tried installing XFree86 DRI something-something... (Don't really know what it's called. Just got it from dri.sourceforge.net 'cause it said I'd get some hardware acceleration). Downloaded the correct "radeon" labeled one. And installed. Wait no... Actually right after this occured " The script will now compile the DRM kernel modules for your machine."... BLAMMO! Errors Galore. More like one error. But a f*cking annoying one that's for sure. This is it:
Compiling...
ERROR: Kernel modules did not compile
The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.
And to speed things up a bit. Here's what in my dri.log:
Makefile.linux:136: *** Cannot find a kernel config file. Stop.
Please help me. My arms are shaking and I swear i'm hearing voices. If I don't get some sleep I'm going to kill someone.
rid3r
08-27-2003, 09:00 PM
see if you have your kernel sources installed (ls /usr/src).
You can just copy the /boot/config file to /usr/src/linux/.config or if you want to:
$ su
# cd /usr/src/linux
# make xconfig (or make menuconfig)
I've tried to compile and load DRI for Radeon 7000 too, it did not give me hardware acceleration, maybe you will have a better luck.
Mr Tom
08-27-2003, 09:02 PM
I'm having a very similar problem, also trying to install DRI on a Radeon 7000 PCI!
I think I can help you a little with your problem. I'll have to apologise first - I don't know how much you know about Linux, but I myself know very little, so I will be quite verbose, because it's taken me long enough to find all this out myself!
Are you using Red Hat? If so, go to your "Start Menu type thing", then System Settings, then Add/Remove Applications. In the Development section, select Kernel Development (if it's already selected then I'm talking rubbish!). After you've installed this, try again. BTW I'm sorry if you don't have RH, I'm a complete newbie so I don't know how else to do this!
If you manage to get your sources installed, try running the install script again. If it still won't compile, try this...
Make sure you are root and go to your kernel source directory (for me this is /usr/src/linux-2.4.20-8, dunno what it'll be for you) and type "make dep". Then try the install script again.
With any luck (ha!), this will bring you to roughly where I am...
The DRI install script completes, but tells me that there has been an error with the "radeon" module. I examined the setup log, and there are lots of lines which are fairly similar instances of "/lib/modules/2.4.20-8/kernel/drivers/char/drm/radeon.o: unresolved symbol add_wait_queue"
There's a lot more of these unresolved symbols! It happens when DRI tries to load the radeon module - you get exactly the same error message by typing "insmod radeon"
I don't know what to do about this!!! Wouldn't mind someone else's help for this part...
Oh btw if you do manage to install DRI incorrectly and find you can't get into X, go back to the dripkg folder and type "./install.sh restore" to get your previous configuration (and thus X) back.
Hope I've been of some use to you, and I hope someone can help me too!!
Tom
templest
08-27-2003, 09:19 PM
Sorry rid3r. No luck. :eek: . Just gives me the exact same error.
I wonder if this is an issue with it being PCI. A few months ago, i was still running a first generation Radeon All-in-Wonder AGP and managed to get the DRI modules insalled just fine after installing the kernel source. That was on Mandrake 9.0.
ghostwalker
08-27-2003, 10:20 PM
Go to the following:
http://www.xfree86.org/4.3.0/radeon.4.html
This may help you out.
I have PCI card and had to use
Option "ForcePCIMode" "on"
rid3r
08-27-2003, 11:01 PM
See that your /usr/src/linux/.config has the following:
CONFIG_DRM=y
CONFIG_DRM_RADEON=m
templest
08-28-2003, 12:40 AM
rid3r... Didn't work.
ghostwalker... It says a bunch of stuff (Website) on configuring the driver and stuff and first off.. I don't know what file. Secondly... It says (But Only if DRI is enabled) for "forced PCI mode". Can you enlighten me on what to do?
EDIT: What I ment to say was... It says "Only if DRI is enabled"... Problem is.. That's what I'm trying to get installed. :eek:
RE-EDIT: Never mind.. It's talking about the XF86Config file :D . But the problem still stands. I wouldn't be able to use it 'cause DRI isn't enabled.
RE-RE-EDIT: By the way... What section would that line go under anyways? There's so many of them, I'm afraid I'll screw up and ruin X all together.
rid3r
08-28-2003, 12:08 PM
I am just afraid to give you any advice, since I had a rather bad experience with DRI. I managed to load "radeon" on Slackware 8.1, but I did not get hardware acceleration (AGP Radeon 7200 QD), I've tried the same thing with Slackware 9.0, it just would not start the X-server. Just like you I've spent hours eyeballing their website :)
templest
08-28-2003, 12:45 PM
*sigh*
*gasp*
*faint*
*twitch*
*die*
GODDAMN SONY VAIO!!!
Where else have you herd of a PC made AFTER the year 2000 that doesn't support AGP CARDS!?. Maybe then I would have gotten an nice-and-pretty NVidia Instead of this pos! Anyways... Anyone else have anything I can try to get some acceleration?
ghostwalker
08-28-2003, 01:12 PM
That option goes where you have enabled the radeon driver
Section "Device"
Option "ForcePCIMode" "on"
Identifier "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
Driver "radeon"
VendorName "ATI"
BoardName "7000"
# BusID "PCI:1:0:0"
EndSection
templest
08-28-2003, 07:25 PM
aaaaaaaaaaaaaaaaaaaaarrrrrghhhhhhhhh.
Screw this sh*t. I'll just go out and buy a new MOBO and a video card on saturday. One question though... Anyone know a good card that GIVES HARDWARE ACCELERATION on SLACKWARE linux 9.0? So I don't go out a buy another pos. Also... My Sound card came inegrated with this gross MOBO along with an extensive list of things like my USB ports and stuff. Am I going to have to buy all of these and put them on a new MOBO or do they come with it?
Even though it is a PCI card you will still need to make sure agpgart is loaded.
insmod agpgart
Once you have that restart the X server. Check /var/log/XFree86.0.log to see is there are any errors.
Do glxinfo | less and look for line
direct rendering: Yes
You might also need to rebuild the radeon module
http://www.xfree86.org/~alanh/
You need the kernel source for this
once this is built copy the radeon.o module into
/lib/modules/2.4.22/kernel/drivers/char/drm/radeon.o
restart the X server
This SHOULD? work
templest
08-29-2003, 01:57 AM
WOW! Thanks for all of you'r help people. But I did some serious "eye-balling" in www.ati.com and I found (Hurray!) Some Radeon "Generic" drivers of their own! :) Which I completely assumed would be better then running a generic ati driver not built by them. So I downloaded the RPM and used alien to convert it to slackpack. Installed. Ran the configure. Restarted X! Boom! I't still not hardware acceleration but now I'm up to a decent 470 fps (as opposed to 120 :eek: ). I'm pretty sure it IS but I did some test and Linux still tells me that it isn't. But as long as the performance is there. But I still think I'm going to need to buy the new MOBO and card though. I NEEEEEEED QUAAAAAAAAAKE!!!! (And Diablo 2: LoD won't run without h-acceleration, Damned winex.) But all is good. :) Thanks again!
EDIT: I'll make sure that my next card is nVidia All in Wonder. :) Those seem to be supported fairly well.
ghostwalker
08-29-2003, 02:39 AM
I have a P4S533-VM and a Geforce 4 MX 440 and it work just fine.
I don't use the onboard vid, but use the sound and net. $150 for both.
ghostwalker
08-29-2003, 02:45 AM
Hey, I know that you made up you mind and changing MB and video, but I found this link :
http://dri.sourceforge.net/
templest
08-29-2003, 02:10 PM
Ghostwalker... DRI is what I was trying to get set up in the first place. Installs always failed. :P So I'm just going to get a card that does that h-acceleration support.