View Single Post
Old 10-09-06, 03:06 PM   #7
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: Freeze on redraw

Odd.. I cannot seem to use any of the sysctls to set the AGP rate..

hw.nvidia.agp.card.rates ; read-only
hw.nvidia.agp.status.rate ; read-only

hw.nvidia.registry.rate ; oid doesn't exist?!?
None of the hw.nvidia.registry.* oid's mentioned in the README exists btw.
http://download.nvidia.com/freebsd/1...ppendix-e.html
Tried it WITH and WITHOUT_FREEBSD_AGP.

So I used the BIOS to set the AGP rate to 1x/2x instead of 4x.
Installed a kernel without device agp. Rebuild nvidia-driver WITHOUT_FREEBSD_AGP. Checked kldstat, nvidia.ko is there, no agp.ko

After starting X:
dice@molly:~>sysctl hw.nvidia
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:0x0f000102
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 2x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: disabled
hw.nvidia.version: NVIDIA FreeBSD x86 Kernel Module 1.0-8774 Tue Aug 1 22:04:23 PDT 2006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
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.DevicesConnected: 0
hw.nvidia.registry.VideoEnhancement: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.cards.0.model: GeForce FX 5200
hw.nvidia.cards.0.irq: 17
hw.nvidia.cards.0.vbios: 04.34.20.27.02
hw.nvidia.cards.0.type: AGP

Setting AGP to 2x does seem to help.. So far I couldn't reproduce the problem

Perhaps later I'll try the beta driver to see if it can handle the errors better at 4xAGP.
Right now I'm happy
SirDice is offline   Reply With Quote