Bug 111124

Summary: [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out or interrupted! happens every time when a сutscene showed in Max Payne 3
Product: DRI Reporter: mikhail.v.gavrilov
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: harald.linden, shallowaloe
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
save game should be placed in ".steam/steam/steamapps/compatdata/204100/pfx/drive_c/users/steamuser/My Documents/Rockstar Games" directory
none
dmesg
none
trace-cmd start -e dma_fence -e gpu_scheduler -e amdgpu -v -e "amdgpu:amdgpu_mm_rreg" -e "amdgpu:amdgpu_mm_wreg" -e "amdgpu:amdgpu_iv"
none
./umr -O halt_waves -wa
none
./umr -R gfx[.]
none
./umr -O many,bits -r *.*.mmGRBM_STATUS*
none
./umr -O many,bits -r *.*.mmCP_EOP_*
none
./umr -O many,bits -r *.*.mmCP_PFP_HEADER_DUMP
none
./umr -O many,bits -r *.*.mmCP_ME_HEADER_DUMP
none
dmesg (KSP)
none
(KSP) trace-cmd record -e dma_fence -e gpu_scheduler -e amdgpu -v -e "amdgpu:amdgpu_mm_rreg" -e "amdgpu:amdgpu_mm_wreg" -e "amdgpu:amdgpu_iv"
none
(KSP) trace-cmd report
none
(KSP) Xorg.log none

Description mikhail.v.gavrilov 2019-07-13 22:47:08 UTC
Created attachment 144775 [details]
save game should be placed in ".steam/steam/steamapps/compatdata/204100/pfx/drive_c/users/steamuser/My Documents/Rockstar Games" directory

Here is a demonstration: https://youtu.be/5-peqm82_qI

Kernel: 5.3.0 commit 5450e8a316a6
Mesa: 19.2.0 commit f1e0a45d
libdrm: 2.4.99 commit 331e51e3
llvm: 8.0.0
Comment 1 mikhail.v.gavrilov 2019-07-13 22:53:24 UTC
Created attachment 144776 [details]
dmesg
Comment 2 mikhail.v.gavrilov 2019-07-13 22:54:07 UTC
Created attachment 144777 [details]
trace-cmd start -e dma_fence -e gpu_scheduler -e amdgpu -v -e "amdgpu:amdgpu_mm_rreg" -e "amdgpu:amdgpu_mm_wreg" -e "amdgpu:amdgpu_iv"
Comment 3 mikhail.v.gavrilov 2019-07-13 22:54:26 UTC
Created attachment 144778 [details]
./umr -O halt_waves -wa
Comment 4 mikhail.v.gavrilov 2019-07-13 22:55:12 UTC
Created attachment 144779 [details]
./umr -R gfx[.]
Comment 5 mikhail.v.gavrilov 2019-07-13 22:56:13 UTC
Created attachment 144780 [details]
./umr -O many,bits -r *.*.mmGRBM_STATUS*
Comment 6 mikhail.v.gavrilov 2019-07-13 22:56:39 UTC
Created attachment 144781 [details]
./umr -O many,bits -r *.*.mmCP_EOP_*
Comment 7 mikhail.v.gavrilov 2019-07-13 22:57:00 UTC
Created attachment 144782 [details]
./umr -O many,bits -r *.*.mmCP_PFP_HEADER_DUMP
Comment 8 mikhail.v.gavrilov 2019-07-13 22:57:31 UTC
Created attachment 144783 [details]
./umr -O many,bits -r *.*.mmCP_ME_HEADER_DUMP
Comment 9 mikhail.v.gavrilov 2019-07-13 23:04:35 UTC
GPU: AMD Radeon VII
Comment 10 Harald Linden 2019-11-09 11:07:38 UTC
I can report the same problem running Kerbal Space Program (ksp) 1.4.5. Occasionally, during EVAs on planetary surfaces, the games freezes for ten seconds and the error message above shows up in the kernel log.

Distro: Debian GNU/Linux bullseye/sid
Kernel: 5.3.0-1-amd64 #1 SMP Debian 5.3.7-1 (2019-10-19) x86_64
Mesa: Mesa 19.2.3
libdrm: 2.4.99-1
llvm: 8.0.1-3+b1
GPU: "AMD Radeon (TM) RX 480 Graphics" (ChipID = 0x67df)
Comment 11 Harald Linden 2019-11-09 11:08:48 UTC
Created attachment 145919 [details]
dmesg (KSP)
Comment 12 Harald Linden 2019-11-09 11:10:16 UTC
Created attachment 145920 [details]
(KSP) trace-cmd record -e dma_fence -e gpu_scheduler -e amdgpu -v -e "amdgpu:amdgpu_mm_rreg" -e "amdgpu:amdgpu_mm_wreg" -e "amdgpu:amdgpu_iv"
Comment 13 Harald Linden 2019-11-09 11:11:50 UTC
Created attachment 145921 [details]
(KSP) trace-cmd report
Comment 14 Harald Linden 2019-11-09 11:21:57 UTC
Created attachment 145922 [details]
(KSP) Xorg.log
Comment 15 Martin Peres 2019-11-19 09:36:38 UTC
-- 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/847.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.