LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   'AGP not available' error (https://www.linuxquestions.org/questions/linux-software-2/agp-not-available-error-52563/)

lmmars 03-30-2003 05:37 PM

'AGP not available' error
 
I've been trying to enable DRI hardware acceleration in X windows (XFree86 4.3.0) for my graphics adaptor (ATI Radeon Pro 9000) on a Redhat 8.0 system and one possible hindrance may be related to the warning '(WW) RADEON(0): [agp] AGP not available' in '/var/log/XFree86.0.log'. However, AGP GART is installed on my system as a module:

[lmmars@eastquad-171-89 lmmars]$ /sbin/modinfo agpgart
filename: /lib/modules/2.4.18-27.8.0/kernel/drivers/char/agp/agpgart.o
description: <none>
author: "Jeff Hartmann <jhartmann@precisioninsight.com>"
license: "GPL and additional rights"
parm: agp_try_unsupported int

Perhaps the module is not loading at the correct moment on startup--I do not know--'/sbin/lsmod' does not list 'agpgart' among the modules in use while I'm logged in. 4.3.0 is the first version of XFree86 to support my graphics adaptor. Any help is appreciated here, thanks.

Thetargos 03-31-2003 12:46 AM

Are you using XF86 4.3.0? or are you usgin 4.2.0-72 (RH 8.0's default)? or are you using the official 2.51 ATi drivers?

With a Radeon 9500 I am unable to turn AGP on even though /sbin/lsmod lists it (but unsed) and the script to generate the XF86config-4 file does not make any use of the AGP options (I even tried to cut-paste relevant options from the XF86config-4 file generated from the script and one generated by XConfigurator to no avail, the options "AGP Mode" and/or fastwrites only hangs my system).

Also I have to run the ATi driver since my card is an R300 and not an Rv250 like yours. You may try to check your modules.conf (under /etc) to see if the module (agpgart) is listed there, though.

Are you running X when running /sbin/lsmod? if X is not started the module will not load.

Then again, I may be mistaken, since I run a RHL 7.3 (virtually turned into an 8.0, but still a 7.3)

jdc2048 03-31-2003 01:24 AM

lsmod will only list modules currently loaded into the kernel.

modinfo will only list information about the module.

modprobe will probe the module and load it into kernel.

Have you tried to modprobe this?

lmmars 03-31-2003 11:31 AM

Thetargos: I am using the 'radeon ' driver XFree86 provides after upgrading to version 4.3.0. It also supports your card, but without 3D acceleration. 'agpgart' is not written '/etc/modules.conf' but it appears among a list when I issue the command '/sbin/modprobe -c'. I run '/sbin/lsmod' while both while X is loaded and while it is not.

jdc2048: This happens when I modprobe agpgart:

[root@eastquad-171-89 root]# modprobe -v agpgart
/sbin/insmod /lib/modules/2.4.18-27.8.0/kernel/drivers/char/agp/agpgart.o
Using /lib/modules/2.4.18-27.8.0/kernel/drivers/char/agp/agpgart.o
Symbol version prefix ''

Thetargos 04-01-2003 12:21 AM

Ok, but does /sbin/lsmod lists it as loaded?

This is my output with the fglrx drivers:

fglrx 156936 9
agpgart 40096 0 (unused) <-- this is what worries me, it is loaded, but unsed.

lmmars 04-01-2003 02:26 AM

I should have been clearer in the first post, because that is the problem I'm trying to correct. 'agpgart' is not loaded.

Thetargos 04-01-2003 01:25 PM

Ok. So even if you make an insmod agpgart it won't work? or how will it complaint?

lmmars 04-01-2003 04:56 PM

Simply loading the agpgart module after the system has already started up doesn't solve the problem. I see no indication from 'dmesg' of agpgart loading during system startup and according to this debugging guide agpgart must load at a critical moment in startup so my video card may behave properly. I don't know how to instruct my computer to do this. Does anyone here know?

UnTamed 04-01-2003 05:57 PM

If #lsmod still doesn't list agpgart, go to console mode,
#modprobe -r radeon
#modprobe agpgart
#modprobe radeon
$startx ...and see if it's any better with
$glxinfo | grep render

If not, come back here with your output to
#lsmod
#cat /var/log/XFree86.0.log | grep WW
#cat /var/log/XFree86.0.log | grep EE

...and if lsmod does list agpgart as loaded after you ...
Quote:

[root@eastquad-171-89 root]# modprobe -v agpgart
/sbin/insmod /lib/modules/2.4.18-27.8.0/kernel/drivers/char/agp/agpgart.o
Using /lib/modules/2.4.18-27.8.0/kernel/drivers/char/agp/agpgart.o
Symbol version prefix ''
...coz to me, there's no sign of a problem here, just re-startx.

linuxr0x 06-17-2003 12:51 PM

I am a little slow...
 
I was just reading through your thread, and I was trying out lsmod. I'm a total newb to this stuff, but I was wondering why I don't see fglrx loaded, even though my system is using that driver for my Radeon 9700 Pro.

I am looking for proper procedure to get it loaded.

I understand that this driver doesn't work with AGP 8X ?? How do I check what AGP speed my card is running at?

Has anyone tried any OpenGL games with this card? I can't get ANY games to work with OpenGL on my Radeon, and I'm sorta peeved about it.

Thanks in advance!

blais 07-19-2003 12:44 AM

i've got the same problem using RH9 and DRI driver, and i believe that's why i can't get the DRI driver working (i can't use the ATI driver i.e. fgglx, they don't provide 4.3.x driver yet).

anyone found a solution?

Thetargos 07-19-2003 12:57 AM

Blais, linuxr0x:

You can install the drivers provided at www.schneider-digital.de, just click on download and ATi, then download the file GLX1_linux_4.3.zip. Unzip the file and install the rpm with:
Code:

$ su
passowrd:
# rpm -ivh --force fglrx-<version>.rpm

After that (it should compile the driver on the fly) all you have to do is to run fglrxconfig, follow the instructions on-screen and restart X.

IMPORTANT!!

-You will need to have your kernel sources installed (there is no binary supplied for RH 9 kernel (stock or otherwise) so that is why they're needed).

- Do the installation (in a RH system) from runlevel 3 (pure console), after you tried the driver (with startx) you may switch back to runlevel 5 (init 5@console).

- Remember to force the rpm installation, otherwise rpm will complaint about the GL libraries supplied by the driver and the ones present in the system (provided by XFree).

Follow this directions, and you should be all set!

BTW: The fglrx driver has a built in AGPgart, which is recommended over the kernel's AGPgart driver. About 8X AGP, as of late drivers (the ones posted at the url above) do support it, but the reports are that it is still buggy, so it is better to set the AGP speed to 4X in BIOS.

Hope this helps.

EDIT:
Supported Radeon chipsets are:
R200 (Radeon 8500/9000)
Rv200 (Radeon 9100)
R300 (Radeon 9500, 9700, pro and non pro versions)
Rv300 (Radeon 9600)
R350 (Radeon 9800)
Rv350
And the FireGL boards, of course :D!

blais 07-19-2003 01:00 AM

hi

me again, i just recompiled kernel with agpgart support IN the kernel (not as kmod) and my DRI now works. this might fix others' problems.

however, i still have a "shimmering" problem, garbage being drawn onscreen when i move windows, sometimes even when i type. i was hoping the DRI driver would fix my problem. i'll try the schneider drivers now...

blais 07-19-2003 01:02 AM

Thetargos: the schneider web site doesn't mention Radeon 9000 for the file you mention... is this normal?

Thetargos 07-19-2003 01:03 AM

blais:

What Radeon card do you have (R9700/9500 or 8500/9000)?


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