From owner-freebsd-x11@freebsd.org Fri Sep 30 07:29:41 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27BC2C03244 for ; Fri, 30 Sep 2016 07:29:41 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E0A26322 for ; Fri, 30 Sep 2016 07:29:40 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id r192so29788729ita.0 for ; Fri, 30 Sep 2016 00:29:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dinNRtNSiBEHB7kM8Tw0xXWLDrPnys6Ibtp5d53PDSA=; b=h86aWkvkTPRk1O1JzUidVM26ojLZN3fEpC9vaExg+rEL75Oa7S/a+AT2Yubz4UO2XA 6pp3fKiDfFjN9F4OE/UVagGCoCiOoNr34Pt89BOsJvMFTf3yZbUwfOHePCCD4DkYZfG1 NPFAe6arWbJ9wMUAy5iGpjg0pygd8PPDGAczLlKFOZwEODZdnz433bFekJT8zkdAUAH1 lIjsw92djYr5yNSgTuuB4g1pkyxsN9Q0YGfKYW1y6QE/B3yIQPHIQPa6EDRecQq3ITW/ OMdP6hKksHy49vSY2R2xLEsNns3tKDkeZm6c17vsrFbUIuQ1J1Q4pZcUcCY+Yn8DSw+g DFDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dinNRtNSiBEHB7kM8Tw0xXWLDrPnys6Ibtp5d53PDSA=; b=ETx2Fi1G6ONGJQaR1AQlrMbS71WiE01ukhUDcSPQYXacJhDnkOBA7efKiRVlYwKAax BPl/zotPPnKrZS4JuL+N04L2dcYpfZNirEs4UgsV6SLeMo0U36mwIVjT26slVFbFN/4Y tO2Za9AZiw0pZ8u+fBlGJyfVQ0if7a2zk9Gf69RO3tPSg2TDcI1kDozAyTWTeJ5GFCPX JuQwrANblt6a5gcr5ZRyhoFV+e52OhRgwQVXUjGPnhIBQkWElXheaBn6vhfWs4h5ikjx YfyrE199RyjbiFoB1ZcOHW0nqAGx3w7wvBuLhhEMOEepORUEzPX+tNgrX2kAW/mFc0Ux c1mg== X-Gm-Message-State: AA6/9Rn7FEqH4h82lGxK/sgPZmcYSUDcVmY5yePo59J3hXzDEXE36E7BO18s8nxcVsQzK7Ijg94qpZgodUGtJg== X-Received: by 10.107.141.67 with SMTP id p64mr8686157iod.84.1475220580275; Fri, 30 Sep 2016 00:29:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.161.66 with HTTP; Fri, 30 Sep 2016 00:29:39 -0700 (PDT) In-Reply-To: <201609292122.u8TLMW5U008799@sdf.org> References: <201609280627.u8S6RfXq002303@sdf.org> <201609280718.u8S7IP85011693@sdf.org> <201609290624.u8T6Ohd6028658@sdf.org> <201609290858.u8T8wokS002825@sdf.org> <0b100cba-4702-46d7-8bb3-cf553a1a750b@ixsystems.com> <201609292122.u8TLMW5U008799@sdf.org> From: blubee blubeeme Date: Fri, 30 Sep 2016 15:29:39 +0800 Message-ID: Subject: Re: Nvidia drivers screen brightness and back light To: Scott Bennett Cc: x11-list freebsd , Ken Moore Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2016 07:29:41 -0000 seems like this thread got a bit hijacked. So based on the output of my sysctl, it doesn't seem like the current nvidia drivers support controlling the screen brightness on this device? On Fri, Sep 30, 2016 at 5:22 AM, Scott Bennett wrote: > Ken Moore wrote: > > > xbrightness and redshift do not touch the LCD levels within your monitor > at > > all - they both do software-level brightness control through modifying > the > > X server settings for colors and such (which is why they trample all over > > Hmmm... I've just tried it and looked closely and, yes, xbrightness > does appear to leave the backlighting on with "xbrightness 0". I hadn't > noticed it worked that way on this monitor. However, the monitor I was > using > until around three weeks ago is an ancient beast that doesn't use LEDs for > backlighting and doesn't understand EDID. On that monitor, xbrightness > definitely turned the lighting level up and down. If I set it to 0, it was > utterly black, not like the LED-backlit screen I'm using now. > xscreensaver's method was to "blank" the screen at that timeout or to > change its state to standby and off at those timeouts. Blanking the screen > did not appear to affect the lighting level. I can't test it on the > monitor > I'm now using, thanks to the bug I already reported. > Anyway, my apologies to all concerned if I missed the point or gave > wrong information in my earlier postings. > > > each other if you try to run both). If you want hardware-level brightness > > control there are a couple options: > > > > "xbacklight" is a utility similar to xbrightness, but only does > > acpi/hardware brightness. It only works on monitors which support the > ACPI > > power levels and such though, so it might not work for you. > > I had forgotten all about that one. Thanks for that! I've just > installed > it and will try it on this monitor shortly. > > > > You can tweak the sysctl on your system to turn down the monitor > brightnees > > directly (if supported by your monitor - most laptops are supported but > > desktop monitors are hit-or-hiss). > > `sysctl hw. | grep brightness` should show you which one(s) are available > > on your system. > > > > "pc-sysconfig" is a tool on PC-BSD/TrueOS systems which is a front-end to > > the sysctl method for controlling screen brightness (as well as a few > other > > things like putting your system into suspend mode), and allows the user > > make the changes as needed (sysctls can usually only be changed by root). > > Run "pc-sysconfig -h" to see the options for reading/changing the screen > > brightness levels as you need. > > > I think I'll pass on that one if it does things as unpleasantly as, > e.g., > life-preserver. Using sysctl directly sounds like a reasonable alternative > where xbacklight isn't available. Thanks for pointing that out. I had > seen > it before, but never knew whether it was settable after boot. > > > Scott Bennett, Comm. ASMELG, CFIAG > ********************************************************************** > * Internet: bennett at sdf.org *xor* bennett at freeshell.org * > *--------------------------------------------------------------------* > * "A well regulated and disciplined militia, is at all times a good * > * objection to the introduction of that bane of all free governments * > * -- a standing army." * > * -- Gov. John Hancock, New York Journal, 28 January 1790 * > ********************************************************************** >