LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-15-2004, 04:03 PM   #1
Gunslinger_ROL
Member
 
Registered: Jun 2004
Posts: 43

Rep: Reputation: 15
ATI Readon 9800 PRo


Hello, i'm trying to install ATI official driver packages from there website but when i run it i get the follow error

<mnt/windows/slackware/fglrx-4.3.0-3.9.0.i386.rpm';echo RESULT=$?
error: failed dependencies:
/bin/sh is needed by fglrx-4.3.0-3.9.0
/bin/sh is needed by fglrx-4.3.0-3.9.0
/bin/sh is needed by fglrx-4.3.0-3.9.0
/bin/sh is needed by fglrx-4.3.0-3.9.0
ld-linux.so.2 is needed by fglrx-4.3.0-3.9.0
libX11.so.6 is needed by fglrx-4.3.0-3.9.0
libXext.so.6 is needed by fglrx-4.3.0-3.9.0
libc.so.6 is needed by fglrx-4.3.0-3.9.0
libdl.so.2 is needed by fglrx-4.3.0-3.9.0
libm.so.6 is needed by fglrx-4.3.0-3.9.0
libpthread.so.0 is needed by fglrx-4.3.0-3.9.0
libc.so.6(GLIBC_2.0) is needed by fglrx-4.3.0-3.9.0
libc.so.6(GLIBC_2.1) is needed by fglrx-4.3.0-3.9.0
libc.so.6(GLIBC_2.1.3) is needed by fglrx-4.3.0-3.9.0
libm.so.6(GLIBC_2.0) is needed by fglrx-4.3.0-3.9.0
libpthread.so.0(GLIBC_2.0) is needed by fglrx-4.3.0-3.9.0
RESULT=1


can anyone hlep me out with this???
i'm using 2.4 kernal
thanks
 
Old 06-15-2004, 04:41 PM   #2
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Rep: Reputation: 15
i got a similar message (on kernel 2.6.6 and a radeon 9600xt)... i tried:

rpm2tgz fglrx-4.3.0-3.9.0.i386.rpm
pkgtool (installed the package)
cd /lib/modules/fglrx
./make.sh --> that seemed to work okay, BUT....
cd ..
./make_install.sh --> started to go wrong here...
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.6/kernel/drivers/char/drm/fglrx.ko): Invalid module format
failed.

and thats as far as i got... i know i didn't help at all, but maybe someone else can help us both
 
Old 06-15-2004, 04:42 PM   #3
Nan
LQ Newbie
 
Registered: Mar 2004
Location: Denmark
Distribution: Slackware 10.0
Posts: 18

Rep: Reputation: 0
err nm

Last edited by Nan; 06-15-2004 at 04:43 PM.
 
Old 06-15-2004, 05:01 PM   #4
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Rep: Reputation: 30
In my very humble opinion, it seems you do not have the required librarys !
I guess the driver dont come with everything! you will have to download them as well, correct me if i am wrong here!
I saw you are using rpm, aren't there any tar.gz drivers?
Have in mind that this might not be the problem at all, i just replied because i am also trying to install an ATI (radeon igp 340M driver).
 
Old 06-15-2004, 05:13 PM   #5
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Rep: Reputation: 15
the drivers aren't open source, the only format i could find them in was rpm
 
Old 06-15-2004, 05:41 PM   #6
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Rep: Reputation: 15
i read this on a forum somewhere:

Make sure in your Kernel that you have the DO NOT have DRI compiled or Moduled in and that for agpgart you have it Moduled in with your correct AGP Chipset compiled in.

what does this mean exactly? i'm looking through menuconfig right now but i'm not finding too much...
 
Old 06-15-2004, 05:41 PM   #7
1351
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware current & occasional dabbling with Mandrake 10.0
Posts: 29

Rep: Reputation: 15
The bad news is that the ATI drivers are pure evil.

However, I got a Mobility Radeon 9600 working passably well under Slackware-current/kernel 2.6.6 (with Xorg - but theren't no reason this shouldn't work with XFree - just leave out the xorg specific bits) by the following method:
(And yes, I know this is cut'n'pasted directly from another post I made earlier.)

EDITED TO INCLUDE:
I have an AMD-64. If you don't, don't select any of the AMD64 stuff - select the option appropriate to your system instead (e.g. via-agp or whatever).

This solution owes a hell of a lot to this one:
http://www.linuxquestions.org/quest...threadid=143960

In your kernel, /dev/agpgart and AMD64 on-chip support must be enabled, and the Direct Rendering Manager disabled.

Get the latest (4.3.0 at time of writing) ATI Radeon driver from http://www.ati.com/support/drivers/...mp;submit=GO%21

You'll also need to download DRI. Now, the latest version snapshot (as of 09-Jun-2004) doesn't work. One that does work (from 08/02/04) is available at:
http://www.freedesktop.org/~dri/sna...ux.i386.tar.bz2
Let me know if you encounter a more recent one that does the job.

This is all best done at the command line - not in a shell console.

run rpm2tgz on the ati driver rpm, and use pkgtool to install it.
cd lib/modules/fglrx/build_mod
sh make.sh
cd ..
sh make_install.sh
modprobe fglrx

lsmod to make sure that amd64_agp, fglrx, and agpgart are all loaded

fglrxconfig

You'll have to enable external agp here. When you're asked if you want to save, say no to all the suggested file names and locations, and instead provide it with the following address:
/etc/X11/xorg.conf

BEFORE YOU DO THIS IT IS A VERY GOOD IDEA TO MAKE A COPY OF YOUR OLD xorg.conf FILE. Call it xorg.conf-old or somesuch. If everything goes horribly wrong, you can copy it back to its original name to get X to at least load again.

Go to wherever you've unpacked dri and
sh install.sh

Add this to modprobe.conf:
install fglrx /sbin/modprobe --ignore-install fglrx && { /sbin/modprobe amd64_agp; /bin/true; }

You should be able to startx with everything working now, but I like to reboot, just in case (years of Micro$oft related paranoid behaviour are hard to shake).

In X, open up a shell terminal.
There are a couple of useful utilities that you can use to test your card.

/usr/X11R6/bin/glxgears
Measures the speed in 3d - enlarge to full screen and leave running for 30 seconds or so before closing. At fullscreen 1050 x 780 it reports:
1318 frames in 5.0 seconds = 263.600 FPS

/usr/X11R6/bin/glxinfo
Provides info on your card. The line you really want to see is:
"direct rendering: Yes"

/usr/X11R6/bin/fgl_glxgears
ATI's version of the speed test. Currently produces the error: "Error: couldn't get fbconfig"

/usr/X11R6/bin/fglrxinfo
Should now produce the following result:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9600 Generic
OpenGL version string: 1.3 (X4.3.0-3.9.0)

If you want, you can use pkgtool to remove the mesa driver. If you do it after the ATI driver install is complete, you'll probably have to reboot to get glxgears working again.

Now to try a 3d game. We're going to need a test subject.
Make sure you have the SDL libraries, then go to http://www.wareweb.net/slackware/ and download the tuxracer package (tuxracer is bitchy about compiling from source under Slack, but this package offers a solution to that).

Be nice if we could do something about that fbconfig error though... and I'm SURE this thing could be faster.

Last edited by 1351; 06-15-2004 at 07:58 PM.
 
Old 06-15-2004, 05:45 PM   #8
Gunslinger_ROL
Member
 
Registered: Jun 2004
Posts: 43

Original Poster
Rep: Reputation: 15
thanks for thoese great replies, I ran into a problems

when i try sh make_isntall.sh i get this...

root@joop:/lib/modules/fglrx# sh make_install.sh
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
Warning: loading /lib/modules/2.4.22/kernel/drivers/char/drm/fglrx.o will taint the kernel: non-GPL license - Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module fglrx loaded, with warnings
done.
root@joop:/lib/modules/fglrx#
root@joop:/lib/modules/fglrx#[/CODE]
 
Old 06-15-2004, 05:48 PM   #9
1351
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware current & occasional dabbling with Mandrake 10.0
Posts: 29

Rep: Reputation: 15
Quote:
Originally posted by Gunslinger_ROL
thanks for thoese great replies, I ran into a problems

Warning: loading /lib/modules/2.4.22/kernel/drivers/char/drm/fglrx.o will taint the kernel: non-GPL license - Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module fglrx loaded, with warnings
[/CODE]
That isn't a problem. It's a licensing issue.
The link it refers you to explains everything.
 
Old 06-15-2004, 05:50 PM   #10
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Rep: Reputation: 15
how would i go about disabling the Direct Rendering Manager?

i'm thinking the drm in

FATAL: Error inserting fglrx (/lib/modules/2.6.6/kernel/drivers/char/drm/fglrx.ko): Invalid module format

might be what i'm looking for...
 
Old 06-15-2004, 05:56 PM   #11
1351
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware current & occasional dabbling with Mandrake 10.0
Posts: 29

Rep: Reputation: 15
Quote:
Originally posted by nakedjohn
how would i go about disabling the Direct Rendering Manager?
You have to remove it in kernel configuration (that is, recompile your kernel without it).
It's not actually as much of a pain as it sounds. *g*
 
Old 06-15-2004, 06:00 PM   #12
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Rep: Reputation: 15
heh, thanks... for some reason i just couldn't find it! character devices.. i should be able to remember that... going for the recompile now! wish me luck!
 
Old 06-15-2004, 06:55 PM   #13
Gunslinger_ROL
Member
 
Registered: Jun 2004
Posts: 43

Original Poster
Rep: Reputation: 15
humm ...after i run fglrxinfo it doesn't say ati..... so they don't isntall still for some reason even though i get no erros... also i can't modeprobe the follow:

modprobe agp-gart
modprobe intel-agp
 
Old 06-15-2004, 07:07 PM   #14
nakedjohn
Member
 
Registered: Jul 2003
Distribution: Slack9
Posts: 77

Rep: Reputation: 15
well you're doing better then i am... i just completely messed up EVERYTHING!!! time to format and reinstall... damn
 
Old 06-15-2004, 07:10 PM   #15
1351
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware current & occasional dabbling with Mandrake 10.0
Posts: 29

Rep: Reputation: 15
Quote:
Originally posted by Gunslinger_ROL
humm ...after i run fglrxinfo it doesn't say ati..... so they don't isntall still for some reason even though i get no erros... also i can't modeprobe the follow:

modprobe agp-gart
modprobe intel-agp
You mentioned earlier that you were using a 2.4 kernel... are you still attempting to modify that one? (Not sure how much help I can be in that case - 2.6.x was my first kernel compilation experience.)

Either way, did you make sure to follow the kernel compile instructions properly? (Including the pre-compile cleaning stages).
Are you otherwise booting into your new kernel installation successfully?

Please excuse the patronising questions - I don't intend to insult your intelligence or anything - it's just that I've made "obvious" mistakes like these in the past.

Last edited by 1351; 06-15-2004 at 07:11 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Tv Support ATI 9800 Pro penguinchrissy Linux - Hardware 2 10-29-2005 11:46 AM
ATI 9800 pro 256mb.... ironwalker Linux - Hardware 0 01-27-2005 02:03 PM
ATI Radeon 9800 pro slan124 Mandriva 6 01-25-2005 03:12 PM
ATI 3.2.8 drivers and 9800 pro KoS Linux - Hardware 1 10-09-2003 01:08 PM
ati radeon 9800 pro with Suse 8.2 wimmo1956 Linux - Newbie 3 09-18-2003 06:12 PM


All times are GMT -5. The time now is 09:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration