LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slack 9.0 - XFree 4.3.0 - Radeon9700pro (https://www.linuxquestions.org/questions/slackware-14/slack-9-0-xfree-4-3-0-radeon9700pro-83035/)

CrsH 08-18-2003 03:22 AM

Slack 9.0 - XFree 4.3.0 - Radeon9700pro
 
After reading a lot about it I saw that there is a lot of confusion how to install a radeon driver in XFree 4.3.0

My case:
Slack 9 - 2.4.20 - XFree 4.3.0
AMD XP 2
Ati Radeon 9700 pro


First download the FireGL drivers from ATI or Schneider-digital.

ATI:
Choose Linux - Any Firegl card then the XFree 4.3.0 driver
on the ati site

Schneider:
FireGL driver
Schneider-digital.de Site

If you are using the ATI drivers download also Check.sh

This part is only for the schneider driver:

unzip glx1_linux_X4.3.zip
goto the dir that you unzipped
open up Check.sh with your favo editor (my case pico)
pico -w Check.sh

Change the first line #!/bin/bash to #!/bin/sh
Save up and close

Do chmod +x Check.sh

Both Packages
./Check.sh

Normally a fresh installed Slack gives no problems. He will find glibc 2.3 (I think, I do this from memory, @work at the moment)

the RPM doesn't work from one strange reason but no worry:

rpm2tgz fglrx-glc22-4.3.0-3.2.0.i586.rpm

will convert this to a working tgz.

use pkgtool, select current directory and install the bugger.

then goto /lib/modules/fglrx/build_mod
then do ./make.sh

Let him do it. Normally everything runs nice and smoothly


then goto /lib/modules/fglrx/
and do ./make_install.sh

Hopefully everything goes nice and smoothly

Go under /usr/X11R6/bin
and you will see some extra programs starting with xfglrxconfig and xfglrxinfo

run the config file and answer them as correctly as possible. and afterwards check your XF86Config-4 file to manually set everything that needs to be set.

then load the fglrx module: modprobe fglrx

eventually you can put the modprobe in your /etc/rc.d/rc.modules

and do startx.

ATI has put a opengl test program in the /usr/X11R6/bin it call fglrx_gears i think ...


Greetz
CrsH

CrsH 08-18-2003 03:26 AM

I want to post the urls but can't ...

have to have 5 posts first :rolleyes:

EyesOnly 08-20-2003 07:33 AM

I just installed Slackware 9 on my computer, and it works perfect. It is really much better than anything I've seen before.(now I wonder:is slackware really the best, or has linux improved that much lately?)

Anyway, my videocard was the only real problem(a radeon 9000). I followed your guide, but now im stuck. After I run ./make_install.sh, I get the following output:

- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
Warning: loading /lib/modules/2.4.20/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
/lib/modules/2.4.20/kernel/drivers/char/drm/fglrx.o: init_module: Operation not permitted
/lib/modules/2.4.20/kernel/drivers/char/drm/fglrx.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20/kernel/drivers/char/drm/fglrx.o: insmod /lib/modules/2.4.20/kernel/drivers/char/drm/fglrx.o failed
/lib/modules/2.4.20/kernel/drivers/char/drm/fglrx.o: insmod fglrx failed
failed.

It seems to me he cant get the fglrx module loaded. What to do now?
:confused:

CrsH 08-20-2003 07:41 AM

Quote:

Originally posted by EyesOnly
Warning: loading /lib/modules/2.4.20/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

this is normal, just to tell you are using non GPL drivers
Quote:

/lib/modules/2.4.20/kernel/drivers/char/drm/fglrx.o: init_module: Operation not permitted
/lib/modules/2.4.20/kernel/drivers/char/drm/fglrx.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20/kernel/drivers/char/drm/fglrx.o: insmod /lib/modules/2.4.20/kernel/drivers/char/drm/fglrx.o failed
/lib/modules/2.4.20/kernel/drivers/char/drm/fglrx.o: insmod fglrx failed
failed.
I don't know for sure. I had another DRI driver loaded (compiled in the kernel not standard) perhaps it's this one. Make sure you don't have any radeon mod loaded. can you post an lsmod? perhaps try restart then

EyesOnly 08-20-2003 12:15 PM

Quote:

don't know for sure. I had another DRI driver loaded (compiled in the kernel not standard) perhaps it's this one. Make sure you don't have any radeon mod loaded. can you post an lsmod? perhaps try restart then
Yep, that's the problem. I did use the generic radeon module, and thisone was still loaded. Whit this unloaded it works fine.

Thanks!:)

Morfyng 08-28-2003 04:20 PM

Problem with glx1_linux_X4.3
 
Hi CrsH,

I am Morfyng from Italy and I am Linux beginner !!! Sorry for my English !!!

I have made all what you have said in your Post, but when I run "make.sh" command the output is:

ATI module generator V 2.0
==========================
probing for VMA API version...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
compiling 'agpgart_be.c'...
compiling 'agp3.c'...
compiling 'i7505-agp.c'...
compiling 'nvidia-agp.c'...
compiling 'firegl_public.c'...
linking of fglrx kernel module...
duplication skipped - generator was not called from regular lib tree
done.
==============================

....and after I run the "make_install" command and the output is:

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

What I can resolve this problem...maybe kernel-source is not installed......I don't have any idea...Please Help me

CrsH 08-29-2003 12:56 AM

It could be that.

I think (yep this early in the morning) he needs the headers to compile the stuff


So i think it's worth to try to install the kernel source and retry

mcd 08-29-2003 01:40 AM

should i use the method above for radeon 9200? which fireGL do i download, there are lots of them?

CrsH 08-29-2003 01:44 AM

Slackware 9 has a Xfree 4.3.0 so u use the XFree 4.3.0 version.

on the ati site you use any firegl card you want.


Btw if you are planning to run winex and gamesin opengl you might want to download mesalib and recompile it also. It has a bug in it that textures gonna look really bad!

mcd 08-29-2003 02:04 AM

i didn't have glib2.3, so i downloaded it and tried installing, but got failed dependencies

error: failed dependencies:
linc-devel >= 0.1.13 is needed by ORBit2-libs-2.3.105-1
libIDL-devel >= 0.7.2 is needed by ORBit2-libs-2.3.105-1
glib-devel >= 1.3.12 is needed by ORBit2-libs-2.3.105-1
ld-linux.so.2 is needed by ORBit2-libs-2.3.105-1
libc.so.6 is needed by ORBit2-libs-2.3.105-1
libdl.so.2 is needed by ORBit2-libs-2.3.105-1
libglib-1.3.so.12 is needed by ORBit2-libs-2.3.105-1
libgmodule-1.3.so.12 is needed by ORBit2-libs-2.3.105-1
libgobject-1.3.so.12 is needed by ORBit2-libs-2.3.105-1
libgthread-1.3.so.12 is needed by ORBit2-libs-2.3.105-1
liblinc.so.1 is needed by ORBit2-libs-2.3.105-1
libpopt.so.0 is needed by ORBit2-libs-2.3.105-1
libpthread.so.0 is needed by ORBit2-libs-2.3.105-1
libc.so.6(GLIBC_2.0) is needed by ORBit2-libs-2.3.105-1
libc.so.6(GLIBC_2.1) is needed by ORBit2-libs-2.3.105-1
libc.so.6(GLIBC_2.1.3) is needed by ORBit2-libs-2.3.105-1
libpthread.so.0(GLIBC_2.0) is needed by ORBit2-libs-2.3.105-1

this is a lot of packages to install - there must be 1 or 2 key things i'm missing that include all these, right?

CrsH 08-29-2003 02:09 AM

glib 2.3 is standard installed on slackware 9.

mcd 08-29-2003 02:40 AM

bash-2.05b$ ./Check.sh
=====================================================================
ATI Technologies
=====================================================================
Checking which OS you're running...
uname reports 'Linux' version '2.4.20', architecture 'i686'.
Object format is 'ELF'.
libc version is '6.3'.

XFree86 Version 4.3.0 is installed.

No package available for glibc 2.3. Try r200glibc21.tgz
Binary package name is 'r200glibc21.tgz'

bash-2.05b$

CrsH 08-29-2003 02:57 AM

That's just fine.

Remember to convert the rpm to tgz with rpm2tgz program!
to install it with pkgtool and then run the make.sh / make_install.sh in the modules

mcd 08-29-2003 04:16 PM

sorry to keep being a pain, but I converted to .tgz no problem, then tried to run ./make.sh from the specified directory and got this:

bash-2.05b# ./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


I looked around and found that there was no /usr/src/linux directory, but the file it wants is in /usr/include/linux

so i used emacs to edit the default path, and ran the script again but got this error:

bash-2.05b# ./make.sh
ATI module generator V 2.0
==========================
Error:
XFree86 drm includes at /usr/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.

here i'm lost...

Kyouryuu 08-29-2003 05:18 PM

Okay, if you're using Slack 9, first undo that change you made in emacs. Then, get the Slackware packaged kernel source here:

http://www.slackware.at/data/slackwa...0-noarch-5.tgz

As root, use the pkgtool to install this. Once that's done, go back and try to make the file.

I did this for the first time this morning and I got as far as that version.h thing too. I poked around a bit and came up with this post elsewhere on the forum where the above solution was described:
http://www.linuxquestions.org/questi...003/07/3/53758


All times are GMT -5. The time now is 08:22 AM.