SHADERS. #16
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?
Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-24T03:28:01Z.
I just want to stress right now, that as much effort as possible needs to be put into shader translation.
It's the number 1 thing stopping TuxBox from booting in-game and working flawlessly.
Most other projects are using different approaches that often "brute-force" their way in-game.
Once shaders are solved, ProjectScarlett will be able to render in-game at a GOOD fps.
Imported from brcly/TuxBox. Originally posted by NathansDomainSolutions on 2026-11-24T04:08:50Z.
I've got claude opus on high ultracode going hella right now. He doing hella shit.
Imported from brcly/TuxBox. Originally posted by smith-3 on 2026-11-25T02:21:57Z.
@NathansDomainSolutions I’ll take the compute
v_mul_lo_u16inline integer case and test that the other register half is preserved with a synthetic shader. Let me know if you’re already covering it.Imported from brcly/TuxBox. Originally posted by smith-3 on 2026-11-25T02:36:42Z.
@NathansDomainSolutions I’ll take the compute
v_sad_u8case with an inline zero accumulator and verify it against a CPU reference with a synthetic shader.Imported from brcly/TuxBox. Originally posted by nztom on 2026-11-25T02:41:06Z.
I want to contribute to this but I don't know how.
I have zero experience with porting and only minimal with wine/proton.
I see you want people focusing on shaders.
The only thing I can realistically offer is tokens.
How can I best contribute if at all?
Imported from brcly/TuxBox. Originally posted by smith-3 on 2026-11-25T02:43:11Z.
I’ll take the compute
v_mad_u32_u16case with inline accumulator7and check all 64 synthetic shader outputs against a CPU reference on the RTX 4080 SUPER.Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-25T02:48:09Z.
Tokens and AI is enough.
We just need as much man power into both successful and optimized compilation.
Shaders are a crucial part of a games functionality and it won't run or look correct without them.
I'm facing a small issue with continuing past a loading screen of a recent title to its cutscenes / prologue rendering.
Once past that point the reality of how many more need support will be realized.
I'm trying atm to translate and compile as many of the currently known ones as possible, however, first boot of a game without cached shaders can still take upwards of 10 minutes to get through sometimes and some shaders seem to sometimes cause the game to hang completely and not continue.
We're at a stage now of coverage and optimization for what's known.
Imported from brcly/TuxBox. Originally posted by NathansDomainSolutions on 2026-11-25T03:21:12Z.
@nztom Ask ChatGPT how to install claude to the terminal, then do what he say. After claude is in terminal you finna say to claude do as much shaders as you can rapid and point him to this github link
Imported from brcly/TuxBox. Originally posted by ReverendOzmund on 2026-11-25T03:21:13Z.
Run record with hashes: #139
Imported from brcly/TuxBox. Originally posted by smith-3 on 2026-11-25T04:15:44Z.
We found incorrect DPP16 quad permutations in
v_or_b32,v_and_b32andv_xor_b32. With our local fix, all 2,496 compute outputs and 1,644 drawn pixels matched the CPU reference on an RTX 4080 SUPER across 75 synthetic shaders. This covers both FI settings, including masked source lanes.Imported from brcly/TuxBox. Originally posted by nztom on 2026-11-25T04:51:00Z.
I've asked codex to to monitor issues and follow directives from established contributors and given it your feedback. If you @ me it will hopefully pick it up and do as its told but I'll check back periodically also
Imported from brcly/TuxBox. Originally posted by theDVNVS on 2026-11-25T05:25:31Z.
Thanks to everyone contributing and working on this openly on such a level across projects, love to see that. Will try to add in
Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-25T07:51:23Z.
Fantastic progress guys, I do appreciate all the help.
I'm still on the teetering edge of actually getting in game without crashing, hopefully we'll have progress soon.
With everyone's help so far, we've already gained 50% shader coverage compared to this time yesterday.
Now, it may not be translating correctly per say, but the fact they compile is a good start, making it look correct is the milestone after.
Imported from brcly/TuxBox. Originally posted by ReverendOzmund on 2026-11-25T09:44:16Z.
With slots 148/80 implemented (#156) on main
53bb4d6, ProjectScarlett on an RTX 3080 Ti now sets a current mission (0x98c85f2a at frame 2,351, 4m29s, 47 peds / 227 vehicles), then crashes 7 frames later. The crash is deliberate: game_scarlett_master.exe+0x23cf683 decodes the label "GPU Loc Sig", logs it, and writes 0x4d8bd421 to address 0. 10 GPU memory waits were released by the 5 s timeout in the same run, so this may be a GPU-progress watchdog firing on work that never completes. I haven't looked further into the check itself.Imported from brcly/TuxBox. Originally posted by tsunderejay on 2026-11-25T21:23:33Z.
Current local full-package preparation: 30,939 requests checked, 16,074 compiled, 5,021 cached, 9,844 unsupported, 0 failed. The largest refusal group is mesh root signature missing (8,699), followed by divergent wave reductions (291), non-constant lane ops (143), and raw-buffer IDXEN stride (126). A subsequent RTX 3050 run reached 35,194 frames but stayed black; its failure TSV ranked 2,009 undelivered pipelines, including 615 translated-then-rejected and 144 divergent-wave refusals. So shader coverage is still the dominant blocker, but completion alone is not sufficient for visuals.
Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-25T22:00:21Z.
Ok, I'm gonna be switching TuxBox to default to GE-Proton11-14
VKD3D-Proton had some huge changes in the last few days that I was not aware about that drastically speed up shader compilation time.
I was surprised, but TuxBox's actual shader translation code wasn't causing a huge overhead. VKD3D-Proton infact was.
This change, with a few more I'm gonna change before reviewing the PR's should helpfully drastically lower cold-cache compilation times.
Imported from brcly/TuxBox. Originally posted by JeffreyBytes on 2026-11-25T22:36:20Z.
One AMD data point before the default changes. On an RX 6700 XT (Mesa 26.3.1 RADV), GE-Proton11-14 (vkd3d-proton
v3.1-83-gcae8353ed) behaves the same as Proton Experimental for #191:buffer-remapfails withremap readback differs, ProjectScarlett presents only black (lit=0.000on all 161 samples in 300 s), and with the preload from #191 it reaches the Account Picker (lit=0.998 mean=(32,32,44)). Note that this vkd3d-proton logsFailed to import host memoryonce, where Proton Experimental logs it 131 times in the same run, so that line can no longer be used to count refused imports.Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-25T23:50:59Z.
Ok, I'm gonna put more effort into separating the AMD and Nvidia pipelines so we're not clashing and hopefully have a better overall experience for both card brands.
As I started this project on my Nvidia card, I had no idea the experience AMD users are having and vice versa.
Give me a bit of time to cook up a solution to help both parties.
Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-26T00:26:06Z.
I'm going to close this issue in favour of moving these discussions to.... discussions.
See you there!