LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Yet Another ATI drivers question - can't do ./make.sh (https://www.linuxquestions.org/questions/mandriva-30/yet-another-ati-drivers-question-cant-do-make-sh-187637/)

Hayate 05-30-2004 09:58 AM

ATI drivers installation - 9800 Pro, Mandrake 10.0
 
I've been running around these forums for a few hours now looking for mandrake 10.0 installation of ATI drivers (I have a 9800 pro) and I've made and installed the module (and modprobed it) and still fglrxinfo comes up with the Mesa drivers. I've tried uninstalling Mesa, but there isn't a Mesa module that I can find. Anyone know how to fix this?

*edit* Sorry about the title for the thread, it won't let me change it.

jag2000 05-30-2004 01:15 PM

hayate.. that is were i was stuck at too. still waiting for a post to mine..
if you run from terminal glxgears what is your fps??

Hayate 05-30-2004 01:38 PM

My fps is around 112 or so. Yesterday before I started 'fixing' it, it was running at 430 or so.

I actually found something, but it involves recompiling the entire kernel, I'm trying that now. The link is:

http://www.linuxquestions.org/questi...light=ati+mesa

jag2000 05-30-2004 01:40 PM

THAT IS WHAT I DID.. and still it shows mesa when its done

Hayate 05-30-2004 01:49 PM

Aw, crap.

Hayate 05-30-2004 03:44 PM

Hey, you might wanna try that fix again. I did it, and it worked. I'm getting 4355 fps in glxgears.

Oh, here's my hardware specs:

Mobile Athlon XP 2400+, running at 2.00 GHz (OC slightly, gonna be more once I finish messing around with installing OS)
Sapphire Radeon 9800 Pro
Maxtor HDs
1 GB Crucial 3200 ddr

jag2000 05-30-2004 04:59 PM

Hayate.. which fix.. the one about kernel compiling.. or ati one???

Hayate 05-30-2004 05:19 PM

From the post of C++ Boar:

I did the steps starting from 'Get a working DRI'.


Quote:

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 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


All times are GMT -5. The time now is 06:35 PM.