Solved Issues with lockups using AMD RX 5600 XT in 13.0-RELEASE

Styrsven

New Member

Reaction score: 7
Messages: 9

First of all, I got this card working with drm-kmod, this is not a problem.
I have an issue with X lockups when using graphics acceleration.
One sure way to provoke it is running "supertuxkart" with maximum graphics detail in 4k full screen resolution, the track "snow peak" (lower right corner in story mode). It runs for approximately 2 seconds and then it freezes. The sound continues a few seconds more, but the screen and keyboard are locked.
It also locks up sooner or later when xscreensaver runs, normally it has locked up when I return to the screen.
In the early 13.0 betas, and possibly some rc's, I could avoid lockups by installing mesa-devel, but in the later rc's and in the release X refuses to start with mesa-devel installed (Xorg.0.log for that case attached).
So my questions are
1. Does anyone else have this kind of lockups?
2. Does anyone have a workaround for that?
3. Does anyone know how to get X to start with mesa-devel so I could try if that still solves the problem?

Also note that I have tested 13.0-STABLE and 14.0-CURRENT but since the issue is there too I have returned to 13.0-RELEASE.

Added 2021-05-30:
The times I have succeeded to switch to vt1 I have seen a text similar to "drm ERROR: Waiting for fences timed out."

According to this link, linux 5.4 was a regression from linux 5.3 in this aspect. I know I can run linux 5.12 without issues, and if memory serves me right 5.11 as well.https://gitlab.freedesktop.org/drm/amd/-/issues/934
https://gitlab.freedesktop.org/drm/amd/-/issues/934
It seems I just have to wait.
 

Attachments

  • Xorg.0.log.txt
    37.2 KB · Views: 12
Last edited:
OP
S

Styrsven

New Member

Reaction score: 7
Messages: 9

Just a followup: With the upgrade today of mesa to to 21.1.5 the lockups seems to have disappeared, so 3d graphics seems to be usable.
There is still some video stuttering, but that is easier to live with than total freezes.
 
Top