This fix is intended for systemd version 246 on machines running amdgpu driver. On some machines, value of /sys/class/backlight/amdgpu_bl0/<device>/actual_brightness never changes when configuring the brightness level for whatever reason, and as a result systemd always loads unchanged (max) brightness on startup. Fix was tested on Solus 4.1 (fortitude).
Apply the fix by building the project and copying the resulting ELF file from build/systemd-backlight to /usr/lib/systemd/systemd-backlight
meson build
ninja -C build
sudo mv /usr/lib/systemd/systemd-backlight /usr/lib/systemd/systemd-backlight.bak
sudo cp build/systemd-backlight /usr/lib/systemd/systemd-backlight
System and Service Manager
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.