Page 2 of 3
Re: AVL 23.1: issue with backlight
Posted: Sat Feb 17, 2024 12:43 pm
by Charlie Brown
In the meantime, in case (you don't have to) you install the Nvidia driver, there'll already be such a line in the conf file that will be created ( Option "RegistryDwords" "EnableBrightnessControl=1 in /etc/X11/xorg.conf.d/20-nvidia.conf )
Re: AVL 23.1: issue with backlight
Posted: Sat Feb 17, 2024 12:54 pm
by dolphin_oracle
@AVLinux we have a brightness-modified-init package that saves and applies backlight settings during sysVinit boot. systemd has its own mechanism.
Re: AVL 23.1: issue with backlight
Posted: Sat Feb 17, 2024 1:07 pm
by AVLinux
Charlie Brown wrote: Sat Feb 17, 2024 12:37 pm
@AVLinux You're always welcome, you make me shy, I'm a shy cowboy
Shy maybe but smart... I'm not shy, just a dumb farmboy...

Re: AVL 23.1: issue with backlight
Posted: Sat Feb 17, 2024 1:09 pm
by AVLinux
dolphin_oracle wrote: Sat Feb 17, 2024 12:54 pm
@AVLinux we have a brightness-modified-init package that saves and applies backlight settings during sysVinit boot. systemd has its own mechanism.
Thanks, great to know, does that init package rely on MX-tweak as a frontend to set parameters?
Re: AVL 23.1: issue with backlight
Posted: Sat Feb 17, 2024 1:21 pm
by dolphin_oracle
AVLinux wrote: Sat Feb 17, 2024 1:09 pm
dolphin_oracle wrote: Sat Feb 17, 2024 12:54 pm
@AVLinux we have a brightness-modified-init package that saves and applies backlight settings during sysVinit boot. systemd has its own mechanism.
Thanks, great to know, does that init package rely on MX-tweak as a frontend to set parameters?
all it does is save whatever backlight levels are set already and reapply at login.
its worth mentioning that backlight and brightness in mx tweak aren't the same thing. despite the name of the brightness init script, it affects backlight.
Re: AVL 23.1: issue with backlight
Posted: Sat Feb 17, 2024 1:23 pm
by AVLinux
Understood, thanks!
Re: AVL 23.1: issue with backlight
Posted: Sat Feb 17, 2024 4:52 pm
by seriousness
AVLinux wrote: Fri Feb 16, 2024 1:34 pm
there is also a backlight module in Enlightenment which is shut off by default but I am not sure if it addresses anything that is outside of the Enlightenment session itself..
This adds a light bulb to the shelf, which you can click and drag the slider, or just point on it and scroll the mouse wheel (provided that your hardware backlight brightness control works).
Re: AVL 23.1: issue with backlight
Posted: Mon Feb 19, 2024 3:21 am
by seriousness
I found that when I booted with SysVinit, brightness values are not saved on shutdown:
Code: Select all
$ cat /var/cache/brightness-settings-cache/sys/class/backlight/*/*
0
0
0
When /etc/init.d/brightness restores these values on boot, the screen gets black.
Edit: The script works:
Code: Select all
$ sudo service brightness stop
$ cat /var/cache/brightness-settings-cache/sys/class/backlight/nv_backlight/brightness
90
On reboot, it is set to 0 again.
Re: AVL 23.1: issue with backlight
Posted: Mon Feb 19, 2024 9:14 am
by AVLinux
Thanks for the info, I had discovered that the brightness init script is installed in the build by default but apparently it may need some tweaking for AVL..
@dolphin_oracle is the reset to 0 expected?
Re: AVL 23.1: issue with backlight
Posted: Mon Feb 19, 2024 10:06 am
by dolphin_oracle
AVLinux wrote: Mon Feb 19, 2024 9:14 am
Thanks for the info, I had discovered that the brightness init script is installed in the build by default but apparently it may need some tweaking for AVL..
@dolphin_oracle is the reset to 0 expected?
no, but there are some cases, particularly with intel graphics parts but maybe with others too, where the backlight values can be inverted. systemd takes care of this, but sysVinit has no function for that. so 100 on systemd might be 0 on sysVinit.