How do I adjust backlight on nvidia?

https://lemmy.world/post/4721737

How do I adjust backlight on nvidia? - Lemmy.world

Hey guys, I have a RTX3060Ti and I am using hyprland with dkms driver.I want to adjust my monitor backlight.However, when I execute ls /sys/class/backlight/ nothing returns.I have added options nvidia NVreg_RegistryDwords=RMUseSwI2c=0x01;RMI2cSpeed=1001 to /etc/modprobe/conf.d/nvidia.conf and when I run grep RegistryDwords /proc/driver/nvidia/params,the values are empty and /sys/class/backlight is still empty.

Xrandr --output ‘XXX’ --set backlight ‘YYY’

Or something like that ^^