You are not logged in.

#1 2020-07-31 06:53:21

digitalone
Member
Registered: 2011-08-19
Posts: 273

Cannot restore backlight on AMD VGA after systemd upgrade

Updated the following packages:

systemd-libs (245.6-8 -> 245.7-1)
systemd (245.6-8 -> 245.7-1)
systemd-sysvcompat (245.6-8 -> 245.7-1)

The kernel is not changed, which is 5.7.10. mesa and xf86-video-amdgpu are to the latest version.

VGA and backlight driver are:

$ lspci
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] (rev 40)
$ ls /sys/class/backlight/
amdgpu_bl0

At the reboot, the backlight is not restored. What's interesting is that systems service is not showing any error, but it keeps not restoring the backlight,

$ systemctl status systemd-backlight@backlight:amdgpu_bl0.service
● systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0
     Loaded: loaded (/usr/lib/systemd/system/systemd-backlight@.service; static; vendor preset: disabled)
     Active: active (exited) since Fri 2020-07-31 08:26:17 CEST; 8min ago
       Docs: man:systemd-backlight@.service(8)
    Process: 277 ExecStart=/usr/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=0/SUCCESS)
   Main PID: 277 (code=exited, status=0/SUCCESS)

Is it a systemd bug? I'm pretty sure if I disable the service and set up brillo, it will work as expected.

Offline

#2 2020-07-31 07:03:59

digitalone
Member
Registered: 2011-08-19
Posts: 273

Re: Cannot restore backlight on AMD VGA after systemd upgrade

As I thought, downgrading the 3 packages to the previous version is working.

Offline

#3 2020-08-03 00:11:03

glenb77
Member
Registered: 2014-10-02
Posts: 52

Re: Cannot restore backlight on AMD VGA after systemd upgrade

i have same issue also with those systemd upgrades with amd backlight. i also tried to force with kernel parameter but no luck. other than downgrade any known workaround for this ?

Offline

#4 2020-08-04 02:50:46

jpegxguy
Member
From: Earth
Registered: 2018-06-18
Posts: 19

Re: Cannot restore backlight on AMD VGA after systemd upgrade

Also happening on

03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c2)

It used to be like yours (not failing as a service, but failing in its function).

amdgpu_bl0: Saved brightness <SOME 4 FIGURE NUMBER HERE> too high; decreasing to 255.

I just rebooted on Linux 5.8 and I saw it fail for the first time. Maybe it was a race condition though...

● systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0
     Loaded: loaded (/usr/lib/systemd/system/systemd-backlight@.service; static)
     Active: failed (Result: exit-code) since Tue 2020-08-04 05:41:00 EEST; 5min ago
       Docs: man:systemd-backlight@.service(8)
    Process: 331 ExecStart=/usr/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=1/FAILURE)
   Main PID: 331 (code=exited, status=1/FAILURE)

Αυγ 04 05:41:00  systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0...
Αυγ 04 05:41:00  systemd-backlight[331]: amdgpu_bl0: Saved brightness 25443 too high; decreasing to 255.
Αυγ 04 05:41:00  systemd-backlight[331]: amdgpu_bl0: Failed to write system 'brightness' attribute: No such device or address
Αυγ 04 05:41:00  systemd[1]: systemd-backlight@backlight:amdgpu_bl0.service: Main process exited, code=exited, status=1/FAILURE
Αυγ 04 05:41:00  systemd[1]: systemd-backlight@backlight:amdgpu_bl0.service: Failed with result 'exit-code'.
Αυγ 04 05:41:00  systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0.

hi

Offline

#5 2020-08-04 02:52:21

jpegxguy
Member
From: Earth
Registered: 2018-06-18
Posts: 19

Re: Cannot restore backlight on AMD VGA after systemd upgrade


hi

Offline

Board footer

Powered by FluxBB