Re: AGP not working on nForce3
Louis LeBlanc wrote: On 01/09/05 10:18 PM, Mats Kristoffersen sat at the `puter and typed: Louis LeBlanc wrote: On 01/09/05 10:06 PM, Mats Kristoffersen sat at the `puter and typed: Louis LeBlanc wrote: What does the cards config block look like in your xorg.conf? Lou Section "Device" Identifier "Card0" Driver "nvidia" Option "NvAGP" "1" EndSection Try adding this: Option "RenderAccel" "True" Lou No luck. I still get the NVRM: AGP cannot be enabled on this combination of the AMD CPU and OS kernel NVRM: kernel upgrade recommended. messages, and the hw.nvidia.agp.status.* oids don't exist. I use xorg-server 6.8.1 from packages (as the server crashes when I run opengl apps if I compile from ports). The rest of the xorg components are from ports. I'll try installing xorg-libraries from packages too, to see if it helps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: AGP not working on nForce3
Louis LeBlanc wrote: On 01/09/05 10:06 PM, Mats Kristoffersen sat at the `puter and typed: Louis LeBlanc wrote: Yes, I recompiled with just WITH_ACPI, and now it's 1 as default. I even cvsupped world and rebuilt, and now nvidia.ko doesn't try the agp0 stuff. I guess that's progress, but AGP still doesn't work. Progress is very often nothing more than a change in error conditions :) Ok, how about the hw.nvidia sysctls and the logs? Any warnings (WW) or errors (EE) in /var/log/Xorg.0.log? There will probably be a couple warnings related to modes, but those are probably not directly related. A couple of warnings about modes and fonts, no errors. I used -verbose 5 -logverbose 5. Good. Keep an eye on that as you change things. Every time you make a change, check the hw.nvidia.agp.status sysctls. Mine are as follows: hw.nvidia.agp.status.status: enabled hw.nvidia.agp.status.driver: nvidia hw.nvidia.agp.status.rate: 8x hw.nvidia.agp.status.fw: disabled hw.nvidia.agp.status.sba: enabled Those sysctls don't even exist. What does the cards config block look like in your xorg.conf? Lou Section "Device" Identifier "Card0" Driver "nvidia" Option "NvAGP" "1" EndSection ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: AGP not working on nForce3
Louis LeBlanc wrote: Yes, I recompiled with just WITH_ACPI, and now it's 1 as default. I even cvsupped world and rebuilt, and now nvidia.ko doesn't try the agp0 stuff. I guess that's progress, but AGP still doesn't work. Progress is very often nothing more than a change in error conditions :) Ok, how about the hw.nvidia sysctls and the logs? Any warnings (WW) or errors (EE) in /var/log/Xorg.0.log? There will probably be a couple warnings related to modes, but those are probably not directly related. A couple of warnings about modes and fonts, no errors. I used -verbose 5 -logverbose 5. Every time you make a change, check the hw.nvidia.agp.status sysctls. Mine are as follows: hw.nvidia.agp.status.status: enabled hw.nvidia.agp.status.driver: nvidia hw.nvidia.agp.status.rate: 8x hw.nvidia.agp.status.fw: disabled hw.nvidia.agp.status.sba: enabled Those sysctls don't even exist. You might have a couple differences, particularly the fw and sba values, but you want the rate to be 8x or at least 4x, and status enabled. As you track down warnings and errors in the Xorg.0.log file, you will probably be able to guess what kind of changes are needed in xorg.conf. Check the README.Linux file in the NVidia driver directory mentioned before for any tokens mentioned in those warning or error log entries. You will probably have to try different settings to eliminate the warnings or errors, but it's just a config change and X restart (Ctrl-Alt-Backspace). Compile/reinstall stuff is probably not needed at this point. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: AGP not working on nForce3
Setting this to 3 tells the driver to try the native AGP first. I had trouble with this, and had to compile the agp device out of my kernel to get it to work right. Notice below that I set NvAGP to 1. For some reason the sysctl var is set to 3 even though I use Option "NvAGP" "1" in xorg.conf. Setting it manually before starting X leaves it at 1, but that doesn't help. Not sure that makes sense to me; maybe I'm forgetting something. How did you compile the drivers? My pkgtools.conf uses the following: 'WITHOUT_LINUX=yes', 'WITH_ACPI=yes', This makes upgrades a little smoother. I've tried WITH_FREEBSD_AGP and the vanilla version. I want linux support enabled, since I play neverwinter nights now and then. That may be why NvAGP overrides to "3". Using "NvAGP" "1", but compiling the drivers with WITH_FREEBSD_AGP should be mutually exclusive. One tells the driver to use the NVidia AGP, the other tells it to use the native FreeBSD AGP. Like I said, you need to pick one. The NVidia AGP is probably the better choice. You mention below that it's already removed from the kernel, but that doesn't make sense if you're getting the agp0: console output. I'm assuming the kernel was rebuilt since that config was commented out, but is that config the one that was used? Yes, I recompiled with just WITH_ACPI, and now it's 1 as default. I even cvsupped world and rebuilt, and now nvidia.ko doesn't try the agp0 stuff. I guess that's progress, but AGP still doesn't work. Then you should definitely not be compiling the drivers with WITH_FREEBSD_AGP. Try recompiling without that config. Linux support is probably not a problem, so don't worry about that. What would the NvAGP "3" option do, then, if it couldn't fall back on nvidia's agp implementation? I supposed it could do both if you built with WITH_FREEBSD_AGP. Oh well, it's gone now. What do you get from the command kldstat? Id Refs AddressSize Name 1 14 0xc040 350800 kernel 22 0xc0751000 1c180linux.ko 31 0xc076e000 5844 snd_ich.ko 42 0xc0774000 1d4fcsound.ko 5 14 0xc0792000 54974acpi.ko 61 0xc23fc000 27000pf.ko 71 0xc245 2000 blank_saver.ko 81 0xc301a000 479000 nvidia.ko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: AGP not working on nForce3
Louis LeBlanc wrote: On 01/09/05 06:45 PM, Mats Kristoffersen sat at the `puter and typed: I have trouble with AGP using the nVidia drivers from ports. I have a MSI K8N neo2 motherboard (nForce3 Ultra), an Athlon64 3000+ CPU and a GeForce FX 5200. I'm running FreeBSD 5.3-STABLE in i386 mode. Exactly the card I'm using, but I'm not using an Athlon. When I load the nvidia drivers, it says: agp0: mem 0xe800-0xefff at device 0.0 on pci0 agp0: Unable to find NVIDIA Memory Controller 1. That's the kernel agp. You might want to pull it out of the kernel and use the Nvidia agp. device_attach: agp0 attach returned 19 nvidia0: mem 0xf000-0xf3ff,0xf400-0xf4ff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] Looks like a 64M card? Mines 128M, but that shouldn't matter here. When I startx, it says NVRM: AGP cannot be enabled on this combination of the AMD CPU and OS kernel NVRM: kernel upgrade recommended. You need to pick an AGP driver. This is done in /etc/X11/xorg.conf with the NvAGP setting. I use Option "NvAGP" "1" # Use Nvidia agp Of course, I had to remove the agp device from my kernel. It may also be necessary for you to build a custom kernel that makes use of some Athlon specific features - I'm using a Pentium myself, but there are plenty of folks on the list that can recommend options and devices to look at. There is no /dev/agp or similar. Having agp enabled or disabled in the kernel or loading agp.ko dynamically makes no difference. The absence of a /dev/agp is not important. agp.ko is the FreeBSD agp driver, you might be better with the nvidia agp. Nvidia-related sysctl variables: 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:0x 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 ^ Setting this to 3 tells the driver to try the native AGP first. I had trouble with this, and had to compile the agp device out of my kernel to get it to work right. Notice below that I set NvAGP to 1. For some reason the sysctl var is set to 3 even though I use Option "NvAGP" "1" in xorg.conf. Setting it manually before starting X leaves it at 1, but that doesn't help. How did you compile the drivers? My pkgtools.conf uses the following: 'WITHOUT_LINUX=yes', 'WITH_ACPI=yes', This makes upgrades a little smoother. I've tried WITH_FREEBSD_AGP and the vanilla version. I want linux support enabled, since I play neverwinter nights now and then. You might give that a try. Just comment out the agp in your kernel, don't delete it yet - just in case the nvidia agp doesn't like the athlon for some reason. That line is commented out already. I've tried commenting it out and I've tried leaving it on, but there is no difference in behaviour. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
AGP not working on nForce3
I have trouble with AGP using the nVidia drivers from ports. I have a MSI K8N neo2 motherboard (nForce3 Ultra), an Athlon64 3000+ CPU and a GeForce FX 5200. I'm running FreeBSD 5.3-STABLE in i386 mode. When I load the nvidia drivers, it says: agp0: mem 0xe800-0xefff at device 0.0 on pci0 agp0: Unable to find NVIDIA Memory Controller 1. device_attach: agp0 attach returned 19 nvidia0: mem 0xf000-0xf3ff,0xf400-0xf4ff irq 16 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] When I startx, it says NVRM: AGP cannot be enabled on this combination of the AMD CPU and OS kernel NVRM: kernel upgrade recommended. There is no /dev/agp or similar. Having agp enabled or disabled in the kernel or loading agp.ko dynamically makes no difference. Nvidia-related sysctl variables: 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:0x 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.56.00 hw.nvidia.cards.0.type: AGP dev.nvidia.0.%desc: GeForce FX 5200 dev.nvidia.0.%driver: nvidia dev.nvidia.0.%location: slot=0 function=0 handle=\_SB_.PCI0.AGPB.VGAG dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x0322 subvendor=0x subdevice=0x class=0x03 dev.nvidia.0.%parent: pci1 Hardware acceleration works fine, except for AGP. Any help is appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"