Applications running on GPU stuck after resume

I’m having issues with applications running on my GPU (GeForce GTX 950M) getting stuck after I resume from suspend. The window is completely black and the application becomes unresponsive.

I’ve had this happen before with games, but also more recently with Neovide (see this issue). It also happens with the vkcube test application.

I hope this gives all the relevant driver information, but if you are wondering about anything, please let me know.

System info
$ inxi --admin --verbosity=7 --filter --no-host --width
System:
Kernel: 5.4.105-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
root=UUID=9070f3a5-1ea8-4ea8-9075-29604617a3a9 rw quiet udev.log_priority=3 
pci=noaer 
Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 
dm: SDDM Distro: Manjaro Linux base: Arch Linux 
Machine:
Type: Laptop System: HP product: HP Pavilion Gaming Notebook 
v: Type1ProductConfigId serial: <filter> Chassis: type: 10 serial: <filter> 
Mobo: HP model: 816B v: 91.1E serial: <filter> UEFI: Insyde v: F.91 
date: 08/20/2019 
Battery:
ID-1: BAT0 charge: 7.6 Wh (100.0%) condition: 7.6/7.6 Wh (100.0%) 
volts: 16.7 min: 14.8 model: Hewlett-Packard Primary type: Li-ion 
serial: N/A status: Charging 
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: <filter> 
charge: 55% (should be ignored) rechargeable: yes status: Discharging 
Memory:
RAM: total: 15.48 GiB used: 4.53 GiB (29.2%) 
RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
Info: Quad Core model: Intel Core i7-6700HQ bits: 64 type: MT MCP 
arch: Skylake-S family: 6 model-id: 5E (94) stepping: 3 microcode: E2 cache: 
L2: 6 MiB bogomips: 41621 
Speed: 1579 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 1579 2: 1962 
3: 1862 4: 1657 5: 1825 6: 1677 7: 1714 8: 1948 
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_perfmon art 
avx avx2 bmi1 bmi2 bts clflush clflushopt cmov constant_tsc cpuid 
cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est 
f16c flexpriority flush_l1d fma fpu fsgsbase fxsr hle ht hwp hwp_act_window 
hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid invpcid_single lahf_lm lm 
mca mce md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx pae pat 
pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts 
rdrand rdseed rdtscp rep_good rtm sdbg sep smap smep ss ssbd sse sse2 sse4_1 
sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust 
tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt 
xsaves xtopology xtpr 
Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
Type: l1tf 
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
Type: meltdown mitigation: PTI 
Type: spec_store_bypass 
mitigation: Speculative Store Bypass disabled via prctl and seccomp 
Type: spectre_v1 
mitigation: usercopy/swapgs barriers and __user pointer sanitization 
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
IBRS_FW, STIBP: conditional, RSB filling 
Type: srbds mitigation: Microcode 
Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable 
Graphics:
Device-1: Intel HD Graphics 530 vendor: Hewlett-Packard driver: i915 
v: kernel bus-ID: 00:02.0 chip-ID: 8086:191b class-ID: 0300 
Device-2: NVIDIA GM107M [GeForce GTX 950M] vendor: Hewlett-Packard 
driver: nvidia v: 460.56 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 
chip-ID: 10de:139a class-ID: 0302 
Device-3: Intel Intel RealSense 3D Camera (Front F200) type: USB 
driver: uvcvideo bus-ID: 2-3:2 chip-ID: 8086:0a66 class-ID: 0e02 
serial: <filter> 
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: 
loaded: modesetting,nvidia alternate: fbdev,intel,nouveau,nv,vesa 
display-ID: :0 screens: 1 
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
s-diag: 582mm (22.9") 
Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") 
diag: 395mm (15.5") 
OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 20.3.4 
direct render: Yes 
Audio:
Device-1: Intel 100 Series/C230 Series Family HD Audio 
vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 
chip-ID: 8086:a170 class-ID: 0403 
Sound Server-1: ALSA v: k5.4.105-1-MANJARO running: yes 
Sound Server-2: JACK v: 0.125.0 running: no 
Sound Server-3: PulseAudio v: 14.2 running: yes 
Sound Server-4: PipeWire v: 0.3.23 running: no 
Network:
Device-1: Realtek RTL8723BE PCIe Wireless Network Adapter 
vendor: Hewlett-Packard driver: rtl8723be v: kernel port: 4000 
bus-ID: 08:00.0 chip-ID: 10ec:b723 class-ID: 0280 
IF: wlo1 state: up mac: <filter> 
IP v4: <filter> type: dynamic noprefixroute scope: global 
broadcast: <filter> 
IP v6: <filter> type: noprefixroute scope: link 
Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard 
driver: r8169 v: kernel port: 3000 bus-ID: 09:00.0 chip-ID: 10ec:8136 
class-ID: 0200 
IF: eno1 state: down mac: <filter> 
IF-ID-1: anbox0 state: up speed: N/A duplex: N/A mac: <filter> 
IP v4: <filter> scope: global 
IP v6: <filter> scope: link 
IF-ID-2: vethfc8NHd state: up speed: 10000 Mbps duplex: full mac: <filter> 
WAN IP: <filter> 
Bluetooth:
Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 
bus-ID: 1-7:3 chip-ID: 0bda:b006 class-ID: e001 serial: <filter> 
Report: This feature requires one of these tools: hciconfig/bt-adapter 
Logical:
Message: No LVM data was found. 
RAID:
Message: No RAID data was found. 
Drives:
Local Storage: total: 1.03 TiB used: 831.89 GiB (79.2%) 
SMART Message: Unable to run smartctl. Root privileges required. 
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: MZNLF128HCHP-000H1 
size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
rotation: SSD serial: <filter> rev: 1H1Q scheme: GPT 
ID-2: /dev/sdb maj-min: 8:16 vendor: Toshiba model: MQ01ABD100 
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
rotation: 5400 rpm serial: <filter> rev: 2C scheme: GPT 
Optical-1: /dev/sr0 vendor: hp model: DVDRW GUD1N rev: MD00 dev-links: cdrom 
Features: speed: 24 multisession: yes audio: yes dvd: yes 
rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
ID-1: / raw-size: 61.13 GiB size: 60.05 GiB (98.23%) used: 53.73 GiB (89.5%) 
fs: ext4 dev: /dev/sda5 maj-min: 8:5 label: N/A 
uuid: 9070f3a5-1ea8-4ea8-9075-29604617a3a9 
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) 
used: 79 MiB (30.9%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: SYSTEM 
uuid: 4C69-DF61 
ID-3: /home/data raw-size: 848.8 GiB size: 848.8 GiB (100.00%) 
used: 731.17 GiB (86.1%) fs: ntfs dev: /dev/sdb1 maj-min: 8:17 label: DATA 
uuid: A4F26A3FF26A1638 
ID-4: /home/stack raw-size: 14.65 GiB size: 14.36 GiB (98.01%) 
used: 3.66 GiB (25.5%) fs: ext4 dev: /dev/sdb4 maj-min: 8:20 label: Stack 
uuid: c7da47df-5f03-4215-881e-072a05d77a9c 
ID-5: /run/media/cdfa/WINDOWS raw-size: 55.99 GiB size: 55.99 GiB (100.00%) 
used: 43.26 GiB (77.3%) fs: ntfs dev: /dev/sda3 maj-min: 8:3 label: WINDOWS 
uuid: B078A44A78A41160 
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
ID-1: swap-1 type: file size: 256 MiB used: 130.4 MiB (50.9%) priority: 50 
file: /var/lib/systemd-swap/swapfc/1 
ID-2: swap-2 type: file size: 256 MiB used: 0 KiB (0.0%) priority: 49 
file: /var/lib/systemd-swap/swapfc/2 
Unmounted:
ID-1: /dev/sda2 maj-min: 8:2 size: 128 MiB fs: <superuser required> 
label: N/A uuid: N/A 
ID-2: /dev/sda4 maj-min: 8:4 size: 1.74 GiB fs: ntfs label: N/A 
uuid: 1EFADA78FADA4C21 
ID-3: /dev/sdb2 maj-min: 8:18 size: 15.55 GiB fs: ntfs label: RECOVERY 
uuid: 58A26C77A26C5C0E
ID-4: /dev/sdb3 maj-min: 8:19 size: 47.63 GiB fs: ext4 label: BACKUP
uuid: b63deb20-3994-426c-ba9b-1cdcc5786a7c
ID-5: /dev/sdb5 maj-min: 8:21 size: 4.88 GiB fs: swap label: Swap
uuid: 51a6eef4-e7fa-4004-9def-290a915f1c06
USB:
Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 16 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-2:2 info: Logitech Unifying Receiver type: Keyboard,Mouse
driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
power: 98mA chip-ID: 046d:c534 class-ID: 0301
Device-2: 1-7:3 info: Realtek Bluetooth Radio type: Bluetooth driver: btusb
interfaces: 2 rev: 2.1 speed: 12 Mb/s power: 500mA chip-ID: 0bda:b006
class-ID: e001 serial: <filter>
Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 8 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Device-1: 2-3:2 info: Intel Intel RealSense 3D Camera (Front F200)
type: Video driver: uvcvideo interfaces: 5 rev: 3.0 speed: 5 Gb/s
power: 440mA chip-ID: 8086:0a66 class-ID: 0e02 serial: <filter>
Sensors:
System Temperatures: cpu: 53.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 309 Uptime: 35m wakeups: 5 Init: systemd v: 247 tool: systemctl
Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: 1804 nix-default: 42
nix-sys: 0 nix-usr: 217 lib: 28 pacman: 1543 lib: 393 flatpak: 0 snap: 2
Shell: fish v: 3.1.2 running-in: konsole inxi: 3.3.03

I have the same issue using the video-linux driver. My laptop is a HP Pavilion 15-ak113na.

:+1: Welcome to Manjaro! :+1:

  1. For the future,, please read this:
    How to provide good information
    and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…

  2. For the future,, an inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)

  3. Funny as this happened to me earlier today: I left Wesnoth running while doing something else and had the exact same issue.
    Having said the above, most gamers don’t hibernate their games, except accidentally like me today, so the only recourse you have is to file a bug and hope the application maintainer gives it the attention it requires, because the answer is probably going to be: Don’t hibernate your game.

:sob:

P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU or Kernel, … you have without typing it every time

Hi Fabby, thanks for the help! Regarding

  1. I would like to provide more information, but I don’t really know where to start looking. Maybe some graphics card driver logs somewhere?

  2. Added the info in the original post

  3. I don’t hibernate my games much either, but Neovide is a front-end for Vim and I regularly hibernate leaving my editors open. You might wonder why use my GPU for this and I agree that it isn’t really necessary, but I don’t know the motivations of the dev. I tried to debug it with the dev, but it doesn’t seem like he can do much about it since it happens even with the simplest applications like vkcube. Really a Nvidia+linux issue.

I added some more info to my profile, but for some things that get updated regularly I think it’s to much work updating the version numbers every time. I don’t post much anyway :slight_smile:

  1. No worries because of #3
  2. That all looks good except for swap, but I like contiguous swap instead of chunked swap and it will have no repercissions on your existing issue anyway.
  3. If even de dev can’t figure it out, we certainly won’t, so the answer is: stop using your editors on the graphics card.

:sob: