Collab offer + GTA VI exe testing on Linux (Bazzite/Proton) #1

Closed
opened 2026-11-26 06:24:32 +00:00 by github-bot · 24 comments
Owner

@⁠ReverendOzmund on GitHub · 2026-11-23 17:03 UTC · original

I've got the game_scarlett_master.exe your README mentions as missing for the GTA VI target, and I'm on Bazzite with Proton Experimental. Happy to run TuxBox against it and post logs as soon as I've got the rest of my files. (Logs only, I won't be sharing any game files.)

I also started a small harness, xseries-wine: it scans a Series exe's imports and generates logging stub DLLs. It's MIT-licensed and AI-assisted, and you're welcome to anything useful in it. I'd rather contribute to one solid project than run a separate one.

Two questions:

Could you add a license? I'd like to contribute code, and I'd need one to do that.
Are AI-assisted PRs OK, or do you want them disclosed or avoided?

**@⁠ReverendOzmund** on GitHub · 2026-11-23 17:03 UTC · [original](https://github.com/brcly/TuxBox/issues/1) I've got the game_scarlett_master.exe your README mentions as missing for the GTA VI target, and I'm on Bazzite with Proton Experimental. Happy to run TuxBox against it and post logs as soon as I've got the rest of my files. (Logs only, I won't be sharing any game files.) I also started a small harness, [xseries-wine](https://github.com/ReverendOzmund/xseries-wine): it scans a Series exe's imports and generates logging stub DLLs. It's MIT-licensed and AI-assisted, and you're welcome to anything useful in it. I'd rather contribute to one solid project than run a separate one. Two questions: Could you add a license? I'd like to contribute code, and I'd need one to do that. Are AI-assisted PRs OK, or do you want them disclosed or avoided?
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:24:32 +00:00
Author
Owner

@⁠ValentinM83 on GitHub · 2026-11-23 23:51 UTC · original

I would be happy to provide full testing on CachyOS.

**@⁠ValentinM83** on GitHub · 2026-11-23 23:51 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7117430284) I would be happy to provide full testing on CachyOS.
Author
Owner

@⁠brcly on GitHub · 2026-11-24 00:17 UTC · original

Sorry about the silence, today's been a big day, I'll add a license.

**@⁠brcly** on GitHub · 2026-11-24 00:17 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7117919603) Sorry about the silence, today's been a big day, I'll add a license.
Author
Owner

@⁠ReverendOzmund on GitHub · 2026-11-24 02:04 UTC · original

Thanks, no rush at all! Congrats on the big day. Once the license is in I'll start contributing. Still keen to know your stance on AI-assisted PRs, so I know how to approach it.

@⁠ValentinM83 nice, Bazzite + CachyOS gives us two different setups to compare. Once we both have logs, let's post them in the same format (distro, GPU, Proton version, log) so they're easy to compare.

**@⁠ReverendOzmund** on GitHub · 2026-11-24 02:04 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7119735844) Thanks, no rush at all! Congrats on the big day. Once the license is in I'll start contributing. Still keen to know your stance on AI-assisted PRs, so I know how to approach it. @⁠ValentinM83 nice, Bazzite + CachyOS gives us two different setups to compare. Once we both have logs, let's post them in the same format (distro, GPU, Proton version, log) so they're easy to compare.
Author
Owner

@⁠NinosTech on GitHub · 2026-11-24 09:13 UTC · original

Linux comparison after player selection

On Nobara with GE-Proton11-1 and an RTX 5060 Ti, a patched XCL run of 1.0.2.1 reached controller-driven setup, original intro video and the first story prestream. Our capture had at least six seconds of game audio after the artwork faded. A listener recognized a possible intake of breath from the prologue. No words were intelligible, and none of the 198 post-fade frames sampled at 15 fps showed a location card, subtitle or world. This was a separate XCL run. TuxBox’s own stock-Proton player-selection recording remains its independent result. A common comparison point would be the first audible cue and first legible frame timed from the end of the artwork.

Full test record and revisions.

**@⁠NinosTech** on GitHub · 2026-11-24 09:13 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7127128667) **Linux comparison after player selection** On Nobara with GE-Proton11-1 and an RTX 5060 Ti, a patched XCL run of 1.0.2.1 reached controller-driven setup, original intro video and the first story prestream. Our capture had at least six seconds of game audio after the artwork faded. A listener recognized a possible intake of breath from the prologue. No words were intelligible, and none of the 198 post-fade frames sampled at 15 fps showed a location card, subtitle or world. This was a separate XCL run. TuxBox’s own stock-Proton player-selection recording remains its independent result. A common comparison point would be the first audible cue and first legible frame timed from the end of the artwork. [Full test record and revisions](https://github.com/ivall/xcl/issues/42#issuecomment-7127023007).
Author
Owner

@⁠kekonn on GitHub · 2026-11-24 13:58 UTC · original

CachyOS full AMD system here (5800X3D + 7900 XT). Would love to help with testing as well.

**@⁠kekonn** on GitHub · 2026-11-24 13:58 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7133640682) CachyOS full AMD system here (5800X3D + 7900 XT). Would love to help with testing as well.
Author
Owner

@⁠brcly on GitHub · 2026-11-24 14:50 UTC · original

Hey guys, you can test whenever you want.

Just clone the repo and build it.

**@⁠brcly** on GitHub · 2026-11-24 14:50 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7135039868) Hey guys, you can test whenever you want. Just clone the repo and build it.
Author
Owner

@⁠kekonn on GitHub · 2026-11-24 14:52 UTC · original

I'll give it a go once I get home. If it works, first contribution is likely a nix dev flake that makes it easier for everyone to pull in the right dependencies for the build process.

**@⁠kekonn** on GitHub · 2026-11-24 14:52 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7135100461) I'll give it a go once I get home. If it works, first contribution is likely a nix dev flake that makes it easier for everyone to pull in the right dependencies for the build process.
Author
Owner

@⁠smith-3 on GitHub · 2026-11-24 23:48 UTC · original

Hey! I’d like to help test TuxBox. I’m on Ubuntu 24.04 with an RTX 4080 SUPER, and I’ve already cloned the repo. I’m planning to start with Lanes on Proton Experimental and share the driver and Proton versions, the commit I tested, and logs if I hit anything unexpected.

Is there a particular test you’d like me to run on this setup? I’d be happy to look into anything reproducible that comes up.

**@⁠smith-3** on GitHub · 2026-11-24 23:48 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7147821029) Hey! I’d like to help test TuxBox. I’m on Ubuntu 24.04 with an RTX 4080 SUPER, and I’ve already cloned the repo. I’m planning to start with Lanes on Proton Experimental and share the driver and Proton versions, the commit I tested, and logs if I hit anything unexpected. Is there a particular test you’d like me to run on this setup? I’d be happy to look into anything reproducible that comes up.
Author
Owner

@⁠brcly on GitHub · 2026-11-24 23:50 UTC · original

The biggest effort I'd like to focus on atm is just shader translations so they compile properly, along with compilation speed.

**@⁠brcly** on GitHub · 2026-11-24 23:50 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7147858230) The biggest effort I'd like to focus on atm is just shader translations so they compile properly, along with compilation speed.
Author
Owner

@⁠smith-3 on GitHub · 2026-11-25 00:21 UTC · original

Thanks for pointing me toward shader translation. I reproduced and fixed a case where xshader rejected valid integer immediates in signed add and subtract. The draft is in #125.

Before I pick up another case, is there an opcode or compiler failure you'd like me to take that nobody is already working on?

**@⁠smith-3** on GitHub · 2026-11-25 00:21 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7148425759) Thanks for pointing me toward shader translation. I reproduced and fixed a case where `xshader` rejected valid integer immediates in signed add and subtract. The draft is in #125. Before I pick up another case, is there an opcode or compiler failure you'd like me to take that nobody is already working on?
Author
Owner

@⁠brcly on GitHub · 2026-11-25 00:26 UTC · original

Atm, I'm not aware of any.

Though development so far has been very much a bag of just trying to get the game to compile its shaders so it's not crashing or trying to do them on the fly, damaging performance.

**@⁠brcly** on GitHub · 2026-11-25 00:26 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7148507223) Atm, I'm not aware of any. Though development so far has been very much a bag of just trying to get the game to compile its shaders so it's not crashing or trying to do them on the fly, damaging performance.
Author
Owner

@⁠smith-3 on GitHub · 2026-11-25 00:34 UTC · original

I'll take integer immediates in v_add_nc_i16 and v_sub_nc_i16. I'll use synthetic shaders and check that the untouched register half is preserved. If this overlaps with work in progress, please let me know.

**@⁠smith-3** on GitHub · 2026-11-25 00:34 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7148659016) I'll take integer immediates in `v_add_nc_i16` and `v_sub_nc_i16`. I'll use synthetic shaders and check that the untouched register half is preserved. If this overlaps with work in progress, please let me know.
Author
Owner

@⁠ReverendOzmund on GitHub · 2026-11-25 01:08 UTC · original

Bazzite + RTX 3080 Ti + Proton Experimental, on current main (75fdeba): the same Scarlett title you mentioned reaching player selection boots, runs its frame loop, and presents ~60 fps, but never draws to the display surface. TUXBOX_TRACE_PRESENT=600 shows draws=0, clears=600, rtv-binds=600 on every sample, lit=0.000, with ~4-20 draws per frame elsewhere. Only refused runtime class is XStore (0dd112ac), which I'm deliberately leaving alone. Shader cache is warm, 10 unsupported translations.

What did your player-selection run look like: GPU vendor, any env vars or launcher flags, and did it go through a different path for the first frontend screen? Happy to run anything that helps narrow it down.

**@⁠ReverendOzmund** on GitHub · 2026-11-25 01:08 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7149249225) Bazzite + RTX 3080 Ti + Proton Experimental, on current main (75fdeba): the same Scarlett title you mentioned reaching player selection boots, runs its frame loop, and presents ~60 fps, but never draws to the display surface. TUXBOX_TRACE_PRESENT=600 shows draws=0, clears=600, rtv-binds=600 on every sample, lit=0.000, with ~4-20 draws per frame elsewhere. Only refused runtime class is XStore (0dd112ac), which I'm deliberately leaving alone. Shader cache is warm, 10 unsupported translations. What did your player-selection run look like: GPU vendor, any env vars or launcher flags, and did it go through a different path for the first frontend screen? Happy to run anything that helps narrow it down.
Author
Owner

@⁠ReverendOzmund on GitHub · 2026-11-25 01:15 UTC · original

Data for compilation speed / translation priorities, from current main (75fdeba) on Bazzite + RTX 3080 Ti + Proton Experimental, cold cache.

Driver-side compute pipeline creation (CreatePipelineState ... finished in):
234s 7973d359 · 173s 9bc3979a · 172s dc64c0aa · 160s f843cbff · 150s 5b401e22 · 122s ffa99d75 · 122s d900ccba · 118s 4a16aec4 · 117s 6d8ac7c9 · 115s 2a4a65e3 · 108s 7de2efa3 · 96s d4ddbd3a · 81s 76289ae7 · 77s ae39dd49 · 76s 1831b3a0
With 12 building in parallel the first boot took ~20 min. Happy to rerun with any tracing that would show whether it's DXIL size, vkd3d's DXIL→SPIR-V, or NVIDIA's backend.

Refusal reasons from the same run (counts include cached replays):
1457 wave reduction may execute in divergent control flow
84 DPP16 exchange inside backward control flow
78 raw buffer IDXEN needs the console descriptor stride
50+46 lane op: non-constant lane operand (Sgpr 0/1/2/16)
35 quad exchange in a block-dispatched program
27 wave reduction: unrecognized masked DPP prologue
26 raw BVH node intersection requires traversal translation
16 expected unmodified s_cmp_eq_u32 in mesh exports
12 unverified EXEC election: lane is not compared for equality
30 v_readlane read before any v_writelane (lanes 0/32)

**@⁠ReverendOzmund** on GitHub · 2026-11-25 01:15 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7149363027) Data for compilation speed / translation priorities, from current main (75fdeba) on Bazzite + RTX 3080 Ti + Proton Experimental, cold cache. Driver-side compute pipeline creation (CreatePipelineState ... finished in): 234s 7973d359 · 173s 9bc3979a · 172s dc64c0aa · 160s f843cbff · 150s 5b401e22 · 122s ffa99d75 · 122s d900ccba · 118s 4a16aec4 · 117s 6d8ac7c9 · 115s 2a4a65e3 · 108s 7de2efa3 · 96s d4ddbd3a · 81s 76289ae7 · 77s ae39dd49 · 76s 1831b3a0 With 12 building in parallel the first boot took ~20 min. Happy to rerun with any tracing that would show whether it's DXIL size, vkd3d's DXIL→SPIR-V, or NVIDIA's backend. Refusal reasons from the same run (counts include cached replays): 1457 wave reduction may execute in divergent control flow 84 DPP16 exchange inside backward control flow 78 raw buffer IDXEN needs the console descriptor stride 50+46 lane op: non-constant lane operand (Sgpr 0/1/2/16) 35 quad exchange in a block-dispatched program 27 wave reduction: unrecognized masked DPP prologue 26 raw BVH node intersection requires traversal translation 16 expected unmodified s_cmp_eq_u32 in mesh exports 12 unverified EXEC election: lane is not compared for equality 30 v_readlane read before any v_writelane (lanes 0/32)
Author
Owner

@⁠brcly on GitHub · 2026-11-25 01:16 UTC · original

Gonna push a fix for some of the long compile times, just testing against reaching the games prologue

**@⁠brcly** on GitHub · 2026-11-25 01:16 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7149384579) Gonna push a fix for some of the long compile times, just testing against reaching the games prologue
Author
Owner

@⁠smith-3 on GitHub · 2026-11-25 02:10 UTC · original

@⁠brcly I tested 3f2a717 on an RTX 4080 SUPER with five synthetic compute shaders (~592 KiB of DXIL each). In both cold runs, one pipeline waited for a slot, all five finished within the default 20-second deadline, and all 320 GPU outputs per run matched the CPU reference.

Download the test scripts, logs, and reproduction steps (ZIP)

**@⁠smith-3** on GitHub · 2026-11-25 02:10 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7150405004) @⁠brcly I tested 3f2a717 on an RTX 4080 SUPER with five synthetic compute shaders (~592 KiB of DXIL each). In both cold runs, one pipeline waited for a slot, all five finished within the default 20-second deadline, and all 320 GPU outputs per run matched the CPU reference. [Download the test scripts, logs, and reproduction steps (ZIP)](https://raw.githubusercontent.com/smith-3/TuxBox/8d18285c82e2b8a5a8014fed3ef6c7fc3e4fb452/evidence/large-pipeline-results.zip)
Author
Owner

@⁠ReverendOzmund on GitHub · 2026-11-25 03:15 UTC · original

RTX 3080 Ti / Bazzite / Proton Experimental 20261112, main 97b8ad3, TUXBOX_LARGE_COMPILES=2: the game's crash report says Game Running, frame 21,663 at 12m45s, 35 peds and 195 vehicles, player healthy, then exit code 5. The loading artwork stayed on screen the whole time.

The minidump's exception record: c0000005, read at game_scarlett_master.exe+0xf2cae9, faulting thread 0x1d8. That code pushes 64 KiB GPU pages onto the title's packed 21-bit free list. Each index comes from the helper at +0x221ba60, which returns 0xFFFFFFFF when the page-table entry is empty ((entry & 0x7fff) == 0) or past the limit. The -1 isn't checked, becomes the list tail, and the next iteration reads off the end of the table. The same thread logged "page remap replaced imported range ... retired stale GPU import" right before the crash, so it looks like a page whose table entry the remap emulation had cleared or never set. It may be the same as your exit-5 at 9m41s.

Separately, an earlier run on 97b8ad3 stopped at "unsupported D3D12.x vtable slot 148" called from the packaged XboxBvhBuilder.dll. All four call sites there pass (list, byte count, 8 or 16 alignment) and use the return value as CPU memory for build descriptors, i.e. command-list-owned memory. I have a handler for it but haven't reached that call again to test it.

**@⁠ReverendOzmund** on GitHub · 2026-11-25 03:15 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7151739001) RTX 3080 Ti / Bazzite / Proton Experimental 20261112, main 97b8ad3, TUXBOX_LARGE_COMPILES=2: the game's crash report says Game Running, frame 21,663 at 12m45s, 35 peds and 195 vehicles, player healthy, then exit code 5. The loading artwork stayed on screen the whole time. The minidump's exception record: c0000005, read at game_scarlett_master.exe+0xf2cae9, faulting thread 0x1d8. That code pushes 64 KiB GPU pages onto the title's packed 21-bit free list. Each index comes from the helper at +0x221ba60, which returns 0xFFFFFFFF when the page-table entry is empty ((entry & 0x7fff) == 0) or past the limit. The -1 isn't checked, becomes the list tail, and the next iteration reads off the end of the table. The same thread logged "page remap replaced imported range ... retired stale GPU import" right before the crash, so it looks like a page whose table entry the remap emulation had cleared or never set. It may be the same as your exit-5 at 9m41s. Separately, an earlier run on 97b8ad3 stopped at "unsupported D3D12.x vtable slot 148" called from the packaged XboxBvhBuilder.dll. All four call sites there pass (list, byte count, 8 or 16 alignment) and use the return value as CPU memory for build descriptors, i.e. command-list-owned memory. I have a handler for it but haven't reached that call again to test it.
Author
Owner

@⁠YaBulochka on GitHub · 2026-11-25 07:35 UTC · original

Linux/RADV data point, and a wall on the AMD side that the NVIDIA reports here do not hit.

Setup. Linux, RADV 26.99.99, Radeon RX 7600 XT (NAVI33). main at 97b8ad3, built with the bundled build.py all --dxc ... (xwin SDK + rustup msvc target). Backend: wine (system Wine 11.22), not Proton - the Proton path dies at RPC_S_SERVER_UNAVAILABLE inside the first 2 s here, before any TuxBox code runs.

Two manual steps were needed:

  1. App-local DLLs. After build.py all, the DLLs live in build/<component>/; nothing copies them next to the exe. I staged the 11 build/*/*.dll beside game_scarlett_master.exe by hand, otherwise the loader fails with c0000135 on d3d12_xs.dll, xmem.dll, AcpHal.dll, xcrdapi.dll, xapu.dll, XboxBvhBuilder.dll.
  2. vkd3d. Wine's builtin d3d12 answers Feature level 0xc000 is not supported and the game fail-fasts immediately. With WINEDLLOVERRIDES="d3d12,d3d12core=n,b" and vkd3d-proton master (ec207194) in the prefix, the feature level is accepted and the title gets further.

Where it stops now:

vkd3d-proton: Invalid shader bytecode.  (vkd3d result -4)
TuxBox d3d12_xs: placed texture range at 0xec44562000: size=0x8000 alignment=0x1000 fits=false 256x128 format=61
RaiseFailFastException
Game exited with exit code 2 after 1.2s

So on RADV it reaches placed-texture creation and fails the range fit on a 256x128 format-61 texture, after vkd3d refused one or more shader bytecodes. vkd3d itself says Tiled resources are not implemented yet, which is the likely reason a placed range cannot be accepted here.

Questions, if you have time:

  • Is the fits=false path expected to fail-fast on a host without tiled resources, or should it fall back to a committed texture?
  • Is there a known-good vkd3d build for this target on RADV? Our master (ec207194) rejects some bytecode as invalid, which may be the same shader class as the "shaders are the number 1 thing" issue #16.

No game files, no shader dumps, counts and messages only.

**@⁠YaBulochka** on GitHub · 2026-11-25 07:35 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7156039493) Linux/RADV data point, and a wall on the AMD side that the NVIDIA reports here do not hit. **Setup.** Linux, RADV 26.99.99, **Radeon RX 7600 XT** (NAVI33). `main` at `97b8ad3`, built with the bundled `build.py all --dxc ...` (xwin SDK + rustup msvc target). Backend: `wine` (system Wine 11.22), not Proton - the Proton path dies at `RPC_S_SERVER_UNAVAILABLE` inside the first 2 s here, before any TuxBox code runs. Two manual steps were needed: 1. **App-local DLLs.** After `build.py all`, the DLLs live in `build/<component>/`; nothing copies them next to the exe. I staged the 11 `build/*/*.dll` beside `game_scarlett_master.exe` by hand, otherwise the loader fails with `c0000135` on `d3d12_xs.dll`, `xmem.dll`, `AcpHal.dll`, `xcrdapi.dll`, `xapu.dll`, `XboxBvhBuilder.dll`. 2. **vkd3d.** Wine's builtin d3d12 answers `Feature level 0xc000 is not supported` and the game fail-fasts immediately. With `WINEDLLOVERRIDES="d3d12,d3d12core=n,b"` and vkd3d-proton master (`ec207194`) in the prefix, the feature level is accepted and the title gets further. **Where it stops now:** ``` vkd3d-proton: Invalid shader bytecode. (vkd3d result -4) TuxBox d3d12_xs: placed texture range at 0xec44562000: size=0x8000 alignment=0x1000 fits=false 256x128 format=61 RaiseFailFastException Game exited with exit code 2 after 1.2s ``` So on RADV it reaches placed-texture creation and fails the range fit on a 256x128 format-61 texture, after vkd3d refused one or more shader bytecodes. vkd3d itself says `Tiled resources are not implemented yet`, which is the likely reason a placed range cannot be accepted here. Questions, if you have time: - Is the `fits=false` path expected to fail-fast on a host without tiled resources, or should it fall back to a committed texture? - Is there a known-good vkd3d build for this target on RADV? Our master (`ec207194`) rejects some bytecode as invalid, which may be the same shader class as the "shaders are the number 1 thing" issue #16. No game files, no shader dumps, counts and messages only.
Author
Owner

@⁠JeffreyBytes on GitHub · 2026-11-25 07:41 UTC · original

Another RADV data point, further along, in case it helps you get past startup.

Setup. Linux 7.3.5, Mesa 26.3.1 RADV, Radeon RX 6700 XT, Intel i5-12600K. main at 78c9017. Backend is Valve's Proton Experimental (experimental-11.0-20261112) through umu-run, staged and launched offline exactly as in docs/PROJECTSCARLETT.md, so the vkd3d-proton is the one Proton ships.

Where it gets to. It starts, presents at 3840×2160 and keeps running; I've been stopping it at five minutes. The window is still black apart from TuxBox's progress panel. I have not seen the fits=false fail-fast on this setup, so that may be specific to system Wine with vkd3d-proton master, or to the 7600 XT.

Two things that mattered here, both now merged:

  • #146: on an Intel CPU the title died at about 14 s on AMD-only instructions. Not relevant to an AMD CPU, but worth knowing if anyone else tests on Intel.
  • #148: on RADV every live buffer goes with each submission, and repeated page imports had pushed the title to about 13,000 buffers. That held presents to roughly 70 per 10 s; with the fix it is about 640.

On the invalid bytecode. I see Invalid shader bytecode (vkd3d result -4) here too, a couple of hundred times per run, and it is not fatal with Proton's vkd3d-proton. The much larger class on this machine is result -3: with VKD3D_SHADER_DEBUG=trace, dxil-spirv reports Failed to remap SRV 1:73, Failed to remap CBV 1:22 and similar, meaning a translated shader declares a binding the pipeline's root signature doesn't cover. I'm looking into that now.

I can't say why Proton fails for you with RPC_S_SERVER_UNAVAILABLE. If you want to compare, the launch that works here is the offline one from the guide (UMU_RUNTIME_UPDATE=0, network namespace unshared) against a prefix TuxBox created itself.

**@⁠JeffreyBytes** on GitHub · 2026-11-25 07:41 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7156146484) Another RADV data point, further along, in case it helps you get past startup. **Setup.** Linux 7.3.5, Mesa 26.3.1 RADV, Radeon RX 6700 XT, Intel i5-12600K. `main` at `78c9017`. Backend is Valve's Proton Experimental (`experimental-11.0-20261112`) through `umu-run`, staged and launched offline exactly as in `docs/PROJECTSCARLETT.md`, so the vkd3d-proton is the one Proton ships. **Where it gets to.** It starts, presents at 3840×2160 and keeps running; I've been stopping it at five minutes. The window is still black apart from TuxBox's progress panel. I have not seen the `fits=false` fail-fast on this setup, so that may be specific to system Wine with vkd3d-proton master, or to the 7600 XT. Two things that mattered here, both now merged: - #146: on an Intel CPU the title died at about 14 s on AMD-only instructions. Not relevant to an AMD CPU, but worth knowing if anyone else tests on Intel. - #148: on RADV every live buffer goes with each submission, and repeated page imports had pushed the title to about 13,000 buffers. That held presents to roughly 70 per 10 s; with the fix it is about 640. **On the invalid bytecode.** I see `Invalid shader bytecode` (vkd3d result -4) here too, a couple of hundred times per run, and it is not fatal with Proton's vkd3d-proton. The much larger class on this machine is result -3: with `VKD3D_SHADER_DEBUG=trace`, dxil-spirv reports `Failed to remap SRV 1:73`, `Failed to remap CBV 1:22` and similar, meaning a translated shader declares a binding the pipeline's root signature doesn't cover. I'm looking into that now. I can't say why Proton fails for you with `RPC_S_SERVER_UNAVAILABLE`. If you want to compare, the launch that works here is the offline one from the guide (`UMU_RUNTIME_UPDATE=0`, network namespace unshared) against a prefix TuxBox created itself.
Author
Owner

@⁠brcly on GitHub · 2026-11-25 07:49 UTC · original

I will say RPC_S unavailable is usual startup noise for proton, my work on LinUwUx has proven that as many successfully running games often see it, don't worry about that, as long as the game continues.

The other errors would be worth a look.

**@⁠brcly** on GitHub · 2026-11-25 07:49 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7156295256) I will say RPC_S unavailable is usual startup noise for proton, my work on LinUwUx has proven that as many successfully running games often see it, don't worry about that, as long as the game continues. The other errors would be worth a look.
Author
Owner

@⁠NathansDomainSolutions on GitHub · 2026-11-25 08:02 UTC · original

Two things, to avoid duplicate work:

JeffreyBytes: the Failed to remap SRV/CBV 1:N class looks like what #150 fixes for mesh pipelines. Mesh programs are now linked to their pixel consumer, and the mesh pipeline's pixel stage is translated against the guest root, so its root-less space1 CBVs are covered. On my 4070 this took slot 86 mesh failures from about 20 per run to 1. Worth testing on RADV before you go further down that path.

ReverendOzmund, exit 5: I'm taking this one, thanks for the minidump work. A first read of the fault site:

  • 0x1471bfb08 is the title's own virtual→physical page table. Bits 0–14 of each entry are a reference count; bits 20–40 are the physical page index.
  • The helper at +0x221ba60 returns -1 when the count is 0 or the physical index is at or above the pool size ([0x1471bfac8] >> 16).
  • So the free path is handed a page that was either released twice or never counted. That's title-side state. Our remap retirement only drops a host GPU import and doesn't write that table, so the "retired stale GPU import" line may be correlation. I'm checking which mapping call fails or returns differently just before.

I'll post what I find here.

**@⁠NathansDomainSolutions** on GitHub · 2026-11-25 08:02 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7156542966) Two things, to avoid duplicate work: **JeffreyBytes:** the `Failed to remap SRV/CBV 1:N` class looks like what #150 fixes for mesh pipelines. Mesh programs are now linked to their pixel consumer, and the mesh pipeline's pixel stage is translated against the guest root, so its root-less space1 CBVs are covered. On my 4070 this took slot 86 mesh failures from about 20 per run to 1. Worth testing on RADV before you go further down that path. **ReverendOzmund, exit 5:** I'm taking this one, thanks for the minidump work. A first read of the fault site: - `0x1471bfb08` is the title's own virtual→physical page table. Bits 0–14 of each entry are a reference count; bits 20–40 are the physical page index. - The helper at `+0x221ba60` returns `-1` when the count is 0 or the physical index is at or above the pool size (`[0x1471bfac8] >> 16`). - So the free path is handed a page that was either released twice or never counted. That's title-side state. Our remap retirement only drops a host GPU import and doesn't write that table, so the "retired stale GPU import" line may be correlation. I'm checking which mapping call fails or returns differently just before. I'll post what I find here.
Author
Owner

@⁠JeffreyBytes on GitHub · 2026-11-25 09:29 UTC · original

@⁠NathansDomainSolutions tested #150 on RADV (RX 6700 XT, Mesa 26.3.1, Proton Experimental, offline), main at 53bb4d6, after a full --prepare-only pass. Each run stopped at 300 s; counts are from the pipeline failure file.

before (97b8ad3 + #146 + #148) 53bb4d6
pipelines not delivered 5,848 5,804
VS+PS stand-in 2,565 2,567
MS+PS 0x80070057 1,704 1,700
MS+PS 0x80004001 347 337

So no change here for mesh pipelines. The log has no linked slot 86 MS line, and the MS+PS stage-failure lines now read linked=true, so the link is attempted and the pipeline is still rejected. With VKD3D_SHADER_DEBUG=trace for 150 s the driver side is almost all remaps: 4,857 Failed to remap SRV, 1,190 Failed to remap CBV, and only about 47 Input signature element ... not compatible. On this machine the signature case is the small one.

For the VS+PS class I traced the cause: compute_table::reflected only accepts a root with one descriptor table (optionally plus constants) for raster programs. Replaying captured pairs from a 120 s run offline, the rejected roots were two tables (1,746 pipelines), three tables + descriptor + constants (464) and two tables + constants (349). Those get an unrooted translation paired with the guest root, hence the remap errors. I haven't yet checked whether the mesh pipelines fail the same way.

Two other things from the same run, not yet investigated:

  • New refusals: s_load: dynamic soffset unsupported (581 pipelines) and unmapped descriptor ... in a heap-indexing pixel shader (212).
  • 131 Failed to import host memory and 262 failed allocations in 150 s, where earlier runs had one or two, and presents down from about 640 to about 300 per 10 s.

One testing note: automatic shader preparation is off for game_scarlett_master.exe, so after pulling translator changes the title stays on the loading screen with a cold cache. --prepare-only took 30 minutes here and fixed it.

Every figure is from a single run.

**@⁠JeffreyBytes** on GitHub · 2026-11-25 09:29 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7158401506) @⁠NathansDomainSolutions tested #150 on RADV (RX 6700 XT, Mesa 26.3.1, Proton Experimental, offline), `main` at `53bb4d6`, after a full `--prepare-only` pass. Each run stopped at 300 s; counts are from the pipeline failure file. | | before (`97b8ad3` + #146 + #148) | `53bb4d6` | | --- | --- | --- | | pipelines not delivered | 5,848 | 5,804 | | VS+PS stand-in | 2,565 | 2,567 | | MS+PS `0x80070057` | 1,704 | 1,700 | | MS+PS `0x80004001` | 347 | 337 | So no change here for mesh pipelines. The log has no `linked slot 86 MS` line, and the MS+PS stage-failure lines now read `linked=true`, so the link is attempted and the pipeline is still rejected. With `VKD3D_SHADER_DEBUG=trace` for 150 s the driver side is almost all remaps: 4,857 `Failed to remap SRV`, 1,190 `Failed to remap CBV`, and only about 47 `Input signature element ... not compatible`. On this machine the signature case is the small one. For the VS+PS class I traced the cause: `compute_table::reflected` only accepts a root with one descriptor table (optionally plus constants) for raster programs. Replaying captured pairs from a 120 s run offline, the rejected roots were two tables (1,746 pipelines), three tables + descriptor + constants (464) and two tables + constants (349). Those get an unrooted translation paired with the guest root, hence the remap errors. I haven't yet checked whether the mesh pipelines fail the same way. Two other things from the same run, not yet investigated: - New refusals: `s_load: dynamic soffset unsupported` (581 pipelines) and `unmapped descriptor ... in a heap-indexing pixel shader` (212). - 131 `Failed to import host memory` and 262 failed allocations in 150 s, where earlier runs had one or two, and presents down from about 640 to about 300 per 10 s. One testing note: automatic shader preparation is off for `game_scarlett_master.exe`, so after pulling translator changes the title stays on the loading screen with a cold cache. `--prepare-only` took 30 minutes here and fixed it. Every figure is from a single run.
Author
Owner

@⁠rcx2135 on GitHub · 2026-11-25 15:55 UTC · original

Following up on the player-selection comparison: the 22:20 receipt has a lit present-source sample #29; our same-revision RTX run reached XUserAddAsync but #29 was dark. If the successful log is still available, could you share just a sanitized excerpt: the first lit present sample line and the last non-clear draw to that source (VS/PS digests, target and bound texture view; anonymous A/B labels are enough)? If recorded, please include whether XUserAddResult completed and the shader-cache state/version and xshader/DXC/DXV/Proton versions used. “Not recorded” is useful too. No rerun, full log, private paths or game assets needed.

**@⁠rcx2135** on GitHub · 2026-11-25 15:55 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7167433131) Following up on the [player-selection comparison](https://git.gtahub.st/github/brcly--TuxBox/issues/1): the [22:20 receipt](https://github.com/brcly/TuxBox/blob/c217aa4cea981cfa6b13ff8ccbd4bebb13474f7f/evidence/projectscarlett-startup.json#L80-L112) has a lit present-source sample #29; our same-revision RTX run reached `XUserAddAsync` but #29 was dark. If the successful log is still available, could you share just a sanitized excerpt: the **first lit `present sample`** line and the last non-clear draw to that source (VS/PS digests, target and bound texture view; anonymous A/B labels are enough)? If recorded, please include whether `XUserAddResult` completed and the shader-cache state/version and xshader/DXC/DXV/Proton versions used. “Not recorded” is useful too. No rerun, full log, private paths or game assets needed.
Author
Owner

@⁠brcly on GitHub · 2026-11-26 00:25 UTC · original

I'm going to close this issue in favour of moving these discussions to.... discussions.

See you there!

**@⁠brcly** on GitHub · 2026-11-26 00:25 UTC · [original](https://github.com/brcly/TuxBox/issues/1#issuecomment-7178739439) I'm going to close this issue in favour of moving these discussions to.... discussions. See you there!
This discussion has been locked. Commenting is limited to contributors.
No description provided.