LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ATI Radeon drivers again (https://www.linuxquestions.org/questions/slackware-14/ati-radeon-drivers-again-114078/)

DStar 11-09-2003 09:25 AM

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.

Slacker_Rex 11-09-2003 10:24 AM

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.

dirren 11-09-2003 11:05 AM

Did you replace your XF86Config with XF86config-4 ?

DStar 11-09-2003 12:35 PM

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?

Shade 11-09-2003 07:04 PM

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

jwknox 11-09-2003 07:05 PM

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.



uglydot 11-10-2003 04:35 PM

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?

tricky_linux 11-10-2003 07:33 PM

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?

DaOne 11-10-2003 08:59 PM

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.

uglydot 11-10-2003 11:42 PM

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.

tricky_linux 11-11-2003 02:48 PM

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.

uglydot 11-11-2003 03:35 PM

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.

tricky_linux 11-11-2003 05:37 PM

but how can i apply a patch for my 2.4.22??

tricky_linux 11-11-2003 05:46 PM

could u tell me how to patch my kernel step by step?

jazzyjazz 11-12-2003 05:21 AM

Take a look here

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

Hope it will help u a bit :)


All times are GMT -5. The time now is 04:23 AM.