Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-09-02, 01:13 AM   #1
Kerion
Registered User
 
Join Date: Nov 2002
Posts: 53
Default nVidia FreeBSD drivers v1.0-3203 problems thread

This is just a quick thread to post known problems with the new FreeBSD drivers, so the devs can see whats going on out there

Please note, this is not a flame thread, or a "god these drivers suck!" thread. This is a "hey, this is a problem you might want to look at" thread. Those of us using FreeBSD should be grateful we got drivers

My system specs:

Via KT333 mobo
Athlon 1.2ghz
512mb of DDR266
geForce 3 Ti 200
onboard sound
FreeBSD 4.7-STABLE (just CVSup'ed today)

That being said, the problems I have witnessed:

* Definite lockup/reboot issues. This tends to happen after running an OpenGL application, then trying to run another. It seems to happen more often when using the AGPGART from FreeBSD (agp.ko or device agp in your kernel + #define USE_OS_AGP_GART in nv-freebsd.h).

* When using the AGPGART from FreeBSD, the hw.nvidia.agp.status sysctl vars don't seem to be correct. For instance, it will say AGP is disabled, even though doing a quick 'grep -i agp /var/log/XFree86.0.log' will show that AGP was initialized succesfully.

* This one is a bit more subjective, but it seems when an app generates mipmaps...its SLOOOWWWW. I will look more in to this and profile the actual gl calls.

Please post any other problems you guys are having here (which as much detail as possible, and your system config if possible). The more info we give the nVidia guys, the easier it is for them to fix the problems
Kerion is offline   Reply With Quote
Old 11-09-02, 05:31 AM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: nVidia FreeBSD drivers v1.0-3203 problems thread

Quote:
* Definite lockup/reboot issues. This tends to happen after running an OpenGL application, then trying to run another. It seems to happen more often when using the AGPGART from FreeBSD (agp.ko or device agp in your kernel + #define USE_OS_AGP_GART in nv-freebsd.h).
Are there any interesting messages going with this in the system log file (kernel panic, etc)? Does this happen when you disable AGP allotogether?

Quote:
* When using the AGPGART from FreeBSD, the hw.nvidia.agp.status sysctl vars don't seem to be correct. For instance, it will say AGP is disabled, even though doing a quick 'grep -i agp /var/log/XFree86.0.log' will show that AGP was initialized succesfully.
The sysctl code reads the current configuration directly from the hardware, if in doubt, it's the one you will want to believe.
zander is offline   Reply With Quote
Old 11-09-02, 07:01 AM   #3
Kerion
Registered User
 
Join Date: Nov 2002
Posts: 53
Default

Scratch that. I am compiling my kernel with DDB and makeoptions DEBUG=-g right now, and setting up savecore.

If (when?) it crashes again, I will see if it gives me panic information.

Last edited by Kerion; 11-09-02 at 07:09 AM.
Kerion is offline   Reply With Quote
Old 11-09-02, 08:49 AM   #4
Kerion
Registered User
 
Join Date: Nov 2002
Posts: 53
Default

Of course, as soon as I set everything up to catch any kernel core dumps....it won't crash :P

Oh well, I will keep trying various 3D apps and hopefully one of them will trigger the reboot problem I was having so I can check out the core dump.
Kerion is offline   Reply With Quote
Old 11-09-02, 09:49 AM   #5
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

Ok, sounds good to me.
zander is offline   Reply With Quote
Old 11-09-02, 01:14 PM   #6
lewiz
Guest
 
Posts: n/a
Default Random crashes/hangs (533 Celery / GeForce2 MX)

Hi,

I sent this to be bugs address. I'm adding a few more details I think I forgot.

533MHz Celeron Mendocino and I'm using the nVidia AGP support (not native FreeBSD). I thinks that's all I can provide without further prompting.

I'm running FreeBSD 4.7-STABLE (built from CVS 8 Nov 02). I
downloaded the nVidia FreeBSD driver (1.0-3203) and compiled/installed
as explained. After modifying my XFree86 setup file (as explained) and
restarting I have a machine that hangs or resets itself.

Here is the information I can think you might need:

% dmesg | grep nvidia ; dmesg | grep agp
Preloaded elf module "nvidia.ko" at 0xc053609c.
nvidia0: <GeForce2 MX/MX 400> mem 0xd8000000-0xdfffffff,0xd2000000-0xd2ffff=
ff irq 11 at device 0.0 on pci1
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xe0000000-0xe7fffff=
f at device 0.0 on pci0

% sysctl -a hw.nvidia
hw.nvidia.agp.card.rates: 4x 2x 1x=20
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: not supported
hw.nvidia.agp.card.registers: 0x1f000017:0x00000000
hw.nvidia.agp.status.status: disabled
hw.nvidia.agp.status.driver: n/a
hw.nvidia.agp.status.rate: n/a
hw.nvidia.agp.status.fw: n/a
hw.nvidia.agp.status.sba: n/a
hw.nvidia.version: NVIDIA FreeBSD x86 nvidia.ko Kernel Module 1.0-3203 We=
d Oct 30 06:06:58 PST 2002
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.cards.0.model: GeForce2 MX/MX 400
hw.nvidia.cards.0.irq: 11
hw.nvidia.cards.0.vbios: ??.??.??.??.??
hw.nvidia.cards.0.type: AGP

I have physically (in the BIOS) set AGP to 2x so 4x should not be
allowed (although I don't know why hw.nvidia.agp.card.rates includes
4x). I managed to run twm as root and play about a bit but upon closing
the machine locked up. Also, if I run as a regular used as xmms loads
the machine locks up as the playlist is about to display. Further
testing as root caused the machine to spontaneously reboot another time.
I can provide any details you require concerning this but a quick
explanation (or details of where to look) for an idea of how to do it
would be helpful.

Thanks very much and congrats. for getting so far!

-lewiz.
  Reply With Quote
Old 11-09-02, 03:11 PM   #7
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default Re: Random crashes/hangs (533 Celery / GeForce2 MX)

Quote:
Originally posted by lewiz
I'm running FreeBSD 4.7-STABLE (built from CVS 8 Nov 02). I downloaded the nVidia FreeBSD driver (1.0-3203) and compiled/installed as explained. After modifying my XFree86 setup file (as explained) and restarting I have a machine that hangs or resets itself.
You're sure your motherboard isn't to blame? Does the card work in Linux, for example?

Quote:
% dmesg | grep nvidia ; dmesg | grep agp
Preloaded elf module "nvidia.ko" at 0xc053609c.
nvidia0: <GeForce2 MX/MX 400> mem 0xd8000000-0xdfffffff,0xd2000000-0xd2ffffff irq 11 at device 0.0 on pci1
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xe0000000-0xe7ffffff at device 0.0 on pci0
Which chipset is this? I know it's one of Via's, but which?

Quote:
hw.nvidia.agp.status.status: disabled
This may be the problem... can you find out why AGP is disabled in any of the logs?

Quote:
I have physically (in the BIOS) set AGP to 2x so 4x should not be allowed (although I don't know why hw.nvidia.agp.card.rates includes 4x).
What you posted is entirely correct. All that the hw.nvidia.agp.card sysctl (or the /proc/driver/nvidia/agp/card file in Linux) reports is your card's hardware capabilities; and your card does support AGP 4x, regardless of what you do in your BIOS. When you set AGP to 2x in the BIOS, that gets reflected in the /proc/driver/nvidia/agp/host-bridge file in Linux; apparently it either doesn't get reported in BSD, or you didn't post everything that the sysctl command printed. Either way, it shouldn't matter, as again, the hardware is reporting that AGP is disabled.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 11-10-02, 09:06 AM   #8
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default

The FreeBSD sysctl interface is implemented very much like the Linux procfs interface; the current values reported in hw.nvidia.agp.status.host-bridge are read from the bridge's agp capabilities register.
zander is offline   Reply With Quote

Old 11-10-02, 11:23 PM   #9
fir3nuk3
Guest
 
Posts: n/a
Talking FreeBSD NVidia Speed - Very Nice!!

CVSupped to 4.7, Compile,install,mergemaster,
compiled NVidia code, installed,
Tweaked X, and ran it!

Man the code flew!
Got the atlantis screensaver doing 70fps in the root window - with 200 sharks!

(/usr/X11R6/bin/xscreensaver-hacks/atlantis -root -delay 0 -count 200)

Until it hard locked...
Just compiling kernel with debugging now - this is an SMP machine, so things may get ugly (two celeron 417MHz)

But gosh it was fast when it was running!!
Can't wait to get apps running properly...
The following no longer worked:
Blender 2.20
glChess
tuxracer
  Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA R304.64 Certified Drivers for Linux, Solaris and FreeBSD News Archived News Items 0 11-07-12 02:30 PM
NVIDIA drivers 302.17 for Linux, FreeBSD and Solaris News Archived News Items 0 06-16-12 07:20 AM
NVIDIA drivers 302.11 for Linux, FreeBSD and Solaris News Archived News Items 0 05-19-12 11:20 AM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 09:31 PM
Problems with Mandrake and NVidia drivers..... xMonoxide187x NVIDIA Linux 2 08-22-02 01:55 PM

All times are GMT -5. The time now is 09:21 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.