Date: Mon, 29 Nov 2004 16:58:50 -0500 From: Louis LeBlanc <FreeBSD@keyslapper.org> To: freebsd-questions@freebsd.org Subject: Re: NVidia driver not using AGP? Message-ID: <20041129215849.GH23654@keyslapper.org> In-Reply-To: <200411291513.35761.kirk@strauser.com> References: <200411291513.35761.kirk@strauser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/29/04 03:13 PM, Kirk Strauser sat at the `puter and typed: > On my 5.3 system (recompiled completely, including ports, one week ago), the > NVidia driver (for a GeForce MX 400) from ports doesn't seem to be using AGP: > > $ sysctl hw.nvidia.agp.status.status > hw.nvidia.agp.status.status: disabled > > I've built a new kernel with "device agp" commented out, and kldstat verifies > that it's not loaded. I set 'Option "NvAGP" "1"' in /etc/X11/xorg.conf. > I've read all of the READMEs that seemed relevant. Still, I seem to be > running in PCI mode and display updates are painfully slow and CPU-intensive. > > I'm running out of things to check. Any idea what combination of settings > would result in a system where the display seems to run correctly, but is > much slower than expected? I noticed a few people on this thread with similar problems, and I don't know if any of this info will be of any use since I have a different card, but here's what I have in my working setup: FreeBSD 5.3 RELEASE xorg-6.7.0_1 nvidia-driver-1.0.6113_2 My dmesg.boot log has the following: agp0: <Intel 82875P host to AGP bridge> mem 0xe8000000-0xefffffff at device 0.0 on pci0 I guess that means my chipset is the Intel 82875P? Don't know if that's useful at all. The xorg.conf card section is: Section "Device" Identifier "NV TwinView" VendorName "nVidia Corporation" Driver "nvidia" # update this with the PCI id of your card. Consult the output # of the 'lspci' command. The BusID is usually optional when # only using one graphics card. BusID "PCI:1:0:0" BoardName "NV34 [GeForce FX 5200]" # These are extras that may need removal Option "NoLogo" "True" Option "RenderAccel" "True" Option "NvAGP" "0" Option "HWCursor" "True" Option "CursorShadow" "True" # twinview setup Option "TwinView" Option "SecondMonitorHorizSync" "31-80" Option "SecondMonitorVertRefresh" "56-75" Option "TwinViewOrientation" "RightOf" Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768" Option "ConnectedMonitor" "crt,crt" EndSection That should look familiar. It's a modified version of the NVIDIA sample xorg config. If you don't have the twin monitors, just leave out the twinview section. And my hw.nvidia sysctls are: # sysctl hw.nvidia hw.nvidia.agp.card.rates: 8x 4x hw.nvidia.agp.card.fw: supported hw.nvidia.agp.card.sba: supported hw.nvidia.agp.card.registers: 0x1f000e1b:0x00000000 hw.nvidia.agp.status.status: disabled hw.nvidia.agp.status.driver: n/a (unused) hw.nvidia.agp.status.rate: n/a (disabled) hw.nvidia.agp.status.fw: n/a (disabled) hw.nvidia.agp.status.sba: n/a (disabled) hw.nvidia.version: NVIDIA FreeBSD x86 NVIDIA Kernel Module 1.0-6113 Mon Aug 2 16:08:32 PDT 2004 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.cards.0.model: GeForce FX 5200 hw.nvidia.cards.0.irq: 16 hw.nvidia.cards.0.vbios: 04.34.20.22.bf hw.nvidia.cards.0.type: AGP I AM using the FreeBSD AGP driver, I had trouble with the nvidia driver, and it kept falling back to the FreeBSD driver. when I removed the agp device from the kernel, X wouldn't start at all. I've built the nvidia drivers port with "WITH_FREEBSD_AGP=true" in my /etc/make.conf and I don't have the try/fallback behavior now. I know my card isn't the same as anyone else's mentioning this problem, but I've found that the Linux readme that comes with the drivers is much more exhaustive than any other docs on these drivers - and bloody long too. I'd check that file for your specific card - it installed at /usr/X11R6/share/doc/NVIDIA_GLX-1.0/README.Linux on my system. HTH Lou -- Louis LeBlanc FreeBSD@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Sattinger's Law: It works better if you plug it in.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041129215849.GH23654>