How to lower brightness in Linux to eliminate whining?

They make noise, too.

Moderators: NeilBlanchard, Ralf Hutter, sthayashi, Lawrence Lee

Post Reply
resistante
Posts: 31
Joined: Wed Jan 24, 2018 6:28 am

How to lower brightness in Linux to eliminate whining?

Post by resistante » Sat Mar 30, 2019 11:17 am

I've read https://www.silentpcreview.com/stop_lcd_whine

It works for my monitor, but it's too bright. How can I lower brightness in Linux? I use Intel integrated graphics.

edh
Posts: 1618
Joined: Mon Mar 17, 2008 1:49 pm
Location: UK

Re: How to lower brightness in Linux to eliminate whining?

Post by edh » Mon Apr 01, 2019 4:32 am

Depends upon your distro but Arch has a fairly thorough Wiki page as always:
https://wiki.archlinux.org/index.php/backlight

It refers to a tool called xorg-xbacklight which can be run from the shell amongst other places:

Code: Select all

$ xbacklight -set 50

resistante
Posts: 31
Joined: Wed Jan 24, 2018 6:28 am

Re: How to lower brightness in Linux to eliminate whining?

Post by resistante » Mon Apr 01, 2019 11:25 am

Any idea how to do this on Debian 9 with GNOME?

There's nothing in /sys/class/backlight. There's no xorg.conf or xorg.conf.d in /etc/X11. Doing xbacklight -set 50 does nothing. Same if I put

Code: Select all

Section "Device"
    Identifier  "Intel Graphics" 
    Driver      "intel"
    Option      "Backlight"  "intel_backlight"
EndSection
in /etc/X11/xorg.conf.

GNOME commands from https://wiki.archlinux.org/index.php/ba ... with_Gnome report these errors:

Error: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._gsd_5fpower_5fmanager_5ferror.Code0: gsd-backlight-helper failed: Could not get or set the value of the backlight: No backlight devices present

and

Error: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._gsd_5fpower_5fmanager_5ferror.Code0: Screen backlight not available

xcalib -co 40 -a results with Error - unsupported ramp size 0

I'm using an Ivy Bridge i3 and may be moving to Coffee Lake i3 soon.
Last edited by resistante on Tue Apr 02, 2019 6:32 am, edited 1 time in total.

Klusu
Posts: 196
Joined: Thu Jul 24, 2008 10:57 am
Location: Riga

Re: How to lower brightness in Linux to eliminate whining?

Post by Klusu » Tue Apr 02, 2019 4:51 am

Power draw does not bother you.
You want to adjust brightness. Not backlight.
https://www.ostechnix.com/how-to-adjust ... -in-linux/

resistante
Posts: 31
Joined: Wed Jan 24, 2018 6:28 am

Re: How to lower brightness in Linux to eliminate whining?

Post by resistante » Tue Apr 02, 2019 6:32 am

Klusu, this works pretty well, although it changes colors somewhat which isn't ideal and also completely doesn't cooperate with redshift (blue light reducer) which disables the brightness change every 5 seconds, if I run it in infinite loop it will just flash bright light at me every 5 seconds.

I wonder if that xbacklight thing wouldn't happen to be a better tool for this. I think this should be directly controled by GPU, so that the colors are right.

Klusu
Posts: 196
Joined: Thu Jul 24, 2008 10:57 am
Location: Riga

Re: How to lower brightness in Linux to eliminate whining?

Post by Klusu » Tue Apr 02, 2019 11:54 pm

It seems you WANT to adjust the backlight. You can't. The monitor does not have the hardware for that. The directory sys/class/backlight is empty because Linux has found nothing it could put in there. Even if you could, you would get the same whine.

Vicotnik
*Lifetime Patron*
Posts: 1828
Joined: Thu Feb 13, 2003 6:53 am
Location: Sweden

Re: How to lower brightness in Linux to eliminate whining?

Post by Vicotnik » Wed Apr 03, 2019 1:32 am

I don't know how to do it with Intel, maybe xrandr or xbrightness/xbrightness-gui ?

http://shallowsky.com/blog/linux/x-brig ... randr.html
http://shallowsky.com/blog/linux/bright ... -in-x.html

Post Reply