LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ATI Readon 9800 PRo (https://www.linuxquestions.org/questions/slackware-14/ati-readon-9800-pro-193887/)

Gunslinger_ROL 06-15-2004 04:03 PM

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

nakedjohn 06-15-2004 04:41 PM

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

Nan 06-15-2004 04:42 PM

err nm

jamaso 06-15-2004 05:01 PM

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

nakedjohn 06-15-2004 05:13 PM

the drivers aren't open source, the only format i could find them in was rpm

nakedjohn 06-15-2004 05:41 PM

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

1351 06-15-2004 05:41 PM

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.

Gunslinger_ROL 06-15-2004 05:45 PM

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]

1351 06-15-2004 05:48 PM

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.

nakedjohn 06-15-2004 05:50 PM

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

1351 06-15-2004 05:56 PM

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*

nakedjohn 06-15-2004 06:00 PM

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!

Gunslinger_ROL 06-15-2004 06:55 PM

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

nakedjohn 06-15-2004 07:07 PM

well you're doing better then i am... i just completely messed up EVERYTHING!!! time to format and reinstall... damn

1351 06-15-2004 07:10 PM

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.


All times are GMT -5. The time now is 01:20 AM.