System completely freezes during a game
Multitude9898 Jan 29, 2023
I've been playing Elite Dangerous through steam proton (experimental). Once started, the game works completely fine without any issues, however after a few minutes of play (maybe like 10), the game suddenly causes my whole system to completely freeze. I'm not able to switch to another TTY, nor do anything in the system, and I just need to restart it with the power button.

System info:
OS, kernel: Arch Linux 6.1.8.arch1-1
WM: Hyprland (Wayland, wlroots based), though I can replicate this on sway too (also wlroots based)
GPU: Integrated AMD Radeon graphics (AMD ATI 05:00.0 Renoir)
CPU: AMD Ryzen 5 4600H with Radeon Graphics (12) @ 3.000GHz

These were the last log entries in system journal:
 
Jan 29 02:13:58.868093 pc kernel: BUG: kernel NULL pointer dereference, address: 0000000000000038
Jan 29 02:13:58.882548 pc kernel: #PF: supervisor read access in kernel mode
Jan 29 02:13:58.883889 pc kernel: #PF: error_code(0x0000) - not-present page
Jan 29 02:13:58.884595 pc kernel: PGD 2123a1067 P4D 2123a1067 PUD 1b3b90067 PMD 1cf2c2067 PTE 0
Jan 29 02:13:58.885256 pc kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
Jan 29 02:13:58.886011 pc kernel: CPU: 4 PID: 2967140 Comm: dxvk-submit Not tainted 6.1.8-arch1-1 #1 d43e9bdcfe4ce09800bbe1da2a184cb293bc3e00
Jan 29 02:13:58.886090 pc kernel: Hardware name: LENOVO 82EY/LNVNB161216, BIOS FCCN19WW 05/30/2022
Jan 29 02:13:58.886383 pc kernel: RIP: 0010:ttm_resource_del_bulk_move+0x78/0xe0 [ttm]
Jan 29 02:13:58.886417 pc kernel: Code: 74 69 48 39 ef 74 56 4c 8d 67 38 4c 8d 75 38 4c 89 e7 e8 bb f5 8d cd 84 c0 74 0f 48 8b 53 38 48 8b 43 40 48 89 42 08 48 89 10 <4c> 8b 6d 38 4c 89 f6 4c 89 e7 4c 89 ea e8 f6 f4 8d cd 84 c0 74 10
Jan 29 02:13:58.886439 pc kernel: RSP: 0018:ffffa5dac3607788 EFLAGS: 00010202
Jan 29 02:13:58.886459 pc kernel: RAX: ffff99e145fef038 RBX: ffff99e15ae76420 RCX: ffff99e145fef038
Jan 29 02:13:58.886481 pc kernel: RDX: ffff99e15ae76518 RSI: ffff99e15ae76458 RDI: ffff99e15ae76458
Jan 29 02:13:58.886501 pc kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
Jan 29 02:13:58.886523 pc kernel: R10: 0000000000000004 R11: 0000000000000000 R12: ffff99e15ae76458
Jan 29 02:13:58.886543 pc kernel: R13: 0000000000000001 R14: 0000000000000038 R15: ffff99e105c65ee0
Jan 29 02:13:58.886562 pc kernel: FS:  000000006166f6c0(0000) GS:ffff99e3ff700000(0000) knlGS:000000007fd60000
Jan 29 02:13:58.886585 pc kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 29 02:13:58.886609 pc kernel: CR2: 0000000000000038 CR3: 0000000279fc6000 CR4: 0000000000350ee0
Jan 29 02:13:58.886640 pc kernel: Call Trace:
Jan 29 02:13:58.886686 pc kernel:  <TASK>
Jan 29 02:13:58.887011 pc kernel:  ttm_resource_free+0x35/0x80 [ttm 19955747bca09643503bc2483cca0d55e6bc867a]
Jan 29 02:13:58.887039 pc kernel:  ttm_bo_move_accel_cleanup+0xad/0x260 [ttm 19955747bca09643503bc2483cca0d55e6bc867a]
Jan 29 02:13:58.887058 pc kernel:  amdgpu_bo_move+0x607/0x6d0 [amdgpu d9bd2501a0faa94a31b069749045b1da1819b1e6]
Jan 29 02:13:58.887077 pc kernel:  ttm_bo_handle_move_mem+0xb8/0x170 [ttm 19955747bca09643503bc2483cca0d55e6bc867a]
Jan 29 02:13:58.887099 pc kernel:  ttm_mem_evict_first+0x218/0x4d0 [ttm 19955747bca09643503bc2483cca0d55e6bc867a]
Jan 29 02:13:58.887116 pc kernel:  ttm_bo_mem_space+0x1cd/0x220 [ttm 19955747bca09643503bc2483cca0d55e6bc867a]
Jan 29 02:13:58.887134 pc kernel:  ttm_bo_validate+0xbf/0x160 [ttm 19955747bca09643503bc2483cca0d55e6bc867a]
Jan 29 02:13:58.887151 pc kernel:  amdgpu_cs_bo_validate+0x98/0x280 [amdgpu d9bd2501a0faa94a31b069749045b1da1819b1e6]
Jan 29 02:13:58.887177 pc kernel:  ? amdgpu_ring_init_mqd+0x170/0x170 [amdgpu d9bd2501a0faa94a31b069749045b1da1819b1e6]
Jan 29 02:13:58.887196 pc kernel:  amdgpu_vm_validate_pt_bos+0x6b/0x1d0 [amdgpu d9bd2501a0faa94a31b069749045b1da1819b1e6]
Jan 29 02:13:58.887237 pc kernel:  ? ttm_eu_reserve_buffers+0xc2/0x2f0 [ttm 19955747bca09643503bc2483cca0d55e6bc867a]
Jan 29 02:13:58.887258 pc kernel:  amdgpu_cs_ioctl+0x106d/0x1f40 [amdgpu d9bd2501a0faa94a31b069749045b1da1819b1e6]
Jan 29 02:13:58.887276 pc kernel:  ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu d9bd2501a0faa94a31b069749045b1da1819b1e6]
Jan 29 02:13:58.887295 pc kernel:  drm_ioctl_kernel+0xcd/0x170
Jan 29 02:13:58.887319 pc kernel:  drm_ioctl+0x1eb/0x450
Jan 29 02:13:58.887427 pc kernel:  ? amdgpu_cs_find_mapping+0x110/0x110 [amdgpu d9bd2501a0faa94a31b069749045b1da1819b1e6]
Jan 29 02:13:58.887449 pc kernel:  amdgpu_drm_ioctl+0x4e/0x90 [amdgpu d9bd2501a0faa94a31b069749045b1da1819b1e6]
Jan 29 02:13:58.887471 pc kernel:  __x64_sys_ioctl+0x94/0xd0
Jan 29 02:13:58.887493 pc kernel:  do_syscall_64+0x5f/0x90
Jan 29 02:13:58.887513 pc kernel:  ? do_syscall_64+0x6b/0x90
Jan 29 02:13:58.887532 pc kernel:  ? do_syscall_64+0x6b/0x90
Jan 29 02:13:58.887558 pc kernel:  ? syscall_exit_to_user_mode+0x1b/0x40
Jan 29 02:13:58.887578 pc kernel:  ? do_syscall_64+0x6b/0x90
Jan 29 02:13:58.887597 pc kernel:  ? exc_page_fault+0x74/0x170
Jan 29 02:13:58.887617 pc kernel:  entry_SYSCALL_64_after_hwframe+0x63/0xcd
Jan 29 02:13:58.887634 pc kernel: RIP: 0033:0x7fea52e79ecf
Jan 29 02:13:58.887653 pc kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
Jan 29 02:13:58.887674 pc kernel: RSP: 002b:000000006166d630 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jan 29 02:13:58.887697 pc kernel: RAX: ffffffffffffffda RBX: 00007fea34da6b68 RCX: 00007fea52e79ecf
Jan 29 02:13:58.887718 pc kernel: RDX: 000000006166d6f0 RSI: 00000000c0186444 RDI: 000000000000007e
Jan 29 02:13:58.887738 pc kernel: RBP: 000000006166d6f0 R08: 000000006166d840 R09: 000000006166d6d0
Jan 29 02:13:58.887756 pc kernel: R10: 00007fea34f02fb0 R11: 0000000000000246 R12: 00000000c0186444
Jan 29 02:13:58.887774 pc kernel: R13: 000000000000007e R14: 000000006166dea0 R15: 0000000000000001
Jan 29 02:13:58.887793 pc kernel:  </TASK>
Jan 29 02:13:58.887813 pc kernel: Modules linked in: nls_utf8 hfsplus cdrom exfat uas usb_storage snd_seq_dummy snd_hrtimer snd_seq iptable_mangle iptable_raw xt_connmark nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_mark ip6table_mangle xt_comment xt_addrtype ip6table_raw ip6_tables wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libcurve25519_generic libchacha ip6_udp_tunnel udp_tunnel ccm btusb btrtl btbcm btintel btmtk uvcvideo videobuf2_vmalloc videobuf2_memops bluetooth videobuf2_v4l2 videobuf2_common ecdh_generic videodev mousedev intel_rapl_msr hid_multitouch wmi_bmof snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp intel_rapl_common snd_sof_pci snd_sof rtw88_8822ce snd_sof_utils snd_usb_audio snd_hda_codec_realtek rtw88_8822c snd_soc_core edac_mce_amd snd_hda_codec_generic rtw88_pci snd_usbmidi_lib snd_compress ledtrig_audio rtw88_core snd_rawmidi ac97_bus kvm_amd snd_seq_device snd_pcm_dmaengine mc joydev snd_pci_ps snd_hda_intel amdgpu mac80211
Jan 29 02:13:58.887877 pc kernel:  snd_rpl_pci_acp6x kvm snd_intel_dspcfg snd_acp_pci snd_intel_sdw_acpi snd_pci_acp6x libarc4 snd_hda_codec irqbypass gpu_sched snd_pci_acp5x r8169 nouveau rapl snd_hda_core drm_buddy snd_rn_pci_acp3x mxm_wmi snd_hwdep cfg80211 snd_acp_config drm_ttm_helper realtek ideapad_laptop snd_pcm mdio_devres sparse_keymap ttm cm32181 snd_soc_acpi sp5100_tco snd_timer platform_profile vfat fat drm_display_helper k10temp snd i2c_piix4 snd_pci_acp3x rfkill soundcore video cec libphy wmi industrialio i2c_hid_acpi i2c_hid acpi_cpufreq mac_hid dm_multipath fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid dm_crypt cbc encrypted_keys trusted asn1_encoder tee dm_mod crct10dif_pclmul crc32_pclmul crc32c_intel serio_raw polyval_clmulni atkbd polyval_generic libps2 gf128mul ghash_clmulni_intel vivaldi_fmap sha512_ssse3 nvme aesni_intel crypto_simd cryptd nvme_core xhci_pci i8042 ccp nvme_common xhci_pci_renesas serio
Jan 29 02:13:58.887918 pc kernel: CR2: 0000000000000038
Jan 29 02:13:58.887940 pc kernel: ---[ end trace 0000000000000000 ]---
Jan 29 02:13:58.887959 pc kernel: RIP: 0010:ttm_resource_del_bulk_move+0x78/0xe0 [ttm]
Jan 29 02:13:58.887976 pc kernel: Code: 74 69 48 39 ef 74 56 4c 8d 67 38 4c 8d 75 38 4c 89 e7 e8 bb f5 8d cd 84 c0 74 0f 48 8b 53 38 48 8b 43 40 48 89 42 08 48 89 10 <4c> 8b 6d 38 4c 89 f6 4c 89 e7 4c 89 ea e8 f6 f4 8d cd 84 c0 74 10
Jan 29 02:13:58.887993 pc kernel: RSP: 0018:ffffa5dac3607788 EFLAGS: 00010202
Jan 29 02:13:58.888008 pc kernel: RAX: ffff99e145fef038 RBX: ffff99e15ae76420 RCX: ffff99e145fef038
Jan 29 02:13:58.888024 pc kernel: RDX: ffff99e15ae76518 RSI: ffff99e15ae76458 RDI: ffff99e15ae76458
Jan 29 02:13:58.888040 pc kernel: RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
Jan 29 02:13:58.888055 pc kernel: R10: 0000000000000004 R11: 0000000000000000 R12: ffff99e15ae76458
Jan 29 02:13:58.888100 pc kernel: R13: 0000000000000001 R14: 0000000000000038 R15: ffff99e105c65ee0
Jan 29 02:13:58.888123 pc kernel: FS:  000000006166f6c0(0000) GS:ffff99e3ff700000(0000) knlGS:000000007fd60000
Jan 29 02:13:58.888141 pc kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 29 02:13:58.888163 pc kernel: CR2: 0000000000000038 CR3: 0000000279fc6000 CR4: 0000000000350ee0
Jan 29 02:13:58.888180 pc kernel: note: dxvk-submit[2967140] exited with preempt_count 1


Any ideas what's going on here?
Chuckaluphagus Jan 29, 2023
The situation you describe sounds like overheating. The logs say you're running on a laptop - it's not going to have much cooling capability for its components. 10 minutes of a high-end 3D game might be heating up the CPU, RAM, SSD, or another part hot enough that it's tripping a thermal protection system.

Have you run into this problem running any other demanding 3D programs?

Last edited by Chuckaluphagus on 29 January 2023 at 2:16 pm UTC
tuxintuxedo Jan 29, 2023
Overheating would also turn off the computer, not freeze it. In the log I see some amdgpu and dxvk messages, which might be related to the problem. Try a different Proton version. Have you tried using Xorg, not Wayland?
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.

Buy Games
Buy games with our affiliate / partner links: