Bug 496859 - Brightness slider not working on AMD GPU (amdgpu_bl2) - ignoring brightness change from applet
Summary: Brightness slider not working on AMD GPU (amdgpu_bl2) - ignoring brightness c...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Brightness and Color widget (show other bugs)
Version: 6.2.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-30 11:06 UTC by Unknown
Modified: 2025-01-05 03:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2024-11-30 11:06:55 UTC
Hello,

Environment:
- Hardware: XMG Core 16 with NVIDIA RTX 4060 Mobile GPU and AMD iGPU
- Operating System: Arch Linux (up to date)
- Display Server: Wayland
- KDE Plasma: 6.2.4
- PowerDevil: 6.2.4-1

Issue:
The KDE brightness slider is not functional. When trying to adjust brightness using the GUI slider, no actual brightness change occurs. The system log shows repeated messages "ignoring brightness change, it's coming from the applet itself".

Steps to Reproduce:
1. Boot system
2. Try to adjust brightness using the KDE brightness slider
3. Observe that the slider moves but has no effect on screen brightness

Expected Behavior:
Moving the brightness slider should change the screen brightness.

Actual Behavior:
- The slider moves but does not affect brightness
- System logs show "ignoring brightness change, it's coming from the applet itself"
- PowerDevil logs show "Failed to initialize callback"

Workaround:
Brightness can be successfully controlled using the command line tool 'brightnessctl', confirming that hardware brightness control is working properly.

Relevant Log Output:
Nov 30 11:53:34 archlinux systemd[1]: Created slice Slice /system/systemd-backlight.
Nov 30 11:53:34 archlinux systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:acpi_video0...
Nov 30 11:53:34 archlinux systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:amdgpu_bl2...
Nov 30 11:53:34 archlinux systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:acpi_video0.
Nov 30 11:53:34 archlinux systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:amdgpu_bl2.
Nov 30 11:53:35 archlinux systemd[1]: Starting Set backlight permissions...
Nov 30 11:53:35 archlinux systemd[1]: backlight-permissions.service: Deactivated successfully.
Nov 30 11:53:35 archlinux systemd[1]: Finished Set backlight permissions.
Nov 30 11:53:43 archlinux systemd[828]: Starting Powerdevil...
Nov 30 11:53:44 archlinux org_kde_powerdevil[1226]: Initializing libddcutil.  ddcutil version: 2.1.4, shared library: /usr/lib/libddcutil.so.5.1.2
Nov 30 11:53:44 archlinux org_kde_powerdevil[1226]: Options passed from client:
Nov 30 11:53:44 archlinux org_kde_powerdevil[1226]: Applying combined options:
Nov 30 11:53:44 archlinux org_kde_powerdevil[1226]: Library initialization complete.
Nov 30 11:53:44 archlinux org_kde_powerdevil[1226]: org.kde.powerdevil: [DDCutilDetector]: Failed to initialize callback
Nov 30 11:53:44 archlinux systemd[1]: Created slice Slice /system/dbus-:1.1-org.kde.powerdevil.discretegpuhelper.
Nov 30 11:53:44 archlinux systemd[1]: Started dbus-:1.1-org.kde.powerdevil.discretegpuhelper@0.service.
Nov 30 11:53:44 archlinux systemd[1]: Created slice Slice /system/dbus-:1.1-org.kde.powerdevil.chargethresholdhelper.
Nov 30 11:53:44 archlinux systemd[1]: Started dbus-:1.1-org.kde.powerdevil.chargethresholdhelper@0.service.
Nov 30 11:53:44 archlinux systemd[1]: Created slice Slice /system/dbus-:1.1-org.kde.powerdevil.backlighthelper.
Nov 30 11:53:44 archlinux systemd[1]: Started dbus-:1.1-org.kde.powerdevil.backlighthelper@0.service.
Nov 30 11:53:44 archlinux org_kde_powerdevil[1226]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Nov 30 11:53:44 archlinux systemd[828]: Started Powerdevil.
Nov 30 11:53:44 archlinux org_kde_powerdevil[1226]: org.kde.powerdevil: Handle button events action could not check for screen configuration
Nov 30 11:53:44 archlinux org_kde_powerdevil[1226]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Nov 30 11:53:44 archlinux kclockd[1457]: PowerDevil found, using it for time tracking.
Nov 30 11:53:53 archlinux systemd[1]: dbus-:1.1-org.kde.powerdevil.discretegpuhelper@0.service: Deactivated successfully.
Nov 30 11:53:54 archlinux systemd[1]: dbus-:1.1-org.kde.powerdevil.chargethresholdhelper@0.service: Deactivated successfully.
Nov 30 11:53:54 archlinux systemd[1]: dbus-:1.1-org.kde.powerdevil.backlighthelper@0.service: Deactivated successfully.
Nov 30 11:54:22 archlinux systemd[1]: Started dbus-:1.1-org.kde.powerdevil.backlighthelper@1.service.
Nov 30 11:54:32 archlinux systemd[1]: dbus-:1.1-org.kde.powerdevil.backlighthelper@1.service: Deactivated successfully.
Nov 30 11:56:14 archlinux systemd[1]: Started dbus-:1.1-org.kde.powerdevil.backlighthelper@2.service.
Nov 30 11:56:24 archlinux systemd[1]: dbus-:1.1-org.kde.powerdevil.backlighthelper@2.service: Deactivated successfully.
Nov 30 12:01:59 archlinux systemd[1]: Started dbus-:1.1-org.kde.powerdevil.backlighthelper@3.service.

Additional Information:
- The system has two backlight devices: acpi_video0 and amdgpu_bl2
- Proper permissions are set (user is in video group)
- Manual brightness control through /sys/class/backlight/amdgpu_bl2/brightness works with sudo
- This appears to be a specific issue with PowerDevil's backlight handling on AMD GPUs under Wayland

Please let me know if you need any additional information to investigate this issue.

I would really appreciate support on this issue.

Kind regards.
Comment 1 John Kizer 2024-12-06 07:57:20 UTC
Hi - I can't seem to reproduce this issue on my own AMD+Nvidia device below. By chance, have you tried using the kernel parameter amdgpu.backlight=0 and seeing if that helps? It might just be my one weird device, but I've never been able to get brightness controls in Linux to function correctly on that one without using that parameter, so I thought I'd check.

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.10-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 15.0 GiB of RAM
Comment 2 Bug Janitor Service 2024-12-21 03:46:49 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-01-05 03:47:22 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.