LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-16-2003, 07:46 PM   #1
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Rep: Reputation: 30
Question AGP Problem w/Linux


I need help.

Regardless of which version of Linux I use, I am having a difficult time operating my display card.

I have an AMD Athlon XP w/ATI Radeon 9000 Pro AGP under Red Hat Linux 7.3.

Everything on Linux meets the requirements to install the drivers, through use of a program from the ATI web sight.

I install the drivers requiring for the display card.

The install correctly but I get several errors.

I adjusted a file that has the BusID from 1.0.1 to 1.0.0.

I resolve nearly every error excpet for one.

I have verified within the log file that my card is not processing because Linux is not operating my AGP, asuming my card is PCI.

I do lsmod and find no agpgart.

I can not find a ultility to operating or turn on AGPgart.

Plz help... <smiles>
 
Old 07-16-2003, 08:24 PM   #2
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
Did you build your own kernel? Didk you perhaps not configure it to support AGP?

mlp
 
Old 07-16-2003, 09:49 PM   #3
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Original Poster
Rep: Reputation: 30
That could be my problem. I do not see the agpgart under "lsman" or "lsmod" (forgot which one). I get an error message related to that.

The catch 22 is, I have installed all the ultilites with the Red Hat 7.3 disk and the problem was not resolved. This is concluding that I need to do some addition tasks (don't know what) or I need extra software to download, to resolve this problem.

If you want, I can post the entire log file to help get a better understand of what's going on?
 
Old 07-17-2003, 03:44 AM   #4
mimil
LQ Newbie
 
Registered: Jul 2003
Location: toulouse (france)
Distribution: Linux Mandrake 9.0
Posts: 13

Rep: Reputation: 0
I have the same kind of problem here.
I'm trying to setup a GeForce2 with Linux Mandrake 9.0 (kernel 2.4.19-16mdk) and it won't work.

I've set up the drivers fine (on installing, it modified /etc/modules.conf, adding a line : alias nvidia* nvidia), modified /etc/X11/XF86Config-4 but when I do startx (or when I start the whole system, runlevel:5), it turns to a black screen, nothing responding, and I have to reset. On reboot, it blinks a couple time then turns to a console.

In lsmod, there is neither agpgart nor any nvidia related line.

There is another problem : in order to work with some chipsets, agpgart needs the option "agp_try_unsupported=1" The thing is I don't know how to pass that option on starting the system hé! hé!

I tried to pass it manually (insmod agpgart agp_try_unsupported=1) and it worked fine (I used to have error messages in /var/log/messages).
Then I loaded the nvidia driver module (insmod nvidia) and tried to startx but that gave me a black screen (Ctrl+Alt+BackSpace don't do anything).

I've read somewhere (man pages, or Tom's Hardware Guide Internet pages) that with recent versions of XFree, the video stuff was loaded on starting the X-server, so I set Option "NvAgp" "2" in the Screen section of /etc/X11/XF86Config-4. It didn't seem to help.

I tried something else. I sometimes had an error :
NVIDIA : No screens found
So I thought : maybe it's just my monitor that's not setup correctly ?
I ran xf86cfg ; I got a brand new XF86Config-4 file (I added the options like "NvAgp" or "nvidia").
But the X-server still won't start.

I get an error at the end of /var/log/XFree86.0.log :

(**) NVIDIA(0) : Option "NvAgp" "2"
(**) NVIDIA(0) : Use of AGPGART requested
(==) NVIDIA(0) : Linear framebuffer at 0xF0000000
(==) NVIDIA(0) : MMIO registers at 0xE7000000
(EE) NVIDIA(0) : Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0) : Aborting
(II) UnloadModule : "nvidia"
(II) UnloadModule : "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.h
(EE) Screen(s) found but none have a usable configuration

Fatal server error :
No screens found

I don't know if that helps you, Dolvmin.
Try that : insmod agpgart agp_try_unsupported=1
The sure thing is : agpgart IS the problem.
Unless it is something else...

Mimil
 
Old 07-17-2003, 12:03 PM   #5
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Original Poster
Rep: Reputation: 30
Your problem sounds very fimilier. In the XF86config-4 file, there may be a line that says BUSid. 1:0:0. On my card, there is a large common problem related to what you have, and the fix is chaning the busid to 1:0:0.

Your idea seems closest to what I need to do and I will try it. Thanks for the information, I'll get back to youl. <smiles>
 
Old 07-17-2003, 12:59 PM   #6
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Original Poster
Rep: Reputation: 30
OMG dude, if you were a women, I would kiss ya!

It worked! X is starting up with the new drivers...

However, this developed 2 new problems.

*The first problem is the Sync rate is to fast for my monitor to view.

The only reason why I know the X worked was because I had to switch to another monitor due to the monitor providing me with the error, "OUT OR RANGE".

Normally, on Windows XP Pro install, I see this but it repairs itself. I follow up with changing the sync rate for Windows XP Pro and I am back at getting maxium refresh.

I'm aware that the install for this card likes to automatically set itself to @85. On Windows 98, my only resolve is to go into safemode to change the sync rate there so I can view the desktop.

On Linux however, I do not know how to switch the sync rate.

My monitor is a Hsync 31.5-60, Vsync 60-75, @75

When I go through the XF86Config-4 setup, I adjust the Hsync & Vsync. This however, does not resolve this problem.


*The second problem is, I need to setup agpgart string you gave me so it runs automatically on startup much like the DOS version of AUTOEXEC.BAT. How do I do this?

Thanks for the help so far! <smiles>

Last edited by dolvmin; 07-17-2003 at 01:46 PM.
 
Old 07-17-2003, 02:25 PM   #7
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Original Poster
Rep: Reputation: 30
Okay! I got my LCD Monitor to work.
The fix was to add this string to the XF86Config-4 fileg:
Modeline "1024x768@75hz" 137.65 1152 1184 1312 1536 864 866 885 902 -HSync -VSync

In the XF86Config-4:
Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5-60
VertRefresh 60-75
Modeline "1024x768@75hz" 137.65 1152 1184 1312 1536 864 866 885 902 -HSync -VSync
EndSection

Now all I need is to have the following string startup on boot prior to startx:
insmod agpgart agp_try_unsupported=1

Once I get this, I'm done! <smiles>
 
Old 07-17-2003, 08:22 PM   #8
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Add a line in your boot loader's configuration file. For LILO, type append = "agp_try_unsupported=1" under the LINUX section. Then run /sbin/lilo. You have to be su or root to change the file and run /sbin/lilo. If you have other options in append you can still add it, just add a space after the options.
 
Old 07-17-2003, 10:09 PM   #9
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Original Poster
Rep: Reputation: 30
I have gone to /sbin/lilo (file)
The information in that file is not of ascii. There is no LINUX section, or is not readable.

Though the file is there, I have Grub installed, if this helps any. I checked the grub file. Same problem, text is not readable. It's not ascii.
 
Old 07-18-2003, 04:13 AM   #10
mimil
LQ Newbie
 
Registered: Jul 2003
Location: toulouse (france)
Distribution: Linux Mandrake 9.0
Posts: 13

Rep: Reputation: 0
the file you're looking for is /etc/lilo.conf or /etc/grub.conf.
With Lilo, once you've made the changes, you need to run /sbin/lilo tu update it. I don't know about Grub, you might wanna check in the man pages

I'm glad you could get your card working. Mine is still not working ; I'll try the Bus thing...

Mimil
 
Old 07-18-2003, 10:43 AM   #11
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Original Poster
Rep: Reputation: 30
Ahh, I was in the grub.conf but was worried about changing anything.

I'll see what I can do with it. Thanks for letting me know.

As for you, I noticed it shows your using Mandrake.
I read a post (do not remember where) that expressed Mandrake Linux having serious problems loading this ATI card. The customer, got really angry and had a second opinion about ATI. If you can't get the problem resovled, try Red Hat. At least that way you know if it's a hardware thing or a Mandrake thing (That's of corse, after you try the busid change).

I hope you get yours to work. <smiles>
 
Old 07-21-2003, 07:42 PM   #12
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Original Poster
Rep: Reputation: 30
Okay... I can not verify how to do this. Any command put into the grub.conf is completely ignored.

I am unable to auto-start the string that activates my AGP.
 
Old 07-21-2003, 10:00 PM   #13
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
You can also add

Quote:
options agpgart "agp_try_unsupported=1"
to your /etc/modules.conf file. That is probably easier.

mlp
 
Old 07-25-2003, 05:33 PM   #14
dolvmin
Member
 
Registered: Jul 2003
Location: Florida
Distribution: Red Hat 7.2/8/9, Fedora Core 1/2/3, Smoothwall, Mandrake 7.0/10, Vecter 4, Arch 0.6, EnGuarde
Posts: 289

Original Poster
Rep: Reputation: 30
Okay, I found out how to do this. I'm very happy that many have aided me with this last part, but I'm afraid every method did not work.

Now, what I'm about to say is funny, because I feel really dumb for not trying it before.

To get AGPgart to autoload prior to the "startx":
Go to /etc/X11
Modify file XF86Config-4 with vi <"vi XF86Config-4">
Add the following DIRECTLY under:

# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#

# AGP enable/disable <<<For information only
# Chris Jepson
# 07-25-03

Load "agp_try_unsupported=1"

# End of String

Your AGP will automatically start up after every module is init, but imediately before startx is turned on.

This last fix resolves all my problems w/ ATI Radeon 9000 Pro AGP with the Red Hat Linux.

I no longer need assistance, thanks for the help everyone...

Last edited by dolvmin; 08-03-2003 at 05:38 PM.
 
  


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
Missing agp-gart modules (moving from PCI to AGP video card) JLTB Debian 1 03-31-2005 04: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 05:36 PM
Old AGP 2x card - can work in AGP 2x/4x slot? elnomadkvn Linux - Hardware 1 04-04-2004 01:35 AM
AGP Problem? nrunge Linux - Hardware 11 11-05-2003 02:17 PM
AGP problem... Xerxes Linux - Newbie 2 05-12-2003 09:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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