From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101325] UE4Editor crash after pressing "play" with radeon southern island card (7850 HD) Date: Sat, 10 Jun 2017 02:16:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1986825608==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 05D3C6E715 for ; Sat, 10 Jun 2017 02:16:16 +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 --===============1986825608== Content-Type: multipart/alternative; boundary="14970609750.83c344.15802"; charset="UTF-8" --14970609750.83c344.15802 Date: Sat, 10 Jun 2017 02:16:15 +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=3D101325 --- Comment #8 from Luke --- Hi Julien, DISPLAY=3D:0 apitrace replay thrash.trace=20 with export R600_DEBUG=3Dnowc runs to completion but doesn't generate any extra entries in dmesg or a fil= e in ddumps STDOUT/STDERR output is: 9090: message: shader compiler issue 1: LLVM diagnostic (remark): :0:0: 3 instructions in function 9090: message: shader compiler issue 2: Shader Stats: SGPRS: 16 VGPRS: 8 Co= de Size: 64 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 9090: message: shader compiler issue 1: LLVM diagnostic (remark): :0:0: 4 instructions in function 9090: message: shader compiler issue 2: Shader Stats: SGPRS: 10 VGPRS: 16 C= ode Size: 40 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 9109: message: shader compiler issue 2: Shader Stats: SGPRS: 24 VGPRS: 16 C= ode Size: 80 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 42823: message: shader compiler issue 2: Shader Stats: SGPRS: 24 VGPRS: 8 C= ode Size: 196 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 42823: message: shader compiler issue 2: Shader Stats: SGPRS: 24 VGPRS: 16 = Code Size: 180 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 Rendered 541 frames in 29.2442 secs, average of 18.4994 fps However, running UE4Editor with export R600_DEBUG=3Dnowc gives extra trace information in dmesg. The computer still crashes but the screen also flashes garbled noise for a few seconds too (my poor card). I've attached the full dmesg file but here is the main new snippet: [ +0.002390] ------------[ cut here ]------------ [ +0.000015] WARNING: CPU: 0 PID: 1642 at drivers/gpu/drm/radeon/radeon_object.c:84 radeon_ttm_bo_destroy+0xea/0xf0 [radeon] [ +0.000001] Modules linked in: pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) ccm binfmt_misc nls_iso8859_1 joydev input_leds intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_via snd_hda_codec_generic kvm_intel snd_hda_codec_hdmi kvm snd_hda_intel snd_hda_codec irqbypass snd_hda_core snd_hwdep snd_pcm crct10dif_pclmul arc4 crc32_pclmul snd_seq_midi snd_seq_midi_event ghash_clmulni_intel pcbc aesni_intel aes_x86_64 snd_rawmidi crypto_simd glue_helper cryptd ath9k intel_cstate ath9k_common intel_rapl_perf ath9k_hw snd_seq ath mac80211 serio_raw snd_seq_device snd_timer cfg80211 snd lpc_ich soundcore tpm_infin= eon shpchp mei_me ie31200_edac mei mac_hid edac_core it87 hwmon_vid coretemp parport_pc ppdev lp parport ip_tables x_tables autofs4 amdgpu hid_generic w= acom usbhid [ +0.000024] hid uas usb_storage mxm_wmi amdkfd amd_iommu_v2 radeon i2c_algo_bit ttm drm_kms_helper psmouse syscopyarea sysfillrect sysimgblt a= hci fb_sys_fops libahci atl1c drm wmi video [ +0.000008] CPU: 0 PID: 1642 Comm: Xorg Tainted: G OE=20=20 4.11.0-mytest #2 [ +0.000000] Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./Z77X-D3H, BIOS F9 05/31/2012 [ +0.000001] Call Trace: [ +0.000004] dump_stack+0x63/0x81 [ +0.000002] __warn+0xcb/0xf0 [ +0.000002] warn_slowpath_null+0x1d/0x20 [ +0.000009] radeon_ttm_bo_destroy+0xea/0xf0 [radeon] [ +0.000003] ttm_bo_release_list+0xcf/0x210 [ttm] [ +0.000002] ttm_bo_release+0x19b/0x200 [ttm] [ +0.000002] ttm_bo_unref+0x2c/0x30 [ttm] [ +0.000009] radeon_bo_unref+0x39/0x70 [radeon] [ +0.000010] radeon_gem_object_free+0x57/0x70 [radeon] [ +0.000007] drm_gem_object_free+0x29/0x70 [drm] [ +0.000004] drm_gem_object_unreference_unlocked+0x40/0x70 [drm] [ +0.000005] drm_gem_object_handle_unreference_unlocked+0x66/0xb0 [drm] [ +0.000004] drm_gem_object_release_handle+0x53/0x90 [drm] [ +0.000005] drm_gem_handle_delete+0x5e/0x90 [drm] [ +0.000004] drm_gem_close_ioctl+0x20/0x30 [drm] [ +0.000005] drm_ioctl+0x218/0x4b0 [drm] [ +0.000005] ? drm_gem_handle_create+0x40/0x40 [drm] [ +0.000002] ? sock_write_iter+0x85/0xf0 [ +0.000007] radeon_drm_ioctl+0x4f/0x90 [radeon] [ +0.000001] do_vfs_ioctl+0xa3/0x600 [ +0.000002] ? vfs_write+0x14c/0x1a0 [ +0.000001] SyS_ioctl+0x79/0x90 [ +0.000002] entry_SYSCALL_64_fastpath+0x1e/0xad [ +0.000001] RIP: 0033:0x7f0fd198b987 [ +0.000000] RSP: 002b:00007ffd79addc88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ +0.000001] RAX: ffffffffffffffda RBX: 000055bae3b084d0 RCX: 00007f0fd198= b987 [ +0.000001] RDX: 00007ffd79addcd8 RSI: 0000000040086409 RDI: 000000000000= 000e [ +0.000000] RBP: 00007ffd79addc58 R08: 0000000000000000 R09: 000000000000= 0000 [ +0.000001] R10: 0000000000000078 R11: 0000000000000246 R12: 000000004008= 6409 [ +0.000000] R13: 000000000000000e R14: 0000000011b15000 R15: 000055bae3c2= 2d70 [ +0.000001] ---[ end trace d2fc370376efb1a1 ]--- --=20 You are receiving this mail because: You are the assignee for the bug.= --14970609750.83c344.15802 Date: Sat, 10 Jun 2017 02:16:15 +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 10132= 5 from Luke
Hi Julien,

DISPLAY=3D:0 apitrace replay thrash.trace=20
with export R600_DEBUG=3Dnowc
runs to completion but doesn't generate any extra entries in dmesg or a fil=
e in
ddumps

STDOUT/STDERR output is:
9090: message: shader compiler issue 1: LLVM diagnostic (remark):
<unknown>:0:0: 3 instructions in function
9090: message: shader compiler issue 2: Shader Stats: SGPRS: 16 VGPRS: 8 Co=
de
Size: 64 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
9090: message: shader compiler issue 1: LLVM diagnostic (remark):
<unknown>:0:0: 4 instructions in function
9090: message: shader compiler issue 2: Shader Stats: SGPRS: 10 VGPRS: 16 C=
ode
Size: 40 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
9109: message: shader compiler issue 2: Shader Stats: SGPRS: 24 VGPRS: 16 C=
ode
Size: 80 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
42823: message: shader compiler issue 2: Shader Stats: SGPRS: 24 VGPRS: 8 C=
ode
Size: 196 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
42823: message: shader compiler issue 2: Shader Stats: SGPRS: 24 VGPRS: 16 =
Code
Size: 180 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0
PrivMem VGPRs: 0
Rendered 541 frames in 29.2442 secs, average of 18.4994 fps


However, running UE4Editor with export R600_DEBUG=3Dnowc gives extra trace
information in dmesg. The computer still crashes but the screen also flashes
garbled noise for a few seconds too (my poor card). I've attached the full
dmesg file but here is the main new snippet:

[  +0.002390] ------------[ cut here ]------------
[  +0.000015] WARNING: CPU: 0 PID: 1642 at
drivers/gpu/drm/radeon/radeon_object.c:84 radeon_ttm_bo_destroy+0xea/0xf0
[radeon]
[  +0.000001] Modules linked in: pci_stub vboxpci(OE) vboxnetadp(OE)
vboxnetflt(OE) vboxdrv(OE) ccm binfmt_misc nls_iso8859_1 joydev input_leds
intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_via
snd_hda_codec_generic kvm_intel snd_hda_codec_hdmi kvm snd_hda_intel
snd_hda_codec irqbypass snd_hda_core snd_hwdep snd_pcm crct10dif_pclmul arc4
crc32_pclmul snd_seq_midi snd_seq_midi_event ghash_clmulni_intel pcbc
aesni_intel aes_x86_64 snd_rawmidi crypto_simd glue_helper cryptd ath9k
intel_cstate ath9k_common intel_rapl_perf ath9k_hw snd_seq ath mac80211
serio_raw snd_seq_device snd_timer cfg80211 snd lpc_ich soundcore tpm_infin=
eon
shpchp mei_me ie31200_edac mei mac_hid edac_core it87 hwmon_vid coretemp
parport_pc ppdev lp parport ip_tables x_tables autofs4 amdgpu hid_generic w=
acom
usbhid
[  +0.000024]  hid uas usb_storage mxm_wmi amdkfd amd_iommu_v2 radeon
i2c_algo_bit ttm drm_kms_helper psmouse syscopyarea sysfillrect sysimgblt a=
hci
fb_sys_fops libahci atl1c drm wmi video
[  +0.000008] CPU: 0 PID: 1642 Comm: Xorg Tainted: G           OE=20=20
4.11.0-mytest #2
[  +0.000000] Hardware name: Gigabyte Technology Co., Ltd. To be filled by
O.E.M./Z77X-D3H, BIOS F9 05/31/2012
[  +0.000001] Call Trace:
[  +0.000004]  dump_stack+0x63/0x81
[  +0.000002]  __warn+0xcb/0xf0
[  +0.000002]  warn_slowpath_null+0x1d/0x20
[  +0.000009]  radeon_ttm_bo_destroy+0xea/0xf0 [radeon]
[  +0.000003]  ttm_bo_release_list+0xcf/0x210 [ttm]
[  +0.000002]  ttm_bo_release+0x19b/0x200 [ttm]
[  +0.000002]  ttm_bo_unref+0x2c/0x30 [ttm]
[  +0.000009]  radeon_bo_unref+0x39/0x70 [radeon]
[  +0.000010]  radeon_gem_object_free+0x57/0x70 [radeon]
[  +0.000007]  drm_gem_object_free+0x29/0x70 [drm]
[  +0.000004]  drm_gem_object_unreference_unlocked+0x40/0x70 [drm]
[  +0.000005]  drm_gem_object_handle_unreference_unlocked+0x66/0xb0 [drm]
[  +0.000004]  drm_gem_object_release_handle+0x53/0x90 [drm]
[  +0.000005]  drm_gem_handle_delete+0x5e/0x90 [drm]
[  +0.000004]  drm_gem_close_ioctl+0x20/0x30 [drm]
[  +0.000005]  drm_ioctl+0x218/0x4b0 [drm]
[  +0.000005]  ? drm_gem_handle_create+0x40/0x40 [drm]
[  +0.000002]  ? sock_write_iter+0x85/0xf0
[  +0.000007]  radeon_drm_ioctl+0x4f/0x90 [radeon]
[  +0.000001]  do_vfs_ioctl+0xa3/0x600
[  +0.000002]  ? vfs_write+0x14c/0x1a0
[  +0.000001]  SyS_ioctl+0x79/0x90
[  +0.000002]  entry_SYSCALL_64_fastpath+0x1e/0xad
[  +0.000001] RIP: 0033:0x7f0fd198b987
[  +0.000000] RSP: 002b:00007ffd79addc88 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[  +0.000001] RAX: ffffffffffffffda RBX: 000055bae3b084d0 RCX: 00007f0fd198=
b987
[  +0.000001] RDX: 00007ffd79addcd8 RSI: 0000000040086409 RDI: 000000000000=
000e
[  +0.000000] RBP: 00007ffd79addc58 R08: 0000000000000000 R09: 000000000000=
0000
[  +0.000001] R10: 0000000000000078 R11: 0000000000000246 R12: 000000004008=
6409
[  +0.000000] R13: 000000000000000e R14: 0000000011b15000 R15: 000055bae3c2=
2d70
[  +0.000001] ---[ end trace d2fc370376efb1a1 ]---


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