Linux/Proton RX 7800 XT: stack-overflow workaround reaches 3D, but frame times remain seconds and lighting is inconsistent #19
Labels
No labels
accessibility
bench-bm-v1
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/PastiiJay--klbf-lab#19
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?
@Adiker on GitHub · 2026-11-25 16:51 UTC · original
Summary
On an RX 7800 XT under Linux/Proton Experimental, KLBF Lab beta plus locally adapted Wine fixes reaches a rendered 3D opening scene, but remains far from playable: sampled frames take seconds, many draws are dropped, and lighting is inconsistent. One run with the experimental direct-copy and ambient-light changes ended in an unhandled exception after about four minutes.
This is not a test of unmodified beta. The modifications and limitations are listed below so the results are not mistaken for an upstream regression report. This is one machine and one run per configuration, without a controlled same-frame comparison.
System and build
experimental-11.0-20261112-x86_64; vkd3d-proton 3.2.0 build2576c0b4adfae4acargo xwin, targetx86_64-pc-windows-msvc553bd7c, plus local adaptations. These commits are local only, not published branch references:Common settings were
VKD3D_CONFIG=descriptor_heap,VICTORY_SHADER_OPT=0,VICTORY_SKIP_PIPELINES=39f0e9aeb156a61c,VICTORY_LATE_WAIT=0,VICTORY_WIDE_BACK=1,VICTORY_PIPELINE_WAIT_MS=24, andVICTORY_RELAY_COPY_QUEUE=0. The second run additionally setVICTORY_DIRECT_COPY=1andVICTORY_AMBIENT=0.6. Host timing usedVICTORY_LOG=warn,victory_gpu::host=info,victory_gpu::ambient=info. Caches were reused and a full pipeline pre-build was not completed.Stack overflow reproduction
Before the loop-latch and worker-stack adaptation, six
victory-pipelines-*threads reported stack overflow during game loading. A separate one-worker pipeline pre-build stopped at pipelineb76eb6a5c03d4493c963e136345e1a72, compute shadere8c962358d862e3f, followed by a stack overflow. Increasing the stack alone did not prevent overflows in a subsequent game run.With the #737 adaptation and larger pre-build worker stack, a separate pre-build put that pipeline first and proceeded to other pipelines without an overflow. A subsequent game run reached a visible 3D scene and its observed log had no stack-overflow message. This establishes progress past the reproducer, but does not prove which layer caused every overflow or separate the effects of the latch and stack changes. The pre-build's final result for that particular pipeline was not separately logged; it may have been rejected rather than successfully created.
Frame-time observations
Representative lines from the program's periodic averages (milliseconds per frame):
These are different moments in a changing opening sequence, with different draw counts, texture streaming and cache state; they are not an A/B benchmark, and do not establish an overall FPS improvement or isolate either option. Copy-back was shorter in some enabled-run samples, while texture preparation and memory mapping remained expensive. In one enabled sample the diagnostic reports 4,012 mapping changes taking 3,215 ms total per frame and 1,655 ms of texture refresh work across threads; these counters can overlap and must not be added as independent costs. During the first run,
wineserverused about 66% of one CPU core in a process snapshot and the GPU busy reading was about 5%; neither is a time-series measurement. Swap was nearly full during these runs.Image and termination
The unmodified-light run rendered a very dark nighttime scene. With
VICTORY_AMBIENT=0.6, the log confirmedindirect light is replaced by a constantfor a 2560×1440 image. A later daytime shot had an overexposed foreground and an almost black character behind it; another shot was very dark. Since the shots are not the same frame, I cannot quantify the visual change or attribute each defect to the ambient pass. It remains an approximation, not restored ray-traced lighting.The enabled run later ended with
VIctory: unhandled exception 0x80000001 at victory.exe+0xf62dc, roughly four minutes after startup. Both experimental options were enabled together and there was no controlled reproduction, so the cause is unknown; this should not be attributed to either patch on this evidence alone.Validation and limits
The integrated build compiled successfully. The bitcode unit tests included the two-back-edge regression. On Proton, targeted tests with the direct-copy option enabled reported 26 host-related tests passed (one ignored), 11 watch tests passed, and 3 ambient tests passed. Some optional compiler-dependent checks in the host test group skipped due to a missing PC
dxc.exe; these are synthetic tests, not a gameplay stability test.No game files, dumps, screenshots or full logs are attached. The values above are local excerpts. This report and investigation were prepared with AI assistance.
@PastiiJay on GitHub · 2026-11-25 18:48 UTC · original
Thanks a lot @Adiker for this very careful report, and sorry for the late answer! It's really useful to see where Linux/Proton on RDNA 3 stands, and to have the modified and unmodified parts so clearly separated. Seconds per frame with most of the time in 'preparing' and 'copying back' points to the CPU-side copies rather than the GPU. Tonight's test builds (
win10-testbranch) have several community speed-ups on exactly that path. If you can, a retest on that branch with the same settings would tell us whether it helps under Proton too.@Adiker on GitHub · 2026-11-25 19:49 UTC · original
Follow-up: Series S, FSR and a view-tree wineserver on RX 7800 XT
A new locally integrated, experimental build reaches the first prison room under Proton. The room, Lucia's outfit and hair, walls, window and interaction prompt were visible; the character's orientation changed during a keyboard input check. It is still very slow and has rendering defects. This is not a test of unmodified beta or of
win10-test, and it is not a controlled comparison to the earlier Series X runs above.Build and configuration
11.0-20261112as above; current KLBF beta at5de296dplus the locally merged KLBF beta PRs #2, #12–#18, #20–#29 and #35, the guard-page fix from #34, and local Wine-specific DXC / loop-translation adaptations from the original report. The build also includes fxceless #1068, #1103, #1104 and #1096. It is local commit886dae7, not a published branch reference.x86_64-pc-windows-msvc; Series S (720p rendered, 1080p FSR). AMD FidelityFX SDK 2.4 signed loader and upscaler; log confirms the first upscale was recorded with result 0. Frame generation was off.5b557605b4e51f0853ec8e0e4f0eb536c669fae3. An initially tried server built from a different Wine revision hung during Wine initialization; the matching-source server started correctly. No system Wine or installed Proton was replaced.VKD3D_CONFIG=descriptor_heap,VICTORY_SHADER_OPT=0,VICTORY_SKIP_PIPELINES=39f0e9aeb156a61c,VICTORY_LATE_WAIT=0,VICTORY_RELAY_COPY_QUEUE=0,VICTORY_DIRECT_COPY=1, andVICTORY_FFX_DIRpointing to the SDK. Ambient approximation was not enabled. The shader cache was reused; a complete pipeline pre-build was not performed.What I measured
In the prison-room interval 19:44:20–19:46:30 UTC, 18 periodic log samples with more than 1,000 draws/frame had a median of 228.35 ms/frame (about 4.4 FPS); the reported sample rates ranged from 4.0 to 4.9 FPS. These are periodic averages from one run, not a frame-by-frame percentile or a controlled benchmark. Earlier cutscenes and streaming had large stalls, occasionally below 1 FPS; the pause menu showed higher figures and is excluded from the room samples.
Representative room samples were around 85–90 ms of GPU work, 86–98 ms preparing (including roughly 54–59 ms copies), and 30–32 ms copy-back, with roughly 4,600–4,900 draws and about 290–310 draws dropped without a host pipeline. These measurements describe one run and may overlap; they should not be summed as independent costs.
The game process exited after about 786 seconds, including an interval in the pause menu. The watchdog recorded
process exitedwith exit code 0; the precise reason for exit was not established, so this is not a stability-duration claim. Available RAM fell to roughly 4–6 GiB and the 8 GiB swap was almost entirely used. The guard threshold was 4 GiB available. No device-removal or unhandled-exception line was found in this run's log.Validation and limitations
The integrated release build succeeded. Under Proton, the GPU library reported 175 tests passed / 8 ignored, xmem 12 passed, and the new immediate-sampler shader test passed. These tests do not prove gameplay stability or isolate the contribution of individual PRs. The initial stock-versus-view-tree observations were different scenes/settings; no FPS gain is attributed to the server from this run alone. A separate
win10-testretest is still needed to answer the maintainer's request.No game files, screenshots or full logs are attached. AI-assisted investigation and report.
@Adiker on GitHub · 2026-11-25 20:00 UTC · original
win10-testretest on RX 7800 XT / ProtonFollowing your request: I tested
win10-testatd006c10separately on the same Linux/RX 7800 XT system, with Series S, FSR 2.4, the same patched view-tree wineserver, a Microsoftd3dcompiler_47.dll10.0.17134.12 andVKD3D_CONFIG=descriptor_heap.VICTORY_LATE_WAIT=0; shader/pipeline cache for this branch started cold. These were opening-sequence samples; they are not the same frames or a controlled A/B, and I did not reach the first room in these short retests.d006c10: release cross-build succeeded and the title submitted thousands of draws in the opening sequence; the image was not visually checked in this run. For 10 periodic samples with at least 1,000 draws/frame, the medians were 2,423.7 ms/frame and 2,040.3 ms copying back. The test was stopped manually after about two minutes to try the next variant.d006c10: I adapted the opt-in direct-copy path from the earlier local beta build and the guard-page fix from #34 to this branch;VICTORY_DIRECT_COPY=1. For 20 samples with at least 1,000 draws/frame, the medians were 258.7 ms/frame and 34.5 ms copying back. FSR recorded its upscale successfully; the scene rendered with dark areas and other defects. This run used the cache generated during the preceding run and was stopped manually after roughly three minutes. The substantial difference is consistent with copy-back being a bottleneck, but the different scenes, cache warmth and short runs do not quantify the causal improvement.VICTORY_FRAMEGEN=1: AMD's frame-generation swap chain and context were created and the log reportedon=true. Across 50 one-second samples, the medians were 3.55 real FPS and 6.95 presented FPS. These are generated intermediate frames; input latency and simulation speed are governed by the real FPS. The context logged a 3840×2160 display and 1280×720 render limit. This test did not reach gameplay and was stopped manually after roughly two minutes with about 5 GiB memory available and swap full. No long-term stability conclusion.Validation
The adapted release build succeeds. The guard-page test, the unmapped/read-only write test and 11
watch::testspassed under Proton. The original candidate's GPU test target did not compile. I tried the test repairs from #37, but three additional legacy descriptor tests still referred to missing or changed APIs; I temporarily excluded those three only in the isolated test checkout to compile the targeted tests. The broader GPU suite therefore was not validated. The separately run Wine event-log subscription test also failed under Proton.No source commits, game data, screenshots or full logs are attached. The view-tree server, direct-copy port and test exclusions are local; the results above must not be presented as unmodified upstream behavior. AI-assisted retest and reporting.
@PastiiJay on GitHub · 2026-11-25 20:08 UTC · original
Thanks @Adiker, a very careful retest. Useful to have win10-test unmodified vs with direct-copy and #34's guard-page fix, plus frame generation producing ~2x presented frames under Proton. Clearly labelled as local changes, perfect. This gives us a good reason to test #34 on Windows next.
@Adiker on GitHub · 2026-11-25 21:13 UTC · original · edited 2026-11-25 21:21 UTC
Follow-up: texture fixes and in-place memory on RX 7800 XT / Proton
I tested additional local adaptations on the RX 7800 XT / Mesa RADV / Proton Experimental machine described above. These are locally modified builds, not unmodified KLBF Lab beta. The local commits are not published.
Common settings: Series S (1280×720 through FidelityFX to 1920×1080),
VICTORY_DIRECT_COPY=1,VICTORY_AMBIENT=0.6,VICTORY_LATE_WAIT=1,VICTORY_SHADER_OPT=0,VICTORY_SKIP_PIPELINES=39f0e9aeb156a61c, andVICTORY_RELAY_COPY_QUEUE=0. The Proton wineserver has the previously described local view-tree patch. One run per variant; saved state was copied for testing.Texture fixes and comparison
The local base includes adaptations of texture remap refresh #606, replacement-view race #632, and bake-source prioritization. In the initial run the prison cell, clothing, and HUD were visible, but Lucia's face remained black. The GPU library suite had 181 passed, 0 failed and 8 ignored on this host with DXC configured.
A later local build added an adaptation of in-place section windows #1117 and the opt-in fixed mip reduction from #610. The latter removes the largest mip from eligible textures throughout the run with
VICTORY_TEXTURE_DROP_MIPS=1; it is not the automatic low-VRAM fallback from the separate ka1qux change.VICTORY_INPLACE=1VICTORY_INPLACE=0The samples are program-reported periodic averages, not individual-frame timings. Camera, scene progression and streaming differed; these are not controlled same-frame A/B measurements. The small difference between the base and mip-only medians does not prove a speedup. Each image result is one launch; render correctness has varied between launches.
The combined run's log confirmed section-backed windows: one reading reported 1,187 live section windows, about 210 MB, with no reported open/place refusals. Disabling in-place restored a visible face in the later run, which makes the in-place path or its interaction with other options a candidate for investigation, not a proven root cause.
The mip build's GPU suite reported 185 passed, 1 failed, 8 ignored. The failure was
watch::tests::written_pages_are_reported_to_every_asker(initial journal expected empty); it passed when run alone. This is a synthetic test result, not proof of gameplay correctness or stability. The automatic lower-resolution fallback has not been ported or tested.No game data, images, dumps, full logs or local paths are attached. This follow-up was prepared with AI assistance.
Reproduction package and additional evidence
The exact local source patches, Wine server patch, build/runtime notes, checksums and sanitized numeric frame excerpts are now available in the reproduction package. Starting from public beta
5de296da, both KLBF patches were independently applied and their resulting Git tree IDs matched the tested source trees exactly. The wineserver patch is against Valve Wine5b557605b4e51f0853ec8e0e4f0eb536c669fae3and passed an application dry run. These are local integrations; upstream PRs alone are not an exact substitute for the conflict resolutions.A selected mip-only reading at 21:10:36 UTC was 179.0 ms/frame: 77.8 ms preparing (47.6 ms copies, 3.4 ms textures), 70.9 ms GPU and 53.0 ms copy-back, with 5,025 draws and 282 dropped. In the combined mip/in-place run, a reading at 21:06:16 UTC was 396.4 ms/frame: 129.2 ms preparing (64.8 ms copies, 10.0 ms textures), 225.1 ms GPU and 84.5 ms copy-back, with 4,579 draws and 269 dropped. These are periodic averages from different moments; counters can overlap and are not additive.
Additional limits: shader/pipeline caches were reused; a complete pre-build was not established. The copied source save directories came from different times, so byte-identical starting saves were not verified. The host had 32 GiB RAM and nearly full 8 GiB swap; a monitor was intended to stop the game below 4 GiB available. The combined test was deliberately stopped after 165.5 seconds; the mip-only exit reason is unknown. In the mip-only run
VICTORY_INPLACE_SECTIONS=1was present but inactive becauseVICTORY_INPLACE=0. The repository asset-policy check passed (195 files ok); no game files, screenshots, full logs, paths or saves are included in the package.@Adiker on GitHub · 2026-11-25 22:45 UTC · original
Follow-up: placed texture alias refresh and heap-rescan spreading
I tested two more locally integrated experimental builds/options, following the previous mip-only report. Neither is an unmodified KLBF Lab build. This is one RX 7800 XT / Ryzen 7 5700X / 32 GiB machine running Mesa RADV 26.3.1 and Proton Experimental with the previously described locally patched view-tree wineserver.
Changes and reproduction
The previous mip-only source tree was extended with:
draw.rswas resolved by retaining the new rescan test but omitting an unrelated upstream test whose implementation is absent from this base. The optimization is off by default.The reproduction package now also contains
mip-to-alias-rescan.patch(SHA-256a74a1ec4fe1dffca66dec5f9a9541fe7efb9b5d1ebcf6ddaaec0bebb8fc59076) andalias-rescan-samples.csv(SHA-256b0eb44091c27d312068e6510901814cf34a1a0d27ddceb9de8d334e5c67cc721). To reconstruct the exact tested source tree in a clean checkout, apply the existingklbf-lab-beta-to-mip.patchto public beta5de296da, then applymip-to-alias-rescan.patch. After staging the result,git write-treeshould return84f13c6797070797971a86dfb873114dd793f1ee. I independently applied the new patch to the previous mip tree in a temporary Git index and verified that tree ID. The intermediate mip tree is2621f47d19417ab0f83732276c16755b210381d3. The new Windows release executable's SHA-256 was67112421b26ba5f4bffd74bf0370fd30c5849997c0690c1d5ceef13b8277bb33; this identifies the tested binary, not a bit-reproducibility guarantee. Build command and full prior setup are in the package.Both runs used Series S, FidelityFX 2.4, the same test prefix/data directory and reused shader/pipeline caches. Common settings included
VICTORY_TEXTURE_DROP_MIPS=1,VICTORY_INPLACE=0,VICTORY_INPLACE_SECTIONS=1(inactive with the parent option off),VICTORY_DIRECT_COPY=1,VICTORY_AMBIENT=0.6,VICTORY_LATE_WAIT=1,VICTORY_SHADER_OPT=0,VICTORY_SKIP_PIPELINES=39f0e9aeb156a61c,VICTORY_RELAY_COPY_QUEUE=0andVKD3D_CONFIG=descriptor_heap. Other host environment variables were inherited and were not fully recorded. The two new runs explicitly usedVICTORY_HEAP_RESCAN_SPREAD=0and=1, respectively;VICTORY_HEAP_RESCAN_FRAMESwas not explicitly set. One run per setting. Both were deliberately terminated after the test, after approximately 212 s and 225 s from launch respectively; these are not stability tests.Results
These are medians of periodic reported averages, not individual-frame statistics. The filter includes qualifying transition/streaming readings, not solely settled gameplay. Camera, progression, draw counts, cache warmth and memory pressure were not controlled; the three runs are not a matched-frame benchmark. Consequently these differences do not establish a speedup or regression or isolate the alias change. The CSV contains all qualifying readings from the two new runs as whitelisted numeric fields; timings can overlap and should not be summed. For example, a spread-off reading was 195.8 ms/frame, 4,835 draws and 294 dropped; a spread-on reading was 202.1 ms/frame, 4,734 draws and 292 dropped. These are different moments.
Both variants displayed the character's face, hair and clothing, and the prison room's walls, furniture and interaction prompt. Dark patches on walls and some overbright areas remained. This observation does not prove that #1150 changed the scene, or that all black-texture problems are fixed; no matched screenshots were captured for comparison. Swap was almost full during these tests. The existing launcher monitored available RAM and could stop the game below 4 GiB available.
The new release build compiled successfully. The GPU library suite under Proton/RADV reported 187 passed, 1 failed, 8 ignored; the new alias test and rescan test passed.
watch::tests::written_pages_are_reported_to_every_askerfailed because the initial journal was not empty, then passed in a separate process, as in the prior build. Some compiler-dependent checks reported that they skipped because a PCdxc.exewas unavailable. Synthetic test results do not establish game correctness.No game files, dumps, screenshots, full logs, saves, or local paths are included in this follow-up. Investigation and report prepared with AI assistance.
@PastiiJay on GitHub · 2026-11-25 22:46 UTC · original
Thanks again @Adiker, very rigorous: exact tree IDs, the patch and samples published, one change per run, and clear limits stated. What we keep: on your RX 7800 XT under Proton, adding the placed texture alias refresh (fxceless/victory-fork#1150) and the heap-rescan change (#1138, spread off and on) leaves the frame time where it was (~195-197 ms vs 194.8 ms), so no measurable gain or loss in that scene; the face, hair, clothing and room stay visible with
VICTORY_INPLACE=0, and the dark patches remain.Noted too: the
watch::tests::written_pages_are_reported_to_every_askerfailure shows up again in the shared run and passes alone, which points to test isolation rather than the change itself. And thanks for keeping game files, screenshots and paths out of the report.@PastiiJay on GitHub · 2026-11-25 19:51 UTC · original · edited 2026-11-25 22:54 UTC
Great progress @Adiker, thanks a lot for this! Reaching the prison room under Proton on an RX 7800 XT, with the first character, the walls and the prompt drawn, is a real step, and ~4.4 fps there is in the same range as Windows today. Your breakdown matches ours: copies on the CPU side (~54-59 ms) are the biggest piece. Several community PRs on exactly that path (#26, #28, #23) are in our test queue now. Also thanks for testing the merged PRs together and for pointing to the view-tree wineserver; I'll link it from the guide's Linux notes with #35.
@PastiiJay on GitHub · 2026-11-25 21:20 UTC · original · edited 2026-11-25 22:54 UTC
Thanks again @Adiker, very careful work, and clearly labelled as local builds. What we keep: on your RX 7800 XT under Proton, turning
VICTORY_INPLACEoff brought the first character's face, hair, clothing and the cell back (194.8 ms median, ~5.1 fps), while the same build with in-place on lost faces and ran at ~2.4 fps. Like you, we read that as a lead on the in-place path, not a proven cause, since each result is one launch.We'll note it for our own runs on the RX 9070 XT and post here if we see the same with in-place off. The failing
watch::tests::written_pages_are_reported_to_every_askeron your mip build is worth keeping too.@Adiker on GitHub · 2026-11-26 19:10 UTC · original
Linux/Proton RX 7800 XT follow-up: heap worker, stage tables, 2 MiB sections, and
VICTORY_HALF_VIEWS=0for the AMD/RADV mouth regression (fx#927)Following the previous alias/rescan update, I integrated a set of upstream rendering and CPU/memory improvements on top of the previous
nexttree (84f13c6797070797971a86dfb873114dd793f1ee) and ran a 272 s playtest on RX 7800 XT (RADV NAVI32, Mesaradv 26.3.1), Linux7.3.6-arch1-1, Proton Experimental (wine-11.0with the view-treewineserverpatch),DXVK v3.1.1-209-g1039f682058fa71,vkd3d-proton, Series S profile, and FidelityFX 2.4.Reproduction package & verification
The reproduction gist now also contains:
next-to-exp-20261126.patch(SHA-2568a3634831b9f7e8533a8aa1333b32a17093633b937eca0e9eed34e15e02a27b0)exp-half-views-off-samples.csv(SHA-256c96d2f86d5cb45c7739eaadfd528c0df8d3087b9fa3d8ea30a15ca7ee231c689)To reconstruct the exact tested source tree in a clean checkout:
klbf-lab-beta-to-mip.patchandmip-to-alias-rescan.patchfrom the gist onto public beta5de296da(yielding tree84f13c6797070797971a86dfb873114dd793f1ee).next-to-exp-20261126.patch.git write-treewas verified in a temporary index to matchb821ba2cfe3490d8125870f8b5d175b6c715cb79.Tested
x86_64-pc-windows-msvcrelease binary SHA-256:9cb51e96ee65f5d7dd0533220442661e2d01f747e347a005fbf5d9b3212f0b9d.Integrated changes beyond
84f13c6797070797971a86dfb873114dd793f1eev_div_fixup_f16(origin/beta-2a5805f1)fx#927(half_views,d07f6df) gated behind a new shader-cache-keyed switchVICTORY_HALF_VIEWS=0(translation_fingerprintincludesVICTORY_HALF_VIEWS)legacy_fmad+bit_exact_format32-bit integer typed buffer views (fx f6a09d3shader/descriptor subset) and 9-bit mesh primitive index mask (c0228d9/7209bdd)v_add_f16inline float constant decoding (240..=248) in whole-wave simulation (Marvisak/VIctory#2493,f3578e3)klbf#67)ReadProcessMemoryreadback path,RANGEScleanup on heap drop (fx#1276), andVICTORY_DYNAMIC_SLOTS=786432(beta-24e95986)map_aliasruns +VICTORY_SECTION_MB=2physical section cap (fx#1274)VICTORY_PIPELINES_FIRST=1loading hold +VICTORY_TABLE_STAGES=1(fx 5d659e0)VICTORY_HEAP_WORKER=1background heap texture worker (fx d4a528b)Active test settings
VKD3D_CONFIG=descriptor_heap,VICTORY_AMBIENT=0.6,VICTORY_TEXTURE_DROP_MIPS=1,VICTORY_HEAP_RESCAN_SPREAD=0,VICTORY_INPLACE=0,VICTORY_DIRECT_COPY=1,VICTORY_LATE_WAIT=1,VICTORY_SKIP_PIPELINES=39f0e9aeb156a61c,VICTORY_BLEND_INT_OFF=1,VICTORY_PLACED_UAV=1,VICTORY_PLANE_NOW=1,VICTORY_PS_QUAD_READS=1,VICTORY_JOIN_COPIES=1,VICTORY_CARD_REHASH_RUNS=1,VICTORY_REUSE_ROOT_CBV=1,VICTORY_RELAY_COPY_QUEUE=1,VICTORY_INDIRECT_GATHER=1,VICTORY_JOIN_PARTS=1,VICTORY_SECTION_MB=2,VICTORY_DYNAMIC_SLOTS=786432,VICTORY_TABLE_STAGES=1,VICTORY_HEAP_WORKER=1,VICTORY_HALF_VIEWS=0(VICTORY_SHADER_OPTunset/default; warm shader & pipeline caches reused).Visual findings (
VICTORY_HALF_VIEWS=1vs=0)fx#927(VICTORY_HALF_VIEWS=1) in the opening café dialogue (prior 224 s run, clean exitrc=0): the main character's lower jaw/mouth deformed severely upward/inward during speech. This matches the AMD + Mesa RADV + Proton over-drive bug already reported onRX 7900 XTandRX 9070 XTinfxceless/victory-fork#927.RADV 26.3.1(vkd3d-proton): verified with a temporary compute test thatbufferLoad.f32overDXGI_FORMAT_R32_FLOAT(bit_exact_format) preserves subnormal bit patterns ([0x00000001, 0x0000002a, 0x3f800000, 0x7fc00000]) without flushing them to zero.VICTORY_HALF_VIEWS=0(272.0 s run, clean user exitrc=0, no device removal):Timing results (
VICTORY_HALF_VIEWS=0, periodicvictory_gpu::hostreadings)Using
docs/klbf/summarize_log.py --breakdown(plus adraws >= 4500filter over the sanitized CSV for reference against earlier#19reports):draws >= 1000, dialogue + cell)19:05:31Z–19:07:30Z)draws >= 4500Range across all 34 3D samples:
2.80–6.80 fps(146.7–362.0 ms/frame; final settled cell readings at3,733–3,951draws reached6.0–6.8 fps,146.7–166.9 ms/frame).VICTORY_HEAP_WORKER=1ran off-thread (11.5–305.6 msduring active streaming, settling to11.5–36.0 msonce cached). Available system RAM remained ~9.3–10 GiBduring 3D (~24 GiBafter exit).Caveats:
VICTORY_SHADER_OPTat default instead of0and multiple runtime switches enabled together (VICTORY_HEAP_WORKER=1,VICTORY_TABLE_STAGES=1,VICTORY_SECTION_MB=2,VICTORY_DYNAMIC_SLOTS=786432).~5 scadence), not frame-matched A/B measurements against the previous194.8–196.5 ms/frameruns, so they do not isolate the individual contribution of each switch.Synthetic tests under Proton/RADV (post-final edit)
victory_gpu: 253 passed, 0 failed, 13 ignored.victory_shader: 253 passed, 2 failed, 4 ignored — the 2 failures are pre-existing under Wine/vkd3d-proton (emit::tests::stub_pipeline_is_created, and case 0 ofemit::valu_tests::legacy_mad_fuses_its_product_and_flushes_its_sources, consistent withfx#1335onvkd3d-proton). Targeted testsv_add_f16_inline_float_constants_are_not_zero_identity(with default andVICTORY_HALF_VIEWS=0),a_format_load_read_as_halves_loads_the_integer(includingTEST_HALF_VIEWS=false), andhalves_go_through_a_table_as_they_are_and_name_their_viewsall passed.No game files, screenshots, full logs, saves, or local paths are included in this report. Report and patch hygiene prepared with AI assistance.
@PastiiJay on GitHub · 2026-11-26 19:19 UTC · original
Thanks @Adiker, this is a very clean A/B. The jaw distortion going away with
VICTORY_HALF_VIEWS=0while the prologue cell stays clean is exactly the kind of isolated result we can act on.beta-2already carries the half-views path, but it has no switch for it yet. Next step: could you open a small PR againstbeta-2with only theVICTORY_HALF_VIEWSswitch and its cache-key entry, split out from the rest of the stack? That way it can be tested on its own on Windows AMD as well.@Adiker on GitHub · 2026-11-26 19:47 UTC · original · edited 2026-11-26 19:49 UTC
Lab 63.2 / Proton follow-up: visible cell and approximately 8.9 FPS median in sampled 3D
I tested a locally modified beta-2 build, not unmodified Lab 63.2, on the same RX 7800 XT / Ryzen 7 5700X / 32 GiB machine, Mesa RADV 26.3.1 and Proton Experimental 11.0 with the previously reported view-tree wineserver. This was one session, Series S with the FidelityFX SDK 2.4 upscaler and a 1024 px texture cap.
An initial Lab 63.2 launch produced a black 3D image with subtitles; the log reported no host pipeline library. I added the null-blob fix from #1, after which the library was created, saved and loaded under vkd3d-proton. FidelityFX context creation returned
0. A subsequent run showed the 3D scene after I also changed several runtime options together:VICTORY_SHADER_OPT=0,VICTORY_SKIP_PIPELINES=39f0e9aeb156a61c,VICTORY_PORT_CONSTANTS=0,VICTORY_PORT_DESCRIPTORS=0,VICTORY_PIPELINES_FIRST=0, andVICTORY_PIPELINE_WAIT_MS=24. The black-screen result and the visible-image result were not a single-variable comparison, so the cause is not isolated.VICTORY_HALF_VIEWS=0was used; the local patch makes this path opt-in. On inspected still frames in the cell, the protagonist's and another character's faces and hair looked proportionate, without the severe distortion previously seen. This does not establish working lip sync or facial motion across scenes. A small opt-in keyboard-as-first-gamepad change allowed Enter/Space to pass the account picker; it was enabled for this run.These are medians of periodic reported averages, not individual-frame measurements. They include changing scenes, streaming and compilation; caches were warmed by earlier attempts. The earlier ~5.3 FPS report used a different build, scene and settings, so this promising result is not a controlled A/B comparison or evidence of a particular optimization's contribution. The tester confirmed they closed the game themselves; its return code was not captured. The session was user-ended, and one session does not establish long-term stability.
The reproduction package now includes:
lab63-proton.patch(SHA-256f90facbda1381aa6deace9df3524cb603cdabb2cdfc04e32cb5b1ac72310683c), applied to beta-23a2c4dd, yielding independently checked treebb733ee7c5a2f1fdc289254050743dc64f45bf2d.lab63-samples.csv(SHA-256a781a72a5da66701e3d1726dd98e65d8d7dea4503cd870a00d3cf3368b3d8dd0) andREADME-lab63-proton.mdwith the complete reproduction details and limitations.The tested release executable's SHA-256 was
6baaf251ac5aa3f35df1dc6687434462fd703b1c9ef922b68e4002c71e07e4a0. No game files, screenshots, raw logs, saves, private local paths or binaries are included. Report prepared with AI assistance.@PastiiJay on GitHub · 2026-11-26 19:51 UTC · original
Thanks @Adiker, good to see the cell rendering with sane faces under Proton. Two notes: the null-blob fix from #1 (Wine pipeline library) was the piece that unblocked it, and you were careful to flag that several options changed at once. Next step that would pin it down: one run with only #1 +
VICTORY_HALF_VIEWS=0on top of the launcher defaults. If it stays black, we'll know one of the other switches is required on RADV.@HandshakeHackin on GitHub · 2026-11-26 20:09 UTC · original
For the requested RX 7800 XT retest, I built #113 plus the #1 Wine library fix. It uses
52388bbplus the single08f9ac1change topipeline/library.rs. The build checked the combined source tree againstd1f03f399d224191d79772fb372b742208f46ac3. SetVICTORY_HALF_VIEWS=0for both pre-build and play, keeping the remaining launcher defaults. The package includes the matchingplay.ps1, skip list, and checksums.For the separate Windows AMD test, the #113-only build uses the same PR revision without #1. Both release executables passed
--helpon native Windows. The visual results still need the physical testers. Builds, source IDs and executable hashes@PastiiJay on GitHub · 2026-11-26 20:27 UTC · original
Thanks @HandshakeHackin, having both source combinations pinned to exact revisions makes the retest easy to reproduce. @Adiker, whenever you get to it: one run of #113 + #1 with
VICTORY_HALF_VIEWS=0and launcher defaults, built from source, then post whether the cell still renders and the faces stay sane.@HandshakeHackin on GitHub · 2026-11-26 20:38 UTC · original
For the source-built run, 417bc6b on the retest branch has the two changes already combined. I fetched the published branch and verified its tree matches the build manifest exactly (
d1f03f399d224191d79772fb372b742208f46ac3). A fresh checkout needs no cherry-pick: