Arch-Linux

核心錯誤:systemd-backlight@backlight:acpi_video0.service

  • November 21, 2021

我總是在啟動時收到此錯誤。有什麼大事嗎,如果是,如何解決?我知道這與我的 AMD GPU 有關。這是我的設置:

  • 處理器:AMD A9-9420 RADEON R5,5 個計算核心 2C+3G,2586 MHz
  • GPU:ATI 斯通尼$$ Radeon R2/R3/R4/R5 Graphics $$, AMD ATI Radeon R5 M230 / R7 M260DX / Radeon 520 移動
  • 4GB 記憶體,250GB 固態硬碟
  • 作業系統:Linux 儲存 5.9.16-1-SHAPE #1 SMP PREEMPT Mon Dec 21 22:00:46 UTC 2020 x86_64 GNU/Linux

這也是上次啟動的核心日誌:

Mar 16 09:24:57 manjaro systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:acpi_video0...
Subject: A start job for unit systemd-backlight@backlight:acpi_video0.service has begun execution
Defined-By: systemd
Support: https://forum.manjaro.org/c/support

A start job for unit systemd-backlight@backlight:acpi_video0.service has begun execution.

The job identifier is 1270.
Mar 16 09:24:57 manjaro systemd-backlight[875]: Failed to get backlight or LED device 'backlight:acpi_video0': No such device
Mar 16 09:24:57 manjaro systemd[1]: systemd-backlight@backlight:acpi_video0.service: Main process exited, code=exited, status=1/FAILURE
Subject: Unit process exited
Defined-By: systemd
Support: https://forum.manjaro.org/c/support

An ExecStart= process belonging to unit systemd-backlight@backlight:acpi_video0.service has exited.

The process' exit code is 'exited' and its exit status is 1.
Mar 16 09:24:57 manjaro systemd[1]: systemd-backlight@backlight:acpi_video0.service: Failed with result 'exit-code'.
Subject: Unit failed
Defined-By: systemd
Support: https://forum.manjaro.org/c/support
The unit systemd-backlight@backlight:acpi_video0.service has entered the 'failed' state with result 'exit-code'.
Mar 16 09:24:57 manjaro systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
Subject: A start job for unit systemd-backlight@backlight:acpi_video0.service has failed
Defined-By: systemd
Support: https://forum.manjaro.org/c/support

A start job for unit systemd-backlight@backlight:acpi_video0.service has finished with a failure.

The job identifier is 1270 and the job result is failed.
Mar 16 09:24:57 manjaro audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-backlight@backlight:acpi_video0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 16 09:24:57 manjaro kernel: audit: type=1130 audit(1615879497.236:64): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-backlight@backlight:acpi_video0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 16 09:24:57 manjaro systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:acpi_video1...
Subject: A start job for unit systemd-backlight@backlight:acpi_video1.service has begun execution
Defined-By: systemd
Support: https://forum.manjaro.org/c/support

A start job for unit systemd-backlight@backlight:acpi_video1.service has begun execution.

The job identifier is 1276.
Mar 16 09:24:57 manjaro systemd-backlight[876]: Failed to get backlight or LED device 'backlight:acpi_video1': No such device
Mar 16 09:24:57 manjaro systemd[1]: systemd-backlight@backlight:acpi_video1.service: Main process exited, code=exited, status=1/FAILURE
Subject: Unit process exited
Defined-By: systemd
Support: https://forum.manjaro.org/c/support

An ExecStart= process belonging to unit systemd-backlight@backlight:acpi_video1.service has exited.

The process' exit code is 'exited' and its exit status is 1.
Mar 16 09:24:57 manjaro systemd[1]: systemd-backlight@backlight:acpi_video1.service: Failed with result 'exit-code'.
Subject: Unit failed
Defined-By: systemd
Support: https://forum.manjaro.org/c/support

The unit systemd-backlight@backlight:acpi_video1.service has entered the 'failed' state with result 'exit-code'.
Mar 16 09:24:57 manjaro systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video1.
Subject: A start job for unit systemd-backlight@backlight:acpi_video1.service has failed
Defined-By: systemd
Support: https://forum.manjaro.org/c/support

A start job for unit systemd-backlight@backlight:acpi_video1.service has finished with a failure.
The job identifier is 1276 and the job result is failed.
Mar 16 09:24:57 manjaro audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-backlight@backlight:acpi_video1 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 16 09:24:57 manjaro kernel: audit: type=1130 audit(1615879497.263:65): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-backlight@backlight:acpi_video1 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Mar 16 09:24:57 manjaro ModemManager[412]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:02.3/0000:03:00.0': not supported by any plugin

編輯文件/etc/default/grub並將以下參數添加到GRUB_CMDLINE_LINUX:

$ sudo nano /etc/default/grub

GRUB_CMDLINE_LINUX="acpi_osi=Linux acpi_backlight=vendor"

之後不要忘記跑步update-grub

對我來說解決了這個問題!我在 ATI/AMD 上安裝了它,這是一個相當舊的 gpu。我還想提到這一點,並沒有破壞調整螢幕亮度的能力。

願你的 htop 統計數據低,你的鬍鬚長長!

引用自:https://unix.stackexchange.com/questions/639542