Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 2009 02:55:22 -0700 (PDT)
From:      <soralx@cydem.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/134155: nvidia-driver does not work with KVA_PAGES=512 and newer card[s]
Message-ID:  <200905020955.n429tMex026699@soralx.cydem.org>
Resent-Message-ID: <200905021030.n42AU2px017801@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134155
>Category:       ports
>Synopsis:       nvidia-driver does not work with KVA_PAGES=512 and newer card[s]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 02 10:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     cydem.org!soralx
>Release:        FreeBSD 7.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD soralx.cydem.org 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #0: Thu Apr 23 22:34:35 PDT 2009 root@soralx.cydem.org:/usr/obj/usr/src/sys/SORALX i386
	nvidia-driver-180.44

>Description:
	In order to be able to use zfs, to utilize a resource-intensive 3D graphical application (ports/games/assaultcube) at 2560x1600, etc, vm.kmem_size was set to "1024M", and kernel recompiled with "options KVA_PAGES=512". Xorg worked fine with 7600GT and 8600GT cards and nvidia-driver. Sidenote: ports/emulators/wine stopped working. Upon changing the video card to GeForce 9500GT, Xorg would not start (blank screen, lock ups). Editing xorg.conf had no effect, even the simplest possible configuration did not work. Recompiling kernel without KVA_PAGES solved the problem. Sidenote: wine began working normally (see ports/123526).
>How-To-Repeat:
	If you have nVidia GeForce 9500GT card (and possibly other 9000-series cards). Install ports/x11/nvidia-driver, edit /etc/X11/xorg.conf to use the nVidia's driver, add "options KVA_PAGES=512" to kernel config file, recompile kernel, reboot. Execute 'X', observe the monitor[s] going into standby. Sometimes the system locks up, sometimes it can be rebooted with <Ctrl>-<Alt>-<Del>.
>Fix:
	No fix known. For Xorg to fire up as a workaround, make sure vm.kmem_size and vm.kmem_size_max in /boot/loader.conf are set to default (or 512M max), and recompile kernel without option KVA_PAGES.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905020955.n429tMex026699>