Brightness control not working on Intel/Nvidia hybrid GPU (wrong backlight device detected)
Brightness control not working on Intel/Nvidia hybrid GPU (wrong backlight device detected)
Description
Brightness control via IPC (qs ipc call brightness increase/decrease) does not work on Intel/Nvidia hybrid GPU setups.
At least mine, I don't have any other laptop, so I can't say it's a global issue, but I do know brightness is a common issue on Nvidia/Intel setups.
Root cause
Noctalia seems to rely on brightnessctl list to detect the backlight device, which only returns nvidia_0. However, the actual display backlight is controlled by intel_backlight, which exists in /sys/class/backlight/ but is not listed by brightnessctl list.
This is actually a double issue:
brightnessctl listdoes not surfaceintel_backlight, even though it exists in/sys/class/backlight/and is fully functional (it works when explicitly targeted with-d intel_backlight)- Noctalia relies solely on
brightnessctl listoutput with no fallback to/sys/class/backlight/
Looking at the source code (DisplayPanel.qml), the brightness slider is disabled when brightnessMonitor.brightnessControlAvailable is false. Since BrightnessService relies on brightnessctl list which returns nvidia_0 instead of intel_backlight, the service fails to associate a controllable backlight device to the monitor, leaving brightnessControlAvailable as false.
Environment
- OS: CachyOS
- GPU: Intel/Nvidia hybrid (Optimus)
- Hyprland
Steps to reproduce
- Use an Intel/Nvidia hybrid laptop
- Try to adjust brightness through brightness keys or the Brightness widget in the bar → no effect
Verification
brightnessctl list output:
Device 'nvidia_0' of class 'backlight':
Current brightness: 100 (100%)
Max brightness: 100
ls /sys/class/backlight/ output:
intel_backlight nvidia_0
brightnessctl -d intel_backlight set +5% works correctly:
Updated device 'intel_backlight':
Device 'intel_backlight' of class 'backlight':
Current brightness: X (X%)
Max brightness: 19200
Feature request
Add a device option in the brightness section of settings.json to manually override the detected backlight device, as a workaround for setups where brightnessctl list does not return the correct device:
"brightness": {
"brightnessStep": 5,
"device": "intel_backlight",
"enableDdcSupport": false,
"enforceMinimum": true
}
Current workaround
Until this is fixed, brightness keys can be bound directly to brightnessctl in hyprland.conf, bypassing Noctalia's IPC:
bindel = , XF86MonBrightnessUp, exec, brightnessctl -d intel_backlight set +5%
bindel = , XF86MonBrightnessDown, exec, brightnessctl -d intel_backlight set 5%-
I really love your work on Noctalia, Good luck !
Try to add "acpi_backlight=native" in your kernel.
similar pr has fix this: #1899
I'm having a similar issue, except, nvidia_0 is the one that controls my display's brightness, does show up when running brightnessctl list, shows up as the selected device in the backlight device list in the display settings, but for some reason the shell isn't changing my brightness. Using brightnessctl directly works.
Thanks so much for reaching out and sharing this with us!
Right now, our team is entirely focused on building v5. Since the v4 lifecycle has officially come to an end, we are wrapping up old issues and won’t be shipping any further updates or fixes to that codebase.
We are closing this issue for now, but we truly appreciate you taking the time to report it. We aren’t quite ready to open up the v5 tracker for public bug reports or feature requests just yet, but we’ll definitely keep your feedback in mind as we develop the new version!
Cheers!
This is an issue in V5. It used to work for me in V4.
yes, they choose a simpler path to select backlight device, v5 not working for me too
I'm on v5, using the CachyOS defaults for noctalia/hyprland, and this is not working for me.
❯ brightnessctl info
End-of-file reading brightness of device 'chromeos:white:power'.Device 'input1::numlock' of class 'leds':
Current brightness: 0 (0%)
Max brightness: 1
~
❯ brightnessctl get
End-of-file reading brightness of device 'chromeos:white:power'.0
~
❯ brightnessctl max
End-of-file reading brightness of device 'chromeos:white:power'.1