The Backlight/Brightness of my Notebook is always at 100%. When I’m pressing FN+F8(-)/F9(+) to set the brightness, the on-screen indicator pop up but nothing happen. My Notebook has no Optimus. The RTX Card is the only build in.
After some researching, I checked several things.
BIOS is Up2Date
I can control the brightness with xandr.
xrandr -q
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 214mm
1920x1080 144.01*+ 60.06
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
xrandr --output DP-2 --brightness 0.7 <<<— command is working!
Your notebook is is built on a Clevo P7xxTM1 barebone and the nvidia driver’s backlight control doesn’t work on that (at least on newer drivers, you might test the 470 driver).
Brightness Controller doesn’t change the backlight brightness but instead changes the color profile to display darker colors. Nvidia-settings always resets the color profile on start, which is an unrelated, additional annoyance.
So, I assume this will not be fixed in the future. This is not too bad, because I can also control the brightness with software. Better than nothing. ¯_(ツ)_/¯
After using the nouveau driver 1:1.0.17-2build1 with Kernel 5.15.0-92-generic, the brightness control is working. So my Notebook is supported at least with the open source driver.
How high is the chance to see this compatibility in the nvidia drivers?
Is it somehow possible to check how the brightness control is working with nouveau driver and using this in the nvidia drivers as a workaround?
Near to zero, I already played around with the nvidia glue code trying to work around a similar bug on a different notebook. As soon as the nvidia driver is loaded, it takes full control of the brightness locking any other ways.
As a sidenote, previosly, the nvidia driver habe the module parameter nvidia.NVreg_EnableBacklightHandler=0 to turn off the backlight handler and fall back to the acpi backlight. Unfortunately, this parameter seems to be removed while still mentioned in the docs: https://http.download.nvidia.com/XFree86/Linux-x86_64/550.40.07/README/configlaptop.html
I also tried this parameter. But it is not working for me.
It would be crazy when the parameter has no function but is still mentioned in the Installation and Configuration Instructions of the newest driver version.
I opened a Ticket/Request to linux-bugs. I also mentioned this parameter, which can be found in the official Installation and Configuration Instructions. Let’s see now, if they care about this.
I grepped through the nvidia sources and object files, it’s simply completely gone without notice and also the backlight handler code went from nvidia.ko to nvidia-modeset.ko module.
If you’re bored, you could try hacky thing (though didn’t work last time):
install the package linux-modules-extra to get the nvidia-wmi-ec-backlight module in case not already installed and the modify the nvidia driver sources by replacing #if IS_ENABLED(CONFIG_BACKLIGHT_CLASS_DEVICE)
with #if 0
in nvidia-modeset/nvidia-modeset-linux.c
and then recompiling the driver.
Is there still a backlight handler available in /sys/class/backlight? Does setting kernel parameter acpi_backlight=video help?
Also, you could try to call the acpi methods using acpi_call module echo '\_SB.PCI0.GFX0.LCD0._BCM 0x1e' > /proc/acpi/call echo '\_SB.PCI0.PEG0.PEGP.LCD0._BCM 0x1e' > /proc/acpi/call
When I open Nvidia Settings, the brightness will instantly going up to 100%. What is the problem with Nvidia and brightness control?
After making these changes, this does not happen anymore.
First I changed the number to 10.
Reboot.
Than 30.
Reboot.
No change on the screen brightness.
The package was not installed.
After I installed this package and run the commands I get the same message. The contents of the folder are still the same.