Turn on the shorter code table on RTX 50 cards (#221) #428
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
old-names
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!428
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-428"
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?
@zmelumian972 on GitHub · 2026-11-28 21:12 UTC · original
zmelumian972:fix/221-code-table-start→main· +17 −0 · 1 files · 1 commits · openMain has the #221 fix (
code_table_start,ce27154a), but only behindVICE_TAY_CODE_TABLE_AFTER=1. It is off by default after the RTX 3080 Ti regression on #550. Nothing turns it on, so the cards that need it still crash: an RTX 5090 gets Xid 13 at the start of the intro, and an RTX 5080 reserves gigabytes of video memory.vice-tay playnow setsVICE_TAY_CODE_TABLE_AFTER=1when the adapter is an RTX 50 card (Blackwell, workstation cards included, viartx_generation). A value from F1 or--set(including0) wins. Older cards are unchanged. The switch is already part of the shader cache key.rtx_generations_from_namesnow also coversneeds_code_table_after(passes under Wine).Fixes #221 on RTX 50 cards.
🤖 Generated with Claude Code
@Kal0s-design on GitHub · 2026-11-28 21:47 UTC · original
For whoever merges: the change to
lower.rshere is line for line the same as #408 (samecode_table_start, sameTRANSLATOR_VERSION16 bump), ported from the same upstream commit. This PR adds the #221 explanation (the per-thread local array on vkd3d-proton/NVIDIA), which is a good reason on its own, but only one of the two should land. I ran the fullvictory-shadersuite natively on Windows for #408: 344 passed against 343 onmain, with the GPU execution tests included.AI-assisted: yes
@TaynanGT on GitHub · 2026-11-29 11:35 UTC · original
Thanks for identifying the duplicate implementation with #408. We should land the constant-table correction only once and preserve the Linux explanation and native Windows test evidence in the surviving change. I'll keep the translator version bump coordinated.
@zmelumian972 on GitHub · 2026-11-30 17:04 UTC · original
Superseded by the new main:
ce27154ahas this code-table start as the opt-inVICE_TAY_CODE_TABLE_AFTER=1, left off by default after the A/B test on #550.Shaders: a program's constant table starts after its instructions (#221)to Turn on the shorter code table on RTX 50 cards (#221)85a3ebffa9to09dcfa447d@zmelumian972 on GitHub · 2026-11-30 17:25 UTC · original
Reopened and rebased onto the rewritten main. The table-start logic is already on main behind
VICE_TAY_CODE_TABLE_AFTER(ce27154a). This PR now only turns it on for RTX 50 cards, which are the ones that fault with the whole-program table, and leaves older cards as #550 decided.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.