Re: Nvidia driver

From: Mike Hunter <mhunter_at_ack.Berkeley.EDU>
Date: Fri, 3 Oct 2003 00:04:38 -0700
On Oct 02, "Daniel O'Connor" wrote:

> My wife's computer did this. In the end I turned down all the knobs I 
> could find (mostly AGP speed stuff).
> 
> It still dies when trying OpenGL though.
> hw.nvidia.agp.card.rates: 2x 1x
> hw.nvidia.agp.card.fw: not supported
> hw.nvidia.agp.card.sba: supported
> hw.nvidia.agp.card.registers: 0x1f000203: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  Wed 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: RIVA TNT2
> hw.nvidia.cards.0.irq: 11
> hw.nvidia.cards.0.vbios: 02.05.01.00.00
> hw.nvidia.cards.0.type: AGP
> 
> ...
> Section "Device"
>         Option "NvAgp" "0"
>         Identifier  "Card1"
>         Driver      "nvidia"
>         VendorName  "NVidia"
>         BoardName   "Riva TNT2"
>         BusID       "PCI:1:0:0"
> EndSection
> ...
> 
> agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xd0000000-0xd3ffffff at device 0.0 on pci0
> ...
> nvidia0: <RIVA TNT2> mem 0xd4000000-0xd5ffffff,0xd6000000-0xd6ffffff irq 11 at device 0.0 on pci1
> ..
> 
> This is a 4.8 system though.

How do you turn those down?  /boot/loader.conf?  I tried saying
"hw.nvidia.card.rates="2x 1x" but that didn't seem to do anything (I have
a feeling that putting that in /boot/loader.conf makes no sense...please
consider this a desperate cry for help.)

Is it a bad sign that my sysctl has some weird values in it?

sysctl -a | grep nvidia

       nvidia    21    13K     13K       21  16,32,256
hw.nvidia.agp.card.rates: 4x 2x 1x 
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0x1f000217:0x01000000
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-4365
Wed May 28 09:20:25 PDT 2003
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.UpdateKernelAGP: 1
hw.nvidia.cards.0.model: GeForce4 4200 Go
hw.nvidia.cards.0.irq: 11
hw.nvidia.cards.0.vbios: ??.??.??.??.??
hw.nvidia.cards.0.type: AGP

I have yet to try the posted suggestion of NOT loading "agp" into the kernel 
or having it as a module...maybe that's what "WITH_FREEBSD_AGP" refers
to...hmmmmm.....

Thanks,

Mike
Received on Thu Oct 02 2003 - 22:05:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:24 UTC