Title: NVIDIA (RTX 5090) support: descriptor heap cap, null buffer views and WaveSize(64) compute pipelines #3411
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Imported from Marvisak/VIctory. Originally posted by tgti44 on 2026-11-26T22:58:38Z.
Hi, thanks for VIctory! I've been testing it on an NVIDIA RTX 5090 (Windows 11), and a few things block the world on NVIDIA that don't show up on your RX 6700 XT:
Descriptor heap cap. NVIDIA refuses shader-visible CBV/SRV/UAV heaps over 1,000,000 descriptors, but the title's heap has 1,245,184 slots. With the current capping, ~140,000 slots that hold live views end up past the host heap. I worked around it with a view-slot remap table: heap_handle looks up remap[index] (stored after the view strides at VIEW_REMAP = HEAP_VIEWS), and the host hands out slots on demand and frees them on make_null. Peak usage is about 600k, so it fits.
Null buffer views. NULL_BUFFER_VIEW (HEAP_VIEWS - 2) lies past a 1M heap, so computed-index buffer reads hit out-of-range descriptors. The remap fixes that too.
WaveSize(64) compute pipelines. 162 compute pipelines are refused (E_INVALIDARG) because NVIDIA only does 32-wide waves. Translating them without WaveSize (32-wide) lets them run, but some hang the GPU (TDR), and the scene renders as a flat grey/white image (the letterbox and subtitles are fine), probably because of cross-lane reductions such as exposure.
Happy to share the patches. Would you consider emulating wave64 semantics on wave32 hosts, e.g. cross-lane ops through LDS?