无法启动加载/保存屏幕背光背光亮度:acpi_video0

无法启动加载/保存屏幕背光背光亮度:acpi_video0

正如标题所示,我在启动系统的屏幕上看到了此消息。

[ OK ] Created slice system-systemd\x2dbacklight.slice.
       Starting Load/Save Screen Backlight Brightness of backlight:acpi_video0
       Starting Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0
[FAILED] Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0
See 'systemctl status systemd-backlight@backlight:acpi_video0.service' for details.

并且我的屏幕亮度在重启后总是重置为最大值。(我echo 80 > /sys/class/backlight/amdgpu_bl0/brightness之前只是添加了这个功能来暂时解决这个问题)

启动后我只需运行sudo systemctl status systemd-backlight@backlight:acpi_video0.service 并得到输出:

● systemd-backlight@backlight:acpi_video0.service - Load/Save Screen Backlight Brightness of backlight:acpi_video0
     Loaded: loaded (/lib/systemd/system/[email protected]; static; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2021-02-10 14:17:56 CST; 1min 15s ago
       Docs: man:[email protected](8)
    Process: 822 ExecStart=/lib/systemd/systemd-backlight load backlight:acpi_video0 (code=exited, status=1/FAILURE)
   Main PID: 822 (code=exited, status=1/FAILURE)

Feb 10 14:17:56 q-laptop systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:acpi_video0...
Feb 10 14:17:56 q-laptop systemd-backlight[822]: Failed to get backlight or LED device 'backlight:acpi_video0': No such device
Feb 10 14:17:56 q-laptop systemd[1]: systemd-backlight@backlight:acpi_video0.service: Main process exited, code=exited, status=1/FAILURE
Feb 10 14:17:56 q-laptop systemd[1]: systemd-backlight@backlight:acpi_video0.service: Failed with result 'exit-code'.
Feb 10 14:17:56 q-laptop systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.

之后我运行sudo systemctl status systemd-backlight@backlight:amdgpu_bl0 然后我得到输出:

● systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0
     Loaded: loaded (/lib/systemd/system/[email protected]; static; vendor preset: enabled)
     Active: active (exited) since Wed 2021-02-10 14:17:56 CST; 7min ago
       Docs: man:[email protected](8)
    Process: 824 ExecStart=/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=0/SUCCESS)
   Main PID: 824 (code=exited, status=0/SUCCESS)

Feb 10 14:17:56 q-laptop systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0...
Feb 10 14:17:56 q-laptop systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0.

我是 Linux 新手。我想知道我的系统启动时发生了什么。失败消息是否与我的屏幕亮度有关?屏幕亮度在系统重启后总是重置。如何删除此错误消息?

我的系统是 Ubuntu 20.04LTS。

提前致谢。

答案1

据我研究,ACPI(高级配置电源接口)自问世以来就一直存在安全风险和黑客攻击。20 年前,Linus Torvalds 曾发表声明称其为“一场灾难”。

与此同时,AMD 收购了 Radeon,并开始将图形处理器 GPU 整合到 AMD 处理器中,而不是浪费空间和传播时间通过 PCI 控制器来运行图形控制器。

许多专有图形驱动程序与 Linux 内核模块相冲突,导致计算机对用户来说毫无用处,需要进行许多不同的手动解决方法,甚至需要安装一些 GNU 许可的驱动程序

Linux 决定在内核中创建自己的 GPU 模块来运行图形控制器,无论您使用的是 Intel 还是 AMD 处理器,情况都可能如此,我对此并不确定。

如果您查看问题中的代码,您会发现 systemd 首先尝试启动 ACPI_Video0,然后再次尝试启动 AMDgpu_Bl0。

ACPI_video0 出现故障,但 AMDgpu_Bl0 正常。Journalctl 显示 ACPI_Video0 出现故障,但未将 AMDgpu_Bl0 列为出现故障但处于活动状态。

这就是我所能回答的关于你这个问题的这一部分的内容。

至于您的屏幕被重置为全亮度的原因,我猜运行图形的内核模块很可能存在错误,直到进一步开发为止。它最近才被添加到内核中。每次重新启动时我都会遇到相同的 ACPI_Video0 错误,但我没有遇到您遇到的重置亮度。无论如何,我找不到符合您对全亮度重置描述的错误。

随着我进一步研究,我将更新这个答案以及信息来源。

相关内容