nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA FreeBSD (http://www.nvnews.net/vbulletin/forumdisplay.php?f=47)
-   -   1.0-8774 + FBSD 6.1 & problems with AGP (http://www.nvnews.net/vbulletin/showthread.php?t=76750)

Migons 09-16-06 07:47 AM

1.0-8774 + FBSD 6.1 & problems with AGP
 
Hi!

I'm using FreeBSD 6.1-RELEASE (i386), and my problem is related to enabling AGP for my GeForce 6200. When I install 1.0-8774 to use its own AGP driver, and xorg.conf has option "NvAGP" "1", no error messages are shown (neither in dmesg nor in Xorg's log file). BUT, after typing sysctl -a | grep nvidia, there can found the following lines:

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)


I have Asus A8V Deluxe, which uses VIA K8T800 Pro chipset, and should so be supported by NVIDIA's AGP driver. Altough I'm running Athlon 64 processor, I'm still using 32-bit FreeBSD. I'm confused about this, because when I install 1.0-8774 to use FreeBSD's AGPGART driver, the following statements appear after launching Xorg (option "NvAGP" "2" in xorg.conf):

NVRM: AGP cannot be enabled on this combination of the AMD CPU and OS kernel
NVRM: kernel upgrade recommended.

Why does it say that, even though I'm NOT running anything 64-bit (I know there isn't 64-bit driver available, and I shouldn't even need it)? I do have a pretty rare version of A64 (3500+ Socket 939 with ClawHammer core, stepping and revision aren't usual), which may not be recognized properly by NVIDIA driver. Could this cause the AGP issue?

Thank you.


|EDIT| Running X.org version 6.9.0 and compat5x-i386-5.4.0.8_7 is installed.

SirDice 10-10-06 06:31 PM

Re: 1.0-8774 + FBSD 6.1 & problems with AGP
 
Quote:

Originally Posted by Migons
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)

Looks like X isn't running. Start X then do a sysctl -a hw.nvidia.

Are you using the x11/nvidia-driver port?

Migons 10-11-06 01:50 PM

Re: 1.0-8774 + FBSD 6.1 & problems with AGP
 
Quote:

Originally Posted by SirDice
Looks like X isn't running. Start X then do a sysctl -a hw.nvidia.

No, X really is running.


Quote:

Are you using the x11/nvidia-driver port?
Yes. And btw, 1.0-8178 works nicely with FreeBSD's own AGPGART, but as it has the AGP GART interaction bug (fixed in 1.0-8774), the whole system will crash when using an application that uses Xorg's glx module. But at least AGP itself is working..

SirDice 10-21-06 07:07 AM

Re: 1.0-8774 + FBSD 6.1 & problems with AGP
 
What kernel are you running?

GENERIC has device agp. This might interfere. Try building a kernel without agp or turn it off by adding hint.agp.0.disabled="1" to /boot/device.hints.

One thing to note though, I've noticed the nvidia-driver port building WITH_FREEBSD_AGP eventhough you select not to use it.

One way I found was this:
cd /usr/ports/x11/nvidia-driver
make extract
make patch
then edit work/NVIDIA-FreeBSD-x86-1.0-8774/src/nv-freebsd.h
look for NV_SUPPORT_OS_AGP make sure it's undef.
make all install if everything is set correctly.


All times are GMT -5. The time now is 11:41 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.