host: also hide VK_EXT_descriptor_heap on GPUs that need storage CBVs #212
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/brcly--TuxBox!212
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-212"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@NickStallman on GitHub · 2026-11-26 04:49 UTC · original
NickStallman:fix/cbv-layer-descriptor-heap→main· +16 −8 · 3 files · 1 commits · merged 2026-11-26 08:27 UTCGE-Proton11-14, now the pinned default, ships a vkd3d-proton that enables
VK_EXT_descriptor_heap. That path binds CBVs as uniform buffers. Xbox titles use 16-byte CBV offsets, and NVIDIA requires 64 (minUniformBufferOffsetAlignment). Vulkan validation reports it:In ProjectScarlett, the final full-screen copy to the display reads its projection from CB0. In menu frames that CBV sits at an address ≡ 32 (mod 64), so the copy reads shifted rows and its quad lands off-screen. The whole front end then presents black, while the menu itself renders correctly into its off-screen target. Over one traced run, the display was lit exactly while the copy's CBV address was 64-aligned and black while it was 32 mod 64.
The CBV layer already hides
VK_EXT_descriptor_bufferon GPUs whereneeds_storage_cbv()holds (#42), so vkd3d-proton uses its descriptor-set path, which binds CBVs as storage buffers. It now hidesVK_EXT_descriptor_heaptoo, on the same GPUs only. The Proton-feature path disables both. Vulkan headers older than the extension get a string fallback.Result on RTX 5090: the front end is visible and works with controller input. I went through the account-picker prompt, Navigation Experience, UI Text Size, Subtitles, Brightness, Finish Setup, Legal Notices and the Privacy Policy and Terms of Service acceptance, and the game then loads into the world. Every earlier run on GE-Proton11-14 was black from the first menu on. I verified this with
VKD3D_DISABLE_EXTENSIONS=VK_EXT_descriptor_heap, which is the setting this change applies.Stopgap. This follows the existing descriptor-buffer workaround but is not the final fix:
cbv_16_byte_alignmentdoes for descriptor sets.Checks
guest-present*gates. Those fail on this host because they sample a private rootful Xwayland, and the change doesn't touch them.buffer-remappassed. The layer is a no-op on RADV, where the alignment is 4.tuxbox.py checkwill follow in a comment.python -m unittest discover -s tests -q: 368 OK.🤖 Generated with Claude Code
@NickStallman on GitHub · 2026-11-26 05:26 UTC · original
NVIDIA follow-up, on this branch (
fceed40):python tuxbox.py checkon the RTX 5090 (10de:2b85), driver 595.99.02, GE-Proton11-14: all groups passed. That includes Lanes and fixtures on the GPU, the D3D12 regression controls and the shader translator on the GPU, with 100 gates passing.VKD3D_DISABLE_EXTENSIONSoverride): the log no longer reportsVK_EXT_descriptor_heap enabled, and the front end renders (Navigation Experience after the intro). Before this change the same screen was black on the same build.🤖 Generated with Claude Code