LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Ati driver installation (https://www.linuxquestions.org/questions/linux-software-2/ati-driver-installation-704585/)

yagabey 02-14-2009 04:26 AM

Ati driver installation
 
Hello,
I am trying to install, ATI graphics driver for my laptop with ATIx1300 and openSUSE 10.3.

I have installed this driver without any problems(a year ago). But the same procedure doesn't work now.(Ohh linux ohh...!). In my earlier notes I had written the installation procedure like that:

cd /usr/src/linux-2.6.22.5-31
make mrproper
make cloneconfig
make modules_prepare
make clean
rpm -e $(rpm -qa | grep fglrx)
cd ~/Desktop
sh ./ati-driver-installer-8-4-x86.x86_64.run --buildpkg SuSE/SUSE102-IA32
rpm -Uvh fglrx_7_1_0_SUSE102-8.476-1.i386.rpm
ldconfig
init 3
sax2 -r -m 0=fglrx

That should have worked; but now, after "make modules_prepare" command i get errors like:

CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC arch/i386/kernel/asm-offsets.s
cc1: error: unrecognized command line option "-mregparm=3"
cc1: error: unrecognized command line option "-march=i586"
cc1: error: unrecognized command line option "-maccumulate-outgoing-args"
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

I have gcc, g++, kernel-source, etc.. everything installed! What may be the problem? I am writing this post on a 800x600 resolution screen! Please, somebody help...

jdkaye 02-14-2009 10:36 AM

I don't know if this is related to your problem but you're using quite an old ati-driver-installer. You use version 8.4 (April 2008) and the most recent for the x1300 is version 9.1. You might want to download the most recent version from the ATI site. You have installed the source and headers for your current kernel, yes?
cheers,
jdk

yagabey 02-14-2009 05:10 PM

Actually I know it is old; but it had worked before ;tested! .So tested is good :-) I don't know what i did wrong this time..

Yes , kernel headers and kernel source are all installed. I think it is a compiler related problem but i am not sure :(

jdkaye 02-14-2009 09:57 PM

Quote:

Originally Posted by yagabey (Post 3443634)
Actually I know it is old; but it had worked before ;tested! .So tested is good :-) I don't know what i did wrong this time..

Yes , kernel headers and kernel source are all installed. I think it is a compiler related problem but i am not sure :(

The method of installing the drivers on Suse seems wildly different from what is used on debian-based systems (I'm glad I use debian ;)). You seem to be building only one rpm from the ati-driver-installer. When I do the equivalent command with the --buildpkg Debian/lenny setting instead of the Suse setting, I get 4 debian packages (debs) and I only build the module after having installed the debs. In the old days, openoffice downloaded from the OOo site only came with RPMs and not DEBs and I used alien to convert the RPMSs to DEBs but there was a one-to-one realtion between RPM and DEB. So this situation is very strange. Anyway, clearly I don't know or understand anything about Suse.
Cheers,
jdk


All times are GMT -5. The time now is 02:05 AM.