LAND_ECHO off by default under Wine: faces lose their skin there with it (#59) #201
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!201
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-201"
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?
@amine23012004 on GitHub · 2026-11-26 11:23 UTC · original
amine23012004:fix/wine-land-echo-off→main· +39 −0 · 1 files · 2 commits · openVICTORY_LAND_ECHOoff by default under Wine: faces lose their skin there with it (#59)Problem. On Proton (RX 9070 XT, RADV) two main characters of the boat cutscene had no facial skin. Bisected over
play.ps1's switches in #59:VICTORY_LAND_ECHO=0alone made every face right, at the same frame rate.-Safealready turns it off.Change. Under Wine (ntdll exports
wine_get_version, the same testvictory_hle::modules::xmemuses) LAND_ECHO is off unlessVICTORY_LAND_ECHOis set explicitly (=1turns it back on). Windows is unchanged. One file,crates/victory-gpu/src/shadow.rs.This changes a default on Wine only; if you'd rather keep defaults identical everywhere and have
play.ps1/ the Linux docs setVICTORY_LAND_ECHO=0instead, I can switch the PR to that.Verification. Windows CI on my fork: clippy
-D warnings+ default and diagnostics test suites green (fork PR #3). Not run under Wine by me: the bisection is from #59.🤖 Generated with Claude Code
@UwUCammie on GitHub · 2026-11-26 12:47 UTC · original
I tried
VICTORY_LAND_ECHO=0on the RX 7900 XT Linux branch with a new story and empty graphics caches. The skin was still missing during the diner exchange. The head blend-shape dispatch timed out at 59.31 s, and its pipeline became ready at 86.27 s. This particular case appears to need a separate scheduling fix. With a 1 KiB limit on compute pipelines built at creation, that pipeline was ready before its first bind and both faces rendered. Cold 720p measurements@ArturoWolff on GitHub · 2026-11-26 12:52 UTC · original
Independent Wine qualification of the default and the diagnostic selector
Tested the direct parent
9576c45f1d551be0cfde154da027707658ce031eagainst this head5567c8b5a5ebaf3d3534ba47187909b305c80037. Both actual Windows-targetvictory-gpucrates were compiled with Rust 1.98.1, LLVM MinGW (x86_64-pc-windows-gnullvm), locked dependencies, profilediaganddiagnostics, then executed under GE-Proton 11-14 (Wine 11.0 Staging) in separate fresh prefixes. No title or GPU devices were exposed to these tests. The same authored fixture required the actual Wine export and exercised the actualland_echo()selector,note_landing,Shadow::take,send_upandjoinedusing six 4 KiB pages with independently expected bytes, including later title writes.VICTORY_LAND_ECHOunset=0=1VICTORY_AB=1.1,VICTORY_LAND_ECHO, variable unsetVICTORY_LAND_ECHO=1For the enabled path, the ECHO counters were 8 KiB left and 4 KiB changed; the disabled path reported zero for both. Both paths preserved the title, side and simulated card bytes. The existing landing test and the concurrent landing/title-write/refresh test (120 rounds) also passed in both policy states. Across the 15 separate Wine invocations, 13 passed and 2 failed at the deliberately selected policy assertions: the parent did not have the proposed Wine default, and the head's unset-variable A/B did not follow the advertised phase. Both builds succeeded, all test scopes retired, and the host OOM counter did not advance.
So the proposed Wine default and explicit overrides do work in the tested path. One small diagnostics caveat: the Wine-default early return currently precedes the shared A/B selector, so the logged off-to-on phase is not the actual switch transition unless the variable is explicitly set to
1. For measurements intended to toggle the setting on this head, set that variable as well, or have the Wine default flow through the A/B selector.This is a byte-preservation and selection test, not reproduction of #59's visual result or proof that switching LAND_ECHO off fixes all missing skin. The separate late blend-shape pipeline result from @UwUCammie is a useful reason to keep readiness/scheduling and landing refresh as distinct investigations.
AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).
@amine23012004 on GitHub · 2026-11-26 14:43 UTC · original
Thanks @ArturoWolff, good catch: the Wine default returned before
toggled!, so the A/B phases were logged but LAND_ECHO stayed off.2409ea7lets the default stand aside whenVICTORY_ABnames the switch (diagnostics builds only; nothing changes without them).@UwUCammie thanks, agreed: this PR only changes the landing default for the boat-cutscene case in #59; the late blend-shape pipeline is a separate readiness/scheduling issue and shouldn't be read as fixed by this.
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.