LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-30-2003, 06:37 PM   #1
lmmars
LQ Newbie
 
Registered: Mar 2003
Location: Ann Arbor, Michigan
Distribution: RedHat 8.0 i686
Posts: 7

Rep: Reputation: 0
Unhappy '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.
 
Old 03-31-2003, 01:46 AM   #2
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
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)
 
Old 03-31-2003, 02:24 AM   #3
jdc2048
Member
 
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
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?
 
Old 03-31-2003, 12:31 PM   #4
lmmars
LQ Newbie
 
Registered: Mar 2003
Location: Ann Arbor, Michigan
Distribution: RedHat 8.0 i686
Posts: 7

Original Poster
Rep: Reputation: 0
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 ''
 
Old 04-01-2003, 01:21 AM   #5
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
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.

Last edited by Thetargos; 04-01-2003 at 01:27 AM.
 
Old 04-01-2003, 03:26 AM   #6
lmmars
LQ Newbie
 
Registered: Mar 2003
Location: Ann Arbor, Michigan
Distribution: RedHat 8.0 i686
Posts: 7

Original Poster
Rep: Reputation: 0
I should have been clearer in the first post, because that is the problem I'm trying to correct. 'agpgart' is not loaded.
 
Old 04-01-2003, 02:25 PM   #7
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Ok. So even if you make an insmod agpgart it won't work? or how will it complaint?
 
Old 04-01-2003, 05:56 PM   #8
lmmars
LQ Newbie
 
Registered: Mar 2003
Location: Ann Arbor, Michigan
Distribution: RedHat 8.0 i686
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
Old 04-01-2003, 06:57 PM   #9
UnTamed
Member
 
Registered: Dec 2002
Location: Qc, Canada
Distribution: CRUX
Posts: 317

Rep: Reputation: 30
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.
 
Old 06-17-2003, 01:51 PM   #10
linuxr0x
LQ Newbie
 
Registered: Jun 2003
Distribution: Redhat 8
Posts: 10

Rep: Reputation: 0
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!
 
Old 07-19-2003, 01:44 AM   #11
blais
LQ Newbie
 
Registered: Jul 2003
Posts: 22

Rep: Reputation: 15
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?
 
Old 07-19-2003, 01:57 AM   #12
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
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 !

Last edited by Thetargos; 07-19-2003 at 02:01 AM.
 
Old 07-19-2003, 02:00 AM   #13
blais
LQ Newbie
 
Registered: Jul 2003
Posts: 22

Rep: Reputation: 15
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...
 
Old 07-19-2003, 02:02 AM   #14
blais
LQ Newbie
 
Registered: Jul 2003
Posts: 22

Rep: Reputation: 15
Thetargos: the schneider web site doesn't mention Radeon 9000 for the file you mention... is this normal?
 
Old 07-19-2003, 02:03 AM   #15
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
blais:

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
AGP Gart Error paitken Slackware 23 05-09-2005 10:19 PM
Missing agp-gart modules (moving from PCI to AGP video card) JLTB Debian 1 03-31-2005 05:08 AM
I have an onboard AGP, but want to use my nVidia card in my AGP slot. xorg.conf help LordRaven Slackware 16 09-17-2004 06:36 PM
Unable to acquire AGP, error "xf86_ENOMEM" - have followed usual procedure vasudevadas Linux - Hardware 5 06-02-2004 03:53 PM
Old AGP 2x card - can work in AGP 2x/4x slot? elnomadkvn Linux - Hardware 1 04-04-2004 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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