SHADERS. #16
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#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?
@brcly on GitHub · 2026-11-24 03:28 UTC · original
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.
@NathansDomainSolutions on GitHub · 2026-11-24 04:08 UTC · original
I've got claude opus on high ultracode going hella right now. He doing hella shit.
@smith-3 on GitHub · 2026-11-25 02:21 UTC · original
@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.@smith-3 on GitHub · 2026-11-25 02:36 UTC · original
@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.@nztom on GitHub · 2026-11-25 02:41 UTC · original
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?
@smith-3 on GitHub · 2026-11-25 02:43 UTC · original
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.@brcly on GitHub · 2026-11-25 02:48 UTC · original
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.
@NathansDomainSolutions on GitHub · 2026-11-25 03:21 UTC · original
@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
@ReverendOzmund on GitHub · 2026-11-25 03:21 UTC · original
Run record with hashes: #139
@smith-3 on GitHub · 2026-11-25 04:15 UTC · original
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.@nztom on GitHub · 2026-11-25 04:51 UTC · original
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
@theDVNVS on GitHub · 2026-11-25 05:25 UTC · original
Thanks to everyone contributing and working on this openly on such a level across projects, love to see that. Will try to add in
@brcly on GitHub · 2026-11-25 07:51 UTC · original
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.
@ReverendOzmund on GitHub · 2026-11-25 09:44 UTC · original
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.@tsunderejay on GitHub · 2026-11-25 21:23 UTC · original
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.
@brcly on GitHub · 2026-11-25 22:00 UTC · original · edited 2026-11-25 22:11 UTC
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.
@JeffreyBytes on GitHub · 2026-11-25 22:36 UTC · original
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.@brcly on GitHub · 2026-11-25 23:50 UTC · original
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.
@brcly on GitHub · 2026-11-26 00:26 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