Bug 98541

Summary: [bisected] gpu hang
Product: Mesa Reporter: Alexandr Zelinsky <mexahotabop>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium CC: nhaehnle
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Xorg.0.log
R600_DEBUG=vs,tcs,tes,gs,ps,cs with hang
R600_DEBUG=vs,tcs,tes,gs,ps,cs without hang

Description Alexandr Zelinsky 2016-11-02 08:39:21 UTC
bisected in 1b6fb88ab2031a98ddf03a81f644b22a8f7e9428
no errors in logs 

hangs very random fasted way to reproduce that what i find its fast switch between ships in star conflict
Comment 1 Michel Dänzer 2016-11-02 09:04:00 UTC
Nicolai, any ideas? That's

commit 1b6fb88ab2031a98ddf03a81f644b22a8f7e9428
Author: Nicolai Hähnle <nicolai.haehnle@amd.com>
Date:   Wed Sep 28 21:27:16 2016 +0200

    gallium/radeon: unify the creation of basic blocks
Comment 2 Alexandr Zelinsky 2016-11-02 09:13:30 UTC
Created attachment 127683 [details]
Xorg.0.log

r7 360
llvm git 188a521a18bf77747e2fa21a8a541e7882b0aea0
kernel 4.7.0 and 4.8.2 driver amdgpu
dual screen configuration
Comment 3 Nicolai Hähnle 2016-11-02 11:17:12 UTC
Can you provide an apitrace that reproduces the hang?
Comment 4 Alexandr Zelinsky 2016-11-03 02:29:14 UTC
for some reason i cannot reproduce hang with apitrace
Comment 5 Nicolai Hähnle 2016-11-03 08:52:34 UTC
That's odd. As an alternative, could you please provide a log with R600_DEBUG=vs,tcs,tes,gs,ps,cs both before (without hang) and after (with hang) the problematic commit. Also run with GALLIUM_DDEBUG=pipelined; after the hang, you should get a message about the hang being detected as well as a file in ~/ddebug_dumps/ that ought to be useful. Thanks!
Comment 6 Alexandr Zelinsky 2016-11-16 13:32:16 UTC
Created attachment 128004 [details]
R600_DEBUG=vs,tcs,tes,gs,ps,cs with hang
Comment 7 Alexandr Zelinsky 2016-11-16 13:39:37 UTC
Created attachment 128006 [details]
R600_DEBUG=vs,tcs,tes,gs,ps,cs without hang

used versions 
with hang 6403a9e0740409f8e410b115d48db3a1324aae2c
without hang d377f4c1ca0005b5ed7af95475da3225da71f373

~/ddebug_dumps/ not exist

sorry for the long delay
Comment 8 Nicolai Hähnle 2016-11-16 14:46:43 UTC
Thanks. Are you sure you ran with GALLIUM_DDEBUG=pipelined? That would make finding the bug much more likely...
Comment 9 Alexandr Zelinsky 2016-11-16 14:58:11 UTC
R600_DEBUG=vs,tcs,tes,gs,ps,cs GALLIUM_DDEBUG=pipelined '/media/sdb/steam/SteamApps/common/star conflict/StarConflict'  &> /media/sdc/sc.log
Comment 10 Alexandr Zelinsky 2016-12-06 07:30:21 UTC
not 100% sure but seems like fixed in mainline
Comment 11 Alexandr Zelinsky 2016-12-08 07:24:52 UTC
yep fixed

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.