RTX 4060 Ti (16 GB, default TDR) on 7b0f736: 21.5 min stable (up to 4.0 fps, VICTORY_RELAY=2), 1 refused mesh pipeline + 2 pixel shaders + view heap cap #26
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/fxceless--victory-fork#26
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?
@im-a-cat on GitHub · 2026-11-24 20:27 UTC · original
Setup
16380 MiB), driver32.0.16.2135(621.35)31.9 GiBRAM26300), native D3D12, default Windows TDR (noTdrDelayoverride)7b0f736(fxceless/victory-gta6main),releasebuild + a local logging-only change (VICTORY_LOG_FILE/VICTORY_NO_ANSIincrates/victory-core/src/logging.rs; zero GPU/shader/HLE changes)1.0.2.1,--console series-x --execute --unimplemented zero,VICTORY_RELAY=2,VICTORY_LOG=info, fresh cache & data dirs,VICTORY_SKIP_PIPELINESunset, default loop limit, default3840x2160Stability & Performance (21 min 31 s run, zero device loss)
20:01:44Zto20:23:15Z(clean user exit; working set~16.94 GiBRAM).ERRORlines, zero device removal / TDR hangs.>500draws:1 min 49 safter launch (20:03:32Z).2,544translated shaders,2,208host pipelines created,host pipeline library saved bytes=223494042(early=2212,made=2036,loaded=166).VICTORY_RELAY=2):3.0–4.0 fps(248–340 ms/frame),50–87 mson the GPU,4,133–6,710 draws/frame,dropped 308–520 without a host pipeline (0 being made) and 5 indirect.Representative samples from gameplay (yard window -> first room -> corridor):
Visual Observations (words only)
README.md.Refused Host Pipelines (
5total,E_INVALIDARG / 0x80070057)Notably includes one mesh + pixel pipeline and compute
369cbe906ea72764:Untranslated Shaders (
9total across the run)(Saw open PRs
#11and#9coveringa53a7977.../be14e72d.../7f05ddab...andv_cvt_f32_f64; the 2 pixel shaders7d0f14ce44746d7e/6b6db9f1a526daeb,f133e35efed2a48a, anda929109552ce1e84remain.)View Heap Cap, Unimplemented Pipeline Slots & Other Warnings
WARN victory_gpu::descriptor::host: host view heap capped at 1000000; views past it read a null slot error=0x80070057 count=124518420:23:11Z:texture slots written so far: 1061614 placed, 1458596 of objectstextures picked by index: 50328 uploaded so far (20755 MB), 1885 waiting, 6488 passed over unmappedbuffer views left null as the host would refuse them: 8553victory_gpu::device):a pipeline creation method that is not implemented: the title goes without this pipelinelogged up toslot=0x1c8 calls=16384andslot=0x218 calls=2048.WARNlines (each appeared 1x unless noted):victory_gpu::pipeline::host: a pipeline enables the depth bounds test, which its host pipeline leaves out: its draws pass at every depth(4x)victory_gpu::descriptor::host: buffer view not on an element of its host copy offset=3 element=4victory_gpu::descriptor::host: buffer view the host would refuse left null format=39 first=2 count=720 stride=0 raw=true width=4194304victory_gpu::descriptor::host: unordered buffer view not on an element of its host copy offset=8 element=32victory_gpu::descriptor::host: unordered buffer view the host would refuse left null format=39 first=10373248 count=0 stride=0 raw=true width=182452224victory_gpu::descriptor::host: constant buffer not 256-byte aligned on the host address=0xc363c7290victory_gpu::descriptor::host: placed unordered texture view not mirrored dimension=3victory_gpu::draw: a shader takes the address of a buffer view that is not there: it reads 0 slot=1 dword=8victory_hle::modules::dstorage: dstorage: a destination's physical pages could not be written (unknown page or a host failure); its request fails offset=0 len=65536 pages=1victory_hle::modules::kernel: a host DLL outside the host policy: refused dll="rpcrt4.dll"This run used the
releasebuild, sonote_dropper-shader counts for the310–520dropped draws/dispatches per frame weren't recorded. Happy to follow up with a--features diagnosticsrun on the latestmain(16849898+ PR#11/#9if useful) to get the per-shader drop breakdown for the missing room walls / character geometry andf5e50eb2108c425b.Log summary only; no game files, shader dumps, memory dumps, or screenshots attached.
@ryotdev on GitHub · 2026-11-24 20:43 UTC · original
Reproduced the missing parts of the room and characters on a native RTX 5070 (driver 610.88), same fork revision
7b0f736. Both pixel shaders you identified were rejected in this run. In one reporting interval they accounted for 7 and 3 dropped draws per frame. After the pipeline-build queue emptied there were still over 300 dropped draws per frame in the window scene.I compared three shaders with the same failure offline, including both of yours. They use fields from a dynamically selected image descriptor for width, height and base mip. Current upstream #1067 (
6d30fd7) emitted DXIL for all three, and Microsoft’s DXIL validator accepted all three. Upstream #853 and #1130 still refused all three at the original export. Candidate implementationThe candidate assumes a 2D view. The validator cannot establish what the game bound at these draws, or which pixels those draws produce. This is a lead for a targeted rendering comparison. I haven’t verified a face or wall fix. AI-assisted native run and offline comparison.
@jamesn-xt on GitHub · 2026-11-24 21:20 UTC · original
RTX 4080 follow-up: two material shaders reported here now translate and their host mesh pipelines are created on our integration stack.
Native Windows, RTX 4080, Series X, diagnostics build, default Windows TDR. On
90228a7plus uniform sampler choices (#25), adapted upstream #1067, and input history (#23), the local title run created both pipelines:4f23fd8d99482703/ pixel2fd01fca169930014f23fd8d99482703/ pixel6b6db9f1a526daebThis is a stacked integration result, not an isolated A/B. It does not establish that missing faces or room walls are fixed. We have seen a lit car/road/city in normal final output on the baseline fork, but have not confirmed a fully rendered, controllable prison scene or sustained 5 fps on this PC.
We also published a separate ten-fix experimental batch: #52, #40, #9, #36, #63, #74, #73, #51, #32 and #35. This includes the recently-changing texture/startup-flicker fix and integer-target blend correction. Original authors are retained; the integer-blend fix credits pablogonz12's upstream #806 and pgm1207's port.
Integration branch, commit
be95ef758ae67e42413524368da78b540fc1794f; patch list and launch settings.Combined batch checks completed: 521 passed, 0 failed, 7 ignored across all-feature workspace tests; default/all-feature workspace Clippy with warnings denied, diagnostics build and asset-policy checks passed. The new batch has launched, but its visual/FPS benefit remains unverified. No claim of working end-to-end RT lighting.
Built/tested locally. Source and summary only; no game files, captures, caches or raw logs attached.
@rocobalt1 on GitHub · 2026-11-24 22:44 UTC · original
The 8 GB counterpart of this report, and what the open PRs do to those numbers on this card. Same scene, same save, prologue.
Setup: RTX 4060 Ti 8 GB (not the 16 GB part), driver 32.0.16.1656, Ryzen 9 5900X, 64 GB, Windows 11; fork
4e17478plus the merges listed below, diag build, freshVICTORY_DATA_DIRper run,VICTORY_NO_WATCHDOG=1,VICTORY_D3D12_DRED=1,VICTORY_DISPLAY_MODE=1920x1080.TdrDelay=60/TdrDdiDelay=60machine-wide, so the times are upper bounds.Build:
4e17478+ #32 + #86 + #77 + #81 + #9 + #40 + #83 + #38 + #51 (e05ea2a). All merges were clean.4e17478alonehost pipeline refused ... shaders=[mesh ...]What is left refused, and it matters that it is now a short list:
None of these has an open PR that I could find by title; #83 was the closest to the lane-mask pair and measures +0 on the pack (25 370 -> 25 370 validated).
One thing that is not a refusal and is worth a separate item on this card:
VICTORY_SHADER_LOOP_LIMIT. At the stability default of 32 the hair is drawn as a bright mass - the strands run past the head - and at 256 it is correct (ponytail, separate strands, shadow on the shoulder). That matches what #62 reports on the 4080. 256 has been stable here for the runs above, no device removal, and the settled frame is about the same (448 ms against 530 - 641 ms for the earlier 32 runs, different scene, so not a like-for-like). So on this card 256 is not a cost, it is the setting.Not fixed by any of this: the
series-sprofile renders (with #32 + #86, and 720p -> 1080p FSR at 380 - 456 ms, which is ~30 % cheaper) but its UI is invisible; I described that on #86. So on this card the usable profile is stillseries-x.No game data; counts, hashes and program names only.
@rocobalt1 on GitHub · 2026-11-24 22:53 UTC · original
Follow-up on the view heap cap this issue mentions, with the number the log does not print unless you look for it: the title asks for 1 245 184 shader-visible view slots, the host caps at 1 000 000.
Once per run, at frame 2, on
4e17478plus the fixes in my earlier comment,--console series-x, 1080p, loop limit 256.What it looks like in the title: one character's skin renders as a black silhouette in a frame where another character is lit correctly, and which one it is changes between runs. That is the allocation order deciding who lands past slot 999 999, not the lighting: the clothing straps and hair of the same model are fine, the skin is black, and the character next to them is fine.
The clamp makes it silent.
descriptor::hostcallsset_view_heap_limit(PORTABLE_VIEWS - 1)when the heap is capped, so the translator clamps view indices from the first shader on; a draw that means slot 1 100 000 reads slot 999 999 instead of failing. So there is no per-draw warning to grep for, only this one line at boot.Why the cap is where it is: 1 000 000 is the D3D12 limit for a shader-visible CBV/SRV/UAV heap (tier 2 and 3 alike), so it cannot simply be raised. The ways out that I can see:
Not something I can implement here without touching the translator's index space, but it is the last big "random" visual bug on my card, and it is not a shader failing to translate - the shader runs and reads the wrong slot.
No game data; counts and log lines only.
@likecrank-dotcom on GitHub · 2026-11-24 22:01 UTC · original · edited 2026-11-24 23:28 UTC
RTX 5060 Ti 8 GB reproduction on Windows 11, Ryzen 5 3600, 32 GB RAM, NVIDIA 621.14. Exact unmodified
7b0f736d0b, diag with diagnostics, Series X and--unimplemented zero. Used the current AnyXboxX launcher values (RELAY=2, LATE_WAIT=3, WIDE_BACK=1, shader loop limit 256, card buffers 1/1024 MB). Settings-only local profile, no copied progress, fresh pipeline cache. DRED and preview disabled, standard game output.The title reached the opening credits. The hardware owner supplied a local screenshot showing dim environment silhouettes behind the credits and reported more continuous dialogue and music than in earlier builds. Later the owner heard NPC activity consistent with a more advanced scene. Forward/back input did not produce a confirmed response, and we did not observe the visible prison gameplay reported here.
The first run self-exited at 717.5 s from launch, DXGI_ERROR_DEVICE_REMOVED (0x887A0005), reason DEVICE_HUNG (0x887A0006). The relay failure involved one outstanding submission of one list. DRED was off, so there is no command attribution. Last sampled world intervals still showed roughly 1,600 pending pipelines. Sampled peak process private memory was 23,041 MiB and adapter-wide video memory use 7,730 MiB. These values describe this run. The warm-cache follow-up is below.
OpenAI Codex assisted with the build, measurement and log analysis. The hardware owner observed audio and exercised input. No screenshots, game assets or dumps attached.
Warm-cache follow-up: visible controllable prison scene reproduced on the RTX 5060 Ti 8 GB. Same exact diagnostic executable, profile, settings and launcher parameters as above. Copied the first run's cache (112,631,590-byte pipeline library and 2,657 early-pipeline keys) into a separate run directory and added sparse final-frame captures. Loading that library is recorded in the log.
The owner confirmed moving forward and backward and rotating the camera at about 2 fps while the visible prison scene was running. Codex separately inspected the actual window and native captures 3000 and 3200 showing different views around the window, courtyard and interior. Lit hair, NPC silhouettes, tables and buildings are visible, with large dark regions and missing or corrupted material detail. This is the game's normal presented output. Input response is owner-observed; captured frames independently confirm the scene and changed views. The run stopped by the 20-minute harness limit (1210.4 s including close/exit); no GPU removal logged, and the harness exit 0xffffffff is not a spontaneous crash.
One warm-run sample near the visible scene: 3.0 fps, 6,343 draws/frame, 341 dropped, 152 pipelines pending and 5 indirect calls. This is a sample, not sustained performance. Earlier in the warm run the fork logged 6,882 MB in use of a 6,997 MB local budget and 111 passes that made no texture copies for lack of room. These counters do not establish what caused the cold-run hang or which materials failed. No images or game-derived files uploaded.
Later the owner approached and interacted with the cellmate (keyboard Z for LT, Enter for A). Native frame 3800 shows the follow-the-guard objective. The owner then walked through an opened door with the guard into another room with moving and speaking NPCs. A later 3.1 fps sample had 6,003 draws/frame and 0 pipelines pending. Peak process private memory was 23231 MiB and sampled peak adapter-wide VRAM was 7547 MiB. The local run wrote a story-save container and a hash-verified copy was used in the restart below. No screenshots or save files uploaded.
Checkpoint restart: second visible controllable prison session on the same RTX 5060 Ti 8 GB. Same executable and Series X launch settings, using private copies of the completed warm-run cache and the prior local save/profile state. The owner reported that part of the opening was skipped, saw the café again, and supplied a normal-output screenshot showing the prison window, courtyard, character model, and NPCs (399.1 ms/frame, 5,292 draws). The owner confirmed control again and successfully interacted with an NPC using keyboard Z (LT) and Enter (A). At the library log sample this run had loaded 2,843 host pipelines and made six. Both starting state and starting cache changed, so this does not isolate the source of the visual difference or verify the exact checkpoint restored. No images or game-derived files uploaded.
The restart progressed past the prison. Native frame 3100 shows the follow-the-guard objective after the NPC interaction. The owner then reached the visible Lucia robbery tutorial and supplied a local screenshot with the reticle and prompt to aim at the clerk (788.6 ms/frame, 6,840 draws). Codex inspected native frames 4096 and 4200, which independently show the new scene and its aim tutorial. Some geometry and materials remained missing. The owner had not completed the aim objective when the window closed.
The harness requested window close at 902.9 s, its 15-minute limit. The title continued audio and frame captures after the window closed. The harness ended the remaining process at 1017.7 s, exit 0xffffffff, and no GPU removal was logged. The copied story and profile files were unchanged by hash at exit. A save at the robbery is unverified.
Save I/O follow-up: a local diagnostic build with only XGameSave debug events read the copied Player v4 and SARC0015 v1 containers from disk within 13 seconds of launch. All seven existing XGameSave tests passed. This confirms the saved data was read. It does not locate the resumed mission position or establish a new save after the robbery tutorial.
With the timer disabled, the same renderer on the save-trace build reproduced the robbery tutorial (native frame 4600). The hardware owner reports failing the robbery and seeing the story continue. Native frame 5600 subsequently shows a dark exterior with a police car. This differs from the two-star pursuit described by KLBF Lab. This run was still active at 21 minutes from launch, with no GPU removal or new story-save commit logged by that time.
The save trace later recorded a successful story-save commit from SARC0015 v1 to v2 (two blobs, 264,040 bytes written) around a loading transition roughly 24 minutes after launch. A separate copy was checked against source hashes before and after copying. The owner clarified that the loading was a story transition: a new cutscene began after the police-car sequence. The owner then saw Jason and Cal on the boat. Codex independently read the localized Gone Fishing mission title in the running game window, confirming the opening of mission 2 after the prologue. The owner then confirmed control of Jason in mission 2. On handover the boat went underwater and would not move. The local screenshot confirms the in-game failure reason (Cal fell overboard, 372.7 ms/frame, 4,852 draws). Process responsive at 30 minutes from launch, no GPU removal logged. Whether the underlying issue is simulation, rendering, or another part of the handover is unverified. The interactive run ended by operator request after 43 min 22 s, with no GPU removal logged. A distinct fresh process with the same build and RELAY=2 read both blobs of SARC0015 v2. The owner saw it resume after Lucia had been placed in the police car, bypassing the prison and robbery gameplay. The protected snapshot was unchanged by hash. Restoring this checkpoint is confirmed. Save files remain local.
@im-a-cat on GitHub · 2026-11-25 07:07 UTC · original
Follow-up on the same RTX 4060 Ti 16 GB (driver
32.0.16.2135/621.35, Ryzen 5 5600, 32 GB RAM, Windows 1126300, default TDR, Series X profile, release build).Tested
8dd30abwith open PRs#51,#25,#203,#61,#220,#23,#74,#49merged cleanly on top (and the same logging-onlyVICTORY_LOG_FILE/VICTORY_NO_ANSIpatch),VICTORY_RELAY=2(maindefaults,VICTORY_INDIRECT_WINDOWleft off). All workspace unit & GPU tests passed prior to launch.What changed on this card (
7b0f736→8dd30ab+ PRs above)mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35(#51): accepted (06:45:11Z: host mesh pipeline shaders=[mesh f5e50eb2108c425b, pixel ce3f0432a08f1d35])pixel 6b6db9f1a526daeb(#203): accepted (host mesh pipeline shaders=[mesh 4f23fd8d99482703, pixel 6b6db9f1a526daeb])pixel 7d0f14ce44746d7e(#203): accepted (host mesh pipeline shaders=[mesh a9184e594aae6932, pixel 7d0f14ce44746d7e])0refused graphics or mesh pipelines across the ~23.5-minute run.1 000 000view-heap cap (count=1245184) and unlit indirect bounce, plus blocky/stair-step lighting artifacts on tiled shadows/reflections.06:49:21Z, settled cell scene):2.5–3.4 fps(291–393 ms/frame, GPU85–111 ms),5721–6204 draws/frame,dropped 356–443 without a host pipeline (0 being made)buffer views left null as the host would refuse themdropped from 8,553 (earlier run) to 4–23shader writes looked for on the CPU per framedropped from 380.1 MB (7b0f736) to 10.6–34.5 MB (VICTORY_CARD_BUFFERS_MIN_MB=1default)9to1:stage="compute" hash=f133e35efed2a48a(a lane mask exchanged where not every lane runs) failed to translate.a929109552ce1e84(v_permlanex16_b32),7f05ddab771799a9,a53a7977fe762268,be14e72d86362031all translated and created host compute pipelines.6total, all0x80070057):02384a60fda6f2d0,2cc4c197ee29e291,2da4beb386509b77,369cbe906ea72764)5dc3b25986622949and6f225b641c5b0708(now translate pastv_cvt_f32_f64, then refused by D3D12 as Wave64 — matches #461/#190)Note: the run later terminated on a
std::alloc::rust_oom(0xc0000409) during a scene transition atframe=5712(zero TDR / zero device removal); filing a separate issue for that with exact numbers.Hardware run and log summary only; no game files, dumps, or screenshots attached.
@WerG0D on GitHub · 2026-11-25 16:25 UTC · original
You mentioned making a hash-verified copy of the local story save. If you still have that copy, would you be willing to run our read-only capture tool on it and share the reviewed JSON plus the exact fork commit? I’m checking whether our collector recognizes the layout of a real slot. No replay or save upload needed. Capture instructions
@rafaconvaitis on GitHub · 2026-11-25 21:10 UTC · original
Follow-up on the aim tutorial already mentioned above, with a trace at the game's GameInput read boundary. This is Flamingo 63d976b on native D3D12, Series S preset, RTX 4070 (616.64) and Ryzen 9 5900X. I loaded a disposable copy of the same checkpoint, traversed the prison and reached the first “Hold LT to aim” instruction again.
With the clerk centered, the title read device 4 sequence 224 at LT 1.0 for about eight seconds. It read sequence 225 at LT 0.0 on release. The clerk context label appeared during the hold, and the tutorial stayed on the first instruction. A separate focused keyboard test sent LT and a brief camera adjustment together. The title read LT 1.0 in sequence 226 and LT 0.0 in sequence 228. I also moved closer and repeated the hold. The same instruction remained.
The trace is written after the shim copies the pad state into the game's output pointer. This confirms the trigger value reaches the title during the blocked step. If anyone has a native trace from a run that completed the aim step, the next action after that LT reading would be a useful reference.
@oeirughrepuiohg on GitHub · 2026-11-26 02:44 UTC · original
Additional NVIDIA/Proton data point for the dark skin and missing room details reported here.
On an RTX 4070 Ti with Linux, Proton Experimental and vkd3d-proton, we traced one case of Lucia's black face to the skin draw's indexed base-colour slot becoming null when the title moved the texture and the replacement host copy had not been admitted. A local opt-in experiment kept the previous view during the move and allowed the replacement copy within bounded headroom. The configuration used a 5,500 MB texture budget, heap sync off, and
BACK_OWN_VIEW=1. The budget alone did not consistently prevent the black-face frames.Tested build: local victory-fork-based revision
0f2d5940, withVICTORY_KEEP_MOVED=1,VICTORY_SWAP_WHEN_FULL=1,VICTORY_TEXTURE_BUDGET_MB=5500,VICTORY_HEAP_SYNC=0, and constant ambient at 0.6. Series S profile, native render 1280×720 stretched to 1920×1080, no frame generation.Two warm 120-second windows in the first gameplay room, with detailed diagnostics off:
Separate capture runs on the same build show Lucia's skin rendered in the diner close-ups and in the prison frontal close-up. We saw the walls, window grate and posters together in two runs. The waitress's face still went black in some frames, and indirect lighting still uses the ambient approximation. These are observations from the combined configuration; we haven't attributed the room changes or FPS to either texture switch individually.
The switches remain diagnostic because the old view's lifetime across remaps needs hardening. This is a test report for one observed failure mode. No game files, captures, saves, or binaries attached.
AI credit: Claude Opus 5.5 (Claude Code) worked on the builds and ran the benchmarks. GPT-6.2 Sol (Codex) reviewed the results and wrote this comment.
@HLVM04 on GitHub · 2026-11-26 03:26 UTC · original · edited 2026-11-26 06:20 UTC
A counter-data point for the
KEEP_MOVED/SWAP_WHEN_FULLrecipe, on native Windows: RTX 5070 Ti, Ryzen 7 9800X3D, Series S profile, our local stack on fork main plus open PRs.There is no public code for the recipe, so we re-implemented it from the description above. That is not your build. With
VICTORY_KEEP_MOVED=1,VICTORY_SWAP_WHEN_FULL=1(256 MB headroom) andVICTORY_TEXTURE_BUDGET_MB=5500, the main character's neck was black in 4 of 4 runs. Without it, the neck is lit in roughly half of our runs. The switches were active: about 16k moved views were kept and about 5.7k swaps were done on a full card.How we scored it: we looked at her neck in the G-buffer albedo dump at frame 3000 (
VICTORY_DUMP_TARGETS=1;VICTORY_CAPTURE_FRAMES=3000), not at close-up screenshots. Our runs did not include yourVICTORY_HEAP_SYNC=0,BACK_OWN_VIEW=1or the constant ambient. Four runs is a small sample.Correction (2026-11-26): the 1280x720 target we called "albedo" above (format 28, where skin shows blue) is not the base colour. It looks like a material/skin mask: in one run the neck was blue there while the real base colour, render target 0 (1280x720, format 27, the first of the 6 G-buffer targets), was dark at the neck. So the lit/black tallies above were scored on the wrong target and may be off. RT0 is the one to judge (skin tone at the neck; a large plaster wall is also light grey in good runs and dark in bad ones). The hero's skin is drawn by pixel shader b36c288fccc767b0 (found by skipping shaders with
VICTORY_SKIP_PIPELINES).