Repository: godot
Issue: Godot 3.5 crash with AMD and Linux Mint (GLES3)
Labels: bug,topic:rendering,topic:thirdparty,needs testing

### Godot version

v3.5.1.stable.flathub [6fed1ffa3]

### System information

Linux Mint 21 Vanessa

### Issue description

It seems the combination of Godot and my system is not perfect stable while operating in 3D projects. While I've no problems in 2D I had several complete system freezes while running Godot. Nothing fancy, just some 3D examples (small moving MeshInstance)

my card:
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]

syslog of the crash:
```
Jan 29 18:33:32 odin systemd[1]: Starting Hostname Service...
Jan 29 18:33:32 odin dbus-daemon[1110]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jan 29 18:33:32 odin systemd[1]: Started Hostname Service.
Jan 29 18:33:33 odin gvfsd[13865]: got no contact to IPC$
Jan 29 18:33:58 odin dbus-daemon[1667]: [session uid=1000 pid=1667] Activating service name='io.github.celluloid_player.Celluloid' requested by ':1.105' (uid=1000 pid=13885 comm="nemo " label="unconfined")
Jan 29 18:33:58 odin dbus-daemon[1667]: [session uid=1000 pid=1667] Successfully activated service 'io.github.celluloid_player.Celluloid'
Jan 29 18:33:58 odin io.github.celluloid_player.Celluloid[13951]: mesa: for the --simplifycfg-sink-common option: may only occur zero or one times!
Jan 29 18:33:58 odin io.github.celluloid_player.Celluloid[13951]: mesa: for the --global-isel-abort option: may only occur zero or one times!
Jan 29 18:33:58 odin io.github.celluloid_player.Celluloid[13951]: mesa: for the --amdgpu-atomic-optimizations option: may only occur zero or one times!
Jan 29 18:33:58 odin io.github.celluloid_player.Celluloid[13951]: Cannot load libcuda.so.1
Jan 29 18:34:02 odin systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Jan 29 18:34:09 odin kernel: [20418.629519] radeon 0000:06:00.0: ring 0 stalled for more than 10460msec
Jan 29 18:34:09 odin kernel: [20418.629528] radeon 0000:06:00.0: GPU lockup (current fence id 0x00000000001bc2ee last fence id 0x00000000001bc2f3 on ring 0)
Jan 29 18:34:09 odin kernel: [20418.629545] [drm:radeon_uvd_cs_msg [radeon]] *ERROR* Failed waiting for UVD message (-35)!
Jan 29 18:34:09 odin kernel: [20418.629592] [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream !
Jan 29 18:34:17 odin kernel: [20426.309319] [drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to parse relocation -16!
Jan 29 18:34:17 odin kernel: [20426.349612] radeon 0000:06:00.0: couldn't schedule ib
Jan 29 18:34:17 odin kernel: [20426.349621] [drm:radeon_uvd_suspend [radeon]] *ERROR* Error destroying UVD (-22)!
Jan 29 18:34:17 odin kernel: [20426.979222] radeon 0000:06:00.0: Saved 273 dwords of commands on ring 0.
Jan 29 18:34:17 odin kernel: [20426.979298] radeon 0000:06:00.0: GPU softreset: 0x000003CC
Jan 29 18:34:17 odin kernel: [20426.979300] radeon 0000:06:00.0:   GRBM_STATUS               = 0xA0003028
Jan 29 18:34:17 odin kernel: [20426.979302] radeon 0000:06:00.0:   GRBM_STATUS_SE0           = 0x00000006
Jan 29 18:34:17 odin kernel: [20426.979304] radeon 0000:06:00.0:   GRBM_STATUS_SE1           = 0x00000006
Jan 29 18:34:17 odin kernel: [20426.979306] radeon 0000:06:00.0:   SRBM_STATUS               = 0x200247C0
Jan 29 18:34:17 odin kernel: [20426.979362] radeon 0000:06:00.0:   SRBM_STATUS2              = 0x00000000
Jan 29 18:34:17 odin kernel: [20426.979363] radeon 0000:06:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
Jan 29 18:34:17 odin kernel: [20426.979364] radeon 0000:06:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
Jan 29 18:34:17 odin kernel: [20426.979366] radeon 0000:06:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000802
Jan 29 18:34:17 odin kernel: [20426.979367] radeon 0000:06:00.0:   R_008680_CP_STAT          = 0x800000E3
Jan 29 18:34:17 odin kernel: [20426.979369] radeon 0000:06:00.0:   R_00D034_DMA_STATUS_REG   = 0x44CFC046
Jan 29 18:34:17 odin kernel: [20426.979370] radeon 0000:06:00.0:   R_00D834_DMA_STATUS_REG   = 0x44C83D57
Jan 29 18:34:17 odin kernel: [20426.979372] radeon 0000:06:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000000
Jan 29 18:34:17 odin kernel: [20426.979374] radeon 0000:06:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x00000000
Jan 29 18:34:18 odin kernel: [20428.010175] radeon 0000:06:00.0: Wait for MC idle timedout !
Jan 29 18:34:18 odin kernel: [20428.010181] radeon 0000:06:00.0: GRBM_SOFT_RESET=0x0000DDFF
Jan 29 18:34:18 odin kernel: [20428.010235] radeon 0000:06:00.0: SRBM_SOFT_RESET=0x00128500
Jan 29 18:34:18 odin kernel: [20428.011383] radeon 0000:06:00.0:   GRBM_STATUS               = 0x00003028
Jan 29 18:34:18 odin kernel: [20428.011386] radeon 0000:06:00.0:   GRBM_STATUS_SE0           = 0x00000006
Jan 29 18:34:18 odin kernel: [20428.011387] radeon 0000:06:00.0:   GRBM_STATUS_SE1           = 0x00000006
Jan 29 18:34:18 odin kernel: [20428.011389] radeon 0000:06:00.0:   SRBM_STATUS               = 0x200006C0
Jan 29 18:34:18 odin kernel: [20428.011446] radeon 0000:06:00.0:   SRBM_STATUS2              = 0x00000000
Jan 29 18:34:18 odin kernel: [20428.011448] radeon 0000:06:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
Jan 29 18:34:18 odin kernel: [20428.011449] radeon 0000:06:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
Jan 29 18:34:18 odin kernel: [20428.011451] radeon 0000:06:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
Jan 29 18:34:18 odin kernel: [20428.011453] radeon 0000:06:00.0:   R_008680_CP_STAT          = 0x00000000
Jan 29 18:34:18 odin kernel: [20428.011455] radeon 0000:06:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
Jan 29 18:34:18 odin kernel: [20428.011457] radeon 0000:06:00.0:   R_00D834_DMA_STATUS_REG   = 0x44C83D57
Jan 29 18:34:18 odin kernel: [20428.011589] radeon 0000:06:00.0: GPU reset succeeded, trying to resume
Jan 29 18:34:24 odin kernel: [20433.017167] [drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs aborting
Jan 29 18:34:24 odin kernel: [20433.017210] [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing C202 (len 254, WS 0, PS 4) @ 0xC22C
Jan 29 18:34:24 odin kernel: [20433.017233] [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing B878 (len 94, WS 12, PS 8) @ 0xB8C1
Jan 29 18:34:24 odin kernel: [20433.023725] [drm] PCIE gen 3 link speeds already enabled
Jan 29 18:34:24 odin kernel: [20433.392685] radeon 0000:06:00.0: Wait for MC idle timedout !
Jan 29 18:34:24 odin kernel: [20433.574690] radeon 0000:06:00.0: Wait for MC idle timedout !
Jan 29 18:34:24 odin kernel: [20433.581853] [drm] PCIE GART of 2048M enabled (table at 0x00000000001D6000).
Jan 29 18:34:24 odin kernel: [20433.581961] radeon 0000:06:00.0: WB enabled
Jan 29 18:34:24 odin kernel: [20433.581964] radeon 0000:06:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00
Jan 29 18:34:24 odin kernel: [20433.581967] radeon 0000:06:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04
Jan 29 18:34:24 odin kernel: [20433.581968] radeon 0000:06:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08
Jan 29 18:34:24 odin kernel: [20433.581970] radeon 0000:06:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
Jan 29 18:34:24 odin kernel: [20433.581971] radeon 0000:06:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10
Jan 29 18:34:24 odin kernel: [20433.582196] radeon 0000:06:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18
Jan 29 18:34:24 odin kernel: [20433.592238] radeon 0000:06:00.0: failed VCE resume (-22).
Jan 29 18:34:24 odin kernel: [20433.592535] debugfs: File 'radeon_ring_gfx' in directory '0' already present!
Jan 29 18:34:24 odin kernel: [20433.592540] debugfs: File 'radeon_ring_cp1' in directory '0' already present!
Jan 29 18:34:24 odin kernel: [20433.592543] debugfs: File 'radeon_ring_cp2' in directory '0' already present!
Jan 29 18:34:24 odin kernel: [20433.592544] debugfs: File 'radeon_ring_dma1' in directory '0' already present!
Jan 29 18:34:24 odin kernel: [20433.592546] debugfs: File 'radeon_ring_dma2' in directory '0' already present!
Jan 29 18:34:25 odin kernel: [20434.018165] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
Jan 29 18:34:25 odin kernel: [20434.018215] [drm:si_resume [radeon]] *ERROR* si startup failed on resume
Jan 29 18:34:43 odin kernel: [20452.202548] sysrq: HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(v) show-blocked-tasks(w) dump-ftrace-buffer(z) 
Jan 29 18:34:43 odin kernel: [20452.226550] sysrq: HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(v) show-blocked-tasks(w) dump-ftrace-buffer(z) 
Jan 29 18:34:43 odin kernel: [20452.522552] sysrq: HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(v) show-blocked-tasks(w) dump-ftrace-buffer(z) 
Jan 29 18:34:43 odin kernel: [20452.538551] sysrq: HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(v) show-blocked-tasks(w) dump-ftrace-buffer(z) 
Jan 29 18:35:37 odin systemd[1]: Started Session 15 of User andreas.
Jan 29 18:36:13 odin kernel: [20542.018966] INFO: task Xorg:1268 blocked for more than 120 seconds.
Jan 29 18:36:13 odin kernel: [20542.018978]       Tainted: P           O      5.15.0-56-generic #62-Ubuntu
Jan 29 18:36:13 odin kernel: [20542.018981] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jan 29 18:36:13 odin kernel: [20542.018984] task:Xorg            state:D stack:    0 pid: 1268 ppid:  1220 flags:0x00400006
Jan 29 18:36:13 odin kernel: [20542.018990] Call Trace:
Jan 29 18:36:13 odin kernel: [20542.018994]  <TASK>
Jan 29 18:36:13 odin kernel: [20542.018998]  __schedule+0x24e/0x590
Jan 29 18:36:13 odin kernel: [20542.019008]  schedule+0x69/0x110
Jan 29 18:36:13 odin kernel: [20542.019012]  rwsem_down_read_slowpath+0x33b/0x390
Jan 29 18:36:13 odin kernel: [20542.019018]  down_read+0x43/0xa0
Jan 29 18:36:13 odin kernel: [20542.019022]  ? radeon_gem_pwrite_ioctl+0x30/0x30 [radeon]
Jan 29 18:36:13 odin kernel: [20542.019080]  radeon_gem_create_ioctl+0x3b/0x130 [radeon]
Jan 29 18:36:13 odin kernel: [20542.019131]  ? radeon_gem_pwrite_ioctl+0x30/0x30 [radeon]
Jan 29 18:36:13 odin kernel: [20542.019182]  drm_ioctl_kernel+0xb3/0x100 [drm]
Jan 29 18:36:13 odin kernel: [20542.019220]  drm_ioctl+0x268/0x4b0 [drm]
Jan 29 18:36:13 odin kernel: [20542.019253]  ? radeon_gem_pwrite_ioctl+0x30/0x30 [radeon]
Jan 29 18:36:13 odin kernel: [20542.019303]  ? ep_item_poll.isra.0+0x31/0x60
Jan 29 18:36:13 odin kernel: [20542.019310]  ? fput+0x13/0x20
Jan 29 18:36:13 odin kernel: [20542.019313]  ? do_epoll_ctl+0x259/0x640
Jan 29 18:36:13 odin kernel: [20542.019318]  radeon_drm_ioctl+0x4e/0x90 [radeon]
Jan 29 18:36:13 odin kernel: [20542.019360]  __x64_sys_ioctl+0x95/0xd0
Jan 29 18:36:13 odin kernel: [20542.019366]  do_syscall_64+0x5c/0xc0
Jan 29 18:36:13 odin kernel: [20542.019372]  ? exit_to_user_mode_prepare+0x88/0xb0
Jan 29 18:36:13 odin kernel: [20542.019377]  ? syscall_exit_to_user_mode+0x27/0x50
Jan 29 18:36:13 odin kernel: [20542.019381]  ? do_syscall_64+0x69/0xc0
Jan 29 18:36:13 odin kernel: [20542.019384]  ? do_syscall_64+0x69/0xc0
Jan 29 18:36:13 odin kernel: [20542.019387]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
Jan 29 18:36:13 odin kernel: [20542.019392] RIP: 0033:0x7f0b27309aff
Jan 29 18:36:13 odin kernel: [20542.019396] RSP: 002b:00007ffc1988d540 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jan 29 18:36:13 odin kernel: [20542.019400] RAX: ffffffffffffffda RBX: 00007ffc1988d610 RCX: 00007f0b27309aff
Jan 29 18:36:13 odin kernel: [20542.019403] RDX: 00007ffc1988d610 RSI: 00000000c020645d RDI: 0000000000000012
Jan 29 18:36:13 odin kernel: [20542.019405] RBP: 00000000c020645d R08: 0000000000000003 R09: 00000000ffffffff
Jan 29 18:36:13 odin kernel: [20542.019407] R10: 0000000000000400 R11: 0000000000000246 R12: 0000000000004000
Jan 29 18:36:13 odin kernel: [20542.019409] R13: 0000000000000012 R14: 00000000007f8000 R15: 0000000000004000
Jan 29 18:36:13 odin kernel: [20542.019414]  </TASK>
Jan 29 18:36:53 odin kernel: [20583.004389] ------------[ cut here ]------------
Jan 29 18:36:53 odin kernel: [20583.004392] WARNING: CPU: 4 PID: 12740 at drivers/gpu/drm/radeon/radeon_object.c:83 radeon_ttm_bo_destroy+0xfe/0x120 [radeon]
Jan 29 18:36:53 odin kernel: [20583.004428] Modules linked in: snd_seq_dummy rfcomm cmac algif_hash algif_skcipher af_alg bnep binfmt_misc zfs(PO) zunicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) usblp intel_rapl_msr intel_rapl_common snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio edac_mce_amd snd_hda_codec_hdmi kvm_amd snd_hda_intel snd_seq_midi nls_iso8859_1 kvm snd_intel_dspcfg snd_seq_midi_event snd_intel_sdw_acpi snd_hda_codec rapl snd_rawmidi btusb snd_hda_core ch341 snd_hwdep btrtl snd_seq btbcm usbserial snd_pcm gigabyte_wmi wmi_bmof btintel snd_seq_device k10temp joydev input_leds snd_timer bluetooth snd ccp ecdh_generic soundcore ecc mac_hid sch_fq_codel msr parport_pc ppdev lp parport ramoops pstore_blk reed_solomon pstore_zone efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c dm_mirror dm_region_hash dm_log amdgpu iommu_v2 gpu_sched wacom radeon drm_ttm_helper ttm hid_generic drm_kms_helper syscopyarea sysfillrect
Jan 29 18:36:53 odin kernel: [20583.004473]  sysimgblt fb_sys_fops usbhid cec uas hid usb_storage crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd igb rc_core gpio_amdpt ahci xhci_pci dca drm i2c_piix4 i2c_algo_bit libahci xhci_pci_renesas wmi gpio_generic
Jan 29 18:36:53 odin kernel: [20583.004488] CPU: 4 PID: 12740 Comm: godot-bin Tainted: P           O      5.15.0-56-generic #62-Ubuntu
Jan 29 18:36:53 odin kernel: [20583.004491] Hardware name: Gigabyte Technology Co., Ltd. B450 AORUS PRO/B450 AORUS PRO-CF, BIOS F50 11/27/2019
Jan 29 18:36:53 odin kernel: [20583.004492] RIP: 0010:radeon_ttm_bo_destroy+0xfe/0x120 [radeon]
Jan 29 18:36:53 odin kernel: [20583.004515] Code: 01 00 00 4c 89 e7 e8 71 60 d7 ff 4c 89 e7 e8 c9 40 d6 ff 4c 89 ef e8 71 58 cc d9 5b 41 5c 41 5d 41 5e 41 5f 5d e9 32 8a 97 da <0f> 0b eb c2 4c 89 fe 48 c7 c7 20 e9 5d c0 e8 bf ec ff d9 e9 68 ff
Jan 29 18:36:53 odin kernel: [20583.004517] RSP: 0018:ffffb2ae0b287a40 EFLAGS: 00010287
Jan 29 18:36:53 odin kernel: [20583.004519] RAX: ffff8b080b19de70 RBX: ffff8b080b19dd78 RCX: ffff8b0700041250
Jan 29 18:36:53 odin kernel: [20583.004520] RDX: ffff8b071437b700 RSI: 0000000000000246 RDI: ffff8b071bbedca8
Jan 29 18:36:53 odin kernel: [20583.004521] RBP: ffffb2ae0b287a68 R08: 0000000000000000 R09: 0000000000000246
Jan 29 18:36:53 odin kernel: [20583.004522] R10: 0000000000000000 R11: 000000000000001f R12: ffff8b080b19dc78
Jan 29 18:36:53 odin kernel: [20583.004522] R13: ffff8b080b19dc00 R14: 00000000ffffffff R15: ffff8b076de85268
Jan 29 18:36:53 odin kernel: [20583.004524] FS:  00007efca4ff9640(0000) GS:ffff8b0dfeb00000(0000) knlGS:0000000000000000
Jan 29 18:36:53 odin kernel: [20583.004525] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 29 18:36:53 odin kernel: [20583.004526] CR2: 00007f32f9f37000 CR3: 00000005ca610000 CR4: 00000000003506e0
Jan 29 18:36:53 odin kernel: [20583.004527] Call Trace:
Jan 29 18:36:53 odin kernel: [20583.004529]  <TASK>
Jan 29 18:36:53 odin kernel: [20583.004533]  ttm_bo_release+0x223/0x350 [ttm]
Jan 29 18:36:53 odin kernel: [20583.004538]  ttm_bo_put+0x34/0x50 [ttm]
Jan 29 18:36:53 odin kernel: [20583.004542]  radeon_bo_unref+0x1e/0x30 [radeon]
Jan 29 18:36:53 odin kernel: [20583.004563]  radeon_gem_object_free+0x34/0x50 [radeon]
Jan 29 18:36:53 odin kernel: [20583.004587]  drm_gem_object_handle_put_unlocked+0xd9/0x100 [drm]
Jan 29 18:36:53 odin kernel: [20583.004608]  drm_gem_object_release_handle+0x71/0x80 [drm]
Jan 29 18:36:53 odin kernel: [20583.004622]  ? drm_gem_object_handle_put_unlocked+0x100/0x100 [drm]
Jan 29 18:36:53 odin kernel: [20583.004637]  idr_for_each+0x61/0xd0
Jan 29 18:36:53 odin kernel: [20583.004641]  drm_gem_release+0x21/0x40 [drm]
Jan 29 18:36:53 odin kernel: [20583.004656]  drm_file_free.part.0+0x1b6/0x230 [drm]
Jan 29 18:36:53 odin kernel: [20583.004671]  drm_close_helper.isra.0+0x65/0x70 [drm]
Jan 29 18:36:53 odin kernel: [20583.004685]  drm_release+0x6a/0x120 [drm]
Jan 29 18:36:53 odin kernel: [20583.004700]  __fput+0x9f/0x260
Jan 29 18:36:53 odin kernel: [20583.004702]  ____fput+0xe/0x20
Jan 29 18:36:53 odin kernel: [20583.004704]  task_work_run+0x6d/0xb0
Jan 29 18:36:53 odin kernel: [20583.004707]  do_exit+0x217/0x3c0
Jan 29 18:36:53 odin kernel: [20583.004709]  do_group_exit+0x3b/0xb0
Jan 29 18:36:53 odin kernel: [20583.004711]  get_signal+0x150/0x900
Jan 29 18:36:53 odin kernel: [20583.004713]  ? recalibrate_cpu_khz+0x10/0x10
Jan 29 18:36:53 odin kernel: [20583.004716]  ? _copy_to_user+0x20/0x30
Jan 29 18:36:53 odin kernel: [20583.004718]  ? put_timespec64+0x3d/0x60
Jan 29 18:36:53 odin kernel: [20583.004721]  arch_do_signal_or_restart+0xde/0x100
Jan 29 18:36:53 odin kernel: [20583.004724]  ? do_pselect.constprop.0+0xde/0x170
Jan 29 18:36:53 odin kernel: [20583.004726]  exit_to_user_mode_loop+0xc4/0x160
Jan 29 18:36:53 odin kernel: [20583.004728]  exit_to_user_mode_prepare+0xa0/0xb0
Jan 29 18:36:53 odin kernel: [20583.004730]  syscall_exit_to_user_mode+0x27/0x50
Jan 29 18:36:53 odin kernel: [20583.004733]  do_syscall_64+0x69/0xc0
Jan 29 18:36:53 odin kernel: [20583.004735]  ? do_syscall_64+0x69/0xc0
Jan 29 18:36:53 odin kernel: [20583.004736]  ? __x64_sys_recvmsg+0x1d/0x30
Jan 29 18:36:53 odin kernel: [20583.004739]  ? do_syscall_64+0x69/0xc0
Jan 29 18:36:53 odin kernel: [20583.004740]  ? __secure_computing+0xa9/0x120
Jan 29 18:36:53 odin kernel: [20583.004743]  ? exit_to_user_mode_prepare+0x37/0xb0
Jan 29 18:36:53 odin kernel: [20583.004745]  ? syscall_exit_to_user_mode+0x27/0x50
Jan 29 18:36:53 odin kernel: [20583.004746]  ? __x64_sys_recvmsg+0x1d/0x30
Jan 29 18:36:53 odin kernel: [20583.004748]  ? do_syscall_64+0x69/0xc0
Jan 29 18:36:53 odin kernel: [20583.004750]  ? exit_to_user_mode_prepare+0x37/0xb0
Jan 29 18:36:53 odin kernel: [20583.004751]  ? syscall_exit_to_user_mode+0x27/0x50
Jan 29 18:36:53 odin kernel: [20583.004753]  ? __x64_sys_recvmsg+0x1d/0x30
Jan 29 18:36:53 odin kernel: [20583.004755]  ? do_syscall_64+0x69/0xc0
Jan 29 18:36:53 odin kernel: [20583.004756]  ? do_syscall_64+0x69/0xc0
Jan 29 18:36:53 odin kernel: [20583.004757]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
Jan 29 18:36:53 odin kernel: [20583.004760] RIP: 0033:0x7efcd40a7978
Jan 29 18:36:53 odin kernel: [20583.004761] Code: Unable to access opcode bytes at RIP 0x7efcd40a794e.
Jan 29 18:36:53 odin kernel: [20583.004762] RSP: 002b:00007efca4ff8bf0 EFLAGS: 00000246 ORIG_RAX: 000000000000010e
Jan 29 18:36:53 odin kernel: [20583.004764] RAX: fffffffffffffdfe RBX: 00007efca4ff8c80 RCX: 00007efcd40a7978
Jan 29 18:36:53 odin kernel: [20583.004764] RDX: 0000000000000000 RSI: 00007efca4ff8c90 RDI: 0000000000000004
Jan 29 18:36:53 odin kernel: [20583.004765] RBP: 00007efca4ff8c60 R08: 00007efca4ff8c20 R09: 0000000000000000
Jan 29 18:36:53 odin kernel: [20583.004766] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
Jan 29 18:36:53 odin kernel: [20583.004767] R13: 7ffffffffffffffe R14: 00007ffc8dfdc48f R15: 0000000000000000
Jan 29 18:36:53 odin kernel: [20583.004770]  </TASK>
Jan 29 18:36:53 odin kernel: [20583.004770] ---[ end trace 4cec2aaa67e5764b ]---
Jan 29 18:36:54 odin kernel: [20583.181476] [drm:si_dpm_set_power_state [radeon]] *ERROR* si_set_sw_state failed
Jan 29 18:36:54 odin systemd[1650]: app-flatpak-org.godotengine.Godot-12445.scope: Consumed 22min 4.703s CPU time.
Jan 29 18:38:27 odin systemd-modules-load[539]: Inserted module 'lp'
Jan 29 18:38:27 odin systemd-modules-load[539]: Inserted module 'ppdev'
Jan 29 18:38:27 odin systemd-modules-load[539]: Inserted module 'parport_pc'
Jan 29 18:38:27 odin systemd-modules-load[539]: Module 'ecryptfs' is built in
Jan 29 18:38:27 odin kernel: [    0.000000] Linux version 5.15.0-56-generic (buildd@lcy02-amd64-004) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 (Ubuntu 5.15.0-56.62-generic 5.15.64)
Jan 29 18:38:27 odin systemd-modules-load[539]: Inserted module 'msr'
Jan 29 18:38:27 odin kernel: [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-56-generic root=UUID=f40e1922-2b8e-4958-bb42-a5d51b6234b8 ro quiet splash
Jan 29 18:38:27 odin kernel: [    0.000000] KERNEL supported cpus:
Jan 29 18:38:27 odin kernel: [    0.000000]   Intel GenuineIntel
Jan 29 18:38:27 odin kernel: [    0.000000]   AMD AuthenticAMD
Jan 29 18:38:27 odin kernel: [    0.000000]   Hygon HygonGenuine
Jan 29 18:38:27 odin kernel: [    0.000000]   Centaur CentaurHauls
Jan 29 18:38:27 odin systemd[1]: Starting Flush Journal to Persistent Storage...
Jan 29 18:38:27 odin systemd[1]: modprobe@chromeos_pstore.service: Deactivated successfully.
Jan 29 18:38:27 odin kernel: [    0.000000]   zhaoxin   Shanghai  
Jan 29 18:38:27 odin kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Jan 29 18:38:27 odin kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Jan 29 18:38:27 odin kernel: [    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Jan 29 18:38:27 odin kernel: [    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
```

### Steps to reproduce

Not really possible to reproduce. But I had several system freezes in the last days with similar small projects. So it's maybe a 3D driver problem with godot.

### Minimal reproduction project

[3DNavigationDemoNew.zip](https://github.com/godotengine/godot/files/10530457/3DNavigationDemoNew.zip)