LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-28-2004, 10:40 AM   #1
C++Boar
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo
Posts: 68

Rep: Reputation: 16
Thumbs up ATI on Mandrake 10 with nforce 2


ATI is not complete easy to get to work with Mandrake 10. And with nForce2 it is not easier.
The below is an old (and not smart) solution. I have later used http://www.linuxquestions.org/questi...826#post858826
(Braveheart1980)

BUT COMBINED WITH
add the following line in /etc/modprobe.conf
install fglrx /sbin/modprobe --ignore-install fglrx && { /sbin/modprobe nvidia_agp; /bin/true; }

This skips the dri part. (Which have given a lot of people problems - because their dri-versions often has been buggy)

There several other (probably smarter things are out on the web).
But the below should also work.

--------------------------------------------------------------------------------------

This message is almost a copy of a message by erol
http://www.linuxquestions.org/questi...hreadid=143960
(This gives you all you need, but you will have to read all the pages .... so I hope that this will do)

My machine looks like this.
AN7 (nvidia nforce2) AMD XP3200+
running mandrake 10 with kernel 2.6.3
Radeon 9600XT (9600 series)

In my mandrake 10 there was some minor changes so I post my answers to anyone who could need them.

First of all. Get a working DRI from dri.sourceforge.net. The one Erol had was fine.
radeon-20040208.i386.tar.bz2 (some newer has bugs. radeon-2004-linux.i386.tar.bz2)
Get the ATI driver www.ati.com (mine is fglrx-4.3.0-3.7.6.i386.rpm)

First install the kernel source when you install (or rpmdrake (seach kernel) to install it).

First you need to compile a kernel without Direct Rendering Manager :
compiling your kernel :
su
cd /usr/src/linux
make mrproper
make clean
make xconfig
And go to (Device Drivers->) character devices and remove Direct Rendering Manager.
save
make
make bzImage
make modules
make modules_install
make install
edit \etc\lilo.conf so your new kernel is the one that is booted with.
lilo (command to activate your changes)

REBOOT (to activate your new kernel. Make sure your new one is the chosen one)

now :
bzip2 -cd radeon-vers.i386.tar.bz2 | tar xvf -
su
telinit 3
login as root
cd (to the folder where the above was extracted to)
sh install.sh
(this might give a problem with libGL.so.1.2 but it can be rerun later)

now go to the folder with your ATI-driver
rpm -ihv --force fglrx-4.3.0-3.7.6 (or whatever it is now called)

(it is conflicting with libxfree86-4.3-29mdk which you dont want to remove. It is NOT like removing mesa if you try something like rpm -e --nodeps ....)

(For you who have read the link above. You dont need the patches anymore - thay were for earlier versions)

Now run
fglrxconfig

There is one important thing
when asking to use external AGP GART module 'y' (not the default no)
(You kan also manually change your /etc/XF86Config-4 file.)

(If you now reboot you are still with MESA drivers so you need to...)

add the following line in /etc/modprobe.conf
install fglrx /sbin/modprobe --ignore-install fglrx && { /sbin/modprobe nvidia_agp; /bin/true; }

and add the following line in /etc/rc.d/rc.modules
/sbin/modprobe fglrx

REBOOT (maybe telinit 3 and telint 5 will do - but I like it the Windows way)

fglrxinfo should now give something with ATI and not MESA
-------------------------------------------
Becourse I had an error in my DRI from dri.sourceforge.net I later got an older one.
reinstalled it and reinstalled my fglrx again. I hope that step is not needed.

I wish that ati soon will write some windows-like drivers for Linux.
nvidia have some nice onces. However they are not open source ....

Good Luck

C++Boar

Last edited by C++Boar; 06-26-2004 at 11:56 AM.
 
Old 03-30-2004, 04:48 PM   #2
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633
Blog Entries: 1

Rep: Reputation: 30
I have an 9600 pro ati radeon. I've installed my card fie with 3d accelaration ( 4750 FPS in glxgears) under mandrake 9.2 . I'll be upgrading to 10.0 in a few days. Do i really have 2 go through this painfull procedure? Will the kernel compile procedure as described in your article work fine?Isn't there another way? I have opened a similiar thread here : http://www.linuxquestions.org/questi...549#post848549 . Thanks anyway and apologize me for being afraid to compile a kernel but till now i wasn't able 2 get a correct kernel compile!That's why i am a bit afraid of the above procedure.

PS I don't have a nforce 2 chipset. My mobo is p4g8x from asus with e7205 chipset from intel and the 845 one also from intel . Thanks again!

Last edited by Braveheart1980; 03-30-2004 at 04:49 PM.
 
Old 03-30-2004, 11:04 PM   #3
C++Boar
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo
Posts: 68

Original Poster
Rep: Reputation: 16
Question Unsure

I am a kind of , but rumors says that Direct rendering Manager in
kernel 2.6.3 is incompatible with ATIs driver module.
(But this might depend on hardware. nForce2 chipset is maybe the things that is making trouble)

(There may also be no problem if you use the old kernel 2.4.xx in Mandrake 10)

What I posted above is what I did to get it working. And that should work, so if you install Mandrake 10 and nothings seems to work the above step probably will.

But Mandrake 10 gives a lot of stange errors, so unless you have a clear reason for upgrading you might want to wait for a 10.1 .....

Otherwise good luck with it.

C++Boar

PS:
Anyway the steps above should not take more than a couple of hours to execute. I spend 2 days reading in different forums (mosty the one I have linked to) to perform the operation.

Last edited by C++Boar; 03-30-2004 at 11:06 PM.
 
Old 03-31-2004, 05:16 AM   #4
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633
Blog Entries: 1

Rep: Reputation: 30
Thanks! I'll give it a try in a few days and i'll post the results!
 
Old 03-31-2004, 04:55 PM   #5
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633
Blog Entries: 1

Rep: Reputation: 30
Strange. I know this might be silly but i can't find what 2 download from dri.sourceforge.net !! Maybe u could post a link to your file ( radeon-20040208.i386.tar.bz2 ) . Thank you!
 
Old 03-31-2004, 05:02 PM   #6
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633
Blog Entries: 1

Rep: Reputation: 30
How silly i fell! Just found it! Thank though!
 
Old 03-31-2004, 05:14 PM   #7
lcars8467
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
I tried to follow the steps carefully but when i try to run fglrxinfo i get this error .

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 144 (XFree86-DRI)
Minor opcode of failed request: 5 ()
Value in failed request: 0x600002
Serial number of failed request: 29
Current serial number in output stream: 29

I'm quite a noob in linux so if anyone could help me with this.

Thx in advance

system: msi K7NG2 - AMD 2500xp+ - Radeon 9600 pro - 200 gig hd - 512 meg DDR - DVD RW+- / DVD R / Pinnacle PCTV PRO / snd blaster 5.1
 
Old 04-01-2004, 01:35 AM   #8
C++Boar
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo
Posts: 68

Original Poster
Rep: Reputation: 16
solution.

------ org description -------
First of all. Get a working DRI from dri.sourceforge.net. The one Erol had was fine. radeon-20040208.i386.tar.bz2 (some newer has bugs. radeon-2004-linux.i386.tar.bz2)
----------------------------------------------

In other words - dont use a new one get an older one eg.
radeon-20040208.i386.tar.bz2

C++Boar
 
Old 04-01-2004, 04:16 AM   #9
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633
Blog Entries: 1

Rep: Reputation: 30
Unhappy

Bad luck. I did everything as described in your post but in the final reboot i got only a blank screen!!! Why?

PS The only thing i didn't do was to edit modprobe.conf because it had something about an nvidia_agp thing. I have another mobo with intel chipset.
 
Old 04-01-2004, 04:35 AM   #10
C++Boar
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo
Posts: 68

Original Poster
Rep: Reputation: 16
ATI

I dont know much about this - but if you only have a blank screen something is not loaded right (I think)

maybe you can log in as root and write
modprobe fglrx
startx
??

But then again maybe not.

I guess you didnt change the agp-support under graphic devices - but only changed dri under character devices. That has to set to module.

But what does lsmod (login as root) shows you ? (about agp) I could imagine that you need the same thing like nvidia_agp. (but it is called something else but I dont know what)

I have read on other forums that somebody adds a line with chipid something in there XF86Config, but I dont think that is what is giving you these problems.

PS : What is your hardware ?

Last edited by C++Boar; 04-01-2004 at 12:05 PM.
 
Old 04-05-2004, 09:57 AM   #11
C++Boar
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo
Posts: 68

Original Poster
Rep: Reputation: 16
Thumbs up should work

For people without nforce2 chip set will be able to solve differnt (actually more easy)

Braveheart1980 has posted at.

http://www.linuxquestions.org/questi...826#post858826
 
Old 04-19-2004, 12:30 AM   #12
Hatman
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake 10.0
Posts: 28

Rep: Reputation: 15
C++Boar, u're my personal hero now!!! ^_^

U're routine worked like a charm for me.

Specs are:
ASUS A7N8X-deluxe Mainboard
Radeon 9800XT
Fresh install of Mandrake 10.0

I dunno if it matters but i had agpgart compiled into the kernel instead of as modul (default) because i read about it in another thread.

anyways glxgears runs at 4800FPS now and i just saw fgl_glxgears for the first time in my life. lol, thx man.

Hatman
 
Old 04-19-2004, 11:45 AM   #13
C++Boar
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo
Posts: 68

Original Poster
Rep: Reputation: 16
Thanks - but far most of the credit belong to Erol (my link)
I only used things from his post and found out that
new versions of DRI was not that good ....

But I am glad you got it to work.
 
Old 05-02-2004, 08:43 PM   #14
derfunkenstein
LQ Newbie
 
Registered: Apr 2004
Posts: 16

Rep: Reputation: 0
Oh, wow...this one-line hack (which is really the most important part) got the NF7-S and Radeon 9000 in the spare box to play nicely together...this is great!
 
Old 05-08-2004, 07:45 AM   #15
Seraptin
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
pls help
i cant find the radeon-20040208.i386.tar.bz2 on dri.sourceforge.net
i am a linux newbie and this page is so confusing, i cant find anything on it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slack 10.1, ATI nForce and 2.6 Zarnce Slackware 2 02-09-2005 10:25 AM
ATi Radeon on NVidia NForce Marvelloard Linux - Hardware 10 07-31-2004 06:13 AM
ATi radeon 9800pro, nforce 2 mobo, mandrake 10 cyborg_jt Linux - Hardware 1 07-12-2004 08:13 AM
nforce 2 and ati jag2000 Linux - Hardware 3 06-06-2004 10:52 AM
nforce 2 and Ati jag2000 Linux - Hardware 2 05-25-2004 02:20 PM

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

All times are GMT -5. The time now is 03:18 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration