Boat mission: the boat sinks to hull depth the moment the cutscene ends (engine destroyed, cannot move) – RTX 4070 SUPER, f85101b #863
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#863
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?
@KaV3R on GitHub · 2026-11-25 11:01 UTC · original
Hardware: RTX 4070 SUPER 12 GB, Ryzen 9 9950X3D, 32 GB RAM, Windows 11. Game: Xbox Series build 1.0.2.1.
Tree: victory-fork up to
f85101b, plus a few local changes (listed below).What happens
In Jason's first boat mission ("Follow the plane"), the boat sinks the moment the cutscene ends, as soon as physics takes over. It doesn't sink slowly: it drops straight to about hull depth and stays there.
What it is not (checked)
Copy-back timing. It sinks the same with
VICTORY_RELAY=0 VICTORY_LATE_WAIT=0(no relay, no late waits) as with the defaults.Translation failures. The only compute programs that fail or are refused in that run are visual:
water_shading:CS_TransmissionVolumetrics*(refused as pipelines;...Submergeddoesn't translate);cascadeshadows_rendering:CS_ShadowRenderTiledCascadesAlphaCBPPPC;alphaResolve:CS_AlphTransmissionPrefilterMip,vfx_triangleClip:CS_DefragHeap_ComputeRelocations;vfx_proj_decal_hit_detection:CS_ComputeHitDetectionSkinnedResults(skipped withVICTORY_SKIP_PIPELINEShere; it hung the card in an older tree).The
ShallowWaterSim,OceanWaveSim,RiverSimPacketandWaterSimMgrprograms are not on the translator's failure list (victory translate --listover the game directory).Streaming. No failed or dropped DirectStorage requests in that run. The boat model itself loads.
View heap cap. "title slot past the host heap" is never logged.
Texture read-backs. Only the two small exposure targets (5x1 and 1x1 RGBA32F), and both are made.
Suspect
The title answers the physics' water-height queries on the GPU:
ShallowWaterSim:CS_ResolveHeightLookUps(andCS_ExtractHeightAndVelXYZAndDivVel), with a CPU read-back buffer (the exe hasCpuReadBackShaderResourceBuffer). If the CPU reads that buffer before the results land, or reads zeros or stale data, buoyancy sees no water at the boat. That would match a boat that "falls" to hull depth the instant physics starts.I haven't yet confirmed whether that program is dispatched in this scene, or whether its output reaches title memory. The next test is the same scene with
VICTORY_CARD_BUFFERS=0as well (no card copies of title buffers).Very low fps (large physics steps) could also play a part, but it wouldn't explain a stable resting depth with the engine flooded.
Local changes in this tree (in case they matter)
v_cvt_f32_f64and a size-only buffer descriptor path in the translator (the fork has its own versions now).VICTORY_WAVE_WIDE_ONLY/VICTORY_FIRSTLANE_OWNhash lists.VICTORY_TEXTURE_NO_WAIT=1,VICTORY_CARD_BUFFERS_MIN_MB=1,VICTORY_CARD_BUFFERS_MB=1024, card fill 93 %.Has anyone with the boat working seen the same, or does anyone know where the title reads the height look-up results back?
@LukaManstein on GitHub · 2026-11-25 12:52 UTC · original
Same here, and
VICTORY_CARD_BUFFERS=0does not fix it.Setup: RTX 3080 Ti 12 GB, Ryzen 7 2700, Windows 10 LTSC (Agility SDK 1.620), Series X, build 1.0.2.1. Tree: victory-fork
f85101b+ uiliannn/VItoriaBr merged (77 translator fixes) + a constant indirect light ported from Belobug (VICTORY_AMBIENT) — branchturboof LukaManstein/CHIMERA.Test (loaded the autosave at the start of the boat mission, watched past the cutscene's end):
Result: the boat drops to hull depth the moment physics takes over, "Engine destroyed", exactly as in the report. The run was 0.5–0.7 fps (copy-back 350–1070 ms a frame with no card copies), so very large physics steps are still possible, but the resting depth is the same as at 4 fps.
So with title buffers living only in title memory, no relay and no late waits, the read-back path through card copies is ruled out as well. Next on my list is checking whether
ShallowWaterSim:CS_ResolveHeightLookUpsis dispatched at all in that scene (and with which pipeline) —translate --listonly prints failures, so if someone has a hash→name list for the water programs, that would save a step.Side note from the same comparison: the picture is visibly cleaner with all the inexact switches off;
VICTORY_MERGE_GAP/MERGE_RUNSis my first suspect for that.@tippythetaidum on GitHub · 2026-11-25 13:05 UTC · original
Some things from my side that may narrow it down. I can't reach the boat (no save there), so none of this is from that scene.
What
ShallowWaterSim:CS_ResolveHeightLookUps(92b4790eb4c29f6d) does, from its code:t108): x, y, a base height, and an output index (the record's 4th dword).u11, in a descriptor table).So a boat that finds no water is getting either -10000 from that path, or results that never reach title memory. Watching the
u11buffer for -10000 would tell those apart.Results reaching title memory:
u11is a table view, so the layer declares its range written and copies it back after the list runs (readable→gpu_writes). One way they could still arrive late: the title's own buffer copies (CopyBufferRegion,CopyMemoryToMemoryX) run on the CPU when the list is submitted, before the card runs it. A copy of the results recorded after the dispatch in the same submission would take the bytes from before the dispatch. I counted exactly that with a diagnostics patch: in eight runs onf85101bfrom the opening cutscene into the prison (RTX 5080; about 376,000 submissions and 368,000 title buffer copies, one run withVICTORY_LATE_WAIT=0), no title buffer copy came after a shader write of its source in the same submission. So it doesn't happen in those scenes. Whether it happens at the boat I can't say. If you'd like to check, I can put the counter up as a diagnostics-only PR.All the
ShallowWaterSim,OceanWaveSimandWaterSimMgrprograms translate and validate offline onf85101b, as you found.AI-assisted (Claude Code, with Claude Opus 5.5 and Claude Fable 5.2): the decode, the counter and this text. Counts and log lines only, nothing from the game attached.
@sawetco on GitHub · 2026-11-25 13:32 UTC · original
I captured the water-height dispatch in the boat mission itself on an RTX 5070 (driver 621.24), Ryzen 5 7600X and Windows 11 build 26100. The renderer was Zettrox 90b529f with the fxceless #203 shader changes, Series X, relay 2 and shader loop limit 256. I reloaded the saved start of Gone Fishing.
I matched the original shader containers locally by BLAKE3 to the host command-list records. ResolveHeightLookUps is
92b4790eb4c29f6d, ExtractHeightAndVelXYZAndDivVel isee153b918d4ef2c9, and MinTimestepReduce isceb5eb68cd99cb07. On frame 3168 the two height-lookups bind distinct output buffers at the UAV descriptor-table offset +32. The command trace reports a 1,024-byte range for each. These are recorded host dispatches. I have no measurement of the output float values or the bytes the CPU subsequently consumed.This gives a scene and an output to target with a readback probe. No mission input was scheduled during these captures. Codex prepared the build and analyzed the local trace.
@KaV3R on GitHub · 2026-11-25 13:55 UTC · original
Update from the boat scene, with the look-up's buffers logged at its dispatches (a small diagnostics switch,
VICTORY_PEEK=<hash>; run without relay or late waits). Thanks @tippythetaidum, your decode ofCS_ResolveHeightLookUpsmade this quick.The look-up works, and its answers reach title memory.
u11, 1 KiB) of a dispatch shows the previous dispatch's answers there:0.0,0.3.med3(offset, -100, 100)) to +5 m changed nothing in the scene. The base heights below explain why.The questions are wrong. The records physics sends (x, y, base height, index) at the boat look like:
The base height the CPU puts in is sea level (0 or 0.3), not the swamp's water level. Physics then looks for water below the riverbed, and the boat rests on the bottom. A free-camera shot shows exactly that: the boat on the bed, no water around its hull.
Why the CPU has no river/swamp level: none of the 40
RiverSimPacket:*programs (CS_WaterTextureCodecGPU_*,CS_SparseTexture_*,CS_HighDetailDeltas_*, ...) is ever bound in the run. TheOceanWaveSimandWaterSimMgrprograms and theShallowWaterSimlook-up all are.Likely cause: the two console device methods at
0x1c8and0x218are not implemented (unknown_pipelineindevice.rs). The title creates pipelines through them and goes without each one when the call fails: 16,384+ calls at0x1c8and 2,048+ at0x218by the boat.From the logged descriptions, they look like pipelines made from pre-compiled native code rather than from a DXIL container:
0x218(one stage):[root signature, blob 0x1c, blob 0x14, GPU code address, code size (0x180-0x240), blob (0x118-0x198), ptr, ptr, 64-bit hash], then the next record.0x1c8(two stages): the same shape twice, after a root signature.The 64-bit hashes in the descriptions are found in
shaders.rpf, inside containers (the ones checked sit among the...im:CS_Texture2DArrayMipmap*programs). So each call should map to a known container that the translator already handles.I'm now working on implementing the two methods by mapping the hash to its container. I haven't verified yet that
RiverSimPacketis among the pipelines the title goes without; that's the first thing the implementation will show.AI-assisted (Claude Code, Claude Opus 5.5): the diagnostics, the analysis and this text. Log lines and numbers only, nothing from the game attached.
@tippythetaidum on GitHub · 2026-11-25 14:00 UTC · original
Glad it helped, and good find on the base heights. Before you implement
0x218/0x1c8, our measurements on them may save you a day (we went down that road yesterday; details on #113: #113):0x218failing leaves no compute pipeline missing. The title then creates the same pipeline withCreateComputePipelineStateXfrom its container. Per root signature, the0x218calls equalled the container creations exactly, for every one of the 26 signatures that saw0x218(2,689 and 2,689, first scenes,4e17478).0x218succeeding, the title skips the container path.0x1c8is a cache the title fills ahead; per #113 its misses are made the usual way at draw time.So for
RiverSimPacketI'd first look at whether the title creates those pipelines at all at the boat (ashader translated/does not translateline or a pipeline creation with their containers' hashes), and if it does, why they're never dispatched (refused, dropped, or simply not scheduled because the CPU side decided there's no river there).AI-assisted (Claude Code, Claude Opus 5.5).
@tinygusie2 on GitHub · 2026-11-25 14:09 UTC · original
Same on AMD (RX 9060 XT 16 GB, Ryzen 5 7500F, 32 GB, Windows 11; Series X profile, 1.0.2.1). Tree: fork main
a253706plus local changes (AMD view-index fixes,VICTORY_MAX_COMPUTE_KB=48, a constant indirect light, #868 with its switches off). The boat is at hull depth right after the cutscene, as in the first post. One run, about 4–5 fps.The look-up's answers reach title memory here too. I logged the buffers
CS_ResolveHeightLookUps(92b4790eb4c29f6d) is bound to and read them from title memory ten times a second:0.0for one dispatch of the pair and around0.3for the other, with small waves on top. Only unused entries hold-10000. No NaN or infinity seen.None of the 40
RiverSimPacketcontainers appears in the log. I unpackedshaders.rpf, took the BLAKE3 of each container and looked the hashes up in the run's log: no translation, no bind, no refusal, for any of the 40. As a check on the method,ResolveHeightLookUpsand the other water programs do match:RiverSimPacketOceanWaveSimCS_FindMaxWaveAmplitude)ShallowWaterSim,WaterSimMgrUnused programs of the other families are absent from the log as well, so this does not show whether the title creates the pipelines. It does show that they are never tried and refused.
Also checked:
water_shading:CS_TransmissionVolumetricsSubmerged(does not translate) andpostfx_lut:CS_LUT3DBakeColorGradingAdjustments; neither looks related. The run also left outbvh_skinning:CSComputeSkinningTreeAnimVelocity(compiler crash here), theCS_RaytracingResolveprograms and compute containers over 48 KB.VICTORY_INDIRECT_WINDOW=1,VICTORY_LEVELS_ON_DEMAND=1,VICTORY_LATE_WAIT=3,VICTORY_WIDE_BACK=1; noASYNC_SUBMITorQUEUE2.AI-assisted (Claude Code, Claude Opus 5.5): the diagnostics, the analysis and this text. Log lines and numbers only, nothing from the game attached.
@sawetco on GitHub · 2026-11-25 14:20 UTC · original
I checked the creation-versus-binding question from the last two comments. All 40
RiverSimPacketcompute containers reached the guest pipeline factory in one Series S run. The runtime recorded zero first binds for those 40 from launch through the boat handover and the on-screen “Cal fell off the boat” failure.I used the
victory-perfrenderer at97c3aa2on an RTX 5070 (621.24), Windows 11, 0.5 scale. My local change captures the composed HUD. The pipeline code is the published code. Enabling thevictory_gpu::pipeline=tracetarget in the diagnostics build prints the shader list when the guest requests a pipeline. I matched the 40 locally indexed compute containers against this trace in the gameplay process. All 40 appeared once, about 1.9 s after startup, before player selection. There were 2,734 distinct compute containers in creation requests across the run. The separate offline precompiler log was excluded.The dispatch column is from a captured frame with both occupants aboard and the plane in view. None of the 40 produced a translation attempt or refusal in the gameplay log. The creation trace is emitted on entry to the common factory, before its return status or native D3D12 compilation. That narrows the outstanding question on this configuration to what happens between the title's request and its first bind. The exact activation condition and the cause of the bad water height are still open. Creation instrumentation · First-bind instrumentation
Codex assisted with the local measurements and write-up.
@CuteBooty on GitHub · 2026-11-25 14:26 UTC · original
The boat floats and drives here with vx-layer's texture copy-back (Geckomacabre/vx-layer eee5667d), RTX 3070 8 GB, Series S
Same failure here first: after the cutscene the boat sat in the rectangular trench and would not move (two runs, last
night and this morning).
With a port of vx-layer commit eee5667d ("textures shaders write that the title reads on the CPU are copied back
into title memory", switch
VICTORY_TEXTURE_BACK) the boat sat on the surface and could be driven, in two runs ofabout 7 and 8 minutes. I did not write the fix; this is only a confirmation on another card and in Series S.
the title's memory. The kinds are upstream's default list, width x height and the title's format number:
256x256 f41, 256x256 f16, 64x64 f16, 128x128 f36.
CPU time in that interval. Nothing is copied during loading; it starts with the world.
two runs differ in other changes, so I cannot give the fix's own cost.
So on this machine what the physics was missing is the contents of those shader-written textures in title memory,
not the look-up's own buffers.
One caution from reading the port before running it: the copy-back has no check that the title still owns the
same memory when the copy lands, so in principle it can write old pixels over memory the title has reused or
remapped in between. A version that refused every such case also refused all the textures the boat needs, so it
needs proper tracking, not a blanket guard. I saw no sign of corruption in two short runs, which proves little.
Setup: RTX 3070 8 GB (driver 621.24, 32-lane waves), Ryzen 5 3600, 32 GB, Windows 11, Series S mode (PR #188), 1920x1080,
VICTORY_TEXTURE_DROP_MIPS=1, relay at its default, a diagnostics build of a tree at main310c6eb6with a number of open PRs picked.@KaV3R on GitHub · 2026-11-25 14:43 UTC · original
Confirmed: the boat floats and drives with vx-layer's texture copy-back (
eee5667d), on an RTX 4070 SUPER, Series X profile.Thank you @CuteBooty for finding and confirming it, @Geckomacabre for the fix in vx-layer, and @tippythetaidum for the measurements on
0x218/0x1c8, which saved us a lot of time.Setup:
0b0074eplus local changes, witheee5667dcherry-picked. It conflicted only with local code inhost.rs,draw.rs,resource.rsandlib.rs; I left out the read-watch diagnostics.VICTORY_ASYNC_SUBMIT=1,VICTORY_QUEUE2=1,VICTORY_INDIRECT_WINDOW=1,VICTORY_COPY_PLAIN=1.Result:
VICTORY_TEXTURE_BACKdefault kinds:256x256 f41,256x256 f16,64x64 f16,128x128 f36.a texture copied back could not be tiled e=Unsupported mip=0 slice=0warning in the run, which didn't seem to matter for the boat.Correction to my earlier comment: the
0x218/0x1c8lead was wrong, as @tippythetaidum said.0x218(record lookup by the trailing hash inshaders.rpf). The title then made 2,600+ compute pipelines through it, including all 40RiverSimPacketones.AI-assisted (Claude Code, Claude Opus 5.5): the port, the runs' analysis and this text. Log lines and numbers only, nothing from the game attached.
@Mishkile on GitHub · 2026-11-25 14:44 UTC · original
Independent confirmation on an RTX 5090, with the passes that write those textures and what else is in the same position
Same result here as in the comment above: with the textures copied back into title memory the boat floats. I reached it separately, by tracing, before I saw vx-layer
eee5667d, so this is a second route to the same cause and a few details that route gave.Result (RTX 5090, Windows 11, Series X profile; tree:
f85101bplus community PRs and local changes; one save at the start of the Gone Fishing cutscenes, no input):PS_HeatHazeUnderwaterfirst bound at that frame every time)One run with the fix, one machine.
Which passes write the textures the CPU reads. I listed every pass of 24 frames (20 of them in the boat scene, from 390 frames before the boat drops to 95 after) and collected each texture written through an unordered-access view of a dispatch. 57 of 485 are never named again in any of the listings: no shader-resource view, no copy, no alias, no target. The water ones:
water_compressed_simulation_rendertarget:CS_MinMax_Int_SinglePlane_Parallelbdf438d5731d36cc...:CS_MinMax_Float_DualPlane_Parallel9809b8d965b04935(two dispatches a frame)...:CS_MinMax_Float_SinglePlane_Parallela2f1004f8d6d7aadWaterSimMgr:CS_CompositeSimDataIntoOutputTexture0101Each compress dispatch has three sets of outputs and uses them in turn, like the look-up's three result buffers. The compress passes read the shallow-water height and velocity textures (512x512), so these are the simulation's heights in a block form: a min/max plane and an index plane per input.
A difference that may matter. vx-layer's default kinds as quoted above (256x256 f41, 256x256 f16, 64x64 f16, 128x128 f36) cover the min/max planes and the composite outputs, but not the index planes the same dispatches write (4096x64 R8_UINT and R16_UINT, 2048x128 R8_UINT), which are just as unread on the card. My copy-back keys on the writing program instead of the shape: it has the min/max and index planes and not the 256x256 composite outputs. The boat floats with either set, so the planes both have (64x64 f16, 128x128 f36) are enough for that. What the title does with the others I have not tested; waves under a moving boat would be the place to look.
Other textures in the same position in those listings (written, never read on the card). Candidates only, none tested, and "never read in 24 listed frames" also fits scratch targets:
terrain_virtual_texture:CS_ProcessFeedbackBufferandCS_ClearPageFeedback: 240x135 R32_UINT, in 19 of the 24 listingsWindNew:CS_PreProjection,CS_PreProjectionChild,CS_ProjectionIteration,CS_PostProjection: 66x66 R16G16_FLOATShallowWaterSim:CS_ExtractHeightAndVelXYZAndDivVel: 512x512 R32_FLOAT, 256x256 R32_FLOAT, 256x256 R32G32_FLOATOceanWaveSim:CS_ApplyOceanDisplacement: 256x256 R16G16_FLOATsr_tracing:CS_Tiling_*andCS_RaytraceVBuffer_RayBinning_*: 3x3 and 1x1 R32_UINTAlso measured on the way, agreeing with the comments above:
CS_ResolveHeightLookUps: the card's copy of the result buffer and the title's memory hold the same values at every dispatch traced, before and after the boat drops (three records, base 0 and 0.3).RiverSimPacketprogram is dispatched in the scene.How mine does it, in case the program-keyed form is useful: after a dispatch of a listed program, each two-dimensional single-level texture its tables bind for unordered access is copied out in the title's own list (to copy source and back). At the next present, behind a wait for everything submitted, the rows go through
victory_formats::texture::Layout::tileinto a copy of the texture's memory, whichcopy_mapped(.., true)writes andwatch::wrotereports. 8,520 textures in the run, none failed, all layouts addressable. I did not measure its cost on its own.AI-assisted (Claude Code, Claude Fable 5.2): the tracer, the analysis and this text. Names, counts and log lines only; nothing from the game attached.
@LukaManstein on GitHub · 2026-11-25 15:16 UTC · original
Confirming @CuteBooty's result on NVIDIA under Windows 10: with vx-layer
eee5667d(Geckomacabre's texture copy-back, default kinds 256x256 f41/f16, 64x64 f16, 128x128 f36) the boat floats, drives, and the whole boat chase plays through — the plane, the binoculars and the swamp — until the mission moves on to its next objective with Jason on foot at the camp.RTX 3080 Ti, Ryzen 7 2700, Windows 10 LTSC 21H2 (Agility SDK), Series X profile, 1280×720. Tree: victory-fork
f85101b+ uiliannn/VItoriaBr +eee5667dcherry-picked (conflicts only next to it) — https://github.com/LukaManstein/CHIMERA/tree/turbo at9da5726. One session of 31 minutes, no crash or device removal; in the mission median 3.9 fps (1.3–5.8). A recording of the whole boat chase will follow.One
texbackwarning per run:a texture copied back could not be tiled e=Unsupported mip=0 slice=0(logged once, so I don't know which of the four kinds); it didn't stop the boat.For the record, what my diagnostics showed before the fix, in case it helps someone check the mechanism: the height look-ups' answers were fine (~0.0/0.3 m), no title copy read them, and the integration programs (
CS_AdvectionStep,CS_IntegrateHeight,CS_IntegrateVelocity) were never bound at all — the CPU never scheduled them, which fits it reading the wave maps from memory nothing had written. I'll retract my earlier guess about the raw-view own copy: it doesn't affect the boat.@Kajcsi on GitHub · 2026-11-25 15:49 UTC · original
Hi @KaV3R, could you share the saves folder from this run (the one with the autosave at the start of the boat mission)? A crash cost me my progress after the prologue, and your autosave would let me continue from about the same spot. It's the
7952987A\savesfolder inside your VICTORY_DATA_DIR. Zipping it and attaching it here would be perfect. Thanks!@not-rex on GitHub · 2026-11-25 16:17 UTC · original
Two crashes later in "Gone Fishing" with the texture copy-back in. Both are in the title's own code, and the boat floated and drove in both runs.
RTX 5070 Ti 16 GB (driver 621.14), 31 GB RAM, Windows 11, Series X. Tree:
0b0074e+ vx-layereee5667d(default four kinds) + #768 (off). Both runs started from the same autosave at the start of the mission.ASYNC_SUBMIT=1 QUEUE2=1 INDIRECT_WINDOW=1 TEXTURE_NO_WAIT=1, relay default0xc0000005atvictory-image+0x4f28e0f, read0x18, on a title worker thread0xc0000005atvictory-image+0x4f46cc2, read0xffffffffffffffffThe read of
0xffffffffffffffffis the same kind as #811's (+0x4f0ed7d, Jason's first mission,a26859f).@CQ187901 on GitHub · 2026-11-25 16:18 UTC · original
<html>f85101b+ #887 + #886 + #883 (VICTORY_WAVE_PAIRS) + #799 (loose LDS) + @Geckomacabre's eee5667d texture read-back.Symptom, as reported
What was actually wrong on our side
How to tell from a log
Two traps worth knowing
Numbers, same river scene, texread-back on
f85101b+ #887 + #886 + #883 (VICTORY_WAVE_PAIRS) + #799 (loose LDS) + @Geckomacabre's eee5667d texture read-back. Symptom, as reported At the end of the first chapter's boat cutscene the boat drops to the river bed, the HUD says Engine destroyed, the water around the hull is a rectangular pit, and after skipping to the checkpoint the boat floats but the pit remains and the throttle does nothing. What was actually wrong on our side VICTORY_TEXTURE_BACK takes a comma-separated list of kinds (xf), which kinds() parses with split_once('f') then split_once('x'). Our launcher passed VICTORY_TEXTURE_BACK=1, so every entry failed to parse, the list came out empty, and wanted() returned false for everything — the read-back ran with nothing to copy for the whole session. It looked exactly like "the water heights are never written by shaders", which sent us down two wrong paths (chasing placed / by-address UAV bindings, and looking at the refused compute pipelines). The default when the variable is unset is already the right list: 256x256f41,256x256f16,64x64f16,128x128f36Setting exactly that (or leaving it unset) makes the boat float and drive. No code change was needed.
How to tell from a log
The process-wide line appears once, and only when the list parsed:
textures of these kinds that shaders write are copied back into title memory (VICTORY_TEXTURE_BACK) kinds=[(256, 256, 41), (256, 256, 16), (64, 64, 16), (128, 128, 36)]
If that line is missing, the variable did not parse — check the value before anything else. With it present, the per-frame copying back N MB grows (52–61 MB/frame here, against ~30 MB without the read-back).
Two traps worth knowing
Numbers, same river scene, texread-back on
draws/frame
ms/frame
fps
copying back
before (read-back empty)
4,051–4,269
215–235
4.3–4.8
30–43 MB
after (four kinds copied)
5,068–5,404
265–286
3.5–3.8
52–61 MB
The scene is heavier after the fix (more geometry visible once the hull sits in water), and the read-back itself costs ~39–43 ms per frame here. Worth it: the mission is playable.
@KaV3R on GitHub · 2026-11-25 16:20 UTC · original
@Kajcsi I cannot send .rar there soo there is a link :D https://www.mediafire.com/file/jpacfwryuglpqa4/saves.rar/file
@sawetco on GitHub · 2026-11-25 16:23 UTC · original
The Gone Fishing boat stayed afloat through the landing on an RTX 5070. The player drove it, got out on the pier after the binoculars sequence, and received Search the camp for Donnie on foot. Earlier on this machine the boat sank at the handover and the mission failed. We reached the camp through normal play, without using the mission skip.
To isolate the water change, we first ran the same executable twice from fresh copies of the same mission-start save and warm cache (3,271 shader entries, two pipeline files). The build adapts Geckomacabre's texture readback to the performance fork. Readback change · Performance baseline
VICTORY_TEXTURE_BACK=0256x256f41,256x256f16,64x64f16,128x128f36The player-driven camp run was a separate build with the same water change plus the facial fix from #927 at
b9c3781. In a 126-second stretch of the chase, 20 rolling renderer samples had a median of 7.25 FPS. The player saw 8–9 FPS in ordinary gameplay and 10–15 looking up or down. The pause menu held 30 FPS across 34 samples.Windows 11 build 26300.10075, NVIDIA 621.24, Ryzen 5 7600X, 32 GB RAM, Series S profile, render scale 0.5, relay 2, late wait 3,
VICTORY_COPY_BACK_ONLY_READBACK=0. Game version 1.0.2.1.@HenriqueSBueno on GitHub · 2026-11-25 16:39 UTC · original
Another confirmation, on a 10 GB card and on current
main: with vx-layereee5667dcherry-picked onto3973179, the boat sits on the surface after the cutscene, with the HUD and minimap up.Setup: RTX 3080 10 GB (driver 616.92), i5-10400F (6 cores), 32 GB, Windows 11 26200. Series X profile, diag build. Switches:
VICTORY_DISPLAY_MODE=1920x1080 VICTORY_SHADER_LOOP_LIMIT=4096, all others at3973179's defaults. Loaded from the autosave at the start of the boat mission, with no input.Merge: conflicts only next to the change, in
draw.rs,host.rs,lib.rsandresource.rs. I kept both sides and left out the read-watch diagnostics, as KaV3R did.close()now callstextures_back()before the indirect clamp and the card meter.Result:
a texture copied back could not be tiled e=Unsupported mip=0 slice=0warning, as others saw.One crash in four launches of this build, while it loaded into the world (about 2 minutes in):
unhandled exception 0xc0000005 at victory-image-…dll+0x390e0c0 (write 0x0: nothing mapped there). Copy-back was on in that run. It didn't happen again in the next three, with copy-back on or off (VICTORY_TEXTURE_BACK=0), so I can't tie it toeee5667d. I'm noting it in case someone else sees the same address.Still visible: dark character faces in the cutscene, blocky texture tiles on parts of the boat, and a black spot in the sun's reflection on the water.
AI-assisted (Claude Code)
@CuteBooty on GitHub · 2026-11-25 17:52 UTC · original
With only the two min/max kinds the boat floats but the water surface is not drawn; and single-frame dropouts of the whole surface stop when the present waits for the copies
Follow-up to my comment above, same machine, vx-layer eee5667d ported onto our tree.
Two kinds against four.
VICTORY_TEXTURE_BACK=64x64f16,128x128f36floats the boat here too (as @iGoldenNinja found),and copies about 100 textures / 4 MB per 5 seconds instead of about 420 / 120 MB. But most of the water surface around
the boat was not drawn: seabed and black where water should be, a strip of surface in the distance. With the four
default kinds the surface is drawn. Frame time was the same either way (209 against 213 ms), so here the two 256x256
kinds cost nothing measurable and the picture needs them.
The whole surface vanishing for single frames. With all four kinds, the entire water surface disappeared for one
frame at a time, more often while the boat moved (a phone video at 2 samples a second: 1 of 12 samples without any
water). What I found:
copy can arrive during the title's next frame, and it is written by another thread while the title may read.
VICTORY_LATE_WAIT=2(the present is a settle point again): no dropout in a run of about 5 minutes; frame 210 ->231 ms. Cutscene models and textures also settled better with it.
its counter 6-14 ms a frame, measured frame unchanged (206 against 210 ms), dropouts rare but not gone, and more
again in longer sessions and with a submit thread of the layer's own (
VICTORY_ASYNC_SUBMIT=1). So the timing isthe cause here, and a present-time wait is most of the cure; I have not closed the rest.
So for anyone running eee5667d who sees the sea blink: try
VICTORY_LATE_WAIT=2as a check.Setup: RTX 3070 8 GB (driver 621.24, 32-lane waves), Ryzen 5 3600, 32 GB, Windows 11, Series S mode (PR #188), 1920x1080,
VICTORY_TEXTURE_DROP_MIPS=1, relay at its default, a diagnostics build of a tree at main310c6eb6with a number of open PRs picked. One run per configuration unless said; run-to-run spread here is 5-10 ms.@SkillIssueXO on GitHub · 2026-11-25 19:51 UTC · original · edited 2026-11-25 20:22 UTC
Independent Series X result on an RTX 5070 Ti 16 GB (Windows 11, driver 621.40). I ported Geckomacabre/vx-layer
eee5667donto fxceless0b0074eand kept all four default water formats:256x256f41,256x256f16,64x64f16,128x128f36. Async submit, queue 2, indirect windows and wide texture checks were off. Thanks to @Geckomacabre and @not-rex for the source and the comparable NVIDIA test.The boat stayed afloat at Follow the plane, with a visible wake and a continuous surface in the captured view. The large black rectangles from my earlier local runs were absent there. The sun disk and small dark reflection spots remained. The window showed 5 FPS / 194.4 ms at 4,059 draws. The three surrounding reports were 4.9, 5.2 and 5.7 FPS.
The same session continued through the boat sequence to Search the camp for Donnie on foot. At the camp, 201 consecutive present intervals over 54.0 seconds averaged 3.72 FPS (291 ms median, 359 ms p95). The run was closed on request after 37 minutes 51 seconds with no access violation or GPU device removal in the log. Mission completion remains unverified. Exact tested source patch and report.
The earlier five-format configuration repeatedly crashed on a 16-byte null-source copy at
VCRUNTIME140.dll+0x1c45a, with title return RVA0x3de6491. The DirectStorage scheduling patch in Marvisak/VIctory@eddde734 held 2,079 early reads in a separate run and the same fault recurred. The working handoff build also differs in renderer revision and launch settings, so this comparison does not isolate the crash cause.AI-assisted testing and analysis. Aggregate results only.
@vShotv on GitHub · 2026-11-25 20:46 UTC · original
Sharing my manual Gone Fishing story save for testing. I created it with Xbox Series build 1.0.2.1 and
fxceless/victory-forkat79cfdd9plus the locally ported KLBF water-physics fix. On Windows 10 with an NVIDIA GeForce RTX 4070, I saw roughly 5–6 FPS on average during gameplay. The exact resume location and compatibility with other forks are still unverified.Close the game and back up any existing saves, or use a separate
VICTORY_DATA_DIR. Extract theSARC0000~f3a9b4e1a0576c96folder into your active profile’s7952987A/saves/<user>/<scid>/folder. Then choose Load Game → Gone Fishing.Gone-Fishing-Fxceless-Xbox-1.0.2.1.zip
@TobiasFornell on GitHub · 2026-11-25 21:39 UTC · original
Linux/AMD confirmation for the shared "Gone Fishing" save from C15 (
saves.rar), with and without the texture readback fromeee5667d/ #999:VICTORY_TEXTURE_BACK=256x256f41,256x256f16,64x64f16,128x128f36: the boat stays afloat and the mission continues ("Follow the plane"), 0 kernel GPU page faults, the readback matched the expected water textures (256x256 formats 41 and 16) in the log. About 0.5 s/frame (~2 fps) once the world has settled (600 s run, median after the first ~4 minutes).@iGoldenNinja on GitHub · 2026-11-25 15:45 UTC · original · edited 2026-11-26 03:54 UTC
Series X RTX 5080 A/B with only the two shared water outputs. I ported Geckomacabre's water texture copy-back and used the overlap between KaV3R's and Mishkile's results. The same renderer binary (
e4c18ec) loaded separate copies of the same checkpoint and warm cache. Hardware was an RTX 5080 16 GB on driver 617.14, Windows 11 Pro 25H2 build 26200.9974, Ryzen 9 5900X and 32 GB RAM.64x64f16,128x128f36: The64×64 R32G32_FLOATand128×128 R16G16_UINToutputs recorded at least 4,096 and 2,048 completed full-plane writes respectively. The hull and both occupants stayed afloat past the control's failure point. Throttle and steering worked, and the HUD advanced to Collect the package.Dark rectangles remained on the water. After a collision put the player in the water, both occupants returned to the boat. Dialogue referred to a second drop, and the mission history subsequently read Collect the packages. Pickup, a subsequent mission save and mission completion remain unverified. Both processes closed deliberately and the protected save hashes still matched.
The first treatment driving minute recorded 135 displayed application frames and 134 intervals over 60.216 seconds (2.225 displayed FPS, 1,733.346 ms P99). The control had already failed before driving input. Pinned final report and source
A fresh guarded retest separated mission timing from driving. With the controller idle, “Collect the package” appeared 52.882 s after “Follow the plane” and 4.972 s before the first throttle input. Twin wakes, a starboard bank and a heading change against the bridge subsequently verified propulsion and steering. Guarded run and regression case
Water rendering follow-up. At the stationary helm on the same RTX 5080, we traced all four water-resolve draws at table 1, dword 72. Each read the same native texture and exactly matched the preceding transmission dispatch across 568,320 native texels. That dispatch turned 495 of 550 previously colored texels in the isolated mark to exact zero. The adjacent control stayed colored. The broad mark was already zero at all 1,444 sites. Four captured previews each matched the preceding dispatch at all 142,080 sampled RGB sites. The dispatch that restored color to the isolated mark ran after the copy to the window. The earlier comparison paired two GPU submissions by their CPU frame number. The rendering cause now narrows to the transmission dispatch or its inputs. Pinned diagnostic report and ordering tool
Depth and reconstruction follow-up. On renderer
3fb5083, Series X, RTX 5080 / 617.14, Windows 11 Pro 26200.9974 and Ryzen 9 5900X, all 495 original sites turned black again with positive dword 56 depth. A shader-store marker showed exact RGB zero from full shading at all 495 sites. A second marker traced all 495 to the four-sample water reconstruction having no positive combined weight. At the stationary helm, retaining the prior color only in that measured shading case reduced black observations at positive depth from 3.48% to 1.21% of the captured crop (25 original and 11 treatment dispatches over four cycles). Some black persisted, and a camera change exposed stale color. The boat stayed afloat and moved under throttle. The next producer input to check is the half-resolution alpha used by the tap weights at table 1 dword 24. Pinned measurements and limitationsSource alpha and current-frame fallback. On the same RTX 5080 / 617.14 / Windows 11 25H2 Series X setup and renderer
3fb5083, we recorded the four taps used by the water reconstruction. Across stationary and moving replays, all 387,485 failed-weight observations in the sampled crop had four zero alpha codes at table 1 dword 24, four finite positive source depths and four positive interpolation factors. None of 12,223,553 positive-weight controls had four zero alpha codes. These are repeated native texel observations. Both preceding half-resolution volumetric passes can explicitly write zero alpha to the allocation the reconstruction reads, and both consume the same generated tile list. The first operation responsible remains open.An experimental current-frame scene-color fallback removed sampled black in the fixed open-water strip under throttle (2,926/1,943,996 to 0/1,555,200) and reduced the whole moving crop from 1.97% to 1.77%. At the stationary helm the same fallback improved the fixed strip from 0.90% to 0.056%, while black at the 495 original coordinates rose from 3.33% to 6.36%. These phase windows cover different frames and the moving camera changes position. The fallback can expose the underlying scene and has not been promoted. The boat stayed afloat and moved under throttle. Pinned source, measurements and limitations
Volumetric tile-list repair. In a Series X run on RTX 5080 / 617.14 / Windows 11 Pro 25H2 build 26200.9974 (capture renderer
13b5c65), we traced the original black rectangles to eligible tiles missing from the generated work list. The same title process alternated the stock shader with a version that reserves one list slot per eligible tile. Both used identical water shading and the same two flotation copy-backs. At the stationary Follow the plane helm, the stock generator omitted 39,433 eligible entries in 66 measured dispatches. The repair preserved all 517,580 in 69 dispatches. Exact black at finite positive depth went from 1,438,161/35,109,060 to 0/36,704,445 in the stationary crop and from 375,532/14,913,877 to 0/13,586,029 under throttle. The rectangles returned when the stock path resumed. Fifteen time-bracketed stationary images per arm showed the same pattern in the fixed open-water area.This isolates the lost work to the original compaction path for these patches. The precise faulty wave operation, the case where the reverse writer has work, seaplane behavior, and any frame-rate gain remain open. The marker-free source regenerates the tested shader locally from one exact translated PC cache entry. The continuous gameplay replay is described below. Pinned report · Source-only repair
Continuous gameplay replay. The same RTX 5080 ran the marker-free repair continuously in Series X with the two flotation copy-backs active. The launcher used no GPU readback triggers or phase switching. All 20 fixed-camera images across five minutes were clear in both sampled water regions. Eight of nine separate stock images showed dark runs in the left region. The boat stayed afloat, accelerated toward the bridge and produced twin wakes under throttle. Seven moving images showed continuous water. The run exited deliberately and the protected profile verified.
PresentMon measured 1,116 displayed application frames over 300.105 seconds at the repaired helm, or 3.715 displayed FPS with 323.415 ms P99. The separate stock helm run measured 3.848 FPS and 305.774 ms P99. The runs establish the visible repair. An isolated performance effect, seaplane flotation and mission completion remain open. Pinned continuous replay results
Where the stock list first loses tiles. On the same RTX 5080 Series X setup, renderer
9bf39c0captured the original generator's list and both counters immediately after the dispatch. The list already omitted eligible tiles in all 147 sampled dispatches (41,285 in 70 stationary samples and 17,885 in 77 samples under throttle). Each subsequent writer received all 2,163,840 sampled list words unchanged, and both actual indirect counts matched the captured generator counters. All four taps at the 495 original coordinates pointed to eligible tiles already missing from the list in the eight dispatches where all 495 sites turned black together. This locates the loss by the end of the stock generator dispatch. The specific wave or compiler operation responsible remains open. Pinned measurements and tested diagnostic sourceRTX 5080 testing wrap-up. The RTX 5080 I used is unavailable, so I’m wrapping up my local testing here. I don’t have a date for further runs. The published source and measurements cover Geckomacabre’s two-format boat flotation port and the separate repair for the sampled dark water patches. The boat stayed afloat and moved under throttle. Local seaplane behavior, full mission completion, and stable 30 FPS are still unverified. Martin Hartfelder’s wide-hash change improved the stationary boat and prison samples on this card. The exact cause of the long throttle-related frame gaps remains open. Flotation report · Water repair source · Performance comparison and test source
@HenriqueSBueno on GitHub · 2026-11-26 12:23 UTC · original
A note for anyone testing the texture copy-back fix:
VICTORY_TEXTURE_BACKtakes a list of kinds (<width>x<height>f<format>, comma-separated). Setting it to1parses to no kinds and turns the copy-back off, so the boat sinks again. Leave it unset to get the default kinds (256x256f41,256x256f16,64x64f16,128x128f36).With it unset, the boat floats on the Series S profile too (RTX 3080, with the PC FidelityFX upscaler from #86).
AI-assisted (Claude Code)