Bug 106493 - "New game" in stellaris triggers Assertion `rtex->surface.u.legacy.level[level].dcc_fast_clear_size' failed.
Summary: "New game" in stellaris triggers Assertion `rtex->surface.u.legacy.level[leve...
Status: RESOLVED MOVED
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: 2018-05-12 19:55 UTC by Mariusz Ceier
Modified: 2019-09-25 18:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Backtrace (13.29 KB, text/plain)
2018-05-12 19:55 UTC, Mariusz Ceier
Details
Detailed backtrace (12.79 KB, text/plain)
2018-05-12 22:00 UTC, Mariusz Ceier
Details

Description Mariusz Ceier 2018-05-12 19:55:39 UTC
Created attachment 139529 [details]
Backtrace

Stellaris triggers assertion when clicking on "New game" and mesa is built in debug mode:

stellaris: /var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/gallium/drivers/radeonsi/si_clear.c:256: vi_dcc_clear_level: Assertion `rtex->surface.u.legacy.level[level].dcc_fast_clear_size' failed.


The comment above the assertion says:

/* If this is 0, fast clear isn't possible. (can occur with MSAA) */



if it can occur with MSAA should it really be an assertion ?

I have Radeon Fury X.

Attaching backtrace.
Comment 1 Mariusz Ceier 2018-05-12 22:00:24 UTC
Created attachment 139535 [details]
Detailed backtrace

Seems like the workaround is to set "Multisample level" option to 0. Any other value (2,4,8) triggers the assertion.

Attached more detailed backtrace.
Comment 2 GitLab Migration User 2019-09-25 18:03:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1313.


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.