Repository navigation
Conversation
Use the compute fallback for task and mesh draws on Navi 22, preserve task payloads and draw offsets, and support GPU-driven indirect launches. Enable raw BC color attachments and size their render areas in blocks.
Owner
|
Thanks for digging into the RX 6700 XT timeouts. Forcing the compute fallback by device ID changes every task+mesh draw on that card, and we cannot verify it on the hardware here. It also conflicts with the mesh-fallback fixes coming in v2.0.12 (#1314, #1317, #1383). Closing for now. If the timeouts still happen on v2.0.12, a report with the driver version and a log would help us find the native-path cause. |
Contributor
Author
|
Got it, that makes total sense to close it for now to avoid conflicting with v2.0.12. I'll wait for the release, and if the timeouts still happen on the new version, I'll open a new report with logs and the driver version as suggested. Thanks for the update! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enable the compute fallback for task + mesh draws on Windows for AMD Navi 22
(device ID
0x73df, including the RX 6700 XT). This works around driver timeoutson the native task shader path. Mesh-only draws can still use native mesh shaders.
draws are split into batches.
task count.
the AMD driver returns
VK_ERROR_UNKNOWN.blocks.
Refs #996.
Validation
git diff --checkandtests/test_mesh_fallback.pypassed.nx2/test_mesh_first_types.pystill looks for the old native task condition.nx2/test_bc_storage_views.pyuses a fixture whoseTexturelacks thebcmember.symlink permission errors.
Hardware verification
On a Windows RX 6700 XT, record the driver version and replay a scene that
previously triggered a timeout. Confirm that the log reports the compute fallback.
For a comparison run, set
RX_VK_TASK_MESH_FALLBACK=0to use the native path.