Port VIctory-xmem renderer, audio, and benchmark changes to Windows #16

Closed
github-bot wants to merge 1 commit from github-bot/gh-16 into main AGit
Owner

@⁠SovietBearz0r on GitHub · 2026-12-02 17:02 UTC · original
SovietBearz0r:xmem-windows-ports → main · +919 −76 · 22 files · 1 commits · closed without merging

Summary

Port the Windows-compatible changes tested on the local RX 9070 XT integration branch. This PR starts from upstream main and does not depend on #14 or #15.

Source Adaptation
lobomfz/VIctory-xmem#203 Use the distributed reader-writer lock for descriptor views. Test simultaneous readers, writers, and shared reader slots.
lobomfz/VIctory-xmem#175 Decode Opus on a worker per connection. Preserve command order and join the worker before freeing connection resources.
lobomfz/VIctory-xmem#166 Reuse immutable GPU page-directory loads across stores. This ports the directory optimization; the other fork's records table is absent here. Invalidate previous shader translations.
lobomfz/VIctory-xmem#202 Copy the phone camera's linear RGBA render target back into title memory after draws or clears.
lobomfz/VIctory-xmem#178 Expose FSR Native AA in the launch script and UI, keeping render size equal to the selected output size.
lobomfz/VIctory-xmem#195 Add opt-in VICTORY_KILL_CONTINUE=1 for the frosted-glass shader path. Include the option in the shader cache key.
lobomfz/VIctory-xmem#209 Adapt the timed benchmark to Windows PowerShell. It requests the PortWatch profile, waits for a manual gameplay start, and writes sampled FPS, memory, and observed FSR dispatch. Benchmark telemetry is independent of #14.

The unified-memory residency and selective readback patches (#165 and #173 in VIctory-xmem) require memory backends that ReVIctory does not have. They are outside this port.

Validation

  • Standalone Windows diagnostic compile check, frosted-glass shader test, and staged asset-policy check.
  • On the integration branch, focused tests passed for the descriptor lock, Opus decoding, phone-target classification, immutable directory loads, the frosted-glass shader path, and the existing texture upload guards.
  • The integration build started at 3840×2160 with a 60 FPS cap and telemetry. The tester reported that it ran normally. This was a smoke test, not a controlled FPS comparison.
  • A full timed PortWatch run, Native AA, Gallery/SMS images, and the glass scene still need separate in-game verification.

No game assets, captures, or raw logs are included.

**@⁠SovietBearz0r** on GitHub · 2026-12-02 17:02 UTC · [original](https://github.com/ReTerryDavis/ReVIctory/pull/16) `SovietBearz0r:xmem-windows-ports` → `main` · +919 −76 · 22 files · 1 commits · closed without merging ## Summary Port the Windows-compatible changes tested on the local RX 9070 XT integration branch. This PR starts from upstream `main` and does not depend on #14 or #15. | Source | Adaptation | |---|---| | lobomfz/VIctory-xmem#203 | Use the distributed reader-writer lock for descriptor views. Test simultaneous readers, writers, and shared reader slots. | | lobomfz/VIctory-xmem#175 | Decode Opus on a worker per connection. Preserve command order and join the worker before freeing connection resources. | | lobomfz/VIctory-xmem#166 | Reuse immutable GPU page-directory loads across stores. This ports the directory optimization; the other fork's records table is absent here. Invalidate previous shader translations. | | lobomfz/VIctory-xmem#202 | Copy the phone camera's linear RGBA render target back into title memory after draws or clears. | | lobomfz/VIctory-xmem#178 | Expose FSR Native AA in the launch script and UI, keeping render size equal to the selected output size. | | lobomfz/VIctory-xmem#195 | Add opt-in `VICTORY_KILL_CONTINUE=1` for the frosted-glass shader path. Include the option in the shader cache key. | | lobomfz/VIctory-xmem#209 | Adapt the timed benchmark to Windows PowerShell. It requests the PortWatch profile, waits for a manual gameplay start, and writes sampled FPS, memory, and observed FSR dispatch. Benchmark telemetry is independent of #14. | The unified-memory residency and selective readback patches (#165 and #173 in VIctory-xmem) require memory backends that ReVIctory does not have. They are outside this port. ## Validation - Standalone Windows diagnostic compile check, frosted-glass shader test, and staged asset-policy check. - On the integration branch, focused tests passed for the descriptor lock, Opus decoding, phone-target classification, immutable directory loads, the frosted-glass shader path, and the existing texture upload guards. - The integration build started at 3840×2160 with a 60 FPS cap and telemetry. The tester reported that it ran normally. This was a smoke test, not a controlled FPS comparison. - A full timed PortWatch run, Native AA, Gallery/SMS images, and the glass scene still need separate in-game verification. No game assets, captures, or raw logs are included.
Adapt lobomfz/VIctory-xmem PRs #166, #175, #178, #195, #202, #203, and #209. Use a standalone opt-in benchmark log, keep the frosted-glass change switchable, and document dependencies on the separate memory backend.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 19:42:52 +00:00
github-bot closed this pull request 2026-12-04 02:03:08 +00:00
Author
Owner

@⁠ReTerryDavis on GitHub · 2026-12-04 02:02 UTC · original

Closing because this squashes seven unrelated changes against older pre-victory-dxil / pre-v0.3.0 paths. Several pieces here look genuinely useful (async Opus decode worker in apu.rs, phone-camera readback in texback.rs, FSR Native AA, pure_loads in victory-dxil) -- please open separate, tested PRs for those against current main.

**@⁠ReTerryDavis** on GitHub · 2026-12-04 02:02 UTC · [original](https://github.com/ReTerryDavis/ReVIctory/pull/16#issuecomment-7398499526) Closing because this squashes seven unrelated changes against older pre-`victory-dxil` / pre-v0.3.0 paths. Several pieces here look genuinely useful (async Opus decode worker in `apu.rs`, phone-camera readback in `texback.rs`, FSR Native AA, `pure_loads` in `victory-dxil`) -- please open separate, tested PRs for those against current `main`.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.