AVL 23.1: issue with backlight  [Solved]

Help on all MX Re-spins
Message
Author
Charlie Brown

Re: AVL 23.1: issue with backlight

#11 Post 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 )

User avatar
dolphin_oracle
Developer
Posts: 22651
Joined: Sun Dec 16, 2007 12:17 pm

Re: AVL 23.1: issue with backlight

#12 Post 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.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
AVLinux
Posts: 3145
Joined: Wed Jul 15, 2020 1:15 am

Re: AVL 23.1: issue with backlight

#13 Post 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 :biggrin:
Shy maybe but smart... I'm not shy, just a dumb farmboy... :p

User avatar
AVLinux
Posts: 3145
Joined: Wed Jul 15, 2020 1:15 am

Re: AVL 23.1: issue with backlight

#14 Post 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?

User avatar
dolphin_oracle
Developer
Posts: 22651
Joined: Sun Dec 16, 2007 12:17 pm

Re: AVL 23.1: issue with backlight

#15 Post 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.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
AVLinux
Posts: 3145
Joined: Wed Jul 15, 2020 1:15 am

Re: AVL 23.1: issue with backlight

#16 Post by AVLinux »

Understood, thanks!

seriousness
Posts: 98
Joined: Wed Mar 30, 2022 4:15 am

Re: AVL 23.1: issue with backlight

#17 Post 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).

seriousness
Posts: 98
Joined: Wed Mar 30, 2022 4:15 am

Re: AVL 23.1: issue with backlight

#18 Post 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.

User avatar
AVLinux
Posts: 3145
Joined: Wed Jul 15, 2020 1:15 am

Re: AVL 23.1: issue with backlight

#19 Post 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?

User avatar
dolphin_oracle
Developer
Posts: 22651
Joined: Sun Dec 16, 2007 12:17 pm

Re: AVL 23.1: issue with backlight

#20 Post 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.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

Post Reply

Return to “MX Respins”