You are not logged in.
Hello. I didn't use the option to save video memory during hibernation or suspension before, but decided to give it a try because of discord app crashes.
Yes it stopped discord crashes, but caused one more pesky issue - the system won't autologin on tty1 after hibernation anymore. Suspension works fine, initial autologin is also fine. The system works though. I can log in on tty2 for example.
My setup for nvidia:
enabled nvidia-suspend.service and nvidia-hibernate.service
added options in /etc/modprobe.d/nvidia.conf
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp NVreg_UsePageAttributeTable=1The journal output is confusing for me. Around the beginning of boot I see this:
Sep 25 23:33:42 XorS kernel: PM: Image signature found, resuming
Sep 25 23:33:42 XorS kernel: PM: hibernation: resume from hibernation
Sep 25 23:33:42 XorS kernel: random: crng reseeded on system resumption
Sep 25 23:33:42 XorS kernel: Freezing user space processes
Sep 25 23:33:42 XorS kernel: Freezing user space processes completed (elapsed 0.001 seconds)
Sep 25 23:33:42 XorS kernel: OOM killer disabled.
Sep 25 23:33:42 XorS kernel: Freezing remaining freezable tasks
Sep 25 23:33:42 XorS kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
Sep 25 23:33:42 XorS kernel: PM: hibernation: Marking nosave pages: [mem 0x00000000-0x00000fff]
Sep 25 23:33:42 XorS kernel: PM: hibernation: Marking nosave pages: [mem 0x000a0000-0x000fffff]
Sep 25 23:33:42 XorS kernel: PM: hibernation: Marking nosave pages: [mem 0x09d1f000-0x09ffffff]
Sep 25 23:33:42 XorS kernel: PM: hibernation: Marking nosave pages: [mem 0x0a200000-0x0a20dfff]
Sep 25 23:33:42 XorS kernel: PM: hibernation: Marking nosave pages: [mem 0x0b000000-0x0b01ffff]
Sep 25 23:33:42 XorS kernel: PM: hibernation: Marking nosave pages: [mem 0xaef51000-0xaef51fff]
Sep 25 23:33:42 XorS kernel: PM: hibernation: Marking nosave pages: [mem 0xaef70000-0xaef71fff]
Sep 25 23:33:42 XorS kernel: PM: hibernation: Marking nosave pages: [mem 0xaef7e000-0xaef7efff]
Sep 25 23:33:42 XorS kernel: PM: hibernation: Marking nosave pages: [mem 0xc3476000-0xc3476fff]
Sep 25 23:33:42 XorS kernel: PM: hibernation: Marking nosave pages: [mem 0xc64ad000-0xc6519fff]
Sep 25 23:33:42 XorS kernel: PM: hibernation: Marking nosave pages: [mem 0xc8f51000-0xc8f51fff]
Sep 25 23:33:42 XorS kernel: PM: hibernation: Marking nosave pages: [mem 0xca664000-0xcbbfefff]
Sep 25 23:33:42 XorS kernel: PM: hibernation: Marking nosave pages: [mem 0xcd000000-0xffffffff]
Sep 25 23:33:42 XorS kernel: PM: hibernation: Basic memory bitmaps created
Sep 25 23:33:42 XorS kernel: PM: Using 3 thread(s) for decompression
Sep 25 23:33:42 XorS kernel: PM: Loading and decompressing image data (979628 pages)...
Sep 25 23:33:42 XorS kernel: PM: Image loading progress: 0%
Sep 25 23:33:42 XorS kernel: PM: Image loading progress: 10%
Sep 25 23:33:42 XorS kernel: PM: Image loading progress: 20%
Sep 25 23:33:42 XorS kernel: PM: Image loading progress: 30%
Sep 25 23:33:42 XorS kernel: PM: Image loading progress: 40%
Sep 25 23:33:42 XorS kernel: PM: Image loading progress: 50%
Sep 25 23:33:42 XorS kernel: PM: Image loading progress: 60%
Sep 25 23:33:42 XorS kernel: PM: Image loading progress: 70%
Sep 25 23:33:42 XorS kernel: PM: Image loading progress: 80%
Sep 25 23:33:42 XorS kernel: PM: Image loading progress: 90%
Sep 25 23:33:42 XorS kernel: PM: Image loading progress: 100%
Sep 25 23:33:42 XorS kernel: PM: Image loading done
Sep 25 23:33:42 XorS kernel: PM: hibernation: Read 3918512 kbytes in 3.23 seconds (1213.16 MB/s)
Sep 25 23:33:42 XorS kernel: PM: Image successfully loaded
Sep 25 23:33:42 XorS kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Sep 25 23:33:42 XorS kernel: serial 00:04: disabled
Sep 25 23:33:42 XorS kernel: NVRM: GPU 0000:08:00.0: PreserveVideoMemoryAllocations module parameter is set. System Power Mana>
Sep 25 23:33:42 XorS kernel: nvidia 0000:08:00.0: PM: pci_pm_freeze(): nv_pmops_freeze+0x0/0x20 [nvidia] returns -5
Sep 25 23:33:42 XorS kernel: nvidia 0000:08:00.0: PM: dpm_run_callback(): pci_pm_freeze+0x0/0xc0 returns -5
Sep 25 23:33:42 XorS kernel: nvidia 0000:08:00.0: PM: failed to quiesce async: error -5
Sep 25 23:33:42 XorS kernel: serial 00:04: activated
Sep 25 23:33:42 XorS kernel: nvme nvme0: 15/0/0 default/read/poll queues
Sep 25 23:33:42 XorS kernel: nvme nvme0: Ignoring bogus Namespace Identifiers
Sep 25 23:33:42 XorS kernel: PM: hibernation: Failed to load image, recovering.
Sep 25 23:33:42 XorS kernel: nvme nvme1: 16/0/0 default/read/poll queues
Sep 25 23:33:42 XorS kernel: PM: hibernation: Basic memory bitmaps freed
Sep 25 23:33:42 XorS kernel: OOM killer enabled.
Sep 25 23:33:42 XorS kernel: Restarting tasks ... done.
Sep 25 23:33:42 XorS kernel: PM: hibernation: resume failed (-5)And a bit before I login into tty2 I see this:
Sep 25 22:22:29 XorS systemd-logind[644]: New session 6 of user jastix.
Sep 25 22:22:29 XorS systemd[1]: Started Session 6 of User jastix.
Sep 25 22:22:29 XorS login[894]: LOGIN ON tty1 BY jastix
Sep 25 22:22:29 XorS systemd[1]: Finished Virtual Console Setup.
Sep 25 22:22:29 XorS login[894]: pam_unix(login:session): session closed for user jastix
Sep 25 22:22:29 XorS systemd[1]: getty@tty1.service: Deactivated successfully.
Sep 25 22:22:29 XorS systemd[1]: session-6.scope: Deactivated successfully.
Sep 25 22:22:29 XorS systemd-logind[644]: Session 6 logged out. Waiting for processes to exit.
Sep 25 22:22:29 XorS systemd[1]: getty@tty1.service: Scheduled restart job, restart counter is at 5.
Sep 25 22:22:29 XorS systemd[1]: Started Getty on tty1.
Sep 25 22:22:29 XorS systemd-logind[644]: Removed session 6.
Sep 25 22:22:29 XorS dbus-daemon[639]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.fr>
Sep 25 22:22:29 XorS dbus-daemon[639]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': U>
Sep 25 22:22:29 XorS login[914]: pam_unix(login:session): session opened for user jastix(uid=1000) by jastix(uid=0)
Sep 25 22:22:29 XorS systemd-logind[644]: New session 7 of user jastix.
Sep 25 22:22:29 XorS systemd[1]: Started Session 7 of User jastix.
Sep 25 22:22:29 XorS login[914]: LOGIN ON tty1 BY jastix
Sep 25 22:22:29 XorS login[914]: pam_unix(login:session): session closed for user jastix
Sep 25 22:22:29 XorS systemd[1]: getty@tty1.service: Deactivated successfully.
Sep 25 22:22:29 XorS systemd[1]: session-7.scope: Deactivated successfully.
Sep 25 22:22:29 XorS systemd-logind[644]: Session 7 logged out. Waiting for processes to exit.
Sep 25 22:22:29 XorS systemd[1]: getty@tty1.service: Scheduled restart job, restart counter is at 6.
Sep 25 22:22:29 XorS systemd[1]: Started Getty on tty1.
Sep 25 22:22:29 XorS systemd-logind[644]: Removed session 7.
Sep 25 22:22:29 XorS dbus-daemon[639]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.fr>
Sep 25 22:22:29 XorS dbus-daemon[639]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': U>
Sep 25 22:22:29 XorS login[924]: pam_unix(login:session): session opened for user jastix(uid=1000) by jastix(uid=0)
Sep 25 22:22:29 XorS systemd-logind[644]: New session 8 of user jastix.
Sep 25 22:22:29 XorS systemd[1]: Started Session 8 of User jastix.
Sep 25 22:22:29 XorS login[924]: LOGIN ON tty1 BY jastix
Sep 25 22:22:29 XorS login[924]: pam_unix(login:session): session closed for user jastix
Sep 25 22:22:29 XorS systemd[1]: getty@tty1.service: Deactivated successfully.
Sep 25 22:22:29 XorS systemd[1]: session-8.scope: Deactivated successfully.
Sep 25 22:22:29 XorS systemd-logind[644]: Session 8 logged out. Waiting for processes to exit.
Sep 25 22:22:29 XorS systemd[1]: getty@tty1.service: Scheduled restart job, restart counter is at 7.
Sep 25 22:22:29 XorS systemd[1]: getty@tty1.service: Start request repeated too quickly.
Sep 25 22:22:29 XorS systemd[1]: getty@tty1.service: Failed with result 'start-limit-hit'.
Sep 25 22:22:29 XorS systemd[1]: Failed to start Getty on tty1.Maybe anyone has any ideas, what am I doing wrong?
Last edited by Jastix (2023-09-25 22:30:56)
Offline
Offline
Thanks, it works! I searched for the solution on this forum before posting, but seems I heavily failed.
Offline