Turn on the shorter code table on RTX 50 cards (#221) #428
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-28T21:12:59Z.
Main 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
Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-28T21:47:36Z.
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
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:35:33Z.
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.
Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-30T17:04:29Z.
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.Imported from TaynanGT/Vice-Tay. Originally posted by zmelumian972 on 2026-11-30T17:25:19Z.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.