Now, it works for me (ubuntu 20.04.3) with the kernel (v5.11.0.34.36) parameter
nvidia.NVreg_RegistryDwords=EnableBrightnessControl=1
And nvidia drivers 460.91.03. No need to do anything else (except of course update-grub).
The parameter is mentioned in arch wiki
https://wiki.archlinux.org/title/NVIDIA#Enabling_brightness_control
This is all for discrete mode. Credits to @Chaplan from legion discord for finding this.
For hybrid mode, there is different kernel parameter (for AMD)
amdgpu.backlight=0
Now, it works for me (ubuntu 20.04.3) with the kernel (v5.11.0.34.36) parameter
nvidia. NVreg_RegistryD words=EnableBri ghtnessControl= 1
And nvidia drivers 460.91.03. No need to do anything else (except of course update-grub).
The parameter is mentioned in arch wiki
https:/ /wiki.archlinux .org/title/ NVIDIA# Enabling_ brightness_ control
This is all for discrete mode. Credits to @Chaplan from legion discord for finding this.
For hybrid mode, there is different kernel parameter (for AMD)
amdgpu.backlight=0