r/EmulationOnPC • • 9h ago

Unsolved Xbox Series compatibility layer: I got 64-lane console shaders running exactly on NVIDIA's 32-lane GPUs ("dual-bank"). Looking for testers with 32 GB RAM + a 16 GB NVIDIA card

17 Upvotes

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:

  1. 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).
  2. 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!


r/EmulationOnPC • • 20h ago

Unsolved Any way to modify the PS2 save state (.ps2 or .p2s) ?

2 Upvotes

Is there anyway to revert the applied hex of .ps2 or .p2s save states to the original as one of the cheat which i had applied breaks the game and the internal save state also has the overwritten save state. So far i have extracted the hex of the save state but is there any way to modify the hex or the .ps2 or .p2s file to basically replace the files which the cheat or mod overwritten to its legacy state? has anyone ever tried this


r/EmulationOnPC • • 18h ago

Unsolved Zelda OOT fritchii v6.5 FPS locked

0 Upvotes

hi guys I just wanted to know if it was normal to have FPS locked around 30/60 when I have a monitor able to go up to 180. I tried everything the emulators offers, the High refresh rate mode doesn’t even work (which allows me to go up to 165) like it just doesn’t want to go higher than 70-80 in a normal game, where it works pretty well only in the logging screen. Any help?


r/EmulationOnPC • • 14h ago

Unsolved Emulation on Roblox

0 Upvotes

Hi guys i emulated MS-DOS 6.22, Windows 2.1(8086), Windows 3.11 and Windows 95. I want to launch it but I am afraid abt getting banned. It works smoothly.

https://i.hizliresim.com/oiwtmixk.png