Bug 98541 - [bisected] gpu hang
Summary: [bisected] gpu hang
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-02 08:39 UTC by Alexandr Zelinsky
Modified: 2016-12-08 07:24 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (53.48 KB, application/x-trash)
2016-11-02 09:13 UTC, Alexandr Zelinsky
Details
R600_DEBUG=vs,tcs,tes,gs,ps,cs with hang (5.37 MB, text/x-log)
2016-11-16 13:32 UTC, Alexandr Zelinsky
Details
R600_DEBUG=vs,tcs,tes,gs,ps,cs without hang (6.68 MB, text/x-log)
2016-11-16 13:39 UTC, Alexandr Zelinsky
Details

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.