LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-29-2005, 11:03 AM   #1
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Rep: Reputation: 30
ATI driver help


I have xfree86 4.3.x and I am trying to install the ati linux driver... im running SuSE 9.1 pro. I installed it from cmd line with this cmd:
Code:
rpm -Uh --force <ati_package_name>.rpm
and I got these errors:
Quote:
linux:~ # cd /root
linux:~ # rpm -Uh --force fgl*
########################################### [100%]
########################################### [100%]
*** Trying to install a precompiled kernel module.
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.
*** Error: no kernel module build environment - please consult readme.
/sbin/ldconfig: File /usr/X11R6/lib/FGL.renamed.libGL.so.1.2 is too small, not checked.
*** Warning ***
The QT based control panel application did not load in any version.
===
ATI display drivers successfully installed
please run 'fglrxconfig' now
===
This is what I did in responce to error msg (as instructed) and got this:
Quote:
linux:/lib/modules/fglrx # cd /lib/modules/fglrx/build_mod
linux:/lib/modules/fglrx/build_mod # ./make.sh
bash: ./make.sh: Permission denied
Im logged in as root and in the root console...
Any help?

If i was to re-boot now would my xserver still start? I don't want to try it incase it won't...

Last edited by dx0r515t; 01-29-2005 at 11:10 AM.
 
Old 01-29-2005, 11:40 AM   #2
dave_starsky
Member
 
Registered: Oct 2003
Location: UK, Manchester
Distribution: Gentoo (2.6.10-r4) & Ubuntu
Posts: 145

Rep: Reputation: 16
try
Code:
sh make.sh
 
Old 01-29-2005, 11:47 AM   #3
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Original Poster
Rep: Reputation: 30
thanks for the reply, I did as you said and got this:
Quote:
linux:/lib/modules/fglrx/build_mod # sh 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
linux:/lib/modules/fglrx/build_mod #
any ideas?

EDIT: ok I think i found the answer here that I need my kernel source code:
http://www.ati.com/support/infobase/4475.html
Now my question is, how do I get my kernel src code??
In /usr/src/ I don't have the linux folder like it says I should... I only have ATI and Packages folders. I do I go about getting the source for my kernel? I have SuSE 9.1 personal.... but I updated it to "pro" by d/l all the devel packages from a suse ftp server.... can someone give me a link to the kernel source I need? and tell me how to install/configure it?

Last edited by dx0r515t; 01-29-2005 at 12:01 PM.
 
Old 01-29-2005, 11:59 AM   #4
dave_starsky
Member
 
Registered: Oct 2003
Location: UK, Manchester
Distribution: Gentoo (2.6.10-r4) & Ubuntu
Posts: 145

Rep: Reputation: 16
Check that you have kernel-sources installed and that /usr/src/linux points to them, you can check this by doing

Code:
ln -l /usr/src/linux
 
Old 01-29-2005, 12:06 PM   #5
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Original Poster
Rep: Reputation: 30
in /usr/src I only have ATI and Packages folders.... no linux folder

Right now im d/l kernel source-2.6.4-52.i586 from yast2 how do I tell if this will work on my system? again im running suse 9.1 personal... or how do I tell what kernel im running? my kernel source im d/l has to match my current running kernel correct?
I'll assume this is my distro's fault for not including the src code.... If i was to switch distro's say FC3 would I have this same issue????
What distro would work best with the ATI driver?????

Last edited by dx0r515t; 01-29-2005 at 12:23 PM.
 
Old 01-29-2005, 12:33 PM   #6
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Original Poster
Rep: Reputation: 30
ok I've got the kernel source code, now in /usr/src I have the directories ATI, Linux, linux-2.6.4-52, and packages.

I tried this cmd
Code:
ln -l /usr/src/linux
and got this
Quote:
linux:~ # ln -l /usr/src/linux
ln: invalid option -- l
Try `ln --help' for more information.
help please

oh great now I get a new error message when I type
Code:
sh make.sh
Quote:
linux:/lib/modules/fglrx/build_mod # sh make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /usr/src/linux/include do not match current kernel.
they are versioned as ""
instead of "2.6.5-7.111.30-default".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
linux:/lib/modules/fglrx/build_mod #
As you can probably tell im getting frustrated......I think im just going to switch distro's... someone please suggest a distro that won't come this incomplete and won't be missing things such as devel tools,kernel source, etc
How would gentoo or slackware be?

Last edited by dx0r515t; 01-29-2005 at 12:47 PM.
 
Old 01-29-2005, 03:25 PM   #7
dave_starsky
Member
 
Registered: Oct 2003
Location: UK, Manchester
Distribution: Gentoo (2.6.10-r4) & Ubuntu
Posts: 145

Rep: Reputation: 16
Gentoo is easy peasy to install the drivers and you have to compile the kernel yourself so you will have all the tools and source code you need

Code:
emerge ati-drivers
Is all that it needed for me, although I had to unmask the new drivers because I use xorg 6.8, but thats easy enough
 
Old 01-29-2005, 10:01 PM   #8
dx0r515t
Member
 
Registered: Jan 2005
Location: USA
Distribution: Slackware 10.2 & 11.0
Posts: 155

Original Poster
Rep: Reputation: 30
Thanks for the reply, I think im going to try both Gentoo and slackware... whatever one I like best I think i'll use
SuSE is a BIG headache
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ati driver a bit unstable but no different than nvidia..ati benchmark inside. spade Slackware 1 10-06-2004 12:13 AM
ATI driver: ATI 9600XT failed dependencies igmcdermott Linux - Software 2 08-06-2004 09:26 AM
ATI driver: ATI 9600XT failed dependencies igmcdermott Linux - Software 1 08-06-2004 02:26 AM
ATI driver: ATI 9600XT failed dependencies igmcdermott Linux - Software 1 08-06-2004 02:24 AM
ATI Radeon 9200 SE TV-OUT without ATI Driver? carboncopy Slackware 6 07-11-2004 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:12 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
Open Source Consulting | Domain Registration