Ubuntu 22.04.3 暂停后无法唤醒

Ubuntu 22.04.3 暂停后无法唤醒

我知道这个问题之前已经被问过,但是问题和答案已经解决了以前版本的 Ubuntu 和 NVIDIA 驱动程序,但对我来说不起作用,所以我提出了一个新问题。

如何让 Ubuntu 正常睡眠?

我的计算机包括

  • 显卡:Nvidia 4060 TI
  • 驱动程序:535.129.03(我还尝试了元包和驱动程序变体、525 和 X.Org X 服务器 Nouveau [除了暂停问题之外,这还会缩放整个显示屏])
  • CUDA 版本:12.2
  • 处理器:AMD 5700X
  • 主板:Gigabyte 550 Gaming V2 rev 1.3,BIOSFDc
  • 操作系统:Ubuntu 22.04.3 LTS

基本上,当我选择suspendUbuntu 时,我的屏幕会关闭,鼠标灯会熄灭,风扇会以非常高的转速旋转。我可以双击,鼠标灯会再次亮起,但屏幕保持黑色,我无法从此状态唤醒它。为了唤醒它,我需要关闭 PSU 开关,然后再打开。之后,登录屏幕会显示(我以为切断电源 2 秒钟就会完全关闭计算机?)。

反正,我知道这是一个与 Ubuntu 相关的问题,因为我可以让我的电脑在 Windows 10 上进入睡眠状态,然后再将其唤醒。

到目前为止,我尝试过让暂停工作的方法如下,

  • 编辑/etc/defaults/grub(GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="nouveau.blacklist=1")
  • /etc/systemd删除(中的所有 NVIDIA 服务https://askubuntu.com/a/1409631/1554429
  • 安装不同的 Nvidia 驱动程序,包括开源和专有选项
  • 将 Nvidia 睡眠 shell 脚本设置为仅执行exit 0
  • 在 BIOS 中禁用安全启动
  • 在 BIOS 中禁用 CSM
  • 启用鼠标和按键唤醒 BIOS
  • 禁用 Nvidia systemd 状态管理(https://askubuntu.com/a/1436923/1554429
  • 更新 BIOS

以下是日志转储,包括暂停命令、屏幕变暗、风扇快速旋转且发出很大噪音、双击尝试唤醒计算机、切换 PSU 上的电源开关,然后再次登录。似乎 CPU 进入睡眠状态,但随后立即唤醒。

...
Nov 14 23:35:16 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event5  - Razer Razer DeathAdder V2: SYN_DROPPED event - some input events have been lost.
Nov 14 23:35:25 COMPUTER systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Nov 14 23:35:45 COMPUTER systemd-logind[1205]: Delay lock is active (UID 1000/USER, PID 2628/gnome-shell) but inhibitor timeout is reached.
Nov 14 23:35:45 COMPUTER systemd[1]: Reached target Sleep.
Nov 14 23:35:45 COMPUTER systemd[1]: Starting Record successful boot for GRUB...
Nov 14 23:35:45 COMPUTER systemd[1]: Starting NVIDIA system suspend actions...
Nov 14 23:35:45 COMPUTER suspend[21829]: nvidia-suspend.service
Nov 14 23:35:45 COMPUTER logger[21829]: <13>Nov 14 23:35:45 suspend: nvidia-suspend.service
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (**) Option "fd" "40"
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event1  - Power Button: device removed
Nov 14 23:35:45 COMPUTER systemd[1]: grub-common.service: Deactivated successfully.
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (**) Option "fd" "43"
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event0  - Power Button: device removed
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (**) Option "fd" "44"
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event2  - Logitech USB Keyboard: device removed
Nov 14 23:35:45 COMPUTER systemd[1]: Finished Record successful boot for GRUB.
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (**) Option "fd" "45"
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event3  - Logitech USB Keyboard Consumer Control: device removed
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (**) Option "fd" "46"
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event4  - Logitech USB Keyboard System Control: device removed
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (**) Option "fd" "47"
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event5  - Razer Razer DeathAdder V2: device removed
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (**) Option "fd" "48"
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (**) Option "fd" "49"
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event8  - Razer Razer DeathAdder V2: device removed
Nov 14 23:35:45 COMPUTER systemd[1]: Starting GRUB failed boot detection...
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (**) Option "fd" "48"
Nov 14 23:35:45 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event6  - Razer Razer DeathAdder V2 Keyboard: device removed
Nov 14 23:35:45 COMPUTER systemd[1]: grub-initrd-fallback.service: Deactivated successfully.
Nov 14 23:35:45 COMPUTER systemd[1]: Finished GRUB failed boot detection.
Nov 14 23:35:46 COMPUTER kernel: rfkill: input handler enabled
Nov 14 23:35:46 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got pause for 13:69
Nov 14 23:35:46 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got pause for 13:68
Nov 14 23:35:46 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got pause for 13:65
Nov 14 23:35:46 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got pause for 13:67
Nov 14 23:35:46 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got pause for 13:72
Nov 14 23:35:46 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got pause for 13:64
Nov 14 23:35:46 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got pause for 13:70
Nov 14 23:35:46 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got pause for 13:66
Nov 14 23:35:47 COMPUTER systemd[1]: nvidia-suspend.service: Deactivated successfully.
Nov 14 23:35:47 COMPUTER systemd[1]: Finished NVIDIA system suspend actions.
Nov 14 23:35:47 COMPUTER systemd[1]: Starting System Suspend...
Nov 14 23:35:47 COMPUTER systemd-sleep[21845]: Entering sleep state 'suspend'...
Nov 14 23:35:47 COMPUTER kernel: PM: suspend entry (deep)
Nov 14 23:36:22 COMPUTER kernel: Filesystems sync: 0.144 seconds
Nov 14 23:36:22 COMPUTER kernel: Freezing user space processes
Nov 14 23:36:22 COMPUTER kernel: Freezing user space processes completed (elapsed 0.002 seconds)
Nov 14 23:36:22 COMPUTER kernel: OOM killer disabled.
Nov 14 23:36:22 COMPUTER kernel: Freezing remaining freezable tasks
Nov 14 23:36:22 COMPUTER kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
Nov 14 23:36:22 COMPUTER kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Nov 14 23:36:22 COMPUTER kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Nov 14 23:36:22 COMPUTER kernel: sd 0:0:0:0: [sda] Stopping disk
Nov 14 23:36:22 COMPUTER kernel: ACPI: PM: Preparing to enter system sleep state S3
Nov 14 23:36:22 COMPUTER kernel: ACPI: PM: Saving platform NVS memory
Nov 14 23:36:22 COMPUTER kernel: Disabling non-boot CPUs ...
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 1 is now offline
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 2 is now offline
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 3 is now offline
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 4 is now offline
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 5 is now offline
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 6 is now offline
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 7 is now offline
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 8 is now offline
Nov 14 23:36:22 COMPUTER kernel: Spectre V2 : Update user space SMT mitigation: STIBP off
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 9 is now offline
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 10 is now offline
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 11 is now offline
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 12 is now offline
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 13 is now offline
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 14 is now offline
Nov 14 23:36:22 COMPUTER kernel: smpboot: CPU 15 is now offline
Nov 14 23:36:22 COMPUTER kernel: ACPI: PM: Low-level resume complete
Nov 14 23:36:22 COMPUTER kernel: ACPI: PM: Restoring platform NVS memory
Nov 14 23:36:22 COMPUTER kernel: LVT offset 0 assigned for vector 0x400
Nov 14 23:36:22 COMPUTER kernel: Enabling non-boot CPUs ...
Nov 14 23:36:22 COMPUTER kernel: x86: Booting SMP configuration:
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C002: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU1 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 2 APIC 0x4
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C004: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU2 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 3 APIC 0x6
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C006: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU3 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 4 APIC 0x8
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C008: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU4 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 5 APIC 0xa
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C00A: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU5 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 6 APIC 0xc
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C00C: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU6 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 7 APIC 0xe
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C00E: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU7 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 8 APIC 0x1
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C001: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: Spectre V2 : Update user space SMT mitigation: STIBP always-on
Nov 14 23:36:22 COMPUTER kernel: CPU8 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 9 APIC 0x3
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C003: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU9 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 10 APIC 0x5
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C005: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU10 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 11 APIC 0x7
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C007: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU11 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 12 APIC 0x9
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C009: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU12 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 13 APIC 0xb
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C00B: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU13 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 14 APIC 0xd
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C00D: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU14 is up
Nov 14 23:36:22 COMPUTER kernel: smpboot: Booting Node 0 Processor 15 APIC 0xf
Nov 14 23:36:22 COMPUTER kernel: ACPI: \_SB_.PLTF.C00F: Found 2 idle states
Nov 14 23:36:22 COMPUTER kernel: CPU15 is up
Nov 14 23:36:22 COMPUTER kernel: ACPI: PM: Waking up from system sleep state S3
Nov 14 23:36:22 COMPUTER kernel: xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
Nov 14 23:36:22 COMPUTER kernel: usb usb1: root hub lost power or was reset
Nov 14 23:36:22 COMPUTER kernel: usb usb2: root hub lost power or was reset
Nov 14 23:36:22 COMPUTER kernel: sd 0:0:0:0: [sda] Starting disk
Nov 14 23:36:22 COMPUTER kernel: nvme nvme1: Shutdown timeout set to 8 seconds
Nov 14 23:36:22 COMPUTER kernel: nvme nvme0: Shutdown timeout set to 8 seconds
Nov 14 23:36:22 COMPUTER kernel: nvme nvme0: 32/0/0 default/read/poll queues
Nov 14 23:36:22 COMPUTER kernel: nvme nvme1: 32/0/0 default/read/poll queues
Nov 14 23:36:22 COMPUTER kernel: ata3: SATA link down (SStatus 0 SControl 330)
Nov 14 23:36:22 COMPUTER kernel: ata2: SATA link down (SStatus 0 SControl 300)
Nov 14 23:36:22 COMPUTER kernel: ata6: SATA link down (SStatus 0 SControl 330)
Nov 14 23:36:22 COMPUTER kernel: ata4: SATA link down (SStatus 0 SControl 330)
Nov 14 23:36:22 COMPUTER kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Nov 14 23:36:22 COMPUTER kernel: ata1.00: configured for UDMA/133
Nov 14 23:36:22 COMPUTER kernel: usb 1-5: reset low-speed USB device number 3 using xhci_hcd
Nov 14 23:36:22 COMPUTER kernel: usb 1-3: reset full-speed USB device number 2 using xhci_hcd
Nov 14 23:36:22 COMPUTER kernel: ata5: failed to resume link (SControl 0)
Nov 14 23:36:22 COMPUTER kernel: ata5: SATA link down (SStatus 0 SControl 0)
Nov 14 23:36:22 COMPUTER kernel: usb 1-6: reset full-speed USB device number 4 using xhci_hcd
Nov 14 23:36:22 COMPUTER kernel: OOM killer enabled.
Nov 14 23:36:22 COMPUTER kernel: Restarting tasks ... done.
Nov 14 23:36:22 COMPUTER kernel: random: crng reseeded on system resumption
Nov 14 23:36:22 COMPUTER kernel: PM: suspend exit
Nov 14 23:36:22 COMPUTER systemd-resolved[1012]: Clock change detected. Flushing caches.
Nov 14 23:36:23 COMPUTER kernel: audit: type=1400 audit(1700022982.984:333): apparmor="DENIED" operation="open" class="file" profile="snap.keepassxc.keepassxc" name="/sys/devices/pci0000:00/0000:00:01.2/0000:02:00>
Nov 14 23:36:23 COMPUTER kernel: audit: type=1400 audit(1700022982.984:334): apparmor="DENIED" operation="open" class="file" profile="snap.keepassxc.keepassxc" name="/sys/devices/pci0000:00/0000:00:01.2/0000:02:00>
Nov 14 23:36:23 COMPUTER kernel: audit: type=1400 audit(1700022982.984:335): apparmor="DENIED" operation="open" class="file" profile="snap.keepassxc.keepassxc" name="/sys/devices/pci0000:00/0000:00:01.2/0000:02:00>
Nov 14 23:36:23 COMPUTER kernel: audit: type=1400 audit(1700022982.984:336): apparmor="DENIED" operation="open" class="file" profile="snap.keepassxc.keepassxc" name="/sys/devices/pci0000:00/0000:00:01.2/0000:02:00>
Nov 14 23:36:23 COMPUTER kernel: audit: type=1400 audit(1700022982.984:337): apparmor="DENIED" operation="open" class="file" profile="snap.keepassxc.keepassxc" name="/sys/devices/pci0000:00/0000:00:01.2/0000:02:00>
Nov 14 23:36:23 COMPUTER kernel: audit: type=1400 audit(1700022982.984:338): apparmor="DENIED" operation="open" class="file" profile="snap.keepassxc.keepassxc" name="/sys/devices/pci0000:00/0000:00:01.2/0000:02:00>
Nov 14 23:36:22 COMPUTER audit[6398]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.keepassxc.keepassxc" name="/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-5/busnum" pid=6398 comm=">
Nov 14 23:36:22 COMPUTER audit[6398]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.keepassxc.keepassxc" name="/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-3/busnum" pid=6398 comm=">
Nov 14 23:36:22 COMPUTER audit[6398]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.keepassxc.keepassxc" name="/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-5/busnum" pid=6398 comm=">
Nov 14 23:36:22 COMPUTER audit[6398]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.keepassxc.keepassxc" name="/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-3/busnum" pid=6398 comm=">
Nov 14 23:36:22 COMPUTER audit[6398]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.keepassxc.keepassxc" name="/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/busnum" pid=6398 comm=">
Nov 14 23:36:22 COMPUTER audit[6398]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.keepassxc.keepassxc" name="/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/busnum" pid=6398 comm=">
Nov 14 23:36:22 COMPUTER systemd-sleep[21845]: System returned from sleep state.
Nov 14 23:36:23 COMPUTER systemd-sleep[21961]: /dev/sda:
Nov 14 23:36:23 COMPUTER systemd-sleep[21961]:  setting Advanced Power Management level to 0xfe (254)
Nov 14 23:36:23 COMPUTER systemd-sleep[21961]:  APM_level        = 254
Nov 14 23:36:23 COMPUTER systemd[1]: Starting Message of the Day...
Nov 14 23:36:23 COMPUTER systemd[1]: Starting Daily man-db regeneration...
Nov 14 23:36:23 COMPUTER systemd[1]: motd-news.service: Deactivated successfully.
Nov 14 23:36:23 COMPUTER systemd[1]: Finished Message of the Day.
Nov 14 23:36:23 COMPUTER systemd[1]: man-db.service: Deactivated successfully.
Nov 14 23:36:23 COMPUTER systemd[1]: Finished Daily man-db regeneration.
Nov 14 23:36:23 COMPUTER systemd[1]: systemd-suspend.service: Deactivated successfully.
Nov 14 23:36:23 COMPUTER systemd[1]: Finished System Suspend.
Nov 14 23:36:23 COMPUTER systemd[1]: systemd-suspend.service: Consumed 1.142s CPU time.
Nov 14 23:36:23 COMPUTER systemd[1]: Stopped target Sleep.
Nov 14 23:36:23 COMPUTER systemd[1]: Reached target Suspend.
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got resume for 13:69
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): DFP-0: disconnected
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0):
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): DFP-1: disconnected
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): DFP-1: 2670.0 MHz maximum pixel clock
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0):
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): DFP-2: disconnected
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0):
Nov 14 23:36:23 COMPUTER systemd[1]: Starting NVIDIA system resume actions...
Nov 14 23:36:23 COMPUTER systemd[1]: Stopped target Suspend.
Nov 14 23:36:23 COMPUTER suspend[22019]: nvidia-resume.service
Nov 14 23:36:23 COMPUTER logger[22019]: <13>Nov 14 23:36:23 suspend: nvidia-resume.service
Nov 14 23:36:23 COMPUTER systemd[1]: nvidia-resume.service: Deactivated successfully.
Nov 14 23:36:23 COMPUTER systemd[1]: Finished NVIDIA system resume actions.
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): MONITOR (DFP-3): connected
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): MONITOR (DFP-3): Internal TMDS
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): MONITOR (DFP-3): 600.0 MHz maximum pixel clock
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0):
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): DFP-4: disconnected
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): DFP-4: 2670.0 MHz maximum pixel clock
Nov 14 23:36:23 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0):
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): MONITOR2 (DFP-5): connected
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): MONITOR2 (DFP-5): Internal TMDS
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): MONITOR2 (DFP-5): 165.0 MHz maximum pixel clock
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0):
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) NVIDIA(0): Setting mode "HDMI-1: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DP-3: nvidia-auto-select @1>
Nov 14 23:36:24 COMPUTER systemd-logind[1205]: Operation 'sleep' finished.
Nov 14 23:36:24 COMPUTER audit[1154]: USER_AVC pid=1154 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface=>
                                    exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
Nov 14 23:36:24 COMPUTER ModemManager[1242]: <info>  [sleep-monitor-systemd] system is resuming
Nov 14 23:36:24 COMPUTER NetworkManager[1347]: <info>  [1700022984.1279] manager: sleep: wake requested (sleeping: yes  enabled: yes)
Nov 14 23:36:24 COMPUTER NetworkManager[1347]: <info>  [1700022984.1280] device (enp5s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Nov 14 23:36:24 COMPUTER kernel: audit: type=1107 audit(1700022984.124:339): pid=1154 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/>
                               exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
Nov 14 23:36:24 COMPUTER kernel: rfkill: input handler disabled
Nov 14 23:36:24 COMPUTER kernel: Generic FE-GE Realtek PHY r8169-0-500:00: attached PHY driver (mii_bus:phy_addr=r8169-0-500:00, irq=MAC)
Nov 14 23:36:24 COMPUTER acpid[1142]: client 2495[1000:1000] has disconnected
Nov 14 23:36:24 COMPUTER acpid[1142]: client connected from 2495[1000:1000]
Nov 14 23:36:24 COMPUTER acpid[1142]: 1 client rule loaded
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event5  - Razer Razer DeathAdder V2: is tagged by udev as: Mouse
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event5  - Razer Razer DeathAdder V2: device is a pointer
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got resume for 13:68
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event4  - Logitech USB Keyboard System Control: is tagged by udev as: Keyboard
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event4  - Logitech USB Keyboard System Control: device is a keyboard
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got resume for 13:65
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event1  - Power Button: is tagged by udev as: Keyboard
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event1  - Power Button: device is a keyboard
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got resume for 13:67
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event3  - Logitech USB Keyboard Consumer Control: is tagged by udev as: Keyboard
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event3  - Logitech USB Keyboard Consumer Control: device is a keyboard
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got resume for 13:72
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event8  - Razer Razer DeathAdder V2: is tagged by udev as: Keyboard
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event8  - Razer Razer DeathAdder V2: device is a keyboard
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got resume for 13:64
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event0  - Power Button: is tagged by udev as: Keyboard
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event0  - Power Button: device is a keyboard
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got resume for 13:70
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event6  - Razer Razer DeathAdder V2 Keyboard: is tagged by udev as: Keyboard
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event6  - Razer Razer DeathAdder V2 Keyboard: device is a keyboard
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) systemd-logind: got resume for 13:66
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event2  - Logitech USB Keyboard: is tagged by udev as: Keyboard
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (II) event2  - Logitech USB Keyboard: device is a keyboard
Nov 14 23:36:24 COMPUTER NetworkManager[1347]: <info>  [1700022984.3595] manager: NetworkManager state is now DISCONNECTED
Nov 14 23:36:24 COMPUTER kernel: r8169 0000:05:00.0 enp5s0: Link is Down
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): MONITOR (DFP-3): connected
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): MONITOR (DFP-3): Internal TMDS
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): MONITOR (DFP-3): 600.0 MHz maximum pixel clock
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0):
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): MONITOR (DFP-3): connected
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): MONITOR (DFP-3): Internal TMDS
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0): MONITOR (DFP-3): 600.0 MHz maximum pixel clock
Nov 14 23:36:24 COMPUTER /usr/libexec/gdm-x-session[2495]: (--) NVIDIA(GPU-0):
Nov 14 23:36:26 COMPUTER ModemManager[1242]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.2/0000:03:09.0/0000:05:00.0': not supported by any plugin
Nov 14 23:36:27 COMPUTER dbus-daemon[1154]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested by ':1.107' (uid=1000 pid=2628 comm="/usr/bin/gnome-shell " label>
Nov 14 23:36:27 COMPUTER systemd[1]: Starting Fingerprint Authentication Daemon...
Nov 14 23:36:27 COMPUTER dbus-daemon[1154]: [system] Successfully activated service 'net.reactivated.Fprint'
Nov 14 23:36:27 COMPUTER systemd[1]: Started Fingerprint Authentication Daemon.
Nov 14 23:36:27 COMPUTER gnome-shell[2628]: JS ERROR: Failed to initialize fprintd service: Gio.IOErrorEnum: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available
                                         asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:114:23
Nov 14 23:36:27 COMPUTER kernel: r8169 0000:05:00.0 enp5s0: Link is Up - 1Gbps/Full - flow control off
Nov 14 23:36:27 COMPUTER kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp5s0: link becomes ready
...

答案1

第一步是在时间流中放置一个图钉

date '+%y-%m-%d %H:%M:%S' >pin.tmp

然后,执行暂停操作。当您的系统再次可用时,

sudo journalctl  --since="$(cat pin.tmp)"

这将显示自您设置以来的所有日志消息pin.tmp

答案2

检查您的 BIOS 是否是最新的。如果不是,请更新它。

当前版本看起来是 F17c:

https://www.gigabyte.com/Motherboard/B550-GAMING-X-V2-rev-10-11-12/support#support-dl-bios

答案3

因此,无需更改任何软件或软件配置,我得到了一个新主板,一个MSI B550M-PRO-VDH WIFI,换掉了我的Gigabyte 550 Gaming V2 rev 1.3,现在睡眠/挂起功能就可以了!

相关内容