Hey all. I've been working on a fork of VIctory (the Xbox Series → PC compatibility layer), built on top of hyphennn's fork (fxceless/victory-fork), and I need people with beefier machines to test it.
Repo: https://github.com/DiogoPCastelos/victory-fork
The problem
The console's GPU (RDNA 2) runs most shaders in waves of 64 lanes. NVIDIA GPUs can only run warps of 32. Most people play on NVIDIA, and this mismatch is behind a lot of the broken or refused shaders: any shader where lane 31 talks to lane 32 has nowhere to go. The usual workaround is to split each 64-lane wave into two 32-lane halves and make them sync through shared memory with barriers, or to approximate.
What I did: "dual-bank"
Instead of splitting the wave, I rewrite the console's 64-lane shader so that each NVIDIA thread carries two console lanes (lane p and lane p+32). A whole console wave fits in one 32-lane warp, so:
- no splitting, no syncing halves, no barriers;
- no approximations: the console's EXEC mask and control flow are kept as-is;
- every lane operation is verified on the GPU against a CPU model of the console's 64-lane wave: the lane 31↔32 boundary, all 4,096 shuffle pairs, ballots, prefix counts, branches, loops, 3D thread groups.
Results so far (RTX 3060 Laptop)
- 45 compute shaders that had no exact translation on NVIDIA now translate exactly and build on the GPU.
- Shaders NVIDIA refused outright: 27 → 5. Shaders running on an approximation: 38 → 15.
- In game, refused pipelines went from 8 to 3, and it reaches the open world without crashing.
- Where the old split approach needs barriers, dual-bank is 1.6–6× faster (GPU-timestamp benchmark included in the repo).
- The tests found and fixed 4 bugs in the shader translator itself.
Where it's stuck: my hardware
On my laptop (16 GB RAM, 6 GB RTX 3060) it runs at ~2 fps, fairly stable, but skin, walls and furniture render black. I captured the G-buffer: the normals layer is complete (geometry and shaders are all there), but the base colour layer is black for those materials. Their textures are held back because the GPU is out of memory (6.9 GB used of a 5.2 GB budget). On a bigger card they should show up, and that's what I need confirmed.
How you can help
If you have 32 GB RAM and an NVIDIA GPU with 16 GB+ VRAM and your own copy of the game:
- Follow the README to build and run it (about 15 minutes; it's step-by-step, and an AI coding assistant can follow it too).
- Open an issue following CONTRIBUTING.md: your specs, your
run.log, and a few screenshots in game (plus the render layers, if you can).
No game files are in the repo or ever needed from you. The layer only reads your copy and never writes to it.
Credits: Marvisak and the VIctory contributors for the base, hyphennn for the fork this builds on, and everyone credited in the README. Happy to answer questions about how dual-bank works!