RX 7800 XT (Navi 32, RDNA3, 16 GB): "Illegal opcode in command stream" at an indirect mesh ExecuteIndirect when the "2 years ago" prologue cutscene starts; ring reset fails, MODE1 reset #250
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/lobomfz--VIctory-xmem#250
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?
@Appelschorle187 on GitHub · 2026-12-02 21:06 UTC · original
System
8585cd4(also reproduced on241c79e), Mesa 26.3.1 (deps/mesa fec8830), vkd3d-proton deps/vkd3d 71cae09, wine-devel 11.23CONSOLE=series-s,VICTORY_OUTPUT=1920x1080,KEEP_FREE=8192(Series X runs out of memory on this machine)What happens
The game runs fine (~100 fps) up to the prologue text "2 years ago...". When the text fades and the scene starts, the GPU hangs:
Depending on the run, the whole PC freezes (hard reboot) or the desktop session is killed. It reproduces every time (10 runs). The amdgpu devcoredumps show no page fault; the CP is stuck inside an IB2.
What I ruled out
VICTORY_BVH_BUILDER=0(no RT)VICTORY_MESH_ONE_DIM=0RADV_DEBUG=syncshadersKEEP_FREE=8192Breadcrumbs (exact, with
RADV_DEBUG=syncshaders)vkd3d-proton built with
-Denable_trace=true(thesetup.shrelease build does not compile breadcrumbs in, soVKD3D_CONFIG=breadcrumbssilently does nothing there), plusVKD3D_CONFIG=breadcrumbs VKD3D_DEBUG=err VICTORY_D3D12_DRED=light, diag build.The same command list had already run 256 identical one-record mesh ExecuteIndirects from the same argument buffer (offsets 0 to 15936, stride 32) without problems. The hang is at the 257th. An earlier run without syncshaders showed the same pattern with a different mesh shader (vkd3d hash 6ae438875194330d, argument buffer offset 27776, after 28 good ones). The game's own counter just before the crash:
indirect mesh dispatches: the largest group count asked for 0 (run: at most 65535). In every run, new mesh pipelines were bound for the first time right before the crash.So it is always one indirect mesh draw from the clamped argument buffer, and the shader alone is not the cause.
Full logs, the breadcrumb report and the devcoredumps are available on request.
@Appelschorle187 on GitHub · 2026-12-02 21:08 UTC · original
Also tried
VICTORY_PAGES=0(as in #239): same crash at the same spot ("Illegal opcode in command stream" at 22:08:01, this time the gfx ring reset succeeded instead of a MODE1 reset). So page moving is not the cause here.@Bushyon on GitHub · 2026-12-03 20:47 UTC · original
@Appelschorle187 this is probably related to drm/amd#5711. It's not exclusive to this title, and it has been in the works for some time now.