Skip to contentSkip to conversation

Hand of Fate 2 leads to GPU lock up (display powered off, SSH works, keyboard dead): "flip_done timed out"

Bug 109461 [email protected] 1 participant 5 messages Jan 26, 2019 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=109461

Bug ID: 109461
Summary: [amdgpu/radeonsi,HAWAII] Hand of Fate 2 leads to GPU
lock up (display powered off, SSH works, keyboard dead): "flip_done timed out"
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]
Blocks: 77449

Created attachment 143232
--> https://bugs.freedesktop.org/attachment.cgi?id=143232&action=edit
dmesg excerpt showing the backtraces and other DRM related entries

Playing Hand of Fate 2 leads to reproducible lock ups of my HAWAII Pro GPU. Sometimes directly on initial load, sometimes after playing for a while. The system can be reached over SSH, but the attached input devices are dead (not even num lock changes work). In addition to this the display gets powered off (display turns black and shows behaviour as if looking for input, ie. the connector identifier is show.

In dmesg I can see "flip_done timed out" errors and two backtraces (see attached dmesg excerpt for all the details):

Quoted 8 lines
[15465.441663] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:44:crtc-0] flip_done timed out
[15465.451746] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=1164561, emitted seq=1164563
[15465.451751] [drm] GPU recovery disabled.
[15467.233739] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma0 timeout, signaled seq=171220, emitted seq=171221
[15467.233746] [drm] GPU recovery disabled.
[15475.681643] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:44:crtc-0] flip_done timed out
[15485.921664] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:42:plane-5] flip_done timed out
[15485.921779] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* amdgpu_dm_commit_planes: acrtc 0, already busy

If you need data logged with umr, please provide me with the exact command I should run.

The bug is reproducible with the following stack (Debian testing as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/8e9ad592c3
libdrm: 2.4.97
LLVM: SVN:trunk/r351739 (9.0 devel)
X.Org: 2:1.20.3-1
Linux: 4.20.4
Firmware (firmware-amd-graphics): 20190114-1
libclc: Git:master/428e821c1e
DDX (xserver-xorg-video-amdgpu): 18.1.0-1

Let me know if you need anything else.

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=77449
[Bug 77449] Tracker bug for all bugs related to Steam titles

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=109461

--- Comment #1 from Michel Dänzer <[email protected]> --- Is this a regression, and if so, can you bisect? Note that it could be a Mesa/LLVM issue rather than a kernel one.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109461

--- Comment #2 from Kai <[email protected]> --- (In reply to Michel Dänzer from comment #1)

Quoted 2 lines

Is this a regression, and if so, can you bisect? Note that it could be a Mesa/LLVM issue rather than a kernel one.

Technically yes. But I don't know a (reasonable) good version, because the last time I played this game was in 2017. Between then and now there were many updates for the game (the last one is from 2019-01-11) and an incredible amount of commits for the kernel, Mesa and LLVM.

I'm not even sure if I still used the radeon module the last time or if I was already on amdgpu.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109461

--- Comment #3 from Hubert Kario <[email protected]> --- did you try to monitor temperature while running the game? Did you try to reproduce it with something like glmark2 or FurMark?

see also bug 109466 comment 9

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=109461

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #4 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/684.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel