为了方便起见,我想设置键盘快捷键以在电源设置中启用/禁用“自动屏幕亮度”。这样的命令存在吗?
我正在全新安装 Ubuntu 22.04.3 LTS。我注意到我无法退出省电模式。当我选择“性能”或“平衡”时,它会立即切换回“省电模式”。
我尝试过powerprofilesctl set balanced
手动设置它,它似乎工作正常(没有错误消息),但它似乎没有改变任何东西,因为powerprofilesctl list
仍然说它在power-saver
配置文件中。
由于其他原因,我还尝试将内核更新到最新的主线(6.5.7-060507-generic),但这似乎并没有影响电源设置。
最后,我尝试在BIOS中一一禁用各种省电设置,但没有效果。
我目前正在联想 Thinkpad P14s Gen 4 上运行,配备 AMD Ryzen 7 PRO 7840U,插入 USB4 坞站。
如何确保我的 CPU 不会受到限制?我应该使用 tlp 而不是 powerdaemon (如果是这样,有这方面的指南吗?)?
更新:我升级到 23.10,看起来工作正常。但过了一段时间,它又恢复到有问题的行为,我还不知道为什么。
在我的一台笔记本电脑中,我没有选择“性能”电源模式的选项,因为它没有显示在可用选项中(只有平衡和节电)。
现在,我明白这种情况会发生在某些硬件上,我可以接受我的机器(我指的是那个机器)太旧了,但是当我尝试不同的基于 Ubuntu 的发行版时,它确实显示为一个选项.
如何在 Ubuntu 22.04 LTS 中强制启用性能选项?因为那是我打算与那台笔记本电脑一起使用的发行版,而不是衍生版。干杯。
编辑 1:有问题的笔记本电脑是 2015 年左右的 HP 14 R017。它有奔腾 n3540、8gb 内存和机械硬盘。我已经将这台笔记本电脑与 Ubuntu Mate 22.04 LTS 一起使用了一年,没有出现任何问题。我决定尝试 Regolith Desktop(基于 Ubuntu),因为平铺窗口管理器会提供一些性能提升;确实如此。在 Regolith 上,性能作为电源设置的一个选项可用。请记住,Regolith 使用 Gnome 的片段、i3 的片段和一些其他组件。但重点是一样的,性能是可用的。
我知道可以启用性能模式,即使它是在不受支持的硬件上强制启用的。问题是,如何在 Ubuntu 22.04 LTS(带有 Gnome 的版本)上执行此操作,而无需安装不同的发行版。
我正在尝试在 22.04 上安装 Thinkpad Power Manager GUI
我正在遵循本指南:
https://www.linuxuprising.com/2018/11/install-tlpui-in-ubuntu-or-linux-mint.html
但是当我这样做时:
sudo add-apt-repository ppa:linuxuprising/apps
我得到:
Err:7 https://ppa.launchpadcontent.net/linuxuprising/apps/ubuntu jammy Release
404 Not Found [IP: 2620:2d:4000:1::3e 443]
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/linuxuprising/apps/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
安装电源管理器 gui 的最简单方法是什么?
我最近用 ryzen 5900x、ASUS ROG strix B550-F 和 RTX 3060 完成了一个新版本。我打算将这台机器用作工作站作为 ML 软件工程师。我安装了 ubuntu 22.04 LTS 并将主板的 bios 更新到最新版本。
问题如下:在不活动几分钟后,即使设置中的条件不匹配,电脑也会进入睡眠状态:
我发现这很熟悉:Ubuntu 20.04 在空闲时挂起,即使相关的电源设置被禁用。所以我应用了建议的解决方案,但现在我没有机会让我的电脑睡觉了(我知道这一点)。我想知道这是否是一个常见问题,以及你们中是否有人找到了有效的解决方案。
在事件“进入睡眠”的 5 分钟内,终端命令sudo journalctl --since="-6 minutes"
给出以下输出:
mag 17 16:47:16 kepler NetworkManager[806]: <info> [1652798836.5240] manager: sleep: sleep requested (sleeping: no enabled: yes)
mag 17 16:47:16 kepler ModemManager[877]: <info> [sleep-monitor] system is about to suspend
mag 17 16:47:16 kepler NetworkManager[806]: <info> [1652798836.5240] manager: NetworkManager state is now ASLEEP
mag 17 16:47:16 kepler gnome-shell[2104]: cr_parser_new_from_buf: assertion 'a_buf && a_len' failed
mag 17 16:47:16 kepler gnome-shell[2104]: cr_declaration_parse_list_from_buf: assertion 'parser' failed
mag 17 16:47:16 kepler gnome-shell[2104]: cr_parser_new_from_buf: assertion 'a_buf && a_len' failed
mag 17 16:47:16 kepler gnome-shell[2104]: cr_declaration_parse_list_from_buf: assertion 'parser' failed
mag 17 16:47:16 kepler gnome-shell[2104]: cr_parser_new_from_buf: assertion 'a_buf && a_len' failed
mag 17 16:47:16 kepler gnome-shell[2104]: cr_declaration_parse_list_from_buf: assertion 'parser' failed
mag 17 16:47:16 kepler gsd-media-keys[2459]: Unable to get default sink
@ManOnTheMoon 提出的解决方案似乎解决了这个问题。
我libata.noacpi=1
在 grub 文件中添加了选项:/etc/default/grub
.
因此,最终的字符串如下:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash libata.noacpi=1"
我还需要更多测试,但我的电脑不会再挂起。
我很想了解...这是由于 bios 能量配置文件中的配置错误还是仅与 grub 配置有关?
更新:
同样在建议的修改之后,系统会在几分钟后进入睡眠模式:
这里有一些睡眠事件后的日志......
mag 17 21:14:30 kepler systemd[1]: Reached target Sleep.
mag 17 21:14:30 kepler systemd[1]: Starting Record successful boot for GRUB...
mag 17 21:14:30 kepler systemd[1]: Starting NVIDIA system suspend actions...
mag 17 21:14:30 kepler suspend[3481]: nvidia-suspend.service
mag 17 21:14:30 kepler logger[3481]: <13>May 17 21:14:30 suspend: nvidia-suspend.service
mag 17 21:14:30 kepler systemd[1]: grub-common.service: Deactivated successfully.
mag 17 21:14:30 kepler systemd[1]: Finished Record successful boot for GRUB.
mag 17 21:14:30 kepler systemd[1]: Starting GRUB failed boot detection...
mag 17 21:14:30 kepler systemd[1]: grub-initrd-fallback.service: Deactivated successfully.
mag 17 21:14:30 kepler systemd[1]: Finished GRUB failed boot detection.
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (**) Option "fd" "40"
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) event1 - Power Button: device removed
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (**) Option "fd" "43"
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) event0 - Power Button: device removed
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (**) Option "fd" "44"
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) event6 - ASUSTeK ROG FALCHION: device removed
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (**) Option "fd" "45"
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) event10 - ASUSTeK ROG FALCHION Mouse: device removed
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (**) Option "fd" "46"
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) event7 - ASUSTeK ROG FALCHION Consumer Control: device removed
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (**) Option "fd" "47"
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) event8 - ASUSTeK ROG FALCHION System Control: device removed
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (**) Option "fd" "48"
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) event11 - ASUSTeK ROG FALCHION: device removed
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (**) Option "fd" "49"
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (**) Option "fd" "50"
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) event3 - Eee PC WMI hotkeys: device removed
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (**) Option "fd" "49"
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) event2 - Logitech G305: device removed
mag 17 21:14:30 kepler rtkit-daemon[1256]: Supervising 5 threads of 3 processes of 1 users.
mag 17 21:14:30 kepler rtkit-daemon[1256]: Successfully made thread 3497 of process 1976 owned by '1000' RT at priority 5.
mag 17 21:14:30 kepler rtkit-daemon[1256]: Supervising 6 threads of 3 processes of 1 users.
mag 17 21:14:30 kepler kernel: rfkill: input handler enabled
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got pause for 13:65
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got pause for 13:70
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got pause for 13:67
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got pause for 13:74
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got pause for 13:72
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got pause for 13:71
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got pause for 13:75
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got pause for 13:64
mag 17 21:14:30 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got pause for 13:66
mag 17 21:14:30 kepler kernel: snd_hda_codec_hdmi hdaudioC0D0: HDMI: invalid ELD data byte 90
mag 17 21:14:31 kepler systemd[1]: nvidia-suspend.service: Deactivated successfully.
mag 17 21:14:31 kepler systemd[1]: Finished NVIDIA system suspend actions.
mag 17 21:14:31 kepler systemd[1]: Starting System Suspend...
mag 17 21:14:31 kepler systemd-sleep[3498]: Entering sleep state 'suspend'...
mag 17 21:14:31 kepler kernel: PM: suspend entry (deep)
mag 17 21:14:36 kepler kernel: Filesystems sync: 0.001 seconds
mag 17 21:14:36 kepler kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
mag 17 21:14:36 kepler kernel: OOM killer disabled.
mag 17 21:14:36 kepler kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
mag 17 21:14:36 kepler kernel: printk: Suspending console(s) (use no_console_suspend to debug)
mag 17 21:14:36 kepler kernel: ACPI: PM: Preparing to enter system sleep state S3
mag 17 21:14:36 kepler kernel: ACPI: PM: Saving platform NVS memory
mag 17 21:14:36 kepler kernel: Disabling non-boot CPUs ...
mag 17 21:14:36 kepler kernel: smpboot: CPU 1 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 2 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 3 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 4 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 5 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 6 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 7 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 8 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 9 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 10 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 11 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 12 is now offline
mag 17 21:14:36 kepler kernel: Spectre V2 : Update user space SMT mitigation: STIBP off
mag 17 21:14:36 kepler kernel: smpboot: CPU 13 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 14 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 15 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 16 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 17 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 18 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 19 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 20 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 21 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 22 is now offline
mag 17 21:14:36 kepler kernel: smpboot: CPU 23 is now offline
mag 17 21:14:36 kepler kernel: ACPI: PM: Low-level resume complete
mag 17 21:14:36 kepler kernel: ACPI: PM: Restoring platform NVS memory
mag 17 21:14:36 kepler kernel: LVT offset 0 assigned for vector 0x400
mag 17 21:14:36 kepler kernel: Enabling non-boot CPUs ...
mag 17 21:14:36 kepler kernel: x86: Booting SMP configuration:
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
mag 17 21:14:36 kepler kernel: microcode: CPU1: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU1 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 2 APIC 0x4
mag 17 21:14:36 kepler kernel: microcode: CPU2: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU2 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 3 APIC 0x6
mag 17 21:14:36 kepler kernel: microcode: CPU3: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU3 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 4 APIC 0x8
mag 17 21:14:36 kepler kernel: microcode: CPU4: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU4 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 5 APIC 0xa
mag 17 21:14:36 kepler kernel: microcode: CPU5: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU5 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 6 APIC 0x10
mag 17 21:14:36 kepler kernel: microcode: CPU6: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU6 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 7 APIC 0x12
mag 17 21:14:36 kepler kernel: microcode: CPU7: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU7 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 8 APIC 0x14
mag 17 21:14:36 kepler kernel: microcode: CPU8: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU8 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 9 APIC 0x16
mag 17 21:14:36 kepler kernel: microcode: CPU9: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU9 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 10 APIC 0x18
mag 17 21:14:36 kepler kernel: microcode: CPU10: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU10 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 11 APIC 0x1a
mag 17 21:14:36 kepler kernel: microcode: CPU11: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU11 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 12 APIC 0x1
mag 17 21:14:36 kepler kernel: microcode: CPU12: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: Spectre V2 : Update user space SMT mitigation: STIBP always-on
mag 17 21:14:36 kepler kernel: CPU12 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 13 APIC 0x3
mag 17 21:14:36 kepler kernel: microcode: CPU13: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU13 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 14 APIC 0x5
mag 17 21:14:36 kepler kernel: microcode: CPU14: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU14 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 15 APIC 0x7
mag 17 21:14:36 kepler kernel: microcode: CPU15: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU15 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 16 APIC 0x9
mag 17 21:14:36 kepler kernel: microcode: CPU16: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU16 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 17 APIC 0xb
mag 17 21:14:36 kepler kernel: microcode: CPU17: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU17 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 18 APIC 0x11
mag 17 21:14:36 kepler kernel: microcode: CPU18: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU18 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 19 APIC 0x13
mag 17 21:14:36 kepler kernel: microcode: CPU19: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU19 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 20 APIC 0x15
mag 17 21:14:36 kepler kernel: microcode: CPU20: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU20 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 21 APIC 0x17
mag 17 21:14:36 kepler kernel: microcode: CPU21: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU21 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 22 APIC 0x19
mag 17 21:14:36 kepler kernel: microcode: CPU22: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU22 is up
mag 17 21:14:36 kepler kernel: smpboot: Booting Node 0 Processor 23 APIC 0x1b
mag 17 21:14:36 kepler kernel: microcode: CPU23: patch_level=0x0a201205
mag 17 21:14:36 kepler kernel: CPU23 is up
mag 17 21:14:36 kepler kernel: ACPI: PM: Waking up from system sleep state S3
mag 17 21:14:36 kepler kernel: xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
mag 17 21:14:36 kepler kernel: usb usb1: root hub lost power or was reset
mag 17 21:14:36 kepler kernel: usb usb2: root hub lost power or was reset
mag 17 21:14:36 kepler kernel: nvme nvme0: 32/0/0 default/read/poll queues
mag 17 21:14:36 kepler kernel: ata3: SATA link down (SStatus 0 SControl 330)
mag 17 21:14:36 kepler kernel: ata2: SATA link down (SStatus 0 SControl 330)
mag 17 21:14:36 kepler kernel: ata5: SATA link down (SStatus 0 SControl 330)
mag 17 21:14:36 kepler kernel: ata4: SATA link down (SStatus 0 SControl 330)
mag 17 21:14:36 kepler kernel: ata6: SATA link down (SStatus 0 SControl 330)
mag 17 21:14:36 kepler kernel: ata1: SATA link down (SStatus 0 SControl 330)
mag 17 21:14:36 kepler kernel: usb 1-6: reset full-speed USB device number 2 using xhci_hcd
mag 17 21:14:36 kepler kernel: usb 1-7: reset high-speed USB device number 3 using xhci_hcd
mag 17 21:14:36 kepler kernel: usb 1-9: reset full-speed USB device number 4 using xhci_hcd
mag 17 21:14:36 kepler kernel: usb 1-10: reset full-speed USB device number 5 using xhci_hcd
mag 17 21:14:36 kepler kernel: OOM killer enabled.
mag 17 21:14:36 kepler kernel: Restarting tasks ... done.
mag 17 21:14:36 kepler kernel: PM: suspend exit
mag 17 21:14:36 kepler systemd-resolved[727]: Clock change detected. Flushing caches.
mag 17 21:14:36 kepler acpid[787]: client 2134[1000:1000] has disconnected
mag 17 21:14:36 kepler systemd-sleep[3498]: System returned from sleep state.
mag 17 21:14:36 kepler systemd[1]: fprintd.service: Deactivated successfully.
mag 17 21:14:37 kepler systemd[1]: systemd-suspend.service: Deactivated successfully.
mag 17 21:14:37 kepler systemd[1]: Finished System Suspend.
mag 17 21:14:37 kepler systemd[1]: Stopped target Sleep.
mag 17 21:14:37 kepler systemd[1]: Reached target Suspend.
mag 17 21:14:37 kepler rtkit-daemon[1256]: Supervising 5 threads of 3 processes of 1 users.
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got resume for 13:65
mag 17 21:14:37 kepler systemd[1]: Starting NVIDIA system resume actions...
mag 17 21:14:37 kepler systemd[1]: Stopped target Suspend.
mag 17 21:14:37 kepler suspend[3654]: nvidia-resume.service
mag 17 21:14:37 kepler logger[3654]: <13>May 17 21:14:37 suspend: nvidia-resume.service
mag 17 21:14:37 kepler systemd[1]: nvidia-resume.service: Deactivated successfully.
mag 17 21:14:37 kepler systemd[1]: Finished NVIDIA system resume actions.
mag 17 21:14:37 kepler rtkit-daemon[1256]: Successfully made thread 3653 of process 1976 owned by '1000' RT at priority 5.
mag 17 21:14:37 kepler rtkit-daemon[1256]: Supervising 6 threads of 3 processes of 1 users.
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): Microstep MSI MD271QP (DFP-0): connected
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): Microstep MSI MD271QP (DFP-0): Internal TMDS
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): Microstep MSI MD271QP (DFP-0): 600.0 MHz maximum pixel clock
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0):
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-1: disconnected
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-1: 2670.0 MHz maximum pixel clock
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0):
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-2: disconnected
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0):
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-3: disconnected
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-3: 2670.0 MHz maximum pixel clock
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0):
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-4: disconnected
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0):
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-5: disconnected
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-5: 2670.0 MHz maximum pixel clock
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0):
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-6: disconnected
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0):
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
mag 17 21:14:37 kepler gsd-media-keys[2453]: Unable to get default sink
mag 17 21:14:37 kepler acpid[787]: client connected from 2134[1000:1000]
mag 17 21:14:37 kepler acpid[787]: 1 client rule loaded
mag 17 21:14:37 kepler rtkit-daemon[1256]: Supervising 5 threads of 3 processes of 1 users.
mag 17 21:14:37 kepler rtkit-daemon[1256]: Successfully made thread 3656 of process 1976 owned by '1000' RT at priority 5.
mag 17 21:14:37 kepler rtkit-daemon[1256]: Supervising 6 threads of 3 processes of 1 users.
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event1 - Power Button: is tagged by udev as: Keyboard
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event1 - Power Button: device is a keyboard
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got resume for 13:70
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event6 - ASUSTeK ROG FALCHION: is tagged by udev as: Keyboard
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event6 - ASUSTeK ROG FALCHION: device is a keyboard
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got resume for 13:67
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event3 - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event3 - Eee PC WMI hotkeys: device is a keyboard
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got resume for 13:74
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event10 - ASUSTeK ROG FALCHION Mouse: is tagged by udev as: Mouse
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event10 - ASUSTeK ROG FALCHION Mouse: device is a pointer
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got resume for 13:72
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event8 - ASUSTeK ROG FALCHION System Control: is tagged by udev as: Keyboard
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event8 - ASUSTeK ROG FALCHION System Control: device is a keyboard
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got resume for 13:71
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event7 - ASUSTeK ROG FALCHION Consumer Control: is tagged by udev as: Keyboard
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event7 - ASUSTeK ROG FALCHION Consumer Control: device is a keyboard
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got resume for 13:75
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event11 - ASUSTeK ROG FALCHION: is tagged by udev as: Keyboard
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event11 - ASUSTeK ROG FALCHION: device is a keyboard
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got resume for 13:64
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event0 - Power Button: is tagged by udev as: Keyboard
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event0 - Power Button: device is a keyboard
mag 17 21:14:37 kepler systemd-logind[811]: Operation 'sleep' finished.
mag 17 21:14:37 kepler ModemManager[841]: <info> [sleep-monitor] system is resuming
mag 17 21:14:37 kepler NetworkManager[795]: <info> [1652814877.9317] manager: sleep: wake requested (sleeping: yes enabled: yes)
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) systemd-logind: got resume for 13:66
mag 17 21:14:37 kepler NetworkManager[795]: <info> [1652814877.9317] device (enp6s0): state change: activated -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event2 - Logitech G305: is tagged by udev as: Keyboard Mouse
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event2 - Logitech G305: device is a pointer
mag 17 21:14:37 kepler /usr/libexec/gdm-x-session[2134]: (II) event2 - Logitech G305: device is a keyboard
mag 17 21:14:37 kepler kernel: rfkill: input handler disabled
mag 17 21:14:37 kepler NetworkManager[795]: <info> [1652814877.9669] dhcp4 (enp6s0): canceled DHCP transaction
mag 17 21:14:37 kepler NetworkManager[795]: <info> [1652814877.9669] dhcp4 (enp6s0): activation: beginning transaction (timeout in 45 seconds)
mag 17 21:14:37 kepler NetworkManager[795]: <info> [1652814877.9669] dhcp4 (enp6s0): state changed no lease
mag 17 21:14:37 kepler avahi-daemon[790]: Withdrawing address record for 192.168.1.17 on enp6s0.
mag 17 21:14:37 kepler NetworkManager[795]: <info> [1652814877.9670] dhcp6 (enp6s0): canceled DHCP transaction
mag 17 21:14:37 kepler avahi-daemon[790]: Leaving mDNS multicast group on interface enp6s0.IPv4 with address 192.168.1.17.
mag 17 21:14:37 kepler NetworkManager[795]: <info> [1652814877.9670] dhcp6 (enp6s0): activation: beginning transaction (timeout in 45 seconds)
mag 17 21:14:37 kepler avahi-daemon[790]: Interface enp6s0.IPv4 no longer relevant for mDNS.
mag 17 21:14:37 kepler NetworkManager[795]: <info> [1652814877.9670] dhcp6 (enp6s0): state changed no lease
mag 17 21:14:37 kepler avahi-daemon[790]: Withdrawing address record for fe80::8886:80db:1519:6d6c on enp6s0.
mag 17 21:14:37 kepler systemd-resolved[727]: enp6s0: Bus client reset search domain list.
mag 17 21:14:37 kepler avahi-daemon[790]: Leaving mDNS multicast group on interface enp6s0.IPv6 with address fe80::8886:80db:1519:6d6c.
mag 17 21:14:37 kepler systemd-resolved[727]: enp6s0: Bus client set default route setting: no
mag 17 21:14:37 kepler avahi-daemon[790]: Interface enp6s0.IPv6 no longer relevant for mDNS.
mag 17 21:14:37 kepler systemd-resolved[727]: enp6s0: Bus client reset DNS server list.
mag 17 21:14:38 kepler NetworkManager[795]: <info> [1652814878.0150] manager: NetworkManager state is now CONNECTED_GLOBAL
mag 17 21:14:38 kepler geoclue[1539]: Failed to query location: Error resolving “location.services.mozilla.com”: Temporary failure in name resolution
mag 17 21:14:38 kepler NetworkManager[795]: <info> [1652814878.0959] device (enp6s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
mag 17 21:14:38 kepler dbus-daemon[793]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.11' (uid=0 pid=795 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
mag 17 21:14:38 kepler systemd[1]: Starting Network Manager Script Dispatcher Service...
mag 17 21:14:38 kepler dbus-daemon[793]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
mag 17 21:14:38 kepler systemd[1]: Started Network Manager Script Dispatcher Service.
mag 17 21:14:38 kepler kernel: logitech-hidpp-device 0003:046D:4074.0009: HID++ 4.2 device connected.
mag 17 21:14:38 kepler gnome-shell[2337]: cr_parser_new_from_buf: assertion 'a_buf && a_len' failed
mag 17 21:14:38 kepler gnome-shell[2337]: cr_declaration_parse_list_from_buf: assertion 'parser' failed
mag 17 21:14:38 kepler upowerd[1373]: treated changed event as add on /sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-9/1-9:1.2/0003:046D:C53F.0004/0003:046D:4074.0009/power_supply/hidpp_battery_0
mag 17 21:14:39 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): Microstep MSI MD271QP (DFP-0): connected
mag 17 21:14:39 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): Microstep MSI MD271QP (DFP-0): Internal TMDS
mag 17 21:14:39 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): Microstep MSI MD271QP (DFP-0): 600.0 MHz maximum pixel clock
mag 17 21:14:39 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0):
mag 17 21:14:39 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): Microstep MSI MD271QP (DFP-0): connected
mag 17 21:14:39 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): Microstep MSI MD271QP (DFP-0): Internal TMDS
mag 17 21:14:39 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): Microstep MSI MD271QP (DFP-0): 600.0 MHz maximum pixel clock
mag 17 21:14:39 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0):
mag 17 21:14:40 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): Microstep MSI MD271QP (DFP-0): connected
mag 17 21:14:40 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): Microstep MSI MD271QP (DFP-0): Internal TMDS
mag 17 21:14:40 kepler /usr/libexec/gdm-x-session[2134]: (--) NVIDIA(GPU-0): Microstep MSI MD271QP (DFP-0): 600.0 MHz maximum pixel clock
由于与 nvidia 驱动程序相关的大量日志,我尝试使用开放的 noveau 驱动程序,使用附加的驱动程序选项卡,而不是建议的 510.60。在这种情况下,暂停问题肯定会消失。
所以这与nvidia驱动程序有关。我注意到 ubuntu 存储库中实际上不存在更新的驱动程序 (510.73.05)。根据变更日志,没有与此类或问题相关的改进。
你有什么建议?我需要 nvidia 驱动程序才能将 gpu 用于 tensorflow 相关的东西......
非常感谢你的帮助
我今天才注意到,在我的屏幕右上角,我的电池没有充电,但我的笔记本电脑本身连接了充电器,我的笔记本电脑是 T460s 联想笔记本电脑,它有指示灯显示充电器已连接,它们是亮起并且在功率统计中它检测到充电器并说它在线,但是当我查看系统设置时,它显示它没有充电并且它没有失去电力,也没有获得任何电力。我不知道如何在我的操作系统上提供帮助,我使用的是 Ubuntu 20.04。
我的一台笔记本电脑(一台 HP 笔记本电脑)很少处于活动状态,但始终处于开机状态,基本上是远程使用和用于备份目的。但是,即使屏幕保护程序(黑屏)启动,屏幕也始终处于开机状态。屏幕始终发出微弱的光线,这是不受欢迎的。
屏幕保护程序处于活动状态时是否可以关闭屏幕电源?
来自设置/关于的详细信息:
硬件型号:HP 笔记本电脑 15s-eq1xxx
处理器:AMD Ryzen 5 4500u with radeon graphics
显卡:AMD Renoir
操作系统:Ubuntu 21.10,64 位
当我尝试关闭我的笔记本电脑时,一切正常,它显示黑屏,但它没有关闭电源,我唯一能做的就是手动关闭它。poweroff -f
我尝试用or关闭,shutdown -h now
但没有任何改变。
这个问题在 Ubuntu 20.04 LTS 上首次出现。然后我尝试重新安装相同版本的 Ubuntu,但问题仍然存在。我尝试安装 Ubuntu 21.10,但没有任何改变。最后我尝试了不同的发行版(Pop!_OS)并且它正常关机。我正在使用带有 AMD A9-9420、8 GB RAM 和 250GB SSD 的 Acer Aspire 3 A315-21-92HJ。
编辑 - -
我包括通过以下方式获得的日志文件tac /var/log/syslog > ~/log.txt
:
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Hold until boot process finishes up.
Jan 5 17:56:36 Gallimimus systemd[1]: plymouth-quit-wait.service: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping PackageKit Daemon...
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped OpenVPN service.
Jan 5 17:56:36 Gallimimus systemd[1]: openvpn.service: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping Dispatcher daemon for systemd-networkd...
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping Tool to automatically collect and submit kernel crash signatures...
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping irqbalance daemon...
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping GNOME Display Manager...
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping Make remote CUPS printers available locally...
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping Regular background program processing daemon...
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping Manage, Install and Generate Color Profiles...
Jan 5 17:56:36 Gallimimus kernel: [ 1444.798835] audit: type=1400 audit(1641401796.100:118): apparmor="DENIED" operation="open" profile="/usr/sbin/cupsd" name="/proc/cmdline" pid=700 comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Jan 5 17:56:36 Gallimimus kernel: [ 1444.798776] audit: type=1400 audit(1641401796.100:117): apparmor="DENIED" operation="open" profile="/usr/sbin/cupsd" name="/proc/1/environ" pid=700 comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Jan 5 17:56:36 Gallimimus kernel: [ 1444.798678] audit: type=1400 audit(1641401796.100:116): apparmor="DENIED" operation="open" profile="/usr/sbin/cupsd" name="/proc/sys/kernel/osrelease" pid=700 comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Jan 5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Jan 5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Jan 5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Jan 5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Jan 5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Jan 5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Jan 5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSource/sbc
Jan 5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSink/sbc
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping Bluetooth service...
Jan 5 17:56:36 Gallimimus bluetoothd[606]: Terminating
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping LSB: automatic crash report generation...
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping Save/Restore Sound Card State...
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping ACPI event daemon...
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping Accounts Service...
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping Modem Manager...
Jan 5 17:56:36 Gallimimus gnome-shell[1412]: The offending signal was state-changed on NMDeviceWifi 0x55d645ff4390.
Jan 5 17:56:36 Gallimimus gnome-shell[1412]: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
Jan 5 17:56:36 Gallimimus gnome-shell[1412]: The offending signal was state-changed on NMDeviceEthernet 0x55d645fee250.
Jan 5 17:56:36 Gallimimus gnome-shell[1412]: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
Jan 5 17:56:36 Gallimimus gnome-shell[1412]: The offending signal was notify on NMActiveConnection 0x55d645ffd180.
Jan 5 17:56:36 Gallimimus gnome-shell[1412]: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
Jan 5 17:56:36 Gallimimus gnome-shell[1412]: The offending signal was notify on NMDeviceWifi 0x55d645ff4390.
Jan 5 17:56:36 Gallimimus gnome-shell[1412]: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
Jan 5 17:56:36 Gallimimus gnome-shell[1412]: message repeated 4 times: [ == Stack trace for context 0x55d643bdd1c0 ==]
Jan 5 17:56:36 Gallimimus gnome-shell[1412]: == Stack trace for context 0x55d643bdd1c0 ==
Jan 5 17:56:36 Gallimimus gnome-shell[1412]: The offending signal was notify on NMDeviceEthernet 0x55d645fee250.
Jan 5 17:56:36 Gallimimus gnome-shell[1412]: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
Jan 5 17:56:36 Gallimimus ModemManager[714]: <info> ModemManager is shut down
Jan 5 17:56:36 Gallimimus NetworkManager[610]: <info> [1641401796.0767] modem-manager: ModemManager no longer available
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped Monitor Session leader for GNOME Session.
Jan 5 17:56:36 Gallimimus systemd[1293]: gnome-session-monitor.service: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Jan 5 17:56:36 Gallimimus ModemManager[714]: <info> caught signal, shutting down...
Jan 5 17:56:36 Gallimimus systemd[1]: systemd-rfkill.socket: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped target System Time Set.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Check to see whether there is a new version of Ubuntu available.
Jan 5 17:56:36 Gallimimus systemd[1]: update-notifier-motd.timer: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Download data for packages that failed at package install time.
Jan 5 17:56:36 Gallimimus systemd[1]: update-notifier-download.timer: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Ubuntu Advantage Timer for running repeated jobs.
Jan 5 17:56:36 Gallimimus systemd[1]: ua-timer.timer: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Jan 5 17:56:36 Gallimimus systemd[1]: systemd-tmpfiles-clean.timer: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Message of the Day.
Jan 5 17:56:36 Gallimimus systemd[1]: motd-news.timer: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Daily man-db regeneration.
Jan 5 17:56:36 Gallimimus systemd[1]: man-db.timer: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Daily rotation of log files.
Jan 5 17:56:36 Gallimimus systemd[1]: logrotate.timer: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Refresh fwupd metadata regularly.
Jan 5 17:56:36 Gallimimus systemd[1]: fwupd-refresh.timer: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Discard unused blocks once a week.
Jan 5 17:56:36 Gallimimus systemd[1]: fstrim.timer: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Periodic ext4 Online Metadata Check for All Filesystems.
Jan 5 17:56:36 Gallimimus systemd[1]: e2scrub_all.timer: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Daily apt download activities.
Jan 5 17:56:36 Gallimimus systemd[1]: apt-daily.timer: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Daily apt upgrade and clean activities.
Jan 5 17:56:36 Gallimimus systemd[1]: apt-daily-upgrade.timer: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped Trigger anacron every hour.
Jan 5 17:56:36 Gallimimus systemd[1]: anacron.timer: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped target Timers.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped target Sound Card.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped target Login Prompts.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped target Multi-User System.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped target Graphical Interface.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopped target Bluetooth.
Jan 5 17:56:36 Gallimimus systemd[1]: Removed slice system-systemd\x2dbacklight.slice.
Jan 5 17:56:36 Gallimimus systemd[1]: Removed slice system-modprobe.slice.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped GNOME Session Manager (session: ubuntu).
Jan 5 17:56:36 Gallimimus systemd[1]: Removed slice system-getty.slice.
Jan 5 17:56:36 Gallimimus systemd[1293]: [email protected]: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1]: Stopping Session 2 of user cosimo.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopping GNOME Wacom tablet support service...
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopping GNOME power management service...
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopping GNOME keyboard shortcuts service...
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopping GNOME keyboard configuration service...
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopping GNOME color management service...
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME XSettings target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME Wacom tablet support target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME sound sample caching target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME smartcard target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME file sharing target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME FreeDesktop screensaver target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME RFKill support target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME printer notifications target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME power management target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME keyboard shortcuts target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME keyboard configuration target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME maintenance of expirable data target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME date & time target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME color management target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME accessibility target.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME Session (session: ubuntu).
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME Wayland Session.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME Session.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped Path trigger for new release of Ubuntu notifications.
Jan 5 17:56:36 Gallimimus systemd[1293]: update-notifier-release.path: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped Path trigger for Apport crash notifications.
Jan 5 17:56:36 Gallimimus systemd[1293]: update-notifier-crash.path: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target Current graphical user session.
Jan 5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME Wayland Session (session: ubuntu).
Jan 5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.ScreensaverProxy.service: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.PrintNotifications.service: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.Housekeeping.service: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.Datetime.service: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.Sound.service: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.Sharing.service: Deactivated successfully.
Jan 5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.A11ySettings.service: Deactivated successfully.
Jan 5 17:56:35 Gallimimus systemd[1]: unattended-upgrades.service: Deactivated successfully.
Jan 5 17:56:35 Gallimimus gnome-shell[1412]: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:#012 _seekStatusNotifierItems/<@/usr/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:141:1#012 _seekStatusNotifierItems@/usr/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:141:21#012 async*AppIndicatorsStatusNotifierWatcher@/usr/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:57:14#012 maybeEnableAfterNameAvailable@/usr/share/gnome-shell/extensions/[email protected]/extension.js:54:33#012 enable@/usr/share/gnome-shell/extensions/[email protected]/extension.js:59:5#012 _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:168:32#012 loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:351:26#012 _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:597:18#012 collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:28#012 _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:572:19#012 _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:606:18#012 _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:637:18#012 init@resource:///org/gnome/shell/ui/extensionSystem.js:57:14#012 _initializeUI@resource:///org/gnome/shell/ui/main.js:278:22#012 start@resource:///org/gnome/shell/ui/main.js:175:5#012 @<main>:1:47
Jan 5 17:56:35 Gallimimus gnome-shell[1412]: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:#012 _seekStatusNotifierItems/<@/usr/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:141:1#012 _seekStatusNotifierItems@/usr/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:141:21#012 async*AppIndicatorsStatusNotifierWatcher@/usr/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:57:14#012 maybeEnableAfterNameAvailable@/usr/share/gnome-shell/extensions/[email protected]/extension.js:54:33#012 enable@/usr/share/gnome-shell/extensions/[email protected]/extension.js:59:5#012 _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:168:32#012 loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:351:26#012 _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:597:18#012 collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:28#012 _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:572:19#012 _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:606:18#012 _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:637:18#012 init@resource:///org/gnome/shell/ui/extensionSystem.js:57:14#012 _initializeUI@resource:///org/gnome/shell/ui/main.js:278:22#012 start@resource:///org/gnome/shell/ui/main.js:175:5#012 @<main>:1:47
Jan 5 17:56:35 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.Smartcard.service: Deactivated successfully.
Jan 5 17:56:35 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.Rfkill.service: Deactivated successfully.
Jan 5 17:56:35 Gallimimus kernel: [ 1444.612640] rfkill: input handler enabled
我在 17:56:35 关掉了电脑,等到 17:37:35 才强制关机。
编辑 2 ---
我包括以下输出ls -al /usr/share/gnome-shell/extensions
:
total 20
drwxr-xr-x 5 root root 4096 ago 19 12:35 .
drwxr-xr-x 7 root root 4096 ago 19 12:40 ..
drwxr-xr-x 2 root root 4096 ago 19 12:35 desktop-icons@csoriano
drwxr-xr-x 3 root root 4096 ago 19 12:35 [email protected]
drwxr-xr-x 3 root root 4096 ago 19 12:35 [email protected]
编辑 3 --- 我尝试了很多不同的东西,我可能会发现一些东西:
从 GRUB 菜单中,选择Advanced options for Ubuntu
,我找到 4 个元素(2 个内核处于正常和恢复模式):
Ubuntu,带有 Linux 5.11.0-46-generic
Ubuntu,带有 Linux 5.11.0-46-generic(恢复模式)
Ubuntu,带有 Linux 5.11.0-27-generic
Ubuntu,带有 Linux 5.11.0-27-generic(恢复模式)
如果我选择第三个选项,并且正常启动,我的电脑会成功关机如果我为两个内核选择恢复模式,然后在下一个窗口中选择resume
正常启动,它会成功关机。如果我选择第一个选项(我想它是默认内核)并正常启动,我的电脑不会关机。