LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-18-2003, 03:22 AM   #1
CrsH
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9
Posts: 18

Rep: Reputation: 0
Red face 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
 
Old 08-18-2003, 03:26 AM   #2
CrsH
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9
Posts: 18

Original Poster
Rep: Reputation: 0
I want to post the urls but can't ...

have to have 5 posts first
 
Old 08-20-2003, 07:33 AM   #3
EyesOnly
Member
 
Registered: Aug 2003
Location: The Netherlands
Distribution: SlackWare
Posts: 202

Rep: Reputation: 30
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?
 
Old 08-20-2003, 07:41 AM   #4
CrsH
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
Old 08-20-2003, 12:15 PM   #5
EyesOnly
Member
 
Registered: Aug 2003
Location: The Netherlands
Distribution: SlackWare
Posts: 202

Rep: Reputation: 30
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!
 
Old 08-28-2003, 04:20 PM   #6
Morfyng
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Angry 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
 
Old 08-29-2003, 12:56 AM   #7
CrsH
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
Old 08-29-2003, 01:40 AM   #8
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
should i use the method above for radeon 9200? which fireGL do i download, there are lots of them?
 
Old 08-29-2003, 01:44 AM   #9
CrsH
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9
Posts: 18

Original Poster
Rep: Reputation: 0
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!
 
Old 08-29-2003, 02:04 AM   #10
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
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?
 
Old 08-29-2003, 02:09 AM   #11
CrsH
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9
Posts: 18

Original Poster
Rep: Reputation: 0
glib 2.3 is standard installed on slackware 9.
 
Old 08-29-2003, 02:40 AM   #12
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
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$
 
Old 08-29-2003, 02:57 AM   #13
CrsH
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
Old 08-29-2003, 04:16 PM   #14
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
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...
 
Old 08-29-2003, 05:18 PM   #15
Kyouryuu
LQ Newbie
 
Registered: Aug 2003
Location: Oregon, USA
Distribution: Mepis Linux
Posts: 20

Rep: Reputation: 0
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
 
  


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
Slack 8.1 XFree 4.2.0 IMPS/2 mouse problem sefirot Slackware 7 06-14-2005 01:02 AM
Xorg upgrade from xfree on slack. Nz_Boy_2004 Linux - Software 9 11-20-2004 06:20 AM
Slackware9.1/Radeon9700Pro-A few graphics issues xiojqwnko Linux - Hardware 2 08-02-2004 05:56 PM
Anyone tried the new XFree 4.4 on Slack? Shade Slackware 18 03-26-2004 08:22 AM
Radeon 8500, xfree 4.3.0, slack 9.0 - HELP hugoX79 Slackware 27 08-15-2003 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:52 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