我安装了两个星期的Arch。作为显示管理器,我已经安装了LightDM。
有几天,我从lightdm.service和systemd@.service得到了一个错误的系统引导。
我只看到一个黑色显示器,必须登录关于另一个tty。
来自systemd@..service的日志说,我没有设备acpi_video0。
-- Reboot --
Sep 19 13:30:39 markus-pc systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:acpi_video0...
Sep 19 13:30:39 markus-pc systemd-backlight[453]: Failed to get backlight or LED device 'backlight:acpi_video0': No such device
Sep 19 13:30:39 markus-pc systemd[1]: systemd-backlight@backlight:acpi_video0.service: Main process exited, code=exited, status=1/FAILURE
Sep 19 13:30:39 markus-pc systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
Sep 19 13:30:39 markus-pc systemd[1]: systemd-backlight@backlight:acpi_video0.service: Unit entered failed state.
Sep 19 13:30:39 markus-pc systemd[1]: systemd-backlight@backlight:acpi_video0.service: Failed with result 'exit-code'.Arch 维基页描述了每个设备在/sys/class/backlight中都有一个目录,但我没有目录。
markus@markus-pc:~$ ls -la /sys/class/backlight/
insgesamt 0
drwxr-xr-x 2 root root 0 19. Sep 13:53 .
drwxr-xr-x 51 root root 0 19. Sep 13:53 ..当我启动桌面环境肉桂并告诉systemd@..service,他必须使用这个图形卡来显示LightDM时,我如何才能找到我实际使用的图形卡?
这是我的LightDM错误。
-- Reboot --
Sep 19 13:49:19 markus-pc systemd[1]: Starting Light Display Manager...
Sep 19 13:49:19 markus-pc systemd[1]: Started Light Display Manager.
Sep 19 13:49:37 markus-pc systemd[1]: Starting Light Display Manager...
Sep 19 13:49:37 markus-pc systemd[1]: Started Light Display Manager.
Sep 19 13:49:38 markus-pc lightdm[836]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Sep 19 13:49:39 markus-pc systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Sep 19 13:49:39 markus-pc systemd[1]: lightdm.service: Unit entered failed state.
Sep 19 13:49:39 markus-pc systemd[1]: lightdm.service: Failed with result 'exit-code'.
Sep 19 13:49:39 markus-pc systemd[1]: lightdm.service: Service hold-off time over, scheduling restart.
Sep 19 13:49:39 markus-pc systemd[1]: Stopped Light Display Manager.
Sep 19 13:49:39 markus-pc systemd[1]: lightdm.service: Start request repeated too quickly.
Sep 19 13:49:39 markus-pc systemd[1]: Failed to start Light Display Manager.
Sep 19 13:49:39 markus-pc systemd[1]: lightdm.service: Unit entered failed state.
Sep 19 13:49:39 markus-pc systemd[1]: lightdm.service: Failed with result 'exit-code'发布于 2018-04-30 21:08:41

编辑文件/etc/default/grub并将以下参数添加到GRUB_CMDLINE_LINUX_DEFAULT中:
$ sudo nano /etc/default/grubGRUB_CMDLINE_LINUX_DEFAULT=“安静的acpi_osi=Linux acpi_backlight=vendor”
不要忘记之后运行sudo update-grub。
https://unix.stackexchange.com/questions/393185
复制相似问题