[Bug 103556] [SKL] Unigine Heaven 4.0 fails to GPU hangs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 26 12:09:55 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=103556

Lionel Landwerlin <lionel.g.landwerlin at linux.intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Unigine Heaven 4.0 GPU      |[SKL] Unigine Heaven 4.0
                   |hangs                       |fails to GPU hangs

--- Comment #29 from Lionel Landwerlin <lionel.g.landwerlin at linux.intel.com> ---
(In reply to Danylo from comment #7)
> Hello, I've managed to reproduced the issue when running Unigine Heaven 4.0
> under Wine in directx11 mode (I'm not sure about your setup, maybe it was
> native Unigine Heaven with opengl, but I failed to reproduce hang in it).
> The hang happens in 100% of the runs. I have tested it on drm-tip kernel
> 4.17 and on 4.15 with latest Mesa and 17.2.8. I have HD Graphics 530
> (Skylake GT2).
> I've also got an api trace which leads to the hang but failed to reduce it
> or find the issue. Apitrace:
> https://mega.nz/#!RJMEHTrD!91D34TtyY3OqtNPwanXU8UJ5uqk8g4-2V2wUV0CfE1o. Hang
> happens in call 256092. The hang will be gone if nothing is painted in
> 256092 call e.g. draw zero triangles.

I couldn't reproduce this hang on master and tracked the fix down to :

commit eca4a6548d07bbbb02a7768edb397bad7b72cfc2
Author: Danylo Piliaiev <danylo.piliaiev at gmail.com>
Date:   Mon Jul 2 17:04:23 2018 +0300

    i965: Disable dual source blending when shader doesn't support it on gen8+

    Dual source blending behaviour is undefined when shader doesn't
    have second color output, dismissing fragment in such situation
    leads to a hang on gen8+ if depth test in enabled.

    Since blending cannot be gracefully fixed in such case and the result
    is undefined - blending is simply disabled.

    v2 (Kenneth Graunke):
     - Listen to BRW_NEW_FS_PROG_DATA in 3DSTATE_PS_BLEND
     - Also whack BLEND_STATE[] to keep the two in sync, since we're not
       sure exactly which copy of the redundant info the hardware will use.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107088
    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

Anyway, it's clearly a different issue as this trace doesn't have any
tesselation enabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190326/609024f0/attachment.html>


More information about the intel-3d-bugs mailing list