diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-24 21:09:27 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-24 21:09:27 -0500 |
| commit | 7ea226e65b87491b0977f23d6ff693145d64d02b (patch) | |
| tree | 39d3d45cd393db1a896d5e24a559e12257c5ed94 /docs/linux_proton.md | |
| parent | 52ef7df72f856e4be441bc2cb274838a17cfce28 (diff) | |
| parent | 0aecc5efab56a77eddf00ad6cefa046d42aaae6c (diff) | |
Merge main (0aecc5efa: #984 and #968) into the #939 merge
main now holds the #984 merge (18a22c1ae) and #968, queue slot 31 as CopyPageMappingsBatchX. Two conflicts: the include list of d3d12_xs_device.cpp (both includes kept) and the call order in xmem_test.cpp (the two page-mapping tests of #968 run after test_physical_pages, after the early return of #939's file-pools mode). The slot 31 dispatch of #968 stays ahead of the presentation routes, so #939's rule for queue slots 30 to 32 on a device that had a presentation handler does not reach it where xmem is linked.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'docs/linux_proton.md')
| -rw-r--r-- | docs/linux_proton.md | 14 |
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. |