From: bugzilla-daemon@freedesktop.org Subject: [Bug 109022] ring gfx timeout during particular shader generation on yuzu emulator Date: Tue, 29 Jan 2019 04:06:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1494922634==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 841566E578 for ; Tue, 29 Jan 2019 04:06:03 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1494922634== Content-Type: multipart/alternative; boundary="15487347630.Ee3F.21040" Content-Transfer-Encoding: 7bit --15487347630.Ee3F.21040 Date: Tue, 29 Jan 2019 04:06:03 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D109022 --- Comment #8 from e88z4 --- Hi,=20 This bug still occurs with kernel 5.0-rc4 with Mesa 19.0-devel (commit 932ed9c00b99e6ec92146ec9e820f546cf3e6551). There are more error logs in dme= sg like below. [ 1132.040752] amdgpu 0000:23:00.0: GPU fault detected: 147 0x0a808802 for process yuzu pid 19573 thread yuzu:cs0 pid 19577 [ 1132.040761] amdgpu 0000:23:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR=20= =20 0x0003F350 [ 1132.040766] amdgpu 0000:23:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0C088002 [ 1132.040773] amdgpu 0000:23:00.0: VM fault (0x02, vmid 6, pasid 32770) at page 258896, read from 'TC6' (0x54433600) (136) [ 1142.103758] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=3D50481, emitted seq=3D50484 [ 1142.103820] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process informati= on: process yuzu pid 19573 thread yuzu:cs0 pid 19577 [ 1142.103826] amdgpu 0000:23:00.0: GPU reset begin! [ 1149.487464] WARNING: CPU: 9 PID: 19117 at kernel/kthread.c:501 kthread_park+0x20/0x67 [ 1149.487467] Modules linked in: hid_switchcon hidp tda18271 s5h1411 rfcomm fuse cmac bnep binfmt_misc amdgpu mfd_core kvm irqbypass ghash_clmulni_intel btusb btrtl btbcm btintel bluetooth snd_hda_codec_realtek snd_hda_codec_gen= eric snd_usb_audio snd_usbmidi_lib snd_hda_codec_hdmi sha256_generic snd_rawmidi snd_pcsp chash gpu_sched saa7164 xpad snd_hda_intel tveeprom drm_kms_helper joydev evdev aesni_intel syscopyarea dvb_core sysfillrect snd_hda_codec sysimgblt fb_sys_fops aes_x86_64 snd_hwdep ttm crypto_simd snd_hda_core cry= ptd ff_memless drbg glue_helper snd_pcm drm snd_timer i2c_algo_bit videodev snd ecdh_generic sp5100_tco soundcore k10temp media sg 8250 8250_base serial_co= re button acpi_cpufreq nct6775 hwmon_vid autofs4 ext4 crc16 mbcache jbd2 sd_mod hid_generic usbhid hid i2c_piix4 ahci xhci_pci crc32c_intel i2c_core libahci xhci_hcd r8169 libata realtek libphy usbcore scsi_mod usb_common [ 1149.487525] CPU: 9 PID: 19117 Comm: MemoryInfra Not tainted 5.0.0-rc4-ht= pc+ #3 [ 1149.487526] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B450M Pro4, BIOS P2.00 12/18/2018 [ 1149.487530] RIP: 0010:kthread_park+0x20/0x67 [ 1149.487533] Code: e8 09 ff ff ff 48 89 c7 eb 8f 55 53 e8 fd fe ff ff f6 = 47 24 04 74 09 0f 0b b8 da ff ff ff eb 4e 48 89 c3 48 8b 00 a8 04 74 09 <0f> 0= b b8 f0 ff ff ff eb 3b 48 89 fd f0 80 0b 04 65 48 8b 04 25 40 [ 1149.487534] RSP: 0018:ffffc900030d7bc0 EFLAGS: 00010202 [ 1149.487537] RAX: 0000000000000004 RBX: ffff88840868f680 RCX: 0000000000000000 [ 1149.487538] RDX: ffff8883d0794330 RSI: ffff88827243f330 RDI: ffff88840732ee80 [ 1149.487540] RBP: ffff888407ad7398 R08: 0000000000000001 R09: ffff888288facd80 [ 1149.487541] R10: 0000000000000040 R11: ffffc900030d7bc0 R12: 000000000000000d [ 1149.487543] R13: 0000000000000006 R14: ffff88840b01d000 R15: ffff88840b01d0f0 [ 1149.487545] FS: 00007f96304a6700(0000) GS:ffff88841ee40000(0000) knlGS:0000000000000000 [ 1149.487547] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1149.487548] CR2: 00007f229032b000 CR3: 0000000407b90000 CR4: 00000000003406e0 [ 1149.487549] Call Trace: [ 1149.487559] drm_sched_entity_fini+0x4c/0xeb [gpu_sched] [ 1149.487612] amdgpu_ctx_mgr_entity_fini+0x80/0xa8 [amdgpu] [ 1149.487662] amdgpu_ctx_mgr_fini+0x22/0x8b [amdgpu] [ 1149.487706] amdgpu_driver_postclose_kms+0x188/0x242 [amdgpu] [ 1149.487717] drm_file_free+0x1e6/0x22d [drm] [ 1149.487728] drm_release+0x75/0xdf [drm] [ 1149.487733] __fput+0xe9/0x18f [ 1149.487737] task_work_run+0x68/0x7c [ 1149.487741] do_exit+0x450/0x917 [ 1149.487744] do_group_exit+0x95/0x95 [ 1149.487748] get_signal+0x439/0x461 [ 1149.487752] do_signal+0x31/0x4cc [ 1149.487757] prepare_exit_to_usermode+0x8b/0xf5 [ 1149.487762] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 1149.487764] RIP: 0033:0x7f964651ffac [ 1149.487772] Code: Bad RIP value. [ 1149.487773] RSP: 002b:00007f96304a5640 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 1149.487776] RAX: fffffffffffffe00 RBX: 00007f96304a57b0 RCX: 00007f964651ffac [ 1149.487777] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f96304a57d8 [ 1149.487778] RBP: 0000000000000000 R08: 0000000000000000 R09: 00007fff49705080 [ 1149.487779] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 1149.487781] R13: 00007f96304a5788 R14: 0000000000000000 R15: 00007f96304a57d8 [ 1149.487784] ---[ end trace 540c7632a8289097 ]--- [ 1152.333861] [drm:amdgpu_dm_atomic_check [amdgpu]] *ERROR* [CRTC:47:crtc-= 0] hw_done or flip_done timed out If you need more clarification or detail, please let me know. --=20 You are receiving this mail because: You are the assignee for the bug.= --15487347630.Ee3F.21040 Date: Tue, 29 Jan 2019 04:06:03 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 8 on bug 10902= 2 from e88z4
Hi,=20

This bug still occurs with kernel 5.0-rc4 with Mesa 19.0-devel (commit
932ed9c00b99e6ec92146ec9e820f546cf3e6551). There are more error logs in dme=
sg
like below.

[ 1132.040752] amdgpu 0000:23:00.0: GPU fault detected: 147 0x0a808802 for
process yuzu pid 19573 thread yuzu:cs0 pid 19577
[ 1132.040761] amdgpu 0000:23:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR=20=
=20
0x0003F350
[ 1132.040766] amdgpu 0000:23:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS
0x0C088002
[ 1132.040773] amdgpu 0000:23:00.0: VM fault (0x02, vmid 6, pasid 32770) at
page 258896, read from 'TC6' (0x54433600) (136)
[ 1142.103758] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout,
signaled seq=3D50481, emitted seq=3D50484
[ 1142.103820] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process informati=
on:
process yuzu pid 19573 thread yuzu:cs0 pid 19577
[ 1142.103826] amdgpu 0000:23:00.0: GPU reset begin!
[ 1149.487464] WARNING: CPU: 9 PID: 19117 at kernel/kthread.c:501
kthread_park+0x20/0x67
[ 1149.487467] Modules linked in: hid_switchcon hidp tda18271 s5h1411 rfcomm
fuse cmac bnep binfmt_misc amdgpu mfd_core kvm irqbypass ghash_clmulni_intel
btusb btrtl btbcm btintel bluetooth snd_hda_codec_realtek snd_hda_codec_gen=
eric
snd_usb_audio snd_usbmidi_lib snd_hda_codec_hdmi sha256_generic snd_rawmidi
snd_pcsp chash gpu_sched saa7164 xpad snd_hda_intel tveeprom drm_kms_helper
joydev evdev aesni_intel syscopyarea dvb_core sysfillrect snd_hda_codec
sysimgblt fb_sys_fops aes_x86_64 snd_hwdep ttm crypto_simd snd_hda_core cry=
ptd
ff_memless drbg glue_helper snd_pcm drm snd_timer i2c_algo_bit videodev snd
ecdh_generic sp5100_tco soundcore k10temp media sg 8250 8250_base serial_co=
re
button acpi_cpufreq nct6775 hwmon_vid autofs4 ext4 crc16 mbcache jbd2 sd_mod
hid_generic usbhid hid i2c_piix4 ahci xhci_pci crc32c_intel i2c_core libahci
xhci_hcd r8169 libata realtek libphy usbcore scsi_mod usb_common
[ 1149.487525] CPU: 9 PID: 19117 Comm: MemoryInfra Not tainted 5.0.0-rc4-ht=
pc+
#3
[ 1149.487526] Hardware name: To Be Filled By O.E.M. To Be Filled By
O.E.M./B450M Pro4, BIOS P2.00 12/18/2018
[ 1149.487530] RIP: 0010:kthread_park+0x20/0x67
[ 1149.487533] Code: e8 09 ff ff ff 48 89 c7 eb 8f 55 53 e8 fd fe ff ff f6 =
47
24 04 74 09 0f 0b b8 da ff ff ff eb 4e 48 89 c3 48 8b 00 a8 04 74 09 <0f=
> 0b b8
f0 ff ff ff eb 3b 48 89 fd f0 80 0b 04 65 48 8b 04 25 40
[ 1149.487534] RSP: 0018:ffffc900030d7bc0 EFLAGS: 00010202
[ 1149.487537] RAX: 0000000000000004 RBX: ffff88840868f680 RCX:
0000000000000000
[ 1149.487538] RDX: ffff8883d0794330 RSI: ffff88827243f330 RDI:
ffff88840732ee80
[ 1149.487540] RBP: ffff888407ad7398 R08: 0000000000000001 R09:
ffff888288facd80
[ 1149.487541] R10: 0000000000000040 R11: ffffc900030d7bc0 R12:
000000000000000d
[ 1149.487543] R13: 0000000000000006 R14: ffff88840b01d000 R15:
ffff88840b01d0f0
[ 1149.487545] FS:  00007f96304a6700(0000) GS:ffff88841ee40000(0000)
knlGS:0000000000000000
[ 1149.487547] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1149.487548] CR2: 00007f229032b000 CR3: 0000000407b90000 CR4:
00000000003406e0
[ 1149.487549] Call Trace:
[ 1149.487559]  drm_sched_entity_fini+0x4c/0xeb [gpu_sched]
[ 1149.487612]  amdgpu_ctx_mgr_entity_fini+0x80/0xa8 [amdgpu]
[ 1149.487662]  amdgpu_ctx_mgr_fini+0x22/0x8b [amdgpu]
[ 1149.487706]  amdgpu_driver_postclose_kms+0x188/0x242 [amdgpu]
[ 1149.487717]  drm_file_free+0x1e6/0x22d [drm]
[ 1149.487728]  drm_release+0x75/0xdf [drm]
[ 1149.487733]  __fput+0xe9/0x18f
[ 1149.487737]  task_work_run+0x68/0x7c
[ 1149.487741]  do_exit+0x450/0x917
[ 1149.487744]  do_group_exit+0x95/0x95
[ 1149.487748]  get_signal+0x439/0x461
[ 1149.487752]  do_signal+0x31/0x4cc
[ 1149.487757]  prepare_exit_to_usermode+0x8b/0xf5
[ 1149.487762]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1149.487764] RIP: 0033:0x7f964651ffac
[ 1149.487772] Code: Bad RIP value.
[ 1149.487773] RSP: 002b:00007f96304a5640 EFLAGS: 00000246 ORIG_RAX:
00000000000000ca
[ 1149.487776] RAX: fffffffffffffe00 RBX: 00007f96304a57b0 RCX:
00007f964651ffac
[ 1149.487777] RDX: 0000000000000000 RSI: 0000000000000080 RDI:
00007f96304a57d8
[ 1149.487778] RBP: 0000000000000000 R08: 0000000000000000 R09:
00007fff49705080
[ 1149.487779] R10: 0000000000000000 R11: 0000000000000246 R12:
0000000000000000
[ 1149.487781] R13: 00007f96304a5788 R14: 0000000000000000 R15:
00007f96304a57d8
[ 1149.487784] ---[ end trace 540c7632a8289097 ]---
[ 1152.333861] [drm:amdgpu_dm_atomic_check [amdgpu]] *ERROR* [CRTC:47:crtc-=
0]
hw_done or flip_done timed out


If you need more clarification or detail, please let me know.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15487347630.Ee3F.21040-- --===============1494922634== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1494922634==--