LinuxQuestions.org
Visit Jeremy's Blog.
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 11-09-2003, 09:25 AM   #1
DStar
LQ Newbie
 
Registered: Nov 2003
Location: Sweden
Distribution: Slackware 9.1
Posts: 19

Rep: Reputation: 0
Wink ATI Radeon drivers again


I have installed the drivers without any errors shown. Here's what I did:

Downloaded fglrx-glc22-4.3.0-3.2.8.i586.rpm from ATI

Ran rpm2tgz on the .rpm

installpkg for the .tgz

cd /lib/modules/fglrx/build_mod and called ./make.sh

cd .. and called ./make_install.sh

I did not receive any errors at this point, only the warning about the module being closed source.

ran the fglrxconfig tool, answered the questions and wrote the XF86Config-4 file

Booted into X and it works fine in 2D. The monitor refreshrates and other settings (mouse, keyboard etc.) I selected in the config program are also used. However, OpenGL still runs at 1 FPS, and when I run fglrxinfo it sais it's using Mesa, shouldn't it say ATIsomething instead?

When doing a search on this forum, I did find a few posts mentioning a problem with the NForce2 chipset and ATI's Linux drivers but I didn't find anything specific about it. I'm running an Epox 8RDA+ board (NForce2) and a Connect3D Radeon 9700 Pro. I'm running Slackware 9.1.
 
Old 11-09-2003, 10:24 AM   #2
Slacker_Rex
Member
 
Registered: Aug 2003
Location: Arkansas
Distribution: Slackware 12.2
Posts: 104

Rep: Reputation: 15
ATI RADEON DRIVERS AGAIN

Look for a thread started by EnigmaZ on this subject. It will point you to https://sourceforge.net/projects/neofiregl/ to download for the source. Follow those directions, (as well as the things mentioned in the thread) and you should be able to make it work. It worked for me.
 
Old 11-09-2003, 11:05 AM   #3
dirren
LQ Newbie
 
Registered: May 2003
Location: Stockholm / Sweden
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
Did you replace your XF86Config with XF86config-4 ?
 
Old 11-09-2003, 12:35 PM   #4
DStar
LQ Newbie
 
Registered: Nov 2003
Location: Sweden
Distribution: Slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
OK reading through that thread, it seems possible that my only problem is that Mesa is taking priority over the ATI drivers, because someone metioned they do that. The ATI driver configures and installs without any errors at all, that must be good...?

Code:
/lib/modules/fglrx/build_mod# ./make.sh
ATI module generator V 2.0
==========================
initializing...
probing for VMA API version...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
doing script based build for kernel 2.4.x and similar
compiling 'agpgart_be.c'...
compiling 'agp3.c'...
compiling 'i7505-agp.c'...
compiling 'nvidia-agp.c'...
compiling 'firegl_public.c'...
linking of fglrx kernel module...
duplicating results into driver repository...
done.
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.

/lib/modules/fglrx/build_mod# cd ..
/lib/modules/fglrx# ./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.
What's the best way to uninstall Mesa completely and can I do that without messing something else up?

Last edited by DStar; 11-09-2003 at 12:42 PM.
 
Old 11-09-2003, 07:04 PM   #5
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
I don't think that's your problem.

I think it's in the config file. I've never had a working configuration come from the fglrxconfig program.

My advice would be to simply take your old working one, and change the driver line to fglrx instead of vesa, ati, or radeon.

under the "Modules" section, make sure

Load "dri"
Load "glx"

are present.

Make sure default color depth is 24.
Make sure this section is present somewhere:

Section "DRI"
Group 0
Mode 0666
EndSection

After that, you should be golden.


-Shade
 
Old 11-09-2003, 07:05 PM   #6
jwknox
LQ Newbie
 
Registered: Sep 2000
Location: NH
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Along with the above advice, check that you have AGP support loaded.

Run 'lsmod' and look for 'agpgart".

In fglrxconfig, or in your XF86Config did you tell the driver to use internal agp support? Did you try it with external agp support? If not reconfigure it to run with external support.

Then, what happens if you:

1. kill X, log back in as root
2. modprobe -r fglrx ...unloads fglrx module
3. modprobe agpgart ....loads agp support
4. startx
5. in a console run 'glxinfo | grep rendering' .....should return: "Direct Rendering: yes"?


If that works then you need to load agpgart at startup.

If that fails, you might not have AGP support properly built as a module with your kernel.

Lemme know how that goes. Good Luck. The radeons I've set up with hardware acceleration were a pain in the ass to set up.



Last edited by jwknox; 11-09-2003 at 07:20 PM.
 
Old 11-10-2003, 04:35 PM   #7
uglydot
Member
 
Registered: Mar 2003
Distribution: Gentoo
Posts: 232

Rep: Reputation: 30
Ok, using the 2.4.22 kernel with the ck patch. fglrx loads fine now, but no agpgart and no 3d accell with it. I tried using the internal agpgart and the external agpgart. When I attempt to moprobe agpgart, it says that it can't find it. I went back and check my config, and agpgart is indeed compiled in. Any ideas?
 
Old 11-10-2003, 07:33 PM   #8
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
You probably compiled it as build in or it appears as * before AGP Support,
make it an M by pressing "m".
Also, what is ck patch from or what did you get it?
 
Old 11-10-2003, 08:59 PM   #9
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
A few things come to mind. First, agpgart should be compiled as a module as tricky_linux stated.
Second, DRI should be compiled into the kernel (*).

Lastly, fglrxconfig will usually give you a good config. jwknox gave some good advice in how to configure internal/external agpgart modules.

Keep us posted.
 
Old 11-10-2003, 11:42 PM   #10
uglydot
Member
 
Registered: Mar 2003
Distribution: Gentoo
Posts: 232

Rep: Reputation: 30
Ok, tried compiling it as a module and no go. I am going to re-install the kernel and repatch it then give it ago, I may have messed some stuff up with my tinkering.

ck patches makes the kernel similar to the gaming kernel you can get for gentoo.
 
Old 11-11-2003, 02:48 PM   #11
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
which ck patches as you talking about or could you specific the names or can you gave me a link?
Does those patch do good for you system?
Because i had read ck patches was testing patch.
 
Old 11-11-2003, 03:35 PM   #12
uglydot
Member
 
Registered: Mar 2003
Distribution: Gentoo
Posts: 232

Rep: Reputation: 30
http://kerneltrap.org/node/view/841 The sites I have read about them don't say anything about them being testing patches, this one is 2.4.22-ck2. I have always gotten better performance but I messed up the isntallation of my vanilla kernel this time. I am going to redo my Slack later on tonight and do this right. A friend of mine couldn't run Savage until he did this patch.
 
Old 11-11-2003, 05:37 PM   #13
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
but how can i apply a patch for my 2.4.22??
 
Old 11-11-2003, 05:46 PM   #14
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
could u tell me how to patch my kernel step by step?
 
Old 11-12-2003, 05:21 AM   #15
jazzyjazz
Member
 
Registered: Oct 2003
Location: Brussels
Distribution: Slackware-current
Posts: 42

Rep: Reputation: 15
Take a look here

http://www.kernelnewbies.org/faq/index.php3#patch

Hope it will help u a bit
 
  


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
8.6.20 ATI Drivers and ATI Radeon XPress 200M ltracy Linux - Hardware 8 04-28-2006 07:52 PM
ATI Radeon Drivers Intruder_BG Linux - Newbie 2 08-23-2005 10:10 AM
ATI Radeon Drivers paul_linux_user Linux - Hardware 1 05-24-2004 05:41 PM
ATI radeon drivers malcidragon Linux - Hardware 9 07-11-2003 10:45 AM
ati.2 radeon drivers issh1 Linux - Hardware 0 04-12-2003 07:05 PM

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

All times are GMT -5. The time now is 10:37 AM.

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