From owner-freebsd-questions@FreeBSD.ORG Thu Aug 25 08:37:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02C7C106566C for ; Thu, 25 Aug 2011 08:37:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id A78198FC13 for ; Thu, 25 Aug 2011 08:37:33 +0000 (UTC) Received: from r56.edvax.de (port-92-195-72-156.dynamic.qsc.de [92.195.72.156]) by mx01.qsc.de (Postfix) with ESMTP id 8DF243D2D9; Thu, 25 Aug 2011 10:37:32 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id p7P8bVuG000708; Thu, 25 Aug 2011 10:37:32 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 25 Aug 2011 10:37:31 +0200 From: Polytropon To: "Conrad J. Sabatier" Message-Id: <20110825103731.4cddea94.freebsd@edvax.de> In-Reply-To: <20110816141503.16603a52@serene.no-ip.org> References: <20110814032206.49ad7062.freebsd@edvax.de> <20110814025520.GA75595@orange.esperance-linux.co.uk> <20110814052211.02213877.freebsd@edvax.de> <20110814054942.5e08fb77.freebsd@edvax.de> <20110816141503.16603a52@serene.no-ip.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: System lockups in X with nVidia GeForce 7600 GS (G73) and Gtk+ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2011 08:37:34 -0000 On Tue, 16 Aug 2011 14:15:03 -0500, Conrad J. Sabatier wrote: > On Sun, 14 Aug 2011 05:49:42 +0200 > Polytropon wrote: > > > Meanwhile, I got the "nvidia" driver compiled, installed > > and running. Tests like > > > > % xlock -nolock -mode lament > > > > or > > > > % xlock -nolock -mode fire > > > > show the FPS rate I've expected (no comparison to the 3 > > fps I got with "nv"). In "gears" there are > 5000 FPS, > > that's _magnitudes_ better than with "nv". > > Yes, the driver performs quite admirably. :-) No more gnashing my > teeth in envy of others with true hardware-accelerated drivers. I'm currently using that driver, and everything seems to work as intended. The only problem I have is that the driver has different DPI opinions as the previous ones. This makes some fonts unreadable. I found that I can easily change the Gtk+ base font by a ~/.gtkrc-2.0 with something like ``gtk-font-name="Tahoma 12"'' in it, but this of course doesn't apply everywhere. There seems to be a solution to handle DPI settings in X directly, so I put "DisplaySize 410 305" in the monitor section of xorg.conf. The monitor is an Eizo FlexScan F980 21" CRT with BNC cabling, so no autodetect magic. But some things still are wrong, maybe I should try ``Option "DPI" "96 x 96"'' in the device section - I'm not sure which values should be used, 72 or 75 or 96 or 115... Additionally, the gv program has a problem (but it already had that on _each_ of the three drivers): The keys for selecting pages are squished. This is how they should look like: http://t16web.lanl.gov/Kawano/gnuplot/intro/plotcalc7.png They are like this: +-----+ +-----+ +-----+ +-----+ |* ===| | ===| | ===| | ===| | ===| |* ===| | ===| | ===| |* ===| | ===| |* ===| | ===| | ===| |* ===| | ===| | ===| +-----+ +-----+ +-----+ +-----+ SHOULD like. Currently, they look like this: +-----+ +-----+ +-----+ +-----+ |#####| |#####| |#####| |#####| +-----+ +-----+ +-----+ +-----+ You can't tell which is which. The gv program uses Xaw3d for the display elements. Maybe nVidia is not compatible with that? Or it's also a "wrong DPI" effect? Everything else in gv works as intended. On the other hand, mplayer can now change brightness and contrast again; I have put "vo=gl" in ~/.mplayer/config and it works. :-) > > I'd like to point out that the nvidia driver comes with > > nice documentation: /usr/local/share/doc/NVIDIA_GLX-1.0/README > > contains lots of great stuff. > > The html version is even nicer to work with: > > file:///usr/local/share/doc/NVIDIA_GLX-1.0/html/index.html Thanks for the pointer, yes, that's really informative. During the near future, I'm interested in getting Twinview + Xinerama working (as I actually have _two_ 21" CRTs of the same type) and TV out working. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...