SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 ...
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?
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
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.
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
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!
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?
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'
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.