<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - UE4Editor crash after pressing "play" with radeon southern island card (7850 HD)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101325#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - UE4Editor crash after pressing "play" with radeon southern island card (7850 HD)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101325">bug 101325</a>
from <span class="vcard"><a class="email" href="mailto:dodgyville+freedesktop@gmail.com" title="Luke <dodgyville+freedesktop@gmail.com>"> <span class="fn">Luke</span></a>
</span></b>
<pre>Hi Julien,
DISPLAY=:0 apitrace replay thrash.trace
with export R600_DEBUG=nowc
runs to completion but doesn't generate any extra entries in dmesg or a file 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 Code
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 Code
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 Code
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 Code
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=nowc 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_infineon
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 wacom
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 ahci
fb_sys_fops libahci atl1c drm wmi video
[ +0.000008] CPU: 0 PID: 1642 Comm: Xorg Tainted: G OE
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: 00007f0fd198b987
[ +0.000001] RDX: 00007ffd79addcd8 RSI: 0000000040086409 RDI: 000000000000000e
[ +0.000000] RBP: 00007ffd79addc58 R08: 0000000000000000 R09: 0000000000000000
[ +0.000001] R10: 0000000000000078 R11: 0000000000000246 R12: 0000000040086409
[ +0.000000] R13: 000000000000000e R14: 0000000011b15000 R15: 000055bae3c22d70
[ +0.000001] ---[ end trace d2fc370376efb1a1 ]---</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>