[Bug 108662] [DXVK] Elite Dangerous crash when loading shaders

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 22 21:19:29 UTC 2019


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

Jason Ekstrand <jason at jlekstrand.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #38 from Jason Ekstrand <jason at jlekstrand.net> ---
Fixed by the following commit in master:

commit fa63fad3332309afa14fea68c87cf6aa138fb45c
Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Mon Jul 22 00:28:27 2019 -0500

    intel/fs: Stop stack allocating large arrays

    Normally, we haven't worried too much about stack sizes as Linux tends
    to be fairly friendly towards large stacks.  However, when running DXVK
    apps under wine, we're suddenly subject to Windows' more stringent stack
    limitations and can run out of space more easily.  In particular, some
    of the shaders in Elite Dangerous: Horizons have quite a few registers
    and the arrays in split_virtual_grfs are large enough to blow a 1 MiB
    stack leading to crashes during shader compilation.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108662
    Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Cc: mesa-stable at lists.freedesktop.org

-- 
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/20190722/ef1c7810/attachment.html>


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