LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-04-2003, 03:12 PM   #1
NBN
LQ Newbie
 
Registered: Dec 2003
Location: Denmark/Copenhagen
Distribution: Mandrake 9.2 (FiveStar)
Posts: 16

Rep: Reputation: 0
Question Radeon 9700 probs/driver downloaded/kernel generator missing


Hi, im a

Just started using Mandrake 9.2 (FiveStar) after years and years of coping with Windows (gack) finally seen the light, etc. etc.

Anyway, the problem is that my Radeon 9700 doesnt work with Mandrake 9.2

First thing that happened was simply that the X wouldnt start.
I fixed this by chosing radeon (dev) as my driver, running with 16bit color and 600x800 resolution and the Xfree86 4.3 with 3d acceleration, anything else malfunctioned.
But i hated the resolution and couldnt use OpenGL and other things like flash and shockwave (even after installing the plug-ins for Mozilla)

Then i downloaded the newest linux driver from www . ati . com (spaced becouse the forum doesnt allow me to use URL's... yet. please dont ban)
I then followed the install readme...

when i used rpm -Uhv (driver name).rpm it wouldnt install becouse of a conflict with my libGL, i then forced it (-i --force) and it installed, but then told me i needed a tailor made kernel to run it.
Big deal i thought, it all stood here in the manual howto step-by-step.
Thing is, i couldnt execute './make.sh' since the kernel source and generator was missing.
I then installed every single rpm on the iso's i had burned, it still wouldnt work.

Any help? How can i get the kernel generator to function again/where do i find the kernel source and generator?
Btw, im using the kernel that came with Mandrake 9.2, the kernel 2.4.22 i belive it was called.

Thanks in advance.
-NBN-

Last edited by NBN; 12-05-2003 at 08:23 AM.
 
Old 12-04-2003, 04:20 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
NBN, I think I know your problem. I tried this in mandrake 9.2 and it didn't work for me, but someone else mentioned that Mandrake 9.2 puts the wrong PCI slot in the configuration or something and you can change that and it'll work. The procedure I'm telling you will work in Mandrake 9.1 for sure.

1) go to console
2) uname -a
3) write down kernel version number
4) mandrake control center
5) install RPM
6) install kernel-source-X.XX.XX-RPM (install version number correctly)
7) install the RPM file from www.ati.com
8) rpm -i --force <filename>.rpm
9) fxlgrconfig or whatever
10) cross fingers and try running tux racer

But like I said, I did everything and it installed fine, but my OpenGL still didn't work. That is one reason why I switched back to Mandrake 9.1.
 
Old 12-04-2003, 05:22 PM   #3
[PQ3]RogeR
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
To get my ATI 9800 working i did this....

...(do the following in order)....

1. Install the ATI drivers by forceing the rpm just as you said.
2. Then I downloaded a new kernel by typeing this:
urpmi --allow-force kernel-2.4.22.21mdk
3. Then I went into the: /lib/modules/fglrx_build_mod and typed: ./make.sh
4. Go back into the main fglrx dir ( cd .. ) and type: ./make_install.sh
5. Run: fglrxconfig

and by ATI 9800 worked!.... thx to cannonball on irc.freenode for his help. Remember i did the following in that exact order.
 
Old 12-05-2003, 12:25 AM   #4
NBN
LQ Newbie
 
Registered: Dec 2003
Location: Denmark/Copenhagen
Distribution: Mandrake 9.2 (FiveStar)
Posts: 16

Original Poster
Rep: Reputation: 0
Talking

Thanks, those two solutions sounds like foolproof, which i need until i turn a little more pro.

Im off for school, i'll write back to tell the results or cry for help when i get to try it out.

Im off, cheers.
-NBN-

P.S. where to get a new kernel?

Last edited by NBN; 12-05-2003 at 08:11 AM.
 
Old 12-05-2003, 08:09 AM   #5
NBN
LQ Newbie
 
Registered: Dec 2003
Location: Denmark/Copenhagen
Distribution: Mandrake 9.2 (FiveStar)
Posts: 16

Original Poster
Rep: Reputation: 0
Question

I tried the kernel install, its just returns(translated from danish):
No package called kernel-2.4.22.21mdk

What im gonna do?

Waiting for response.
-NBN-

P.S. just runned the uname -a check Micro420 told me to, the results was:
2.4.22-10mdk #1 Thu Sep 18 12:30:58 CEST 2003 i686 unknown unknown GNU/Linux

as i spotted:
2.4.22.21mdk
2.4.22-10mdk
doesnt match, i will try to use -10 insted of .21 and remove the kernel-

***UPDATE FIELD***
Worked.
Continueing process.

FAULT:
[root@Dystopia /]# cd lib/modules/fglrx/build_mod
[root@Dystopia build_mod]# ./make.sh
ATI module generator V 2.0
==========================
initializing...
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h

Anyone got a clue on what i should do next?

Last edited by NBN; 12-05-2003 at 08:21 AM.
 
Old 12-05-2003, 02:02 PM   #6
NBN
LQ Newbie
 
Registered: Dec 2003
Location: Denmark/Copenhagen
Distribution: Mandrake 9.2 (FiveStar)
Posts: 16

Original Poster
Rep: Reputation: 0
Talking FIXED!

Everything works like a charm now.

step by step of how i did it (so anybody else doesnt have to figure it out all over again)

1: download the driver needed for your Radeon card from www.ati.com
2: download the kernel-source-2.4.22-10mdk.i586.rpm (seach for it, you'll find it if you copy paste the file name into a seach engine)
3: installed the kernel-source-2.4.22-10mdk.i586.rpm (in GUI mode, dueble click file and accept anything, in Mesa mode type rpm kernel-source-2.4.22-10mdk.i586.rpm in the dir its located (apply -i --force if it objects)
4: in Mesa mode (importent: IN MESA MODE) go to the dir the driver is located in and use rpm -i --force (driver name)
goto /lib/modules/fglrx/build_mod and type ./make.sh
5: type cd .. to go a dir back, and type ./make_install.sh
6: type fglrxconfig to configurate your card, this all depends on what mouse, keyboard, monitor and card you have, so be sure to have specs laying close to you or in your head.

That'll fix it, if not ask in this nice forum, im sure people will be more then happy to help you as they helped me.

Cheers
-NBN-

Last edited by NBN; 12-05-2003 at 02:04 PM.
 
Old 12-05-2003, 02:42 PM   #7
NBN
LQ Newbie
 
Registered: Dec 2003
Location: Denmark/Copenhagen
Distribution: Mandrake 9.2 (FiveStar)
Posts: 16

Original Poster
Rep: Reputation: 0
Angry NOT fixed

Uh-oh.
The root now have the right driver and the kernel module running, but my everyday user doesnt!
I dont understand anything of this, my installation guide from ATI says something about loading the kernel module manually if it doest load itself but they fail to tell me how!

Any help on how to enable the Radeon driver/Kernel module to my secondary user? i dont want to log in as root every time i have to view something in flash or play a game.

***EDIT***
Im such a silly, i simply had to run fglrxconfig as the general user too!
So, you have to run fglrxconfig for every user you want to use the Radeon card.
BTW, remember to set restrictions to none, unless your for some reason paranoid, else you cant run the fglrxconfig as anybody else but the root.

Last edited by NBN; 12-05-2003 at 02:53 PM.
 
Old 01-10-2004, 06:15 PM   #8
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633
Blog Entries: 1

Rep: Reputation: 30
NBN u r a GOD!!!!!!!!!!!!!!

I have ati radeon 9600 pro and had the same problems with you!!!

Before your post a got 167 FPS in glxgears .Now I have around 4750 FPS !!!!!

U saved me man!!! Really thank you!!!
 
Old 01-11-2004, 03:29 AM   #9
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633
Blog Entries: 1

Rep: Reputation: 30
Can i make one last question my dearest friend?

How can i enable my tv out????
 
Old 01-11-2004, 10:29 PM   #10
ttilt
Member
 
Registered: Dec 2003
Location: Campinas, Brasil
Distribution: slackware 10
Posts: 150

Rep: Reputation: 15
hi,
I got radeon 9700pro w/ Mandrake 9.2. I install the ATI drivers after applying the Athlon patch that I heard about in another thread and I make the custom modules and everything, it seems to install fine, I configure the fglrxconfig and everything but I still get ridiculous numbers for glxgears (< 100), even though lsmod lists fglrx as loaded (although there's nothing using it: Used by = 0).

In order to install it I had to use the --force too and everything but does anyone have any idea what could be causing the glxgears to still give crappy numbers?

By the way, the ultimate way to know if your ati modules are working as they should is to type fglrxinfo and see if it lists ATI there instead of MESA. Mine still lists MESA, which is why I'm not getting the full potential. Any ideas are welcome.

Thanks a lot!
 
Old 01-12-2004, 02:56 AM   #11
NBN
LQ Newbie
 
Registered: Dec 2003
Location: Denmark/Copenhagen
Distribution: Mandrake 9.2 (FiveStar)
Posts: 16

Original Poster
Rep: Reputation: 0
To your prob ttilt.

I had the same problem after installing my card, after seing that it worked with my root user i figured it must be becouse it only installed for the root, but not for any other user.
Now, how do you install for another user when you need root privilege to do such things?
Easy, it turns out the default installation is for Root Group (0) only, simply run the fglrxconf or what the command was... long time ago.
Then, go thru alll the sitting, and pay close attention(!)
Somewhere near the end it asks you who to apply it for, and then select Users (i belive thats the group needed to be selected) and it should work for your "foolproof/bulletproof" user too!

To Braveheart1980
I belive the flag for your tv out is somewhere in the configuration, try running fglrxconf, go thru all the configurations and you should stumble across it.

Now, it may not work, havent really fooled around with Linux for a loooong time (gave me too many probs, and i got school too to worry about, i take it up again at the next vacation )
Actually the only reasons i could reply to this was:
1: i was in "read" mode in this topic, so i rechieved mail that someone had stumbled across my month old topic.
2: i got a easy to remember, hard to hack rockass password i user in many places that isnt directly crucial to me (bank account and MMORPG account pass's are diff'rent)
3: i could see my own name easily the mail adressed my as NBN.

-NBN-
 
Old 01-12-2004, 11:36 AM   #12
ttilt
Member
 
Registered: Dec 2003
Location: Campinas, Brasil
Distribution: slackware 10
Posts: 150

Rep: Reputation: 15
just out of curiosity, is there a way to install make the custom module for say my 2.6.0 kernel after booting-up w/ another kernel (2.4.22 for example). In other words, is there a way to tell the ./make.sh and ./make_install.sh to create the module for the 2.6.0 kernel?

Thanks
 
Old 01-13-2004, 12:55 PM   #13
NBN
LQ Newbie
 
Registered: Dec 2003
Location: Denmark/Copenhagen
Distribution: Mandrake 9.2 (FiveStar)
Posts: 16

Original Poster
Rep: Reputation: 0
Oh, wait.......

You mean to boot up with the old kernel and then run the custom module on a temporary kernel 2.6.0? if so, no clue.
sorry
If you mean how to implement the new kernel, then i belive its covered in the manual that follows the radeon driver you prolly downloaded.
Right now, its months since i implementet the kernel i now use, i cant remember how i did it, if you run into more probs/cant solve this prob just post it with some more specs of the situation and i will gladly seach a little around/test it myself and see if i can figure it out again.

-NBN-
 
Old 01-14-2004, 12:03 AM   #14
ttilt
Member
 
Registered: Dec 2003
Location: Campinas, Brasil
Distribution: slackware 10
Posts: 150

Rep: Reputation: 15
Quote:
Originally posted by NBN
To your prob ttilt.

I had the same problem after installing my card, after seing that it worked with my root user i figured it must be becouse it only installed for the root, but not for any other user.
Now, how do you install for another user when you need root privilege to do such things?
Easy, it turns out the default installation is for Root Group (0) only, simply run the fglrxconf or what the command was... long time ago.
Then, go thru alll the sitting, and pay close attention(!)
Somewhere near the end it asks you who to apply it for, and then select Users (i belive thats the group needed to be selected) and it should work for your "foolproof/bulletproof" user too!

-NBN-
Thanks for the reply, but when running fglrxconfig, there's no option at the end to who to apply it for.. It simply says that it'll save the configuration file to /etc/X11/XF86Config-4 and I choose 'y' to save.

So even though the fglrx appears as installed under lsmod, I still don't have it listed under fglrxinfo and glxgears still give <100 FPS.

Very strange isn't it?

Thanks for all the help
 
Old 01-14-2004, 02:44 AM   #15
morphodone
Member
 
Registered: Nov 2003
Location: Texas, USA
Distribution: Ubuntu 7.04
Posts: 44

Rep: Reputation: 15
Quote:
Originally posted by ttilt
Thanks for the reply, but when running fglrxconfig, there's no option at the end to who to apply it for.. It simply says that it'll save the configuration file to /etc/X11/XF86Config-4 and I choose 'y' to save.

So even though the fglrx appears as installed under lsmod, I still don't have it listed under fglrxinfo and glxgears still give <100 FPS.

Very strange isn't it?

Thanks for all the help
i have the exact same problem, the driver appeared to install
but still the mesa driver comes up on fglrxinfo...
i tried rerunning fglrxconfig as well with no luck

any info would be greatly appreciated

i've read where other people went to mandrake 9.1
and installed the driver with success...i may try
that if all else fails
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ati Mobility Radeon 9700 driver help in Ubuntu Hansiman Linux - Laptop and Netbook 15 06-06-2005 02:40 PM
Radeon 9700 pro driver eastj1974 Linux - Newbie 5 08-14-2003 08:06 AM
driver for RADEON 9700 under XFree86 4.3 gireut Linux - General 3 07-24-2003 06:29 PM
Radeon 9700 Driver help Miltazar Linux - Hardware 1 05-05-2003 05:06 PM
Radeon 9700 (what driver to use) icel0rd Linux - Hardware 2 10-19-2002 06:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration