From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 2 10:30:03 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11FB1106566C for ; Sat, 2 May 2009 10:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E0E5B8FC1F for ; Sat, 2 May 2009 10:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n42AU2tY017804 for ; Sat, 2 May 2009 10:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n42AU2px017801; Sat, 2 May 2009 10:30:02 GMT (envelope-from gnats) Resent-Date: Sat, 2 May 2009 10:30:02 GMT Resent-Message-Id: <200905021030.n42AU2px017801@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DFD0106566B for ; Sat, 2 May 2009 10:26:06 +0000 (UTC) (envelope-from root@soralx.cydem.org) Received: from soralx.cydem.org (S0106000103ce4c9c.vc.shawcable.net [24.87.3.133]) by mx1.freebsd.org (Postfix) with ESMTP id 805DE8FC1A for ; Sat, 2 May 2009 10:26:04 +0000 (UTC) (envelope-from root@soralx.cydem.org) Received: from soralx.cydem.org (localhost [127.0.0.1]) by soralx.cydem.org (8.14.3/8.14.3) with ESMTP id n429tMge026772 for ; Sat, 2 May 2009 02:55:27 -0700 (PDT) (envelope-from root@soralx.cydem.org) Received: (from root@localhost) by soralx.cydem.org (8.14.3/8.14.3/Submit) id n429tMex026699; Sat, 2 May 2009 02:55:22 -0700 (PDT) (envelope-from root) Message-Id: <200905020955.n429tMex026699@soralx.cydem.org> Date: Sat, 2 May 2009 02:55:22 -0700 (PDT) From: To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/134155: nvidia-driver does not work with KVA_PAGES=512 and newer card[s] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 10:30:03 -0000 >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 --. >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: