From nobody@FreeBSD.org  Fri Apr  5 19:08:20 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id E0BC7A3E
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  5 Apr 2013 19:08:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id D32328E6
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  5 Apr 2013 19:08:20 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r35J8KSF078135
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 5 Apr 2013 19:08:20 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r35J8KWX078134;
	Fri, 5 Apr 2013 19:08:20 GMT
	(envelope-from nobody)
Message-Id: <201304051908.r35J8KWX078134@red.freebsd.org>
Date: Fri, 5 Apr 2013 19:08:20 GMT
From: Dieter Lange <dieter_lange@online.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: nvidia-xconfig problem
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         177659
>Category:       ports
>Synopsis:       x11/nvidia-xconfig problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bland
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 05 19:10:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Mon Apr 21 15:40:01 UTC 2014
>Originator:     Dieter Lange
>Release:        9.1-p2/amd64
>Organization:
>Environment:
Geforce GT520, version 310.40 (in 310.44 download)
>Description:
Nvidia-xconfig produces xorg.conf w/line 'Screen      0  "Screen0"' in
ServerLayout section, which seems to freeze the mouse in gnome2 desktop (Motif X11 ok, but this needed no xorg.conf).
Could not find contact on Nvidia site, so reporting here.

>How-To-Repeat:
call nvidia-xconfig
>Fix:
edit xorg.conf for a workaround...

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Apr 5 19:18:07 UTC 2013 
Responsible-Changed-Why:  
ports PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177659 
Responsible-Changed-From-To: freebsd-ports-bugs->bland 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Apr 5 19:18:39 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177659 

From: Kevin Zheng <kevinz5000@gmail.com>
To: bug-followup@FreeBSD.org, dieter_lange@online.de
Cc:  
Subject: Re: ports/177659: x11/nvidia-xconfig problem
Date: Sun, 21 Apr 2013 11:06:58 -0500

 Hi Dieter,
 
 Are you sure that the problem is caused by the NVIDIA driver? I've had
 issues where the mouse 'froze' because it was trying to use a mouse
 device other than sysmouse.
 
 Try adding this to /etc/X11/xorg.conf:
 Section "ServerFlags"
     Option         "AutoAddDevices" "false"
 EndSection
 
 Also, make sure moused is running. Tell me if this fixes the issue.
 
 Thanks,
 Kevin Zheng
State-Changed-From-To: open->feedback 
State-Changed-By: bland 
State-Changed-When: Mon Apr 21 14:16:04 UTC 2014 
State-Changed-Why:  
Any comments here? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=177659 

From: Dieter Lange <dieter_lange@online.de>
To: bug-followup@FreeBSD.org, dieter_lange@online.de
Cc:  
Subject: Re: ports/177659: x11/nvidia-xconfig problem
Date: Mon, 21 Apr 2014 17:39:43 +0200

 This is a multi-part message in MIME format.
 --------------090808020805060409060108
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Hi Kevin,
 
 thank you for your reaction.  In the meantime I had found the workaround 
 "somewhere" (do not remember where) and inserted it into xorg.conf. I 
 guess the "real" reason for this problem may be found by an Xorg expert 
 (which I am not), who intimately knows all the options and the way they 
 may contribute.
 I attach my xorg.conf as it has been working thru several fbsd 
 patchlevels (at 9.1-RELEASE-p11 now).  Removing the "0" in the 
 "ServerLayout" "Screen" line before "Screen0" "seemed" to help but that 
 was just guesswork. The workaround you gave (and mentioned above) may 
 have been the remedy - moused is/was always running.
 
 Thanks again
 DL
 
 --------------090808020805060409060108
 Content-Type: text/plain; charset=UTF-8;
  name="xorg.conf"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="xorg.conf"
 
 # nvidia-xconfig: X configuration file generated by nvidia-xconfig
 # nvidia-xconfig:  version 310.44  (buildmeister@swio-display-x86-rhel47-08)  Wed Mar 27 15:03:58 PDT 2013
 
 Section "ServerLayout"
     Identifier     "Layout0"
     Screen         "Screen0"
     InputDevice    "Keyboard0" "CoreKeyboard"
     InputDevice    "Mouse0" "CorePointer"
 EndSection
 
 Section "ServerFlags"
     Option         "AutoAddDevices" "false"
     Option         "DontZap" "off"
 EndSection
 
 Section "Files"
     FontPath        "/usr/local/lib/X11/fonts/misc/:unscaled"
     FontPath        "/usr/local/lib/X11/fonts/100dpi/:unscaled"
     FontPath        "/usr/local/lib/X11/fonts/75dpi/:unscaled"
     FontPath        "/usr/local/lib/X11/fonts/misc/"
     FontPath        "/usr/local/lib/X11/fonts/Type1/"
     FontPath        "/usr/local/lib/X11/fonts/100dpi/"
     FontPath        "/usr/local/lib/X11/fonts/75dpi/"
     FontPath        "/usr/local/lib/X11/fonts/cyrillic/"
     FontPath        "/usr/local/lib/X11/fonts/TTF/"
 EndSection
 
 Section "InputDevice"
     # generated from default
     Identifier     "Mouse0"
     Driver         "mouse"
     Option         "Protocol" "auto"
     Option         "Device" "/dev/sysmouse"
     Option         "Emulate3Buttons" "no"
     Option         "ZAxisMapping" "4 5"
 EndSection
 
 Section "InputDevice"
     # generated from default
     Identifier     "Keyboard0"
     Driver         "keyboard"
 EndSection
 
 Section "Monitor"
     Identifier     "Monitor0"
     VendorName     "Unknown"
     ModelName      "Unknown"
     HorizSync       31.0 - 81.0
     VertRefresh     56.0 - 75.0
 #..	1920x1200 59.88 Hz (CVT 2.30MA) hsync: 74.56 kHz; pclk: 193.25 MHz
 	Modeline "1920x1200_60.00"  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync
     Option         "DPMS"
 EndSection
 
 Section "Device"
     Identifier     "Device0"
     Driver         "nvidia"
     VendorName     "NVIDIA Corporation"
 EndSection
 
 Section "Screen"
     Identifier     "Screen0"
     Device         "Device0"
     Monitor        "Monitor0"
     DefaultDepth    24
     SubSection     "Display"
         Depth       24
     EndSubSection
 EndSection
 
 --------------090808020805060409060108--
>Unformatted:
