Collab offer + GTA VI exe testing on Linux (Bazzite/Proton) #1
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/brcly--TuxBox#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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?
@ValentinM83 on GitHub · 2026-11-23 23:51 UTC · original
I would be happy to provide full testing on CachyOS.
@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.
@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.
@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.
@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.
@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.
@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.
@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.
@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.
@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
xshaderrejected 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 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.
@smith-3 on GitHub · 2026-11-25 00:34 UTC · original
I'll take integer immediates in
v_add_nc_i16andv_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 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: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)
@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
@smith-3 on GitHub · 2026-11-25 02:10 UTC · original
@brcly I tested
3f2a717on 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)
@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
97b8ad3stopped 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 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).
mainat97b8ad3, built with the bundledbuild.py all --dxc ...(xwin SDK + rustup msvc target). Backend:wine(system Wine 11.22), not Proton - the Proton path dies atRPC_S_SERVER_UNAVAILABLEinside the first 2 s here, before any TuxBox code runs.Two manual steps were needed:
build.py all, the DLLs live inbuild/<component>/; nothing copies them next to the exe. I staged the 11build/*/*.dllbesidegame_scarlett_master.exeby hand, otherwise the loader fails withc0000135ond3d12_xs.dll,xmem.dll,AcpHal.dll,xcrdapi.dll,xapu.dll,XboxBvhBuilder.dll.Feature level 0xc000 is not supportedand the game fail-fasts immediately. WithWINEDLLOVERRIDES="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:
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:
fits=falsepath expected to fail-fast on a host without tiled resources, or should it fall back to a committed texture?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 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.
mainat78c9017. Backend is Valve's Proton Experimental (experimental-11.0-20261112) throughumu-run, staged and launched offline exactly as indocs/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=falsefail-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:
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: withVKD3D_SHADER_DEBUG=trace, dxil-spirv reportsFailed to remap SRV 1:73,Failed to remap CBV 1:22and 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 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.
@NathansDomainSolutions on GitHub · 2026-11-25 08:02 UTC · original
Two things, to avoid duplicate work:
JeffreyBytes: the
Failed to remap SRV/CBV 1:Nclass 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:
0x1471bfb08is 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.+0x221ba60returns-1when the count is 0 or the physical index is at or above the pool size ([0x1471bfac8] >> 16).I'll post what I find here.
@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),
mainat53bb4d6, after a full--prepare-onlypass. Each run stopped at 300 s; counts are from the pipeline failure file.97b8ad3+ #146 + #148)53bb4d60x800700570x80004001So no change here for mesh pipelines. The log has no
linked slot 86 MSline, and the MS+PS stage-failure lines now readlinked=true, so the link is attempted and the pipeline is still rejected. WithVKD3D_SHADER_DEBUG=tracefor 150 s the driver side is almost all remaps: 4,857Failed to remap SRV, 1,190Failed to remap CBV, and only about 47Input 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::reflectedonly 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:
s_load: dynamic soffset unsupported(581 pipelines) andunmapped descriptor ... in a heap-indexing pixel shader(212).Failed to import host memoryand 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-onlytook 30 minutes here and fixed it.Every figure is from a single run.
@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
XUserAddAsyncbut #29 was dark. If the successful log is still available, could you share just a sanitized excerpt: the first litpresent sampleline 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 whetherXUserAddResultcompleted 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 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!
buffer-remapregression control fails on RADV, with host memory imports refused #191