[Bug 203905] amdgpu:actual_brightness has unreal/wrong value

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Dec 7 10:17:33 UTC 2020


https://bugzilla.kernel.org/show_bug.cgi?id=203905

kurmikon at libero.it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kurmikon at libero.it

--- Comment #19 from kurmikon at libero.it ---
I confirm that the bug is not fixed in 5.9.12.

https://github.com/systemd/systemd/issues/17826

As Poettering pointed out, actual_brightness is read-only and reports the
brightness currently in effect, while brightness is writable and reports the
value set by userspace.

Not only the actual brightness is in a different range that breaks systemd
backlight restoring service at startup, but on my device its value is also
fixed on the same value while it should reflect the correct level on brightness
changes.

Brightness at the maximum:
/sys/class/backlight/amdgpu_bl0/actual_brightness > 249
/sys/class/backlight/amdgpu_bl0/brightness > 255
/sys/class/backlight/amdgpu_bl0/max_brightness > 255

Brightness at the minimum:
/sys/class/backlight/amdgpu_bl0/actual_brightness > 249
/sys/class/backlight/amdgpu_bl0/brightness > 2
/sys/class/backlight/amdgpu_bl0/max_brightness > 255

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list