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

Closed
opened 2026-11-23 17:03:57 +00:00 by ReverendOzmund · 24 comments
ReverendOzmund commented 2026-11-23 17:03:57 +00:00 (Migrated from github.com)
Contributor

Imported from brcly/TuxBox. Originally posted by ReverendOzmund on 2026-11-23T17:03:57Z.


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?

<!-- greyfinch-sync:brcly/TuxBox:issue:6564520468 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1). Originally posted by [ReverendOzmund](https://github.com/ReverendOzmund) on 2026-11-23T17:03:57Z. --- 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?
ValentinM83 commented 2026-11-23 23:51:01 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by ValentinM83 on 2026-11-23T23:51:01Z.


I would be happy to provide full testing on CachyOS.

<!-- greyfinch-sync:brcly/TuxBox:comment:7117430284 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7117430284). Originally posted by [ValentinM83](https://github.com/ValentinM83) on 2026-11-23T23:51:01Z. --- I would be happy to provide full testing on CachyOS.
brcly commented 2026-11-24 00:17:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-24T00:17:54Z.


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

<!-- greyfinch-sync:brcly/TuxBox:comment:7117919603 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7117919603). Originally posted by [brcly](https://github.com/brcly) on 2026-11-24T00:17:54Z. --- Sorry about the silence, today's been a big day, I'll add a license.
ReverendOzmund commented 2026-11-24 02:04:56 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by ReverendOzmund on 2026-11-24T02:04:56Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7119735844 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7119735844). Originally posted by [ReverendOzmund](https://github.com/ReverendOzmund) on 2026-11-24T02:04:56Z. --- 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.
NinosTech commented 2026-11-24 09:13:48 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by NinosTech on 2026-11-24T09:13:48Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7127128667 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7127128667). Originally posted by [NinosTech](https://github.com/NinosTech) on 2026-11-24T09:13:48Z. --- **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).
kekonn commented 2026-11-24 13:58:55 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by kekonn on 2026-11-24T13:58:55Z.


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

<!-- greyfinch-sync:brcly/TuxBox:comment:7133640682 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7133640682). Originally posted by [kekonn](https://github.com/kekonn) on 2026-11-24T13:58:55Z. --- CachyOS full AMD system here (5800X3D + 7900 XT). Would love to help with testing as well.
brcly commented 2026-11-24 14:50:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-24T14:50:37Z.


Hey guys, you can test whenever you want.

Just clone the repo and build it.

<!-- greyfinch-sync:brcly/TuxBox:comment:7135039868 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7135039868). Originally posted by [brcly](https://github.com/brcly) on 2026-11-24T14:50:37Z. --- Hey guys, you can test whenever you want. Just clone the repo and build it.
kekonn commented 2026-11-24 14:52:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by kekonn on 2026-11-24T14:52:52Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7135100461 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7135100461). Originally posted by [kekonn](https://github.com/kekonn) on 2026-11-24T14:52:52Z. --- 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.
smith-3 commented 2026-11-24 23:48:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by smith-3 on 2026-11-24T23:48:43Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7147821029 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7147821029). Originally posted by [smith-3](https://github.com/smith-3) on 2026-11-24T23:48:43Z. --- 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.
brcly commented 2026-11-24 23:50:42 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-24T23:50:42Z.


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

<!-- greyfinch-sync:brcly/TuxBox:comment:7147858230 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7147858230). Originally posted by [brcly](https://github.com/brcly) on 2026-11-24T23:50:42Z. --- The biggest effort I'd like to focus on atm is just shader translations so they compile properly, along with compilation speed.
smith-3 commented 2026-11-25 00:21:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by smith-3 on 2026-11-25T00:21:33Z.


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?

<!-- greyfinch-sync:brcly/TuxBox:comment:7148425759 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7148425759). Originally posted by [smith-3](https://github.com/smith-3) on 2026-11-25T00:21:33Z. --- 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?
brcly commented 2026-11-25 00:26:10 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-25T00:26:10Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7148507223 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7148507223). Originally posted by [brcly](https://github.com/brcly) on 2026-11-25T00:26:10Z. --- 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.
smith-3 commented 2026-11-25 00:34:48 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by smith-3 on 2026-11-25T00:34:48Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7148659016 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7148659016). Originally posted by [smith-3](https://github.com/smith-3) on 2026-11-25T00:34:48Z. --- 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.
ReverendOzmund commented 2026-11-25 01:08:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by ReverendOzmund on 2026-11-25T01:08:37Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7149249225 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7149249225). Originally posted by [ReverendOzmund](https://github.com/ReverendOzmund) on 2026-11-25T01:08:37Z. --- 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 commented 2026-11-25 01:15:24 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by ReverendOzmund on 2026-11-25T01:15:24Z.


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)

<!-- greyfinch-sync:brcly/TuxBox:comment:7149363027 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7149363027). Originally posted by [ReverendOzmund](https://github.com/ReverendOzmund) on 2026-11-25T01:15:24Z. --- 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)
brcly commented 2026-11-25 01:16:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-25T01:16:43Z.


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

<!-- greyfinch-sync:brcly/TuxBox:comment:7149384579 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7149384579). Originally posted by [brcly](https://github.com/brcly) on 2026-11-25T01:16:43Z. --- Gonna push a fix for some of the long compile times, just testing against reaching the games prologue
smith-3 commented 2026-11-25 02:10:30 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by smith-3 on 2026-11-25T02:10:30Z.


@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)

<!-- greyfinch-sync:brcly/TuxBox:comment:7150405004 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7150405004). Originally posted by [smith-3](https://github.com/smith-3) on 2026-11-25T02:10:30Z. --- @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)
ReverendOzmund commented 2026-11-25 03:15:16 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by ReverendOzmund on 2026-11-25T03:15:16Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7151739001 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7151739001). Originally posted by [ReverendOzmund](https://github.com/ReverendOzmund) on 2026-11-25T03:15:16Z. --- 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.
YaBulochka commented 2026-11-25 07:35:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by YaBulochka on 2026-11-25T07:35:52Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7156039493 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7156039493). Originally posted by [YaBulochka](https://github.com/YaBulochka) on 2026-11-25T07:35:52Z. --- 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.
JeffreyBytes commented 2026-11-25 07:41:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by JeffreyBytes on 2026-11-25T07:41:38Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7156146484 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7156146484). Originally posted by [JeffreyBytes](https://github.com/JeffreyBytes) on 2026-11-25T07:41:38Z. --- 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.
brcly commented 2026-11-25 07:49:36 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-25T07:49:36Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7156295256 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7156295256). Originally posted by [brcly](https://github.com/brcly) on 2026-11-25T07:49:36Z. --- 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.
NathansDomainSolutions commented 2026-11-25 08:02:46 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by NathansDomainSolutions on 2026-11-25T08:02:46Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7156542966 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7156542966). Originally posted by [NathansDomainSolutions](https://github.com/NathansDomainSolutions) on 2026-11-25T08:02:46Z. --- 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.
JeffreyBytes commented 2026-11-25 09:29:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by JeffreyBytes on 2026-11-25T09:29:27Z.


@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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7158401506 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7158401506). Originally posted by [JeffreyBytes](https://github.com/JeffreyBytes) on 2026-11-25T09:29:27Z. --- @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.
rcx2135 commented 2026-11-25 15:55:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by rcx2135 on 2026-11-25T15:55:25Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7167433131 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7167433131). Originally posted by [rcx2135](https://github.com/rcx2135) on 2026-11-25T15:55:25Z. --- Following up on the [player-selection comparison](https://github.com/brcly/TuxBox/issues/1#issuecomment-7149249225): 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.
brcly commented 2026-11-26 00:25:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-26T00:25:25Z.


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

See you there!

<!-- greyfinch-sync:brcly/TuxBox:comment:7178739439 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/1#issuecomment-7178739439). Originally posted by [brcly](https://github.com/brcly) on 2026-11-26T00:25:25Z. --- 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 labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
brcly/TuxBox#1
No description provided.