It is currently Sat Sep 14, 2019 9:37 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: How to lower brightness in Linux to eliminate whining?
PostPosted: Sat Mar 30, 2019 11:17 am 
Offline

Joined: Wed Jan 24, 2018 6:28 am
Posts: 31
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.


Top
 Profile  
 
 Post subject: Re: How to lower brightness in Linux to eliminate whining?
PostPosted: Mon Apr 01, 2019 4:32 am 
Offline

Joined: Mon Mar 17, 2008 1:49 pm
Posts: 1612
Location: UK
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:
$ xbacklight -set 50

_________________
Raijintek Metis: i5-6400, Scythe Ninja 4, Asus Z170i Pro Gaming, 8Gb RAM, GTX 950, Crucial 250Gb M.2, Seasonic X-400


Top
 Profile  
 
 Post subject: Re: How to lower brightness in Linux to eliminate whining?
PostPosted: Mon Apr 01, 2019 11:25 am 
Offline

Joined: Wed Jan 24, 2018 6:28 am
Posts: 31
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:
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.

Top
 Profile  
 
 Post subject: Re: How to lower brightness in Linux to eliminate whining?
PostPosted: Tue Apr 02, 2019 4:51 am 
Offline

Joined: Thu Jul 24, 2008 10:57 am
Posts: 196
Location: Riga
Power draw does not bother you.
You want to adjust brightness. Not backlight.
https://www.ostechnix.com/how-to-adjust ... -in-linux/


Top
 Profile  
 
 Post subject: Re: How to lower brightness in Linux to eliminate whining?
PostPosted: Tue Apr 02, 2019 6:32 am 
Offline

Joined: Wed Jan 24, 2018 6:28 am
Posts: 31
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.


Top
 Profile  
 
 Post subject: Re: How to lower brightness in Linux to eliminate whining?
PostPosted: Tue Apr 02, 2019 11:54 pm 
Offline

Joined: Thu Jul 24, 2008 10:57 am
Posts: 196
Location: Riga
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.


Top
 Profile  
 
 Post subject: Re: How to lower brightness in Linux to eliminate whining?
PostPosted: Wed Apr 03, 2019 1:32 am 
Offline
*Lifetime Patron*

Joined: Thu Feb 13, 2003 6:53 am
Posts: 1815
Location: Sweden
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

_________________
Main: ASRock B85M-ITX | i3-4330 | 16GB DDR3 | Intel 730 240GB | HDPLEX H1-S | picoPSU | No moving parts | Idle 13.9W
HTPC: ASRock H81M-ITX | Pentium G3420 | 4GB DDR3 | Intel 535 120GB | HDPLEX H1-S | picoPSU | No moving parts | Idle 11.2W
Gaming: Intel DH77EB | i5-3570K | GTX 1060 6GB | 16GB DDR3 | TJ08-E | RM750X
Server: ASRock N3150-ITX | ~30TB | G-360 | Idle ~25W


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group