LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   ATI on Mandrake 10 with nforce 2 (https://www.linuxquestions.org/questions/mandriva-30/ati-on-mandrake-10-with-nforce-2-a-163372/)

C++Boar 03-28-2004 10:40 AM

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

Braveheart1980 03-30-2004 04:48 PM

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!

C++Boar 03-30-2004 11:04 PM

Unsure
 
I am a kind of :newbie:, 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.

Braveheart1980 03-31-2004 05:16 AM

Thanks! I'll give it a try in a few days and i'll post the results!

Braveheart1980 03-31-2004 04:55 PM

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!

Braveheart1980 03-31-2004 05:02 PM

How silly i fell! Just found it! Thank though!

lcars8467 03-31-2004 05:14 PM

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

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

C++Boar 04-01-2004 01:35 AM

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

Braveheart1980 04-01-2004 04:16 AM

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.

C++Boar 04-01-2004 04:35 AM

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 ?

C++Boar 04-05-2004 09:57 AM

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

Hatman 04-19-2004 12:30 AM

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

C++Boar 04-19-2004 11:45 AM

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. :)

derfunkenstein 05-02-2004 08:43 PM

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!

Seraptin 05-08-2004 07:45 AM

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.


All times are GMT -5. The time now is 01:23 PM.