LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-25-2003, 03:28 PM   #1
enigma Z
Member
 
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224

Rep: Reputation: 30
Can't install ATI's drivers for my Radeon 9000


Hey, I have an ATI Radeon 9000 and I just downloaded the drivers for it from the ATI site. I have the right version, and I installed everything when I installed Slack 9.0, but it fails on some dependencys.

here's the output from Kpackage:


error: failed dependencies:

/bin/sh is needed by fglrx-glc22-4.3.0-3.2.5
/bin/sh is needed by fglrx-glc22-4.3.0-3.2.5
/bin/sh is needed by fglrx-glc22-4.3.0-3.2.5
/bin/sh is needed by fglrx-glc22-4.3.0-3.2.5
ld-linux.so.2 is needed by fglrx-glc22-4.3.0-3.2.5
libc.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libdl.so.2 is needed by fglrx-glc22-4.3.0-3.2.5
libICE.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libm.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libpthread.so.0 is needed by fglrx-glc22-4.3.0-3.2.5
libSM.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libX11.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libXaw.so.7 is needed by fglrx-glc22-4.3.0-3.2.5
libXext.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libXmu.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libXpm.so.4 is needed by fglrx-glc22-4.3.0-3.2.5
libXt.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
/bin/bash is needed by fglrx-glc22-4.3.0-3.2.5
libc.so.6(GLIBC_2.0) is needed by fglrx-glc22-4.3.0-3.2.5
libc.so.6(GLIBC_2.1) is needed by fglrx-glc22-4.3.0-3.2.5
libc.so.6(GLIBC_2.1.3) is needed by fglrx-glc22-4.3.0-3.2.5
libdl.so.2(GLIBC_2.0) is needed by fglrx-glc22-4.3.0-3.2.5
libdl.so.2(GLIBC_2.1) is needed by fglrx-glc22-4.3.0-3.2.5
libm.so.6(GLIBC_2.0) is needed by fglrx-glc22-4.3.0-3.2.5
libpthread.so.0(GLIBC_2.0) is needed by fglrx-glc22-4.3.0-3.2.5


VITAL INFO:

Distrobution: Slackware 9.0
Hardware: ATI Radeon 9000
 
Old 09-25-2003, 05:04 PM   #2
Nezzo
Member
 
Registered: Sep 2003
Distribution: Slackware, Ubuntu
Posts: 65

Rep: Reputation: 15
make sure these 2 packages are installed.

xfree86-devel-4.3.0-i386-1
glibc-2.3.1-i386-3

use: ls /var/log/packages and see if they are listed
if not then install them from the Slack cd and try again.

Also, if you are trying to use rpm's on Slack use this to create a Slack package

rpm2tgz ./name.of.rpm.from.ATI.rpm
installpkg ./name.of.rpm.from.ATI.converted.tgz
 
Old 09-25-2003, 05:19 PM   #3
enigma Z
Member
 
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224

Original Poster
Rep: Reputation: 30
I'm using Kpackage, and it seemed to work fine.

I have glibc and will check for Xfree86
 
Old 09-25-2003, 06:03 PM   #4
enigma Z
Member
 
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224

Original Poster
Rep: Reputation: 30
K I installed everything from the Slack 9 CD, I tried the rpm2tgz, and it converted, so I did installpkg ati.package.tgz, and it said

PACKAGE DESCRIPTION:

And that was it. It inserted a couple of new lines after a few minutes, and then gave me my command prompt. But I don't have any advanced hardware accelleration.

Last edited by enigma Z; 09-25-2003 at 06:04 PM.
 
Old 09-25-2003, 06:40 PM   #5
Twiggy794
Member
 
Registered: Sep 2003
Location: Philadelphia
Distribution: Gentoo Linux
Posts: 159

Rep: Reputation: 30
If you got it installed did your colors improve? This should happen after you run the config (at command line: $ fglrxconfig).

If you've run through this step and optimized your settings your color _should_ be improved. If not, then you'll need to work through those dependencies a little more.

Run this at the terminal:
$ fglrxinfo

Does it list OpenGL drivers as Mesa or ATI?

If it's ATI don't bother reading anymore. If it says Mesa keep reading.

If it did improve the colors (gradients should be more smooth), then you forgot to compile the kernel module. I've done this once or twice myself. Actually, about 10 or 11 times. I reccomend you back up your files before doing this, if you're going for the gusto and assuming everything is fine with the exception of your kernel support.

Run these terminal commands (I did it as root, you may not have to):
# cd /lib/modules/fglrx/build_mod
# ./make.sh
# cd ..
# ./make_install.sh

This will build your new kernel modules for you, allowing 3D hardware acceleration. The only kicker is, even if these modules are installed properly, you won't see the check box enabled under your video settings window.

You'll need to reboot for these new kernel modules to load, so go ahead and do that. When you get back in, rerun fglrxinfo and you should see the drivers as ATI Technologies and all that trash. This means it was successful. As a backup, run Tux Racer or some hardcore GL screensaver. Don't bother with the Mesa demos. In my experience they'll work regardless.

Hope that helps!
 
Old 09-25-2003, 06:42 PM   #6
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
when you install the drivers, do it from the text mode and pass it w/ the --force option. when they are installed, you have to make a modification to the XF86Config-4 file (this is VERY important). find the line where it says "PCI 1:0:1" change that to "PCI 1:0:0". otherwise, XF will not start. do that after youve installed the packages.
 
Old 09-25-2003, 08:54 PM   #7
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
My ati radeon 9600 pro won't work!

see Twiggy794
Here is the output after i do ./make.sh in /lib/modules/fglrx/build_mod
but the high lighted part was the biggest problem!
Do u see what's wrong?

& here is the output of fglrxinfo

display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4



[root@localhost build_mod]# ./make.sh
ATI module generator V 2.0
==========================
probing for VMA API version...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
patching 'drm_os_linux.h'...
doing script based build for kernel 2.4.x and similar
compiling 'agpgart_be.c'...
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
from agpgart_be.c:75:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:132,
from <command line>:1:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
compiling 'agp3.c'...
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
from agp3.c:29:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:132,
from <command line>:1:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
compiling 'i7505-agp.c'...
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
from i7505-agp.c:32:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:132,
from <command line>:1:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
compiling 'nvidia-agp.c'...
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
from nvidia-agp.c:9:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:132,
from <command line>:1:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
compiling 'firegl_public.c'...
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
from firegl_public.c:72:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:132,
from <command line>:1:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
linking of fglrx kernel module...
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built 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.
 
Old 09-25-2003, 08:59 PM   #8
Twiggy794
Member
 
Registered: Sep 2003
Location: Philadelphia
Distribution: Gentoo Linux
Posts: 159

Rep: Reputation: 30
I see what's going on ~ Try uninstalling the Mesa libraries AND your ATI libs as well. Then just install the ATI libraries.

I'm a Redhat user so I'm not sure how to go about uninstalling those libs since I do it by RPM...

Somewhere along the line there's probably a conflict with the Mesa drivers. Try getting them out of the way and reinstalling, and rebuilding the kernel agian. Don't forget to run fglrxconfig before you reboot, and not after.

Lemme know how that goes.
 
Old 09-26-2003, 02:59 AM   #9
moxta
LQ Newbie
 
Registered: Sep 2003
Distribution: redhat 9
Posts: 3

Rep: Reputation: 0
What are those library names on redhat?

I'm having the same problem as tricky_linux. I'm running rh9 with radeon 9000 and can't get ati's modules to load. when I run make.sh I get the following output:

[root@localhost build_mod]# ./make.sh
ATI module generator V 2.0
==========================
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h


Do I have a different problem or do I just need to uninstall both sets of libs and do a clean install of ATI's rpm?

Thanx for the help.
-Moxta- Kernel hacking newbie
 
Old 09-26-2003, 03:22 AM   #10
Twiggy794
Member
 
Registered: Sep 2003
Location: Philadelphia
Distribution: Gentoo Linux
Posts: 159

Rep: Reputation: 30
I'm an anal neat freak ~ So clean is always good

# rpm -e --nodeps XFree86-Mesa-libGL-4.3.0-2

That should be adequate to uninstall the Mesa drivers, use the same -e --nodeps command to uninstall the ATI drivers. Try again, do the make.sh and make_install.sh, reboot, and lemme know how everything goes.
 
Old 09-26-2003, 07:40 AM   #11
enigma Z
Member
 
Registered: Sep 2003
Location: The edge of the world, peering down into the dark abyss
Distribution: Gentoo 2004.2
Posts: 224

Original Poster
Rep: Reputation: 30
Moxta, I had a similar problem with some nVidia drivers.

What you need to do is install the kernel source and headers from the RedHat CD's.

They should be named pretty obviousally eg.:

kernel.<version>.headers
kernel.<version>.source

Or something like that. Install these, and then try again
 
Old 09-26-2003, 02:47 PM   #12
moxta
LQ Newbie
 
Registered: Sep 2003
Distribution: redhat 9
Posts: 3

Rep: Reputation: 0
Ok, I uninstalled the Mesa and ATI driver packages and reinstalled the ATI driver rpm. I got the following message:

[root@localhost programs]# rpm -i --force fglrx-glc22-4.3.0-3.2.5.i586.rpm
*** 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.
Installed: qt3 (gcc 3.2) based control panel application
===
ATI display drivers successfully installed
please run 'fglrxconfig' now
===

Now trying to bulid the module I went to /lib/modules/fglrx/build_mod/ and executed the make.sh and I got the following output:

[root@localhost build_mod]# ./make.sh
ATI module generator V 2.0
==========================
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h

Do I need header files or include files to make the module. And if I do, where do I get them and what do I do with them?

FYI :
The kernel that I am currently running is 2.4.20-20.9. The only kernel source that I have on my computer is 2.4.20-8.

Thanks for the help.
--Moxta-
 
Old 09-26-2003, 02:55 PM   #13
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
http://www.linuxquestions.org/questi...threadid=97221

Will that thread help?
 
Old 09-26-2003, 02:56 PM   #14
moxta
LQ Newbie
 
Registered: Sep 2003
Distribution: redhat 9
Posts: 3

Rep: Reputation: 0
Ah ok, I'll do that and see what happens.

thanks
--Moxta-
 
Old 09-26-2003, 02:59 PM   #15
Twiggy794
Member
 
Registered: Sep 2003
Location: Philadelphia
Distribution: Gentoo Linux
Posts: 159

Rep: Reputation: 30
You'll need the source for the kernel I believe to build the modules...www.kernel.org (or is it kernels.org?) should have the source for the kernel you're using, or you can just update to the newest one (2.4.22). I'm not much of a kernel guru though, so I could be wrong. Just make sure you extract the source back to your source directory. On Redhat it's /usr/src/, I've never used Slackware though so I can't help you there.

However ~ This sounds like it could be your problem. If the problem persists after extracting the source, try rebuilding the kernel completely, just to reset some variable paths to point back to the right directory. But like I said, I suck the left nut when it comes to building kernels.

Let me know how that goes.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Radeon 8500, 9200, 9700 freeze Mandrake 10 with ATI's drivers make Linux - Hardware 17 08-06-2004 04:51 AM
Problems w/ Radeon 9200 & ati's binary drivers zen_guerrilla Linux - Hardware 4 10-11-2003 01:44 PM
ATI's new Radeon drivers (8500) xeinsane Linux - Hardware 3 09-28-2003 04:48 PM
Radeon 9000 mobility drivers for redhat 9 znet Red Hat 2 09-22-2003 02:01 PM
Radeon 9500 w/ATI's drivers for XF86 4.3.0 JingYen Linux - Hardware 3 09-21-2003 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:56 PM.

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