You are not logged in.

#1 2020-02-01 14:14:40

Anon_a
Member
Registered: 2020-02-01
Posts: 22

Freeze on suspend resume with nvidia driver

Installed arch on a dell xps 9570 with gnome, xf86-video-intel, nvidia and nvidia-prime for Optimus to work and I've blacklisted the Nouveau drivers to get gdm to launch at boot with xorg-server.
Everything seems to work as expected until I lock the device to gdm and try to suspend from the pause button, then the system freezes. Repeating this in another tty with "systemctl suspend" causes the same problem, but only if gdm or gnome-shell is running.
Pressing any key after a suspend causes the screen to blink to the login screen, then go black and then become unresponsive, using sysrq shortcut or ctrl-alt-del 7 times - I always use both - allows me to reboot after about 3 minutes and trying to switch to another tty does not work and the screen stays black.
Removing the nvidia driver and only allowing the xf86-video-intel driver fixes the problem and the system is capable of resuming after suspend from gdm or the tty, so I'm wondering if I'm missing some config that needs to load the nvidia driver after resume since it gets disabled during suspend, or might this be a kernel problem?

I've searched for previous cases and there did seem to be a similar problem with the linux 5.4.3 kernel, I'm currently running linux 5.4.15.arch1-1. Is there other methods I can use to identify the problem since I have only tried dmesg and journalctl. I'm really new to logs and Linux in general so if there's any other logs or output I can look at please let me know.

Here's the error logs from journalctl from before the freeze using

journalctl -b-1 -p4
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) systemd-logind: releasing fd for 13:76
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[656]: (II) UnloadModule: "libinput"
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[656]: (II) systemd-logind: releasing fd for 13:65
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) UnloadModule: "libinput"
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) systemd-logind: releasing fd for 13:69
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[656]: (II) UnloadModule: "libinput"
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[656]: (II) systemd-logind: releasing fd for 13:73
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) UnloadModule: "libinput"
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) systemd-logind: releasing fd for 13:81
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[656]: (II) UnloadModule: "libinput"
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[656]: (II) systemd-logind: releasing fd for 13:72
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) UnloadModule: "libinput"
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) systemd-logind: releasing fd for 13:66
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) UnloadModule: "libinput"
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) systemd-logind: releasing fd for 13:65
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) UnloadModule: "libinput"
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) systemd-logind: releasing fd for 13:73
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[656]: (II) UnloadModule: "libinput"
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[656]: (II) systemd-logind: releasing fd for 13:67
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) UnloadModule: "libinput"
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) systemd-logind: releasing fd for 13:72
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) UnloadModule: "libinput"
Feb 01 15:09:57 Arch /usr/lib/gdm-x-session[916]: (II) systemd-logind: releasing fd for 13:67
Feb 01 15:10:00 Arch /usr/lib/gdm-x-session[656]: (EE) NVIDIA(GPU-0): WAIT (2, 8, 0x8000, 0x0000d0c8, 0x0000d0d0)
Feb 01 15:10:00 Arch /usr/lib/gdm-x-session[916]: (EE) NVIDIA(GPU-0): WAIT (2, 8, 0x8000, 0x000095a0, 0x000095a8)
Feb 01 15:10:07 Arch /usr/lib/gdm-x-session[656]: (EE) NVIDIA(GPU-0): WAIT (1, 8, 0x8000, 0x0000d0c8, 0x0000d0d0)
Feb 01 15:10:07 Arch /usr/lib/gdm-x-session[916]: (EE) NVIDIA(GPU-0): WAIT (1, 8, 0x8000, 0x000095a0, 0x000095a8)
Feb 01 15:10:10 Arch /usr/lib/gdm-x-session[656]: (EE) NVIDIA(GPU-0): WAIT (2, 8, 0x8000, 0x0000d0c8, 0x0000d0d8)
Feb 01 15:10:10 Arch /usr/lib/gdm-x-session[916]: (EE) NVIDIA(GPU-0): WAIT (2, 8, 0x8000, 0x000095a0, 0x000095b0)
Feb 01 15:10:17 Arch /usr/lib/gdm-x-session[656]: (EE) NVIDIA(GPU-0): WAIT (1, 8, 0x8000, 0x0000d0c8, 0x0000d0d8)
Feb 01 15:10:17 Arch /usr/lib/gdm-x-session[916]: (EE) NVIDIA(GPU-0): WAIT (1, 8, 0x8000, 0x000095a0, 0x000095b0)
Feb 01 15:10:20 Arch /usr/lib/gdm-x-session[656]: (EE) NVIDIA(GPU-0): WAIT (2, 8, 0x8000, 0x0000d0c8, 0x0000d0e8)
Feb 01 15:10:20 Arch /usr/lib/gdm-x-session[916]: (EE) NVIDIA(GPU-0): WAIT (2, 8, 0x8000, 0x000095a0, 0x000095c0)
Feb 01 15:10:27 Arch /usr/lib/gdm-x-session[656]: (EE) NVIDIA(GPU-0): WAIT (1, 8, 0x8000, 0x0000d0c8, 0x0000d0e8)
Feb 01 15:10:27 Arch /usr/lib/gdm-x-session[656]: (II) NVIDIA(GPU-0): Deleting GPU-0
Feb 01 15:10:27 Arch /usr/lib/gdm-x-session[656]: (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
Feb 01 15:10:27 Arch /usr/lib/gdm-x-session[656]: (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
Feb 01 15:10:27 Arch /usr/lib/gdm-x-session[656]: (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
Feb 01 15:10:27 Arch /usr/lib/gdm-x-session[656]: (II) Server terminated successfully (0). Closing log file.
Feb 01 15:10:27 Arch /usr/lib/gdm-x-session[916]: (EE) NVIDIA(GPU-0): WAIT (1, 8, 0x8000, 0x000095a0, 0x000095c0)
Feb 01 15:10:35 Arch /usr/lib/gdm-x-session[916]: (II) NVIDIA(GPU-0): Deleting GPU-0
Feb 01 15:10:35 Arch /usr/lib/gdm-x-session[916]: (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
Feb 01 15:10:35 Arch /usr/lib/gdm-x-session[916]: (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
Feb 01 15:10:35 Arch /usr/lib/gdm-x-session[916]: (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
Feb 01 15:10:35 Arch /usr/lib/gdm-x-session[916]: (II) Server terminated successfully (0). Closing log file.
Feb 01 15:10:35 Arch kernel: kauditd_printk_skb: 7 callbacks suppressed
Feb 01 15:10:36 Arch wpa_supplicant[648]: dbus: wpa_dbus_property_changed: no property SessionLength in object /fi/w1/wpa_supplicant1/Interfaces/1
Feb 01 15:10:36 Arch kernel: watchdog: watchdog0: watchdog did not stop!

Also found in the full journalctl

Jan 31 21:29:01 Arch kernel: nvidia 0000:01:00.0: Refused to change power state, currently in D3

Last edited by Anon_a (2020-02-01 18:03:40)

Offline

#2 2020-02-01 15:05:32

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Freeze on suspend resume with nvidia driver

Welcome to the forums Anon_a smile

Please can you edit your post to use [⁣code] [⁣code] tags instead of quotes.
CoC - Pasting pictures and code

Thanks.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2021-02-05 07:50:33

viocost
Member
Registered: 2020-07-05
Posts: 1

Re: Freeze on suspend resume with nvidia driver

Having exactly same issue, no solution so far...

Offline

#4 2021-02-05 11:20:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,624

Offline

Board footer

Powered by FluxBB