Skip to content

SHADERS. #16

Backlog
Backlog

Description

@brcly

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.

Activity

  1. NathansDomainSolutions commented on Nov 24, 2026

    @NathansDomainSolutions
    Contributor

    I've got claude opus on high ultracode going hella right now. He doing hella shit.

  2. smith-3 commented on Nov 25, 2026

    @smith-3
    Contributor

    @NathansDomainSolutions I’ll take the compute v_mul_lo_u16 inline integer case and test that the other register half is preserved with a synthetic shader. Let me know if you’re already covering it.

  3. smith-3 commented on Nov 25, 2026

    @smith-3
    Contributor

    @NathansDomainSolutions I’ll take the compute v_sad_u8 case with an inline zero accumulator and verify it against a CPU reference with a synthetic shader.

  4. nztom commented on Nov 25, 2026

    @nztom

    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?

  5. smith-3 commented on Nov 25, 2026

    @smith-3
    Contributor

    I’ll take the compute v_mad_u32_u16 case with inline accumulator 7 and check all 64 synthetic shader outputs against a CPU reference on the RTX 4080 SUPER.

  6. brcly commented on Nov 25, 2026

    @brcly
    OwnerAuthor

    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.

  7. NathansDomainSolutions commented on Nov 25, 2026

    @NathansDomainSolutions
    Contributor

    @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

  8. ReverendOzmund commented on Nov 25, 2026

    @ReverendOzmund
    Contributor

    Run record with hashes: #139

  9. smith-3 commented on Nov 25, 2026

    @smith-3
    Contributor

    We found incorrect DPP16 quad permutations in v_or_b32, v_and_b32 and v_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.

  10. nztom commented on Nov 25, 2026

    @nztom

    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

  11. theDVNVS commented on Nov 25, 2026

    @theDVNVS

    Thanks to everyone contributing and working on this openly on such a level across projects, love to see that. Will try to add in

  12. brcly commented on Nov 25, 2026

    @brcly
    OwnerAuthor

    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.

  13. ReverendOzmund commented on Nov 25, 2026

    @ReverendOzmund
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions