From owner-freebsd-questions@FreeBSD.ORG Thu Sep 18 04:50:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FB9B16A4B3 for ; Thu, 18 Sep 2003 04:50:05 -0700 (PDT) Received: from mail1.tpgi.com.au (mail.tpgi.com.au [203.12.160.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF79943FCB for ; Thu, 18 Sep 2003 04:50:03 -0700 (PDT) (envelope-from agh@tpg.com.au) Received: from 192.168.0.2 (220-244-72-6.tpgi.com.au [220.244.72.6]) by mail1.tpgi.com.au (8.11.6/8.11.6) with ESMTP id h8IBnwl07099; Thu, 18 Sep 2003 21:49:58 +1000 From: "Alastair G. Hogge" To: "Michael Vondung" , Date: Thu, 18 Sep 2003 21:48:41 +1000 User-Agent: KMail/1.5.3 References: <000101c37dd8$eb75ce00$0200a8c0@tabby> In-Reply-To: <000101c37dd8$eb75ce00$0200a8c0@tabby> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200309182148.41907.agh@tpg.com.au> Subject: Re: XFree86 -- Gamma Correction X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 11:50:05 -0000 On Thursday, 18 September 2003 21:34, Michael Vondung wrote: > Hello, all, > > I successfully managed to install the FreeBSD nVidia video drivers, but ran > into a problem that is apparently X related: How does one tune the gamma > correction? "man XFree86" suggests the command line option "-gamma value", > where "value" is a number between 0.1 and 10.0, 1.0 being the default. I > tried to start X with "startx -gamma 2.0", but right after displaying the > nVidia logo, X drops back to the command line. The error message says, > "/usr/X11R6/bin/xterm: bad command line option '-gamma'. The XFree86 > version is 4.3.0 (compiled from ports). > > What am I doing wrong, and where would I look for more information? Also, > if a working option can be found, is there a place where I can put this so > that it is automatically used and I don't have to type it in manually every > time X is started? Hmm looking at "man startx" I think that you need to add "--" to the command line to inform startx that the following switchs/options are for the X server and not startx. Try "startx -- -gamma 2.0" > (At this point I actually miss the nice GUI-interface to tweak the card > that comes with nVidia's XP drivers. :) /usr/ports/sysutils/nvclock might be interesting. Build it, install it and run nvclock_gtk > Thanks! No worries. Hope all that was helpfull -Alastair