我最近用 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 相关的东西......
非常感谢你的帮助
如问题中所述,我确信问题是由于 nvidia 驱动程序版本 510 造成的。我测试了许多新驱动程序,在 510.60 和最新的 510.73 中发现了相同的问题。
Nvidia 驱动程序 470 很好,一切正常。
谢谢你的帮助。最好的