Code Violet (PPSA26528): abort at compute shader 0x147b9e400, "buffer descriptor has reserved bits set", new between d92a8dad3 and 51acb79ac #7051

Closed
opened 2026-10-17 08:35:46 +00:00 by erm14254 · 2 comments
erm14254 commented 2026-10-17 08:35:46 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by erm14254 on 2026-10-17T08:35:46Z.


Since a change between d92a8dad3 and 51acb79ac, Code Violet (PPSA26528, Unreal Engine 5.5) aborts before its title screen in ShaderResources::addGuestBuffer:

[videoout] presentation failed: compute shader 0x147b9e400: AGC graphics: buffer descriptor has reserved bits set
[gpu] driver failure: compute shader 0x147b9e400: AGC graphics: buffer descriptor has reserved bits set
terminate called after throwing an instance of 'std::runtime_error'
FATAL: abort() (SIGABRT) on thread 25168

That is Require((words[1] & 0x40000000u) == 0, "buffer descriptor has reserved bits set") at the top of addGuestBuffer: bit 30 of the V#'s second dword. The check itself predates d92a8dad3 (#5049 normalises those bits before scalar binding; vector and mixed bindings still require them clear), so what changed is that this shader's buffer now reaches it with the bit set.

Windows 11 (10.0.22631), RTX PRO 6000 Blackwell Workstation Edition (NVIDIA 597.16), WinLibs GCC 15.2.0 r7, Release. The failing run had only APS5_TRACE_BIGBUF=1 and APS5_TRACE_HOST_IMPORT=1 set, which add log lines only.

Base Bring-up commits on top Result
d92a8dad3 yes reaches the title screen and the main menu (#6256)
51acb79ac yes, rebased cleanly aborts as above, about nine minutes into a cold run, before the title screen
0615cd2b8 no stops seconds after start at the NVIDIA compiler crash nvgpucomp64.dll+0x28072a1, which one of the bring-up commits handles

The bring-up commits are #6258 and the branches feat/shader-table-call-constant-pointer, feat/libkernel-system-gpu-page and fix/shader-fault-record-no-dontinline on erm14254/AnyPS5, listed in #6256. None of them changes how buffer descriptors are bound: they touch AppendConsume, ShaderRegistry.cpp, the control-flow graph builder, the libc guest arena, libkernel direct memory and SpirvBdaFault.cpp.

Not bisected (490 commits, 161 merges). The merges in the range that touch the files where buffer descriptors are bound (ShaderResources.cpp, ShaderResources.hpp, ResourceMaterializer.cpp, SpirvRuntimeBuffer.cpp) are #5828, #5841, #5778, #5473, #5509, #4794, #1201, #1193, #454 and #5496.

The message does not print the descriptor's dwords; I can capture them if that helps.

This blocks the capture asked for in #6257.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5896567159 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7051). Originally posted by [erm14254](https://github.com/erm14254) on 2026-10-17T08:35:46Z. --- Since a change between d92a8dad3 and 51acb79ac, Code Violet (PPSA26528, Unreal Engine 5.5) aborts before its title screen in `ShaderResources::addGuestBuffer`: ``` [videoout] presentation failed: compute shader 0x147b9e400: AGC graphics: buffer descriptor has reserved bits set [gpu] driver failure: compute shader 0x147b9e400: AGC graphics: buffer descriptor has reserved bits set terminate called after throwing an instance of 'std::runtime_error' FATAL: abort() (SIGABRT) on thread 25168 ``` That is `Require((words[1] & 0x40000000u) == 0, "buffer descriptor has reserved bits set")` at the top of `addGuestBuffer`: bit 30 of the V#'s second dword. The check itself predates d92a8dad3 (#5049 normalises those bits before scalar binding; vector and mixed bindings still require them clear), so what changed is that this shader's buffer now reaches it with the bit set. Windows 11 (10.0.22631), RTX PRO 6000 Blackwell Workstation Edition (NVIDIA 597.16), WinLibs GCC 15.2.0 r7, Release. The failing run had only `APS5_TRACE_BIGBUF=1` and `APS5_TRACE_HOST_IMPORT=1` set, which add log lines only. | Base | Bring-up commits on top | Result | |---|---|---| | d92a8dad3 | yes | reaches the title screen and the main menu (#6256) | | 51acb79ac | yes, rebased cleanly | aborts as above, about nine minutes into a cold run, before the title screen | | 0615cd2b8 | no | stops seconds after start at the NVIDIA compiler crash `nvgpucomp64.dll+0x28072a1`, which one of the bring-up commits handles | The bring-up commits are #6258 and the branches `feat/shader-table-call-constant-pointer`, `feat/libkernel-system-gpu-page` and `fix/shader-fault-record-no-dontinline` on erm14254/AnyPS5, listed in #6256. None of them changes how buffer descriptors are bound: they touch `AppendConsume`, `ShaderRegistry.cpp`, the control-flow graph builder, the libc guest arena, libkernel direct memory and `SpirvBdaFault.cpp`. Not bisected (490 commits, 161 merges). The merges in the range that touch the files where buffer descriptors are bound (`ShaderResources.cpp`, `ShaderResources.hpp`, `ResourceMaterializer.cpp`, `SpirvRuntimeBuffer.cpp`) are #5828, #5841, #5778, #5473, #5509, #4794, #1201, #1193, #454 and #5496. The message does not print the descriptor's dwords; I can capture them if that helps. This blocks the capture asked for in #6257. AI-assisted: yes
pushkarreddyy commented 2026-10-17 10:54:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-10-17T10:54:35Z.


Taking this up. I will normalize / mask reserved bit 30 in \ShaderResources::addGuestBuffer\ and add host execution test coverage in \BufferDescriptorRuntime.cpp\ to accept descriptors with bit 30 set, following the pattern from #5049. Will open a PR shortly.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6233057611 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7051#issuecomment-6233057611). Originally posted by [pushkarreddyy](https://github.com/pushkarreddyy) on 2026-10-17T10:54:35Z. --- Taking this up. I will normalize / mask reserved bit 30 in \ShaderResources::addGuestBuffer\ and add host execution test coverage in \BufferDescriptorRuntime.cpp\ to accept descriptors with bit 30 set, following the pattern from #5049. Will open a PR shortly.
pushkarreddyy commented 2026-10-17 11:01:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-10-17T11:01:39Z.


PR opened: #7089

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6233124195 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/7051#issuecomment-6233124195). Originally posted by [pushkarreddyy](https://github.com/pushkarreddyy) on 2026-10-17T11:01:39Z. --- PR opened: #7089
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#7051
No description provided.