I’ve done the first modifications you sugested on the grub file and now my system won’t boot !
I havent do “sudo update-grub” that you recommended at the end, because I’ve only see it after doing the modifications and as the screen brightness was still no changing, I tried to reboot.
When I tried to install proprietary drivers my system stop booting again and I have to reinstall all again, as all my attempts of repairing Grub were again unfruitful.
There are 4 drivers listed in my “display controller” on the “Hardware Configuration” :
video-nvidia
video-linux
video modesetting
video-vesa
Only the first one was in proprietary and the latter three were in Open Source. When I tried to changed them to proprietary the system didn’t boot anymore.
Now I’m in 5.10.15-1 kernel and the screen brightness regulation is working, but I honestly don’t know if this is due to the editions suggested by @kuba kuba or due to the new kernel.
Anyway, now it’s working and I’m tired of having to reinstall the whole OS each time I try to make an improvement in the system so I’m not touching it anymore.
My drivers are in Open Source which are supposed to be worse, and they will remain like that until it’s clear to me that it’s safe to try to change them.
Quite disappointed of Manjaro if you ask me, but it’s the way it is.
Well, I updated to Kernel 5.10 now but on my computer (XFCE,NVIDIA,HP), brightness regulation still doesn’t work. And I couldn’t follow your settings above and what you changed. Could you condense it maybe?
I’m putting this here in case someone else has a laptop like mine, a Dell Latitude E7470 and like me has this same problem while running kernel 5.9.16-1. Upgrading to 5.10.19-1 has fixed this problem and I can now make my screen dim or bright on demand.
I’m new to Manjaro (about a week now) and this feature of switching kernels is a real boon. My only concern that making this change has maybe broken something else, only time will tell
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-modesetting 2020.01.13 true PCI
video-hybrid-intel-nvidia-prime 2021.07.28 false PCI
Warning: No installed USB configs!
UPD 1: Steps mentioned in the reddit post are as follows
UPD 2: It is important not to remove any kernel parameters from GRUB_CMDLINE_LINUX_DEFAULT. Just add the video.use_native_backlight=1 parameter without removing any pre-existing parameter.
This solution works, but sadly not with DRM enabled ( i.e. with the “nvidia-drm.modeset=1” kernel parameter), which is needed for a tear-free experience in KDE Plasma using the nvidia driver in my experience.
Does anyone know why enabling DRM would remove the possibility of adjusting the backlight? Any fix?
to enable brightness control on a Nvidia GPU just add
nvidia.NVreg_RegistryDwords=EnableBrightnessControl=1 to the cmdline of the kernel and nothing more (works like X config but IMHO better because is a kernel param)
If you use grub, add it to GRUB_CMDLINE_LINUX_DEFAULT
If you are using systemd-boot, if I remember well you should create the file (if doesn’t exists) /etc/kernel/cmdline and add the line
I have it on Lenovo Legion 5 15ARH05H with NVIDIA RTX2060 working