Skip to content

RX 5700 XT crashes in some games

Edit: Fixed! Solution at the bottom

​

I've bought a new RX 5700 XT recently and sometimes in some games it crashes and brings the entire OS down with it. I've tried both the latest stable mesa and the mesa-git package but it didn't make any difference. It doesn't happen all the time, just in some specific games like Rise of the Tomb Raider(right on startup) and The Sims 4(after about 5 mins playing). From what I've read, something similar used to happen before just when the card was released but was later fixed in mesa and everything should work by now. Any ideas?

More info:

Dec 09 00:27:30 main-pc kernel: amdgpu 0000:03:00.0: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32781, for process RiseOfTheTombRa pid 6104 thread RiseOfTheT:cs0 pid 6119)
Dec 09 00:27:30 main-pc kernel: amdgpu 0000:03:00.0:   in page starting at address 0x000080003f800000 from client 27
Dec 09 00:27:30 main-pc kernel: amdgpu 0000:03:00.0: GCVM_L2_PROTECTION_FAULT_STATUS:0x00401430
Dec 09 00:27:30 main-pc kernel: amdgpu 0000:03:00.0:          MORE_FAULTS: 0x0
Dec 09 00:27:30 main-pc kernel: amdgpu 0000:03:00.0:          WALKER_ERROR: 0x0
Dec 09 00:27:30 main-pc kernel: amdgpu 0000:03:00.0:          PERMISSION_FAULTS: 0x3
Dec 09 00:27:30 main-pc kernel: amdgpu 0000:03:00.0:          MAPPING_ERROR: 0x0
Dec 09 00:27:30 main-pc kernel: amdgpu 0000:03:00.0:          RW: 0x0
Dec 09 00:27:40 main-pc kernel: [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
Dec 09 00:27:40 main-pc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=43208, emitted seq=43210
Dec 09 00:27:40 main-pc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process RiseOfTheTombRa pid 6104 thread RiseOfTheT:cs0 pid 6119
Dec 09 00:27:40 main-pc kernel: [drm] GPU recovery disabled.
Dec 09 00:27:51 main-pc kernel: [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
Dec 09 00:27:51 main-pc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, signaled seq=8149, emitted seq=8153
Dec 09 00:27:51 main-pc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process  pid 0 thread  pid 0

​

➜ uname -r
5.4.2-zen1-1-zen
➜ y -Qi mesa-git lib32-mesa-git
Name            : mesa-git
Version         : 20.0.0_devel.118292.d7dc14628a9-1
Description     : an open-source implementation of the OpenGL specification, git version
Architecture    : x86_64
URL             : https://www.mesa3d.org
Licenses        : custom
Groups          : None
Provides        : mesa=20.0.0_devel.118292.d7dc14628a9-1  vulkan-intel=20.0.0_devel.118292.d7dc14628a9-1  vulkan-radeon=20.0.0_devel.118292.d7dc14628a9-1  vulkan-mesa-layer=20.0.0_devel.118292.d7dc14628a9-1  libva-mesa-driver=20.0.0_devel.118292.d7dc14628a9-1
                  mesa-vdpau=20.0.0_devel.118292.d7dc14628a9-1  vulkan-driver  opencl-  opengl-driver  opencl-driver
Depends On      : libdrm  libxxf86vm  libxdamage  libxshmfence  libelf  libomxil-bellagio  libunwind  libglvnd  wayland  lm_sensors  libclc  glslang  llvm-libs=9.0.0
Optional Deps   : opengl-man-pages: for the OpenGL API man pages
Required By     : gallium-nine-git  glxosd  gst-plugins-base-libs  gtk3  lib32-mesa-git  libglvnd  qt5-base  virglrenderer  xf86-video-amdgpu
Optional For    : obs-studio  ocl-icd  vulkan-icd-loader
Conflicts With  : mesa  opencl-mesa  vulkan-intel  vulkan-radeon  vulkan-mesa-layer  libva-mesa-driver  mesa-vdpau
Replaces        : None
Installed Size  : 132,21 MiB
Packager        : Unknown Packager
Build Date      : Mon Dec 9 00:11:26 2019
Install Date    : Mon Dec 9 00:15:18 2019
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

Name            : lib32-mesa-git
Version         : 20.0.0_devel.118292.d7dc14628a9-1
Description     : an open-source implementation of the OpenGL specification, git version
Architecture    : x86_64
URL             : https://www.mesa3d.org
Licenses        : custom
Groups          : None
Provides        : lib32-mesa=20.0.0_devel.118292.d7dc14628a9-1  lib32-vulkan-intel=20.0.0_devel.118292.d7dc14628a9-1  lib32-vulkan-radeon=20.0.0_devel.118292.d7dc14628a9-1  lib32-libva-mesa-driver=20.0.0_devel.118292.d7dc14628a9-1  lib32-mesa-vdpau=20.0.0_devel.118292.d7dc14628a9-1
                  lib32-opengl-driver
Depends On      : mesa-git  lib32-gcc-libs  lib32-libdrm  lib32-wayland  lib32-libxxf86vm  lib32-libxdamage  lib32-libxshmfence  lib32-elfutils  lib32-libunwind  lib32-lm_sensors  glslang  lib32-llvm-libs=9.0.0
Optional Deps   : opengl-man-pages: for the OpenGL API man pages
Required By     : lib32-gallium-nine-git  lib32-gtk3  lib32-libglvnd
Optional For    : None
Conflicts With  : lib32-mesa  lib32-vulkan-intel  lib32-vulkan-radeon  lib32-libva-mesa-driver  lib32-mesa-vdpau
Replaces        : None
Installed Size  : 101,52 MiB
Packager        : Unknown Packager
Build Date      : Mon Dec 9 00:15:22 2019
Install Date    : Mon Dec 9 00:18:45 2019
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

Edit: Just a little afterthought, seems like it crashes only in Vulkan games because it works just fine in CS:GO, Minecraft, and some others. Maybe just a coincidence though

Edit2: alright, I compiled {lib32-,}llvm-mininal-git and {lib32-,}mesa-git and everything runs awesomely. I get an average of around 95 fps in Rise of the Tomb Raider maxed-out settings at 1440p. That's fucking smooooooth. Seems like not everything was fixed in mesa 19 after all.

Edited 9 Dec 2019. We only hold this version.

8 points34 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
8 · 100% up
Kind
Text
ID
e82191

Author

30
posts
275
comments
13
media
View profile

35 comments

intresting using a rx 5700 xt no crashes in cs:go or any vulkan games.

2 points

CS:GO works fine for me, too. I just need to try out another Vulkan game to say for sure if it's really the cause or not

1 points

I've had a bunch of crashes in FFXIV today since I switched from an RX 580, and updating to the 5.5 "mainline" kernel didn't help. Fingers crossed that this works (boy llvm takes a while to download)

2 points

Fixed everything for me (almost, there are some kernel crashes here and there but I have no patience to compile a fucking kernel), should be the same for you. I actually compiled llvm (llvm-minimal to be precise) just once but recompile Mesa like once a week since it takes only like a few mins in the bg. Don't forget --no-check since git packages pretty often don't pass tests since they haven't been updated yet. I've lost a few hours cause the compilation failed because of tests. That's kinda all you should know, I think. And btw, don't forget to compile the appropriate lib32 packages if you intend to play through Wine. GL

2 points

Huh. I got three of the four packages installed, but now that I'm on lib32-mesa-git, running makepkg -s gives me:

:: lib32-llvm and lib32-llvm-minimal-git are in conflict. Remove lib32-llvm-minimal-git? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: lib32-llvm and lib32-llvm-minimal-git are in conflict

Maybe I should just go with the regular non-minimal llvm-git packages...

1 points

I too have an RX 5700 XT.

I also had this problem and the solution was really really stupid.

You have to limit your monitor(s) frame rate to 60FPS. Any higher and you have a chance of causing this hardlock under [CPU?/GPU?] stressful situation.

the bug report can be found here: https://bugs.freedesktop.org/show_bug.cgi?id=111481

2 points

But I have a 144Hz monitor ;_;
To be honest, the latest Mesa 20 did fix everything after all, so there's that at least. We just gotta wait till it's released

1 points

me too </3. waiting for it to be fixed. Running at 60 is at least better then a hardlock every hour or so

1 points

I've had the same in a couple of games. Right now I'm tring to get master chief collection running. It freezes the entire system after a level loads.

I can't figure out why.

Some updates fixed some games.

1 points

I had this problem too! (I have RX 5700XT and was trying to get MCC working over the weekend). I finally got it working with mesagit repo (not the AUR mesa-git package). I am currently on 1:20.0.0_devel.117651.3b3494174da-1 also make sure your vulkan drivers are up to date (vulkan-radeon)

3 points

Ok I'll check that out, I think I'm on that repo as it helped with many other games when I was an early adopter a few months back.

Thanks.

EDIT: Ok I downgraded to vulkan-radeon instead of vulkan-radeon-git. I will just have to remember this because the git version works on some games, and the regular one works on other. Sigh.

But that fixed the problem.

1 points

The same happens in ROTTB. Just when the main menu loads, the system completely crashes. Did you check journalctl last time it happened? I wanna know if it's the same bug or not

1 points

You need patches present as of today's 5.5-rc1. That's it. It won't work without them, no point hunting down workarounds. These GPUs only work >=5.5. What we had before is skeleton support so it boots.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.