Date: Thu, 29 Sep 2016 16:22:32 -0500 From: Scott Bennett <bennett@sdf.org> To: freebsd-x11@freebsd.org, ken@ixsystems.com Subject: Re: Nvidia drivers screen brightness and back light Message-ID: <201609292122.u8TLMW5U008799@sdf.org> In-Reply-To: <0b100cba-4702-46d7-8bb3-cf553a1a750b@ixsystems.com> References: <CALM2mEn6xCz6xxGJm=MniBzosYeOU6rCRFmePdcJGVv6YjRkVA@mail.gmail.com> <201609280627.u8S6RfXq002303@sdf.org> <CALM2mEnEC2n8OiLJKAcJdBfAfbbrdzZzn3yYwQv1v0asdUSjDA@mail.gmail.com> <201609280718.u8S7IP85011693@sdf.org> <CALM2mEnbJD6ATHEjqu%2BqdjwFtrTPi%2Bvx=-=R6zMMt_YEXdL5jw@mail.gmail.com> <201609290624.u8T6Ohd6028658@sdf.org> <CALM2mE=-iVcTpiQm8=5aEc0LGWxWDhEisLmQ=a5_8x5tvEOkhQ@mail.gmail.com> <201609290858.u8T8wokS002825@sdf.org> <CALM2mEniWsaNaFoVAchcE_ajc=g=v3C9vD-VGVYmsbdy9zaR9w@mail.gmail.com> <0b100cba-4702-46d7-8bb3-cf553a1a750b@ixsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ken Moore <ken@ixsystems.com> 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 * **********************************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609292122.u8TLMW5U008799>