You are not logged in.

#1 2020-05-13 04:28:03

drpr15
Member
Registered: 2018-02-25
Posts: 3

Random Graphical Crashes During Games

I've recently started having intermittent crashes of my graphical display.  This has only occurred during games (World of Warcraft via wine in windowed mode, and Cities Skylines via proton in full screen).  The screen will go into some weird unresponsive pixelated display with green tint, but any audio will continue playing normally.  I was able to ctrl-alt-F2 and keep working in command line (with the audio from the crashed game still playing).  Eventually my command line session randomly started lightdm, and I was able to log back in to a fresh fluxbox session.  I have observed this behavior in xfce and lxqt, so it is not a WM issue.

Unfortunately I'm going to have to wait for another crash to capture my Xorg log, but I will post that once i get a chance.  I do have the final line from the log (an error) as well as the closest error prior to it (there was a bunch of resolution setting lines, or something to that effect, in between, and possibly some other stuff earlier in the log).

Prior Error: (EE) AMDGPU(0): present flip failed*
Final Line: (EE) AMDGPU(0): failed to set mode: Permission denied

*From my recollection and search history, some information in the line may be missing

Offline

#2 2020-05-13 08:33:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,428

Re: Random Graphical Crashes During Games

journal/dmesg log during a crash might be interesting, you might be able to acquire that even without explicitly running into a crash, by checking logs from when you remember to have had a crash, see: https://wiki.archlinux.org/index.php/Sy … ing_output

Offline

#3 2020-05-14 02:18:02

drpr15
Member
Registered: 2018-02-25
Posts: 3

Re: Random Graphical Crashes During Games

There's a lot of interesting errors in that log...here's the bit from the most recent crash (using "journalctl -p err..alert" with the stack traces stripped out).

May 12 20:11:32 Ruhig kernel: [drm:amdgpu_gem_va_ioctl [amdgpu]] *ERROR* Couldn't update BO_VA (-16)
May 12 20:11:32 Ruhig kernel: [drm:amdgpu_gem_va_ioctl [amdgpu]] *ERROR* Couldn't update BO_VA (-16)
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: GPU fault detected: 147 0x0060c401 for process Cities.x64 pid 2405602 thread Cities.x64:cs0 pid 2405605
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x0CC6A20C
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0A0C4001
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: VM fault (0x01, vmid 5, pasid 32780) at page 214344204, read from 'TC3' (0x54433300) (196)
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: GPU fault detected: 147 0x00604801 for process Cities.x64 pid 2405602 thread Cities.x64:cs0 pid 2405605
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x0CC6A20C
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0A048001
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: VM fault (0x01, vmid 5, pasid 32780) at page 214344204, read from 'TC4' (0x54433400) (72)
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: GPU fault detected: 147 0x03284808 for process Cities.x64 pid 2405602 thread Cities.x64:cs0 pid 2405605
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x001EA665
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0A048008
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: VM fault (0x08, vmid 5, pasid 32780) at page 2008677, read from 'TC4' (0x54433400) (72)
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: GPU fault detected: 147 0x0a884401 for process Cities.x64 pid 2405602 thread Cities.x64:cs0 pid 2405605
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x0CE56151
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0A044001
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: VM fault (0x01, vmid 5, pasid 32780) at page 216359249, read from 'TC5' (0x54433500) (68)
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: GPU fault detected: 147 0x0a880801 for process Cities.x64 pid 2405602 thread Cities.x64:cs0 pid 2405605
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000000
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0A04800C
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: VM fault (0x0c, vmid 5, pasid 32780) at page 0, read from 'TC4' (0x54433400) (72)
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: GPU fault detected: 147 0x05b8c401 for process Cities.x64 pid 2405602 thread Cities.x64:cs0 pid 2405605
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000000
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B0E0010
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: VM fault (0x10, vmid 5, pasid 32780) at page 0, write from 'CB6' (0x43423600) (224)
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: GPU fault detected: 147 0x05c8c401 for process Cities.x64 pid 2405602 thread Cities.x64:cs0 pid 2405605
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00251676
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B050010
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: VM fault (0x10, vmid 5, pasid 32780) at page 2430582, write from 'CB1' (0x43423100) (80)
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: GPU fault detected: 147 0x05804801 for process Cities.x64 pid 2405602 thread Cities.x64:cs0 pid 2405605
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00000000
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0A020008
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: VM fault (0x08, vmid 5, pasid 32780) at page 0, read from 'CB2' (0x43423200) (32)
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: GPU fault detected: 147 0x05c0c801 for process Cities.x64 pid 2405602 thread Cities.x64:cs0 pid 2405605
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00251653
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B050010
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: VM fault (0x10, vmid 5, pasid 32780) at page 2430547, write from 'CB1' (0x43423100) (80)
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: GPU fault detected: 147 0x05c88801 for process Cities.x64 pid 2405602 thread Cities.x64:cs0 pid 2405605
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x00251625
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0B050010
May 12 20:27:27 Ruhig kernel: amdgpu 0000:1d:00.0: VM fault (0x10, vmid 5, pasid 32780) at page 2430501, write from 'CB1' (0x43423100) (80)
May 12 20:27:37 Ruhig kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:47:crtc-0] flip_done timed out
May 12 20:27:37 Ruhig kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=8230482, emitted seq=8230484
May 12 20:27:37 Ruhig kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process Cities.x64 pid 2405602 thread Cities.x64:cs0 pid 2405605
May 12 20:27:47 Ruhig kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:47:crtc-0] flip_done timed out
May 12 20:27:57 Ruhig kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:45:plane-5] flip_done timed out
May 12 20:27:58 Ruhig kernel: amdgpu 0000:1d:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring kiq_2.1.0 test failed (-110)
May 12 20:27:58 Ruhig kernel: [drm:gfx_v8_0_hw_fini [amdgpu]] *ERROR* KCQ disable failed
May 12 20:27:58 Ruhig kernel: cp is busy, skip halt cp
May 12 20:27:59 Ruhig kernel: rlc is busy, skip halt rlc
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig kernel: amdgpu 0000:1d:00.0: failed to clear page tables on GEM object close (-16)
May 12 20:32:49 Ruhig systemd-coredump[2433856]: Process 13372 (fluxbox) of user 1000 dumped core.
May 12 20:32:49 Ruhig systemd-coredump[2433748]: Process 13012 (Xorg) of user 0 dumped core.
May 12 20:32:53 Ruhig systemd-coredump[2433863]: Process 876165 (spotify) of user 1000 dumped core.
May 12 20:32:59 Ruhig lightdm[2434049]: gkr-pam: unable to locate daemon control file

Offline

#4 2020-08-20 15:28:28

zaxdan69
Member
Registered: 2016-06-04
Posts: 271

Re: Random Graphical Crashes During Games

Did you tried to run those games with a lower wine version? I had crashes and other problems(drop fps, camera stop moving with mouse after a full pivot) with wine version from 5.07 to latest 5.15. Those games worked fine with 5.5 version from lutris(which I use in such cases) and also worked fine with previous version.

Last edited by zaxdan69 (2020-08-20 15:29:01)

Offline

#5 2021-01-18 19:14:05

jokeyrhyme
Member
From: Australia
Registered: 2019-09-19
Posts: 11
Website

Re: Random Graphical Crashes During Games

I've got a Radeon 5700XT, and I'm getting similar symptoms: games will visually freeze but audio will be fine

I haven't narrowed down the difference (potentially using different wine versions, or telling games to use DirectX 11 versus 12), but sometimes it will unfreeze after a few seconds and it'll be just fine, other times I can switch virtual desktops but other apps will appear non-responsive and the only thing I can do is tap the power button to trigger a proper shutdown

Logs include entries like these:

- kernel: [drm:amdgpu_gem_va_ioctl [amdgpu]] *ERROR* Couldn't update BO_VA (-16)
- kernel: amdgpu 0000:0f:00.0: amdgpu: failed to clear page tables on GEM object close (-16)

I'm currently using:

- linux 5.10.7.arch1-1
- lutris 0.5.8.1-1
- mesa 20.3.3-1
- wine 6.0-1

Last edited by jokeyrhyme (2021-01-19 05:11:47)

Offline

#6 2021-02-09 10:14:11

radim91
Member
Registered: 2021-02-09
Posts: 2

Re: Random Graphical Crashes During Games

Hi. Just to ask any of you if there is any development. I experience the same problem and tried to solve it multiple ways. Unfortunately without success. Cheers

Offline

#7 2021-02-09 20:29:28

orlfman
Member
Registered: 2007-11-20
Posts: 138

Re: Random Graphical Crashes During Games

if you have amdvlk installed, try switching over to radv or just remove amdvlk completely. i noticed freezes with amdvlk in WoW with dx12 mode (have to switch to console to systemctl reboot, journal picks ring gfx_0.0.0 timeout / amdgpu *error* process information: process WoW.exe) while radv is fine. i also noticed increased performance in WoW in dx11 mode with radv over amdvlk. amdvlk highjacks radv as the default if you have it installed.

Last edited by orlfman (2021-02-09 20:40:49)

Offline

#8 2021-02-10 11:54:46

radim91
Member
Registered: 2021-02-09
Posts: 2

Re: Random Graphical Crashes During Games

orlfman wrote:

if you have amdvlk installed, try switching over to radv or just remove amdvlk completely. i noticed freezes with amdvlk in WoW with dx12 mode (have to switch to console to systemctl reboot, journal picks ring gfx_0.0.0 timeout / amdgpu *error* process information: process WoW.exe) while radv is fine. i also noticed increased performance in WoW in dx11 mode with radv over amdvlk. amdvlk highjacks radv as the default if you have it installed.

thank you for the tip, unfortunately I haven't had installed and used amdvlk, therefore it is not the solution (at least for me)

Offline

Board footer

Powered by FluxBB