PDA

View Full Version : how to enable SBA and Fast Writes on FreeBSD?


sergey akifiev
12-01-05, 09:14 AM
i have FreeBSD 6.0-STABLE, nvidia-driver with BSD AGPGART support.

sergey% sysctl hw.nvidia
hw.nvidia.agp.host-bridge.rates: 4x 2x 1x
hw.nvidia.agp.host-bridge.fw: supported
hw.nvidia.agp.host-bridge.sba: supported
hw.nvidia.agp.host-bridge.registers: 0x1f000217:0x00000104
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:0x1f000104
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: freebsd (agp.ko)
hw.nvidia.agp.status.rate: 4x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: disabled
hw.nvidia.version: NVIDIA FreeBSD x86 NVIDIA Kernel Module 1.0-7676 Fri Jul 29 13:25:58 PDT 2005
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 3
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.cards.0.model: GeForce FX 5200
hw.nvidia.cards.0.irq: 5
hw.nvidia.cards.0.vbios: 04.34.20.56.00
hw.nvidia.cards.0.type: AGP

i.e. both card and agp bridge supports that modes. adriver instructed to turn that features on, but nothing...

zander
12-01-05, 09:52 AM
You'd need to set hw.nvidia.registry.EnableAGPFW to 1. Please see the documentation for details. Note that depending on the chipset, enabling fast writes can have an adverse effect on system stability (as can, in our experience, using FreeBSD's AGPGART driver).