upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/linux_proton.md
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 20:13:40 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 20:17:45 -0500
commit7fcbf1fde67dffb641e0fa018aca80c15558561c (patch)
tree115a04a973e26d31ef3e1b76e533e9820b4bcfb3 /docs/linux_proton.md
parent255f17001705101aa2e484b9e2caaf1daab275e3 (diff)
docs: queue slot 31 (CopyPageMappingsBatchX) is handled
- docs/linux_proton.md: the branch no longer ignores slot 31; say what it maps now (destination and paired CPU view) and the two gaps that remain. - docs/d3d12_vulkan.md, section 4.9: a row for queue slot 31 with how its argument layout was established (read statically from the executable's call site, corroborated by a public project's queue, the pool size matching a boot, as #968 states it) and the known gap (mappings apply when the call is made, not in queue order); the PresentX row's "every other queue slot" now points at it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/linux_proton.md')
-rw-r--r--docs/linux_proton.md14
1 files changed, 9 insertions, 5 deletions
diff --git a/docs/linux_proton.md b/docs/linux_proton.md
index 30107cfeb..f98aacf14 100644
--- a/docs/linux_proton.md
+++ b/docs/linux_proton.md
@@ -101,11 +101,15 @@ Each item was a stop on at least one of the machines. Tests named in the pull re
101 101
102## Where it stops 102## Where it stops
103 103
104- **Streamed memory that never reaches its destination.** The title calls queue slot 31 (`CopyPageMappingsBatchX`) 104- **Streamed memory that reaches its destination late or not at all.** The title calls queue slot 31
105 about 300 times per boot and this branch still ignores it; tens of thousands of streamed views wait for memory 105 (`CopyPageMappingsBatchX`) about 300 times per boot. With #968 this branch maps each batch's pool pages at the
106 that never becomes readable. An open pull request in this repository implements it. 106 destination and at the paired CPU view the layer reads (`docs/d3d12_vulkan.md`, section 4.9), so most streamed
107- **Culling compute at world start** reads buffers named by descriptors in the directly indexed heap; with the 107 views find readable memory; before it, tens of thousands of them waited for memory that never became readable. Two gaps
108 point above unfixed those reads leave mapped memory and the device is lost (NVIDIA Xid 13/109 on Linux). 108 remain: the mappings change when the call is made, not in queue order, and a run with the CPU-view fix still had
109 views waiting after 420 s, apparently for ranges no mapping call had reached yet.
110- **Culling compute at world start** reads buffers named by descriptors in the directly indexed heap; where the
111 memory behind them is not mapped, those reads leave mapped memory and the device is lost (NVIDIA Xid 13/109 on
112 Linux).
109- **Mesh stages** do not get the heap offset yet. 113- **Mesh stages** do not get the heap offset yet.
110- **16 GB of RAM:** at the end of the load the process holds ~14.6 GB (RAM plus swap) on the Linux machine after the 114- **16 GB of RAM:** at the end of the load the process holds ~14.6 GB (RAM plus swap) on the Linux machine after the
111 cuts above. zram made this worse (compressed pages still occupy RAM); a swap file on disk is the better choice. 115 cuts above. zram made this worse (compressed pages still occupy RAM); a swap file on disk is the better choice.