Host GPU device removed when entering the world on NVIDIA (RTX 4050 Laptop) #314
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 phoebusevil on 2026-11-24T02:14:45Z.
Hardware: NVIDIA GeForce RTX 4050 Laptop GPU, driver 621.01, Windows 11
Build: diag build (--features diagnostics), env VICTORY_D3D12_DEBUG=1 and VICTORY_D3D12_DRED=1
Title version: GTA6 Xbox v1.0.2.1
What works: boot, first-boot screens, intro, start screen, menus at 30 fps.
What happens: after loading into the world the host GPU device is removed.
Observed from crashes.log (DRED breadcrumbs): device removed after a submission
of 1 lists; 5 compute dispatches in flight:
Error codes: 0x887A0007 (device removed), earlier non-DRED run also showed 0x887A0004.
Debug layer: "Kernel memory failure. There might be a memory leak."
Possibly related: the README mentions compute programs needing 64-lane waves;
NVIDIA runs 32-lane waves. Unverified.
Happy to test patches or provide more logs (shader cache, DRED output).
Imported from Marvisak/VIctory. Originally posted by phoebusevil on 2026-11-24T03:32:30Z.
Follow-up with data from a longer run (RTX 4050 Laptop, driver 621.01, release build,
output captured with
> run.log 2>&1). 62 shaders did not translate; by reason:31 compute an address in an SGPR that is no root parameter
8 compute a structured buffer of unknown stride
7 mesh a descriptor neither loaded nor built
4 compute image_gather4_l
3 pixel (was image_sample_d_cl, see below)
3 compute a hardware SGPR input
2 vertex a scalar memory read as data
1 mesh a structured buffer of unknown stride
1 compute a descriptor neither loaded nor built
1 compute a lane-mask join of an untracked mask
1 compute a descriptor read only as data
Counts vary between runs (translation warnings only appear on first translation,
and depend on how far the title gets), so treat them as rough.
I also tried the cheapest one, image_sample_d_cl (pixel shaders 7bdefdfde461f6e3,
ee41ebc3eb3fbbdc, 2deec721a63fe8a5): mapping it to sampleGrad and reading the
clamp from the address VGPR after the coordinates. The instruction is then
accepted, but the same three shaders fail with "an image address is not supported",
so a coordinate or gradient register has no tracked value. A clamp-specific error
tag I added never fired, so the failure is before the clamp is read. Not enough
for a PR; reverted. Hypothesis only: the gradients come from derivative
instructions the translator does not follow.
This is separate from the device-removed crash above: the four compute shaders
in the DRED breadcrumbs do translate.
Imported from Marvisak/VIctory. Originally posted by r4tedx on 2026-11-24T04:30:03Z.
Several rows of your list have open PRs, two of them measured on the title's shaders, and you offered to test.
image_gather4_l(4)image_sample_d_cl(3)a descriptor read from the first lane of a phi)On your
image_sample_d_clexperiment: what stopped those programs atan image addressturned out to be the operand layout, not untracked derivatives. They sample a cube with eight address registers: two gradients per direction (the face coordinates'), then s, t, the face and the clamp, where the translator expected three per direction. #160 has that sinceb540f51.The
integration/testerstree (what is in it) has #160, #307 and the wave64 PRs (#223 + #233). The same by-reason list from a run of that tree, next to the one above, would show which rows clear on your card, and whether your three pixel shaders are among the 23.I have no copy of the title; the corpus numbers are EduAzevedo's. AI-assisted.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:48:37Z.
Automated triage for the maintainers.
0x887A0007with the debug layer's "Kernel memory failure", and only compute dispatches in flight. I found no earlier open report with the same signature, so it is tracked here for now. The broader NVIDIA world-entry hang (vertex buffer left in the UAV state) is #199, with #264 as a further report.mainhas merged several fixes in this area: dynamic descriptor slot exhaustion (#336,edf64e2, thenc1c3281) and table constants read in place (683ad7a). The untranslated-shader rows in the follow-up are covered by the PRs listed in the comment above.mainand add the VIctory commit (git rev-parse HEAD) and the Windows build number. If it still fails, post thecrashes.loglines of the removal (the DRED part, and anyno free dynamic descriptor slotswarning before it).Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by phoebusevil on 2026-11-30T15:38:35Z.
Seems ok now, however FPS still barely 10. :D Not sure if its windows settings or what, but that may also be that case.