[Mesa-dev] [Bug 111150] [BRW] WRC 5 asserts with gallium nine and iris.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 16 13:45:22 UTC 2019


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

            Bug ID: 111150
           Summary: [BRW] WRC 5 asserts with gallium nine and iris.
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Gallium/StateTracker/galliumnine
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: illia.iorin at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

When I launch WRC 5 with master mesa(b393b2ce955) I get the message:
../src/gallium/drivers/iris/iris_resource.c:855: iris_resource_get_handle:
Assertion `aux_state == ISL_AUX_STATE_RESOLVED || aux_state ==
ISL_AUX_STATE_PASS_THROUGH' failed.

Bisect leads to this commit:
__________
commit e81392868e6827360762fff38baf2c10c1f3b7f0
Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Wed May 1 14:57:23 2019 -0700    iris/resource: Drop redundant checks
for aux support

Drop some checks that are already done by ISL.

Reviewed-by: Rafael Antognolli <rafael.antognolli at intel.com>
__________

This commit dropped the following condition:

/* Gen9+ only supports CCS for Y-tiled buffers. */
if (surf->tiling != ISL_TILING_Y0)
    return false;

It prohibited ccs when spec allows it so the condition was indeed correctly
removed.

Next I investigated why aux_state is ISL_AUX_STATE_CLEAR in
iris_resource_get_handle. It is because NineSurface9_ctor calls
nine_context_clear_render_target and it sets aux_state to ISL_AUX_STATE_CLEAR
and again it looks logical for me. I don’t know what should be done. Also
removing optimization doesn’t fix the game it just leads to a black screen and
game being stuck. Discussion about this bug can be found there: 
https://github.com/iXit/wine-nine-standalone/issues/46

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190716/da53db35/attachment-0001.html>


More information about the mesa-dev mailing list