Skip to content

docs: the workgroup-memory row's NVIDIA limit is 49,152 on the RTX 3060/3070 Windows drivers (PROC-298) - #5727

Open
Koro4e wants to merge 1 commit into
ItsNotRexed:mainfrom
Koro4e:proc-298-shared-memory
Open

Koro4e wants to merge 1 commit into
ItsNotRexed:mainfrom
Koro4e:proc-298-shared-memory

Conversation

@Koro4e

@Koro4e Koro4e commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue as: PROC-298, from @zzEmmazz's finding.

What and why

The "Workgroup memory limit" row of docs/design.md (SHADER-309) said NVIDIA reports maxComputeSharedMemorySize 65,536. The RTX 3070 on driver 610.74 reports 49,152 (@zzEmmazz), and this task's RTX 3060 on 617.14 also reports 49,152 (measured with vulkaninfo; the same machine's Radeon RDNA2 iGPU reads 32,768 on the AMD Windows driver, matching the row's AMD figure). The row now says 49,152 for those two NVIDIA Windows drivers, keeps the RADV 65,536 datapoint (#1721's repro dies 4 bytes over 64 KiB), and qualifies the earlier 65,536 NVIDIA measurement (towade in #1745, model not recorded) as not the rule across NVIDIA's Windows drivers - a module between 49,152 and 65,536 bytes is refused on at least the two drivers listed.

Docs only.

Tested

  • vulkaninfo on this machine: NVIDIA GeForce RTX 3060, driver 617.14 - maxComputeSharedMemorySize = 49152; AMD Radeon(TM) Graphics (RDNA2 iGPU, AMD proprietary) - 32768.
  • python -m pytest tests/test_docs_design_rows.py -q: 4 passed, 6 subtests passed. python -m pytest tests/test_docs_links.py -q: 6 passed.
  • git diff --check: clean.

Windows, CPU-only. No game files used.

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (No translator changes; the row the task points at was corrected.)

@Kam471 Kam471 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Head 4754520. CONFLICTING with main; not mergeable as is.

  • On the PR head: python -I -m pytest tests/test_docs_design_rows.py -q -> 4 passed, 6 subtests; python -I -m pytest tests/test_docs_links.py -q -> 6 passed; git diff --check -> clean.
  • 49,152 check on this host: vulkaninfo reports NVIDIA RTX 5070 Ti, 621.24, maxComputeSharedMemorySize = 49152. That corroborates the direction, but the exact RTX 3060 617.14 and RTX 3070 610.74 rows are not independently verified here.

Blockers: (1) git merge-tree --write-tree origin/main refs/remotes/pr/5727 -> CONFLICT (content) in docs/design.md. (2) The PR replaces the whole row as it was at 3faac55, so a naive resolution reverts main's newer "No game shader takes this path" / 37-of-485 correction. (3) Duplicate: #5753 is open, based on 561b65a, merges cleanly, and makes the same correction with a fuller sourced NVIDIA table plus the rdna2spirv.py comment.

Verdict: content is right, but blocked by the conflict and superseded by #5753; close it in favour of #5753 or rebase to the NVIDIA-only edit.

@Koro4e
Koro4e force-pushed the proc-298-shared-memory branch from 4754520 to 93e1d51 Compare November 23, 2026 12:13
@kapitche

Copy link
Copy Markdown
Contributor

Tested 93e1d51 merged with main 561b65a on Linux (WSL2), Python 3.12.16: pass

Docs-only (one sentence in the "Workgroup memory limit (SHADER-309)" row of docs/design.md). tests/test_docs_*.py: 11 files run, 11 OK, 0 failed. The row still has the same number of cells, and the new text adds no pipe characters. No other place in docs/ or tools/ repeats the old "65536 on RADV and NVIDIA" claim (grep), so the edit does not leave a contradicting statement. The code comment at tools/rdna2spirv.py line 51 only says 64 KiB is the largest limit drivers report, which stays true.

The 49,152 figures (RTX 3070 on NVIDIA 610.74, RTX 3060 on 617.14 via vulkaninfo) and the Radeon iGPU 32768 reading are hardware measurements I cannot reproduce here (this PC has an RTX 4080 SUPER and a UHD 770 only), so they are unchecked.

Negative control: not applicable to a prose change.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants