gpu: bounce cross-format CopyTextureRegion and CopyResource through a temporary buffer (#2914) #3043
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3043"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by Nirkster on 2026-11-29T19:43:54Z.
Fixes #2914
Cause
copy_texture_region(includingplaced_twins) andcopy_resourceincrates/victory-gpu/src/list.rsrecorded direct D3D12CopyTextureRegion/CopyResourcecalls without checking D3D12 format compatibility.On console, raw block copies between different block-compressed families of the same block geometry (e.g.
BC7_TYPELESS->BC6H_TYPELESSorBC3_UNORM_SRGB->BC5_UNORM, all 16-byte 4x4 blocks) are legal, but D3D12 rejects them at command listClose()withE_INVALIDARG(0x80070057).Fix
crates/victory-gpu/src/resource.rs:copy_compatible(a, b)matching D3D12'sCopyTextureRegion/CopyResourcerules (same typeless family,BC1/BC4 <-> R16G16B16A16/R32G32,BC2/BC3/BC5/BC6H/BC7 <-> R32G32B32A32,R9G9B9E5_SHAREDEXP <-> R32excludingD32_FLOAT).copy_bounce_layout(...)to compute 256-byte row-pitched, block-aligned footprints when source and destination share identical(element_bytes, block_size).crates/victory-gpu/src/list.rs:record_texture_copy(...)used bycopy_texture_region, itsplaced_twinsloop, and the incompatible-format fallback ofcopy_resource.host.uav_buffer+list.keep(&buffer), freed on list reset).Verification
cargo test -p victory-gpu -- copy_compatible copy_bounce_layout cross_format_bc7_to_bc6h_copy_preserves_every_bit): 3/3 passed on RTX 5070 Ti, includingcross_format_bc7_to_bc6h_copy_preserves_every_bit(full mip 0, full mip 1, and partial 8x8 boxBC7_TYPELESS -> BC6H_TYPELESS, verifiedClose(),Execute(), and bit-for-bit readback).v2026.11.29.02on RTX 5070 Ti): intercepted 7 consecutive cross-format mip copies (BC3_UNORM_SRGB (78) -> BC5_UNORM (83), 256x256 down to 4x4) with zero0x80070057command-list close failures:Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dyshay on 2026-11-29T20:46:58Z.
Merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA, branch
janus-prs). I read the full diff first: no network access, process spawning, binaries, build or dependency changes, or game data. It builds with--profile diag --features diagnostics, and the CPU tests of the touched crates pass. A run on an RTX 4090 is queued (Series S with ray tracing, DLSS Quality). Frame times will follow here.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tarakanovalexey on 2026-11-29T21:52:44Z.
Hi @Nirkster — reporting a related-but-distinct failure we hit while testing this PR locally. TL;DR: a format-compatible pair went down the
copy_compatiblefast path, which currently performs no geometry validation, andClose()still failed with0x80070057— same family as #2914, different shape.Setup: v2026.11.29.03 (
cec481f4) + this PR + #2305 + #2988, RTX 4070 Ti 12 GB, Windows 11,VICTORY_D3D12_DEBUG=1.Crash (~83 min into the session,
unix time 1795987693): the debug layer named the fatal call atClose():Why I believe the bounce never engaged here: grepping the whole run log gives
bounced cross-format texture copy×0,reinterpreting cross-format footprint copy×0 —BC3_TYPELESS ↔ R32G32B32A32_TYPELESSis one of D3D12's own equivalent families (BC[2|3|5|6|7] ~= R32G32B32A32, from this very layer's enumeration), socopy_compatiblepasses and the fast path records the copy raw. What fails is geometry: the source's box of 256×256 texels is read as 256×256 of the destination's blocks (×4 block span), so D3D12 wants a ≥1024×1024-texels destination subresource; the targeted one is 128×128.copy_bounce_layoutwould have caught exactly this (it rejects mismatched geometry), but the fast path has no such check. I can't prove whether stockv2026.11.29.03would hit the same copy — the fast path behaves like vanilla for compatible pairs — only that it surfaced under this build.Proposed minimal fix (running here now): give the fast path the same geometry treatment the bounce path already has — validate the region against the destination subresource. Field note from testing this live: my first cut scaled both the offsets and the extents by the destination's block span (
need = w*4,x*4), and that is too eager — ordinary BC-destination copies pass offsets/extents in texels (a whole hour of play flagged ~200k legitimateR16G16B16A16 → BC1copies like a 66×66 box into a 5808×5808 subresource as "past the edge" when they plainly fit). What survives empirically is plain texel-space containment — it still catches today's fatal copy (box 256×256 into a 128×128-texel mip):(Plus a
VICTORY_GEOMETRY_COPIES=0escape hatch mirroringVICTORY_FAMILY_COPIES, and a warn-once-per-pair counter.) Whether the debug layer's stricter block-rule arithmetic (box 256×256 ⇒ "requires 1024×1024") also needs honoring per-copy I can't yet tell without another named failure — happy to iterate when the next one names itself.Happy to also paste the surrounding log context (~the last 8k lines of the run, or a gist) if that helps."Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Nirkster on 2026-11-29T22:33:25Z.
Thanks a lot for the 83-minute debug-layer run and the exact D3D12 capture, @tarakanovalexey!
Great catch —
R32G32B32A32_TYPELESS -> BC3_TYPELESSis format-compatible in D3D12, so it goes through the direct fast path where a 256×256 texel box expands to 1024×1024 destination texels and overflows a 128×128 mip (id=858).I've added source + destination geometry validation (
copy_geometry_fits) in097b507across allrecord_texture_copypaths (direct, bounce, and footprint) as well asrecord_resource_copy, withVICTORY_GEOMETRY_COPIES=0viatoggled!as an escape hatch. One small note on your snippet: in D3D12DstX/DstYare already in destination texels, so multiplyingx * dst_spanwould reject valid sub-region copies at non-zero offsets —copy_geometry_fitskeepsdst_x + need_w <= dst_w.next_multiple_of(dst_block)and also checks BC source/destination alignment andBC -> raw(div_ceil(4)).Verified with unit tests and a real D3D12 GPU test on an RTX 5070 Ti reproducing
R32G32B32A32 256×256 -> BC3 128×128(skipped cleanly while a valid32×32sub-copy passes bit-for-bit).If you still have the surrounding log context handy, feel free to share a gist — and if you get a chance to re-test
097b507in that same scene, let me know how it holds up!Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tarakanovalexey on 2026-11-29T22:45:16Z.
Thanks for the fast turnaround —
copy_geometry_fitsis exactly the shape of fix we hoped to see, and your RTX 5070 Ti GPU test hitting our precise case (R32G32B32A32 256×256 -> BC3 128×128skipped cleanly, valid32×32bit-exact) matches the crash surface.And acknowledged on
DstX/DstYbeing destination texels: the ~200k false positives I described in an edit above came from scaling offsets by the block span during my first pass, so plain texel containment (your formulation) was the right call.As requested, here is the surrounding context as a secret gist:
https://gist.github.com/tarakanovalexey/050efa6a442b84dcf9cdaf42211c2cdd
(
gist-3043-context.md: switches header, run-log lines 2653300–2653528 around the fatal validation at 21:28:13.360Z, and the crashes.log entry. The geometry warning is the last D3D12 message in the whole run — 1 occurrence out of a 2.65M-line session.)Status on re-testing: we're currently running
097b507integration locally; will report how the bar scene holds up.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by upipibi on 2026-11-29T23:27:19Z.
Test report for #3043 (head
097b5070), merged onto main41adb551, on RTX 30. Synthetic tests only: no title run, no game files.Setup: RTX 3070 8 GB, driver 621.40, Windows 11 (10.0.26100), rustc 1.98.1. Every step logged the GPU and driver from
nvidia-smi.The PR's five tests (
copy_compatible_checks_d3d12_rules,copy_bounce_layout_handles_block_alignment,copy_geometry_fits_checks_d3d12_bounds,cross_format_bc7_to_bc6h_copy_preserves_every_bit,format_compatible_out_of_bounds_copy_is_skipped_and_valid_succeeds): 5 passed, 0 failed, in 3/3 runs on the card and 3/3 withVICTORY_D3D12_WARP=1.Negative controls on the card, one line of
list.rschanged each:record_texture_copycopy_compatiblebranch always taken, so the bounce never runs)cross_format_bc7_to_bc6h_copy_preserves_every_bita host command list did not close (The parameter is incorrect. (0x80070057))copy_geometry_fitscheck switched offformat_compatible_out_of_bounds_copy_is_skipped_and_valid_succeeds0x80070057at closeSo on this card each test fails exactly as #2914 and the follow-up report describe when its part of the fix is taken out: A is the cross-format copy D3D12 refuses, B is the compatible copy that does not fit its destination. Both tests reach the device and catch it.
cargo test -p victory-gpu --lib --locked, two runs of each tree41adb551None of the failures is in the PR's code or tests:
shader_cache::tests::every_switch_of_the_translator_is_in_the_keyfails in all four runs, on main too:VICTORY_SCALAR_SPLITS is not read by the translator any more(shader_cache.rs:982). That looks like main's own, independent of the card.host::card_steps::tests::places_written_after_sending_are_learned,host::menu::tests::a_change_is_saved_at_once_however_the_game_was_started,host::uav_pool::tests::host_list_uav_pool_lifecycle_retire_trim_and_info_queue,watch::many_askers_tests::no_write_is_lost_when_faults_take_no_lock); main shows them as well.The PR tree has five more tests than main, the PR's own, and they passed in both suite runs.
Not tested: the copies in a title, and
VICTORY_GEOMETRY_COPIESset to anything but its default.Tested with the help of Claude Code (Claude Fable 5.2).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tarakanovalexey on 2026-11-30T00:25:05Z.
Re-testing update — your fix does resolve the copy-class failures I reported (zero
extends past/ format messages since097b507), but the validation interacts badly with one specific copy pattern, and that chain kills the list differently:Failure chain, verbatim (run
victory-nvidia-play-20261129-234511, ~33 min in, bar-area scene):— six consecutive whole-mip copies of one chain (fmt
3 -> 78, each level half the previous, full-subresource, no box), all judged out-of-bounds bycopy_geometry_fitsand dropped outright.Immediately after them, at the very next batch of lists:
So: skip-cascade → someone keeps advancing the subresource index down the same chain → writes land past the host resource's real level count →
Close()fails. Session-wide totals: exactly 6 skips, 4 OOBs, one death. Earlier in the same build stack, another ~31-min run died from an unnamedE_INVALIDARGwhile the gate stayed silent throughout (no skips logged).Why I think plain "skip" is wrong here: these six copies are the title legally walking a mip chain through D3D12's own block-family aliasing (
src_sizemeasured in source texels, each destination level exactly half). Raw recording of such chains worked in every earlier build for weeks (my #2914-era data too); the failing case I originally reported was different (R32G32B32A32_TYPELESS 256×256 box into a 128×128-texel mip). Your own bounce machinery exists precisely for geometry mismatches — it looks like oncopy_compatiblepairs the geometry check should fall through to the bounce path with a correctly translated layout rather than drop the call.Also worth checking: the OOB half suggests some caller advances subresource indices without clamping against the host resource's descriptor after a drop — a bounds check on the index itself (not just region fit) may be needed alongside the fit check.
Local status right now: running this exact scene with
VICTORY_GEOMETRY_COPIES=0(+ #2305 temporarily removed while bisecting the unnamed variant) — I'll follow up with how the bar scene holds up without the gate.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Nirkster on 2026-11-30T00:52:57Z.
Thanks for the detailed follow-up and the runtime logs, @tarakanovalexey. I think these are two related symptoms, but the second is not caused by the first:
Mip requests
0..=5fail the geometry check; requests6..=8expose an independent subresource bounds bug.The title issues copy requests for subindices
0..=8regardless of whether earlier requests are skipped. The first six requests have source extents from256×256down to8×8, while the corresponding hostBC3mips run from128×128down to4×4. The geometry guard rejects those copies; without that guard, the first request would hit the earlierid=858failure.The later
id=850errors occur because the host resource has only six subresources, yet requests for indices6..=8still reach D3D12. In097b507,mip_sizeusedsub % mips, which could make an out-of-range index look like an in-range mip during geometry validation.92065d2now checks source and destination subresource indices against their resource's subresource count before recording the copy.A bounce buffer cannot make the first set of copies fit.
One
R32G32B32A32texel is 16 bytes — the same storage size as oneBC3block, which covers4×4texels. So a256×256source corresponds to a1024×1024BC3extent, whereas a128×128destination has only32×32BC3blocks. This points to a host texture size or mip-mapping mismatch upstream of the copy operation.I added the subresource bounds checks in
92065d2(including two-plane depth/stencil resources) and extended the RTX 5070 Ti D3D12 test to exercise an out-of-range destination subresource (dst_sub = 6). The synthetic test verifies that the invalid copies are skipped andClose()succeeds; it does not establish that the skipped mip chain renders correctly. If you can retest92065d2in the same scene, that will tell us whether the host-size mismatch needs a separate fix.Update: Just noticed PR #3062 addresses that exact upstream
resource::held_only/base-level mismatch incopy_texture_region(mapping title subresources to held host copies and callingwant_level). Testing #3043 together with #3062 is probably the cleanest way to verify the full mip chain in that scene.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dyshay on 2026-11-30T03:12:14Z.
The new commit
097b5070(geometry check of texture copies) is merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA, branchjanus-prs). I read the diff first: no network access, processes, binaries or dependency changes. It builds. Results from the RTX 4090 run will follow.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by upipibi on 2026-11-30T04:42:07Z.
Follow-up for the new head
92065d20(subresource index guard), merged onto main41adb551, on RTX 30. Synthetic tests only: no title run, no game files. My report above was on097b5070.Setup: RTX 3070 8 GB, driver 621.40, Windows 11 (10.0.26100), rustc 1.98.1.
The PR's five tests: 5 passed, 0 failed, in 3/3 runs on the card and 3/3 with
VICTORY_D3D12_WARP=1. That includes the extendedformat_compatible_out_of_bounds_copy_is_skipped_and_valid_succeedswith its copy to destination subresource 6.Negative controls on the card, one line of
record_texture_copychanged each:cross_format_bc7_to_bc6h_copy_preserves_every_bit0x80070057at closecopy_geometry_fitscheck offformat_compatible_out_of_bounds_copy_is_skipped_and_valid_succeeds0x80070057at closedst_sub >= dst_subs)0x80070057at closeSo on Ampere the copy to subresource 6 of a one-mip destination does make
Close()fail without the new guard, and the extended test catches it. A and B still fail as before, so the new commit did not weaken the earlier two checks.cargo test -p victory-gpu --lib --locked: PR 926 passed, 1 failed, 60 ignored; main 920 passed, 2 failed, 60 ignored. The failure both share isshader_cache::tests::every_switch_of_the_translator_is_in_the_key(main's own, as above); main's second one ishost::menu::tests::a_change_is_saved_at_once_however_the_game_was_started, which comes and goes.Not tested: the source-side subresource check (the test covers the destination side), and the copies in a title.
Tested with the help of Claude Code (Claude Fable 5.2).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Dukestar69 on 2026-11-30T05:15:32Z.
Review: APPROVED
Tested locally merged onto
main(41adb551).crates/victory-gpu/src/list.rsandresource.rs.cargo test -p victory-gpu --lib list::passed.cargo test -p victory-gpu --lib resource::passed (44 passed; 0 failed; 1 ignored).Clean temporary-buffer bounce for cross-format
CopyTextureRegion/CopyResourceavoiding D3D12 invalid-copy errors. LGTM.Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dyshay on 2026-11-30T05:50:06Z.
The new commit
92065d20(copies outside the subresources skipped) is merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA). I read the diff first. It builds, and results from the RTX 4090 run will follow.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tarakanovalexey on 2026-11-30T07:28:49Z.
Retest verdict for
92065d2— all copy-side failures are gone under real gameplay. Ran the exact bar scene (the one from my original report and every crash in between) with both commits (097b507+92065d2), gate active: zeroextends past, zeroSubresource is too large, zero skip-cascades, zerodid not closefor the whole session. Previous runs on older builds died at this exact scene.The session did end in a crash, but an unrelated one — the known
victory-imageNULL deref class:Same
+0x3de5ceafirst frame we hit twice before (crashes at 19:52 and 23:03 yesterday on the pre-fix builds) — a recurringvictory-imageissue independent of the copy path; I'll report it separately in its own thread so it doesn't muddy this PR.Thanks for the quick
92065d2— marking this thread's copy-class as verified-on-RTX-4070-Ti for the bar scene. Happy to test again after your next iteration if you extend it further.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by andrewpozdnakov7-jpg on 2026-11-30T12:17:47Z.
@ShalakZ, I tested the exact cross-family mip pair you identified in #3901 through this PR's
record_texture_copy, which the placed-twin loop calls. I used GitHub's merge of92065d2and current main41adb551(f85fdea) on Windows WARP 1.0.22.The generated source was BC3 sRGB, 1024×1024, 11 mips. The destination was BC7 sRGB, 256×256, seven mips. The fixture copied source mips 2–8 into destination mips 0–6 using the PR's buffer path. The list closed, execution completed, and all 87,376 bytes of block data matched on readback. The existing BC7→BC6H positive test passed alongside it.
Would you be able to retest this exact PR in the same RTX 4080 scene using your instrumented build? A capture that shows the former placed-twin copies taking the buffer path and the list closing would connect this isolated result to the reported crash. Your failing-list analysis
AI-assisted with OpenAI Codex.
Field follow-up. The RTX 4090 report records 14 bounced BC3-sRGB to BC7 copies, with sizes from 256x256 down to 4x4, and reports intact visuals near those copies. The 81-minute run included four other PRs and completed without a crash. That run exercises the buffer path on the RTX 4090. The single-change RTX 4080 comparison above is still the test for the earlier placed-twin failure.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Freeman022026 on 2026-11-30T13:53:42Z.
Tested on v2026.11.29.05 (
41adb551) in a patched build that also included #3792 (with the stencil-plane fix), #3487, #3730, and #3816. System: Ryzen 7 7800X3D, RTX 4090 24 GB (driver 621.14), 64 GB RAM, Windows 11, Series X profile, 2560x1440, DLSS Performance (1280x720 to 2560x1440), 2x Frame Generation, RT off.Before these fixes, 7 of 8 runs ended in
a host command list did not close (0x80070057), including a 47-minute stock.05run that crashed right after entering the city center with 17,512 / 20,642 MB VRAM in use. With this PR applied, an 81-minute run through the same city-center area completed with 0 crashes.The log recorded 14 bounced cross-format texture copies (
src_fmt=78todst_fmt=98anddst_fmt=99,BC3_UNORM_SRGBtoBC7_UNORMandBC7_UNORM_SRGB, across mip sizes from 256x256 down to 4x4, 65,536 down to 256 bytes). No visual issues appeared around those copies.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Sweetlllusion on 2026-11-30T17:50:02Z.
Same crash here, at the same point: the end of the dock cutscene after Gone Fishing. Two runs on main
c71899d9ended witha host command list did not close (0x80070057)right as the cinematic finished. #3043 fixes it for me. ( same issue as https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3928 )Setup: RTX 4090 24 GB, 64 GB RAM, Windows 11, Series X profile at 2560x1440, DLSS Quality, frame generation 2x, ray tracing off. Main
c71899d9withVICTORY_MAP_ONCE=1,VICTORY_RESIDENCY_HIGH=1andVICTORY_PARK_TABLES=1set.With #3043 (head
92065d20) applied on top ofc71899d9:BC3_UNORM_SRGB(78) intoBC7_UNORM(98) andBC7_UNORM_SRGB(99), a full mip chain from 256×256 down to 4×4. That's the BC3→BC7 pair named in #2914. No copies were skipped or reinterpreted.cross_format_bc7_to_bc6h_copy_preserves_every_bit. #3792's 3 twin-copy tests also pass with it merged.Merge notes for #3043 on current main:
copy_texture_region's placed-twin loop, #3792'shost_targetmapping should stay. I keptlocation.footprint.offset = host_suband replaced the rawCopyTextureRegionwithrecord_texture_copy.mod testsbeforemod bar_scratch_tests, so the PR's appended tests land insidebar_scratch_testsand don't compile. I moved them into their own#[cfg(test)] modwithuse super::*.victory-gpulib tests don't compile at all: twocard_passcalls inhost.rs(around line 20302 and 20328) are missing the newcaptureargument. Passing[0; 3], as production code does, fixes them.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Nirkster on 2026-11-30T19:37:28Z.
Thanks for the RTX 4090 field reports and merge notes, @Freeman022026 & @Sweetlllusion!
Merged latest
main(v2026.11.30.03/e1251c31) into#3043in77e43130— kept#3792'shost_submapping in the placed-twin loop and moved the 5 tests intomod copy_format_tests. All 5 tests pass on RTX 5070 Ti and the PR is clean/mergeable again.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by frametrace on 2026-11-30T20:28:08Z.
Still reproduces on v2026.11.30.03, and this PR clears it in the scene we tested
RTX 5090, game dump 1.0.2.1, new game from the pause menu, then 5.2 min of the prologue. Release builds from source, all with hardware RT on (
VICTORY_HW_RT=1, #3706). Hardware RT was the only setting tested, though a make-up texture copy doesn't look RT-specific to us.The ".03 + this PR" build is code-identical to your
77e43130: the only difference is that our local merge had the tests outside thecopy_format_testsmodule. So these runs test the PR as it stands.The debug layer names the copy. A diagnostics build of .01 with
VICTORY_D3D12_DEBUG=1logged, at the failing moment:That message appeared 14 times, all in the one list that failed to close.
Our reading of the code and scene: it's the placed-twin copy in
copy_texture_region, between the BC3 make-up texture and a BC7 view over the same memory that the face samples. It's the same pair reported in this comment on #2914.A second check: before finding this PR, we wrote a narrower patch that only reinterprets the twin copy through a buffer. It cleared the failure too:
Counting every run where a fix reached the copy, that's 8 clean, against 3 failures in 4 runs without a fix.
Picture: at half size, the screenshots at minutes 3–5 show the character with no visible corruption. We haven't compared the face closely against a run without the fix.
This may be relevant to other "did not close" reports; only this scene was checked.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by paales on 2026-11-30T20:52:04Z.
Written by 🤖:
This fixed a crash for me. "A host command list did not close (0x80070057)" at a cut in the intro, in about 1 of 10 runs. The D3D12 debug layer named the command:
CopyTextureRegionfromBC3_TYPELESSintoBC7_TYPELESS. With this PR merged, a run that made that copy sent it through a buffer and went on. There has been no such crash in about 60 runs since.PC: RTX 5070 Ti 16 GB, Ryzen 9 5900X, Windows 11. Builds:
main41adb551and later84bd61e2, with #3918, #1727 and #3553. On84bd61e2the twin copy inlist.rsconflicts with #3792: the merge takes main'shost_subas the offset, with this PR'srecord_texture_copy.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by MrBigBritches on 2026-12-01T00:11:58Z.
This fixed the
A host command list did not close (0x80070057)crash for me as well.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tillo88 on 2026-12-01T12:06:50Z.
Crash and speed check of #3043 (head
77e43130) merged on top of v2026.11.30.03, against the bare release on the same bench and route.Crashes (warm-up runs included for the count):
Base errors were
a host command list did not close (0x80070057)(2) andrelay: the device was lost ... (0x887A0006)(3). With #3043 all 7 runs went past the cut and ran the whole ~6 min route. At the base rate (5 of 27), 0 of 7 by chance is about 24%, so on its own this is not conclusive. Together with #4080, #4521 and #3979 (same kind of fix, same release), 0 of 30 runs stopped against 5 of 27 on the bare release, about 2% by chance (Fisher's exact test).The PR's line
bounced cross-format texture copy through temporary bufferappears in 2 of the 7 runs, both at +2:16, the same second where base runs fail at the cut:src_fmt=78 dst_fmt=83(BC3_UNORM_SRGB → BC5_UNORM), 256x256 down to 4x4;src_fmt=78 dst_fmt=98anddst_fmt=99(BC3_UNORM_SRGB → BC7_UNORM / BC7_UNORM_SRGB).Both runs went on to the end of the route. In the other 5 runs no bounce was logged.
Speed (measured runs only, warm-up excluded):
+0.1% fps: no measurable difference. The higher mean p95 comes from one run (52.2 ms, the run with the 14 bounces); the other five had 47.1–48.0 ms.
Setup: Ryzen 7 9800X3D, RTX 5070 Ti 16 GB (driver 621.40), 32 GB RAM, Windows 11, release build, Series X 1440p, DLSS Quality, frame generation off, ray tracing off. Route: same save from the start of the game, prison cutscene, plane cutscene, first boat section, about 6 minutes per run.
Measured unattended on a replay bench (same save, recorded controller input via VICTORY_INPUT_REPLAY); numbers and text prepared with Claude.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.