ProjectScarlett at 3840x2160: native copies of guest textures reach 9.2 GB by the loading screen, and a 12 GB card runs out of memory #292

Open
opened 2026-11-27 02:04:54 +00:00 by JeffreyBytes · 25 comments
JeffreyBytes commented 2026-11-27 02:04:54 +00:00 (Migrated from github.com)
Contributor

Imported from brcly/TuxBox. Originally posted by JeffreyBytes on 2026-11-27T02:04:54Z.


What happens

With #258 (d50a51c) the RX 6700 XT runs ProjectScarlett without the #191 preload and gets through the page-remap batch, but every run then ends on the story loading screen: VRAM fills, GTT climbs, and the kernel refuses a submit (radv/amdgpu: Not enough memory for command submission, device lost) or the title's watchdog fires on stalled label waits. The run reports are on #258. @DrArroway measured about 28.5 GiB of VRAM + GTT on a 16 GB / 64 GB machine once the world streams, against about 27.5 GiB available on a 12 GB / 32 GB one.

The console has 16 GB in total, so most of that is how the provider holds data, not what the title needs. This issue is a breakdown of where it goes, from one run.

Setup

RX 6700 XT (1002:73df, 12 GB), 32 GB RAM, Mesa RADV 26.3.1, Linux 7.3.6, GE-Proton11-14, ProjectScarlett 1.0.2.1 offline, 3840x2160, shaders prepared, no LD_PRELOAD. Build: #258 at d50a51c plus one local diagnostic commit that counts the provider's live native objects by category and logs them every 5 s (TUXBOX_TRACE_GPU_MEMORY=1). The counters go down when the native object is released. Sizes are approximate (GetResourceAllocationInfo for textures). The commit is on my fork as local/mem-accounting; it is a measuring aid, not something I am proposing to merge as it is.

Result

Native device memory the provider holds, MiB (live objects in parentheses). The page-remap batch is at about 90 s.

time native copies of guest textures render heaps staging total counted CPU-side texture snapshots (host RAM, upper bound) imported guest pages (not new memory)
62 s 1,416 (1,151) 3,022 0 4,562 1,313 1,112
77 s 2,382 (16,253) 3,022 0 5,529 1,360 1,139
107 s 5,971 (17,585) 3,000 0 9,094 5,048 1,446
153 s 7,581 (22,677) 3,000 0 10,705 6,467 1,687
199 s 9,184 (27,566) 3,000 0 12,308 7,895 1,975
234 s (last) 9,222 (28,190) 3,000 1,659 14,009 7,895 2,607

Driver counters for the game process at the last sample (/proc/<pid>/fdinfo): amd-requested-vram 13,425 MiB, amd-requested-gtt 7,626 MiB, drm-memory-vram 9,809 MiB, drm-memory-gtt 11,241 MiB. Card totals: VRAM 12,271 of 12,272 MiB used, GTT 11,335 of 15,913 MiB. This run ended with the label-wait stall and the watchdog at 269 s; the two before it on d50a51c ended the same way or with the submit refused when GTT reached its total.

So:

  • Two thirds of the native memory is copies of guest textures: 9.2 GB in 28,190 native images at the end, growing from 1.4 GB before the title starts streaming. Committed render targets are 64 MiB, and nothing is on default, upload or readback heaps of the provider's own.
  • Each of those textures also has a CPU-side snapshot, up to 7.9 GB of host RAM, on top of the guest pages the title wrote them to. That is the same texel data three times: guest pages, host snapshot, native image.
  • Render heaps are a flat 3.0 GB from the menu on.
  • Imported guest memory is small (2.6 GB of guest pages pinned, no new memory), which matches the hold numbers on #258.

Where the copies come from (reading the code, not measured further)

  • runtime/d3d12/src/device/placement.rs: a CPU-visible texture placed at a guest address gets a committed native image on a DEFAULT heap, and Contents::previous keeps an exact per-mip copy of what was uploaded so later writes to the guest pages can be detected.
  • runtime/d3d12/src/device/heap.rs (RenderHeaps::acquire): images placed at guest addresses get device heaps while the guest range stays committed.

Buffers are imported in place now (#218, #253, #258). Textures are not, and on Vulkan they probably cannot be in general (console tiling and layouts differ from what a host image can alias), so I am not suggesting that. Cheaper things might be possible: dropping the CPU snapshot where a write-watch or a hash would do, releasing native images the title has stopped referencing, or creating the native image on first use rather than at placement.

What I am asking

Whether someone who knows the placement code sees which of these is realistic. I can run any candidate on this card, where the limit is hit two minutes after the picker, and report the same table.

Not established

  • One run with the accounting; the totals and the shape matched the driver counters of four earlier runs, but the per-category numbers have not been repeated.
  • What the 1.66 GB of staging in the last sample is (four objects that appear in the final 20 s).
  • About 3 GB of amd-requested-gtt at the end that the provider-side counters do not explain; vkd3d-proton's own allocations are not counted.
  • Whether the native images that stay alive are still referenced by the title.
<!-- greyfinch-sync:brcly/TuxBox:issue:6638444552 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292). Originally posted by [JeffreyBytes](https://github.com/JeffreyBytes) on 2026-11-27T02:04:54Z. --- ## What happens With #258 (`d50a51c`) the RX 6700 XT runs ProjectScarlett without the #191 preload and gets through the page-remap batch, but every run then ends on the story loading screen: VRAM fills, GTT climbs, and the kernel refuses a submit (`radv/amdgpu: Not enough memory for command submission`, device lost) or the title's watchdog fires on stalled label waits. The run reports are on #258. @DrArroway measured about 28.5 GiB of VRAM + GTT on a 16 GB / 64 GB machine once the world streams, against about 27.5 GiB available on a 12 GB / 32 GB one. The console has 16 GB in total, so most of that is how the provider holds data, not what the title needs. This issue is a breakdown of where it goes, from one run. ## Setup RX 6700 XT (`1002:73df`, 12 GB), 32 GB RAM, Mesa RADV 26.3.1, Linux 7.3.6, GE-Proton11-14, ProjectScarlett 1.0.2.1 offline, 3840x2160, shaders prepared, no `LD_PRELOAD`. Build: #258 at `d50a51c` plus one local diagnostic commit that counts the provider's live native objects by category and logs them every 5 s (`TUXBOX_TRACE_GPU_MEMORY=1`). The counters go down when the native object is released. Sizes are approximate (`GetResourceAllocationInfo` for textures). The commit is on my fork as [`local/mem-accounting`](https://github.com/JeffreyBytes/TuxBox/tree/local/mem-accounting); it is a measuring aid, not something I am proposing to merge as it is. ## Result Native device memory the provider holds, MiB (live objects in parentheses). The page-remap batch is at about 90 s. | time | native copies of guest textures | render heaps | staging | total counted | CPU-side texture snapshots (host RAM, upper bound) | imported guest pages (not new memory) | | --- | --- | --- | --- | --- | --- | --- | | 62 s | 1,416 (1,151) | 3,022 | 0 | 4,562 | 1,313 | 1,112 | | 77 s | 2,382 (16,253) | 3,022 | 0 | 5,529 | 1,360 | 1,139 | | 107 s | 5,971 (17,585) | 3,000 | 0 | 9,094 | 5,048 | 1,446 | | 153 s | 7,581 (22,677) | 3,000 | 0 | 10,705 | 6,467 | 1,687 | | 199 s | 9,184 (27,566) | 3,000 | 0 | 12,308 | 7,895 | 1,975 | | 234 s (last) | 9,222 (28,190) | 3,000 | 1,659 | 14,009 | 7,895 | 2,607 | Driver counters for the game process at the last sample (`/proc/<pid>/fdinfo`): `amd-requested-vram` 13,425 MiB, `amd-requested-gtt` 7,626 MiB, `drm-memory-vram` 9,809 MiB, `drm-memory-gtt` 11,241 MiB. Card totals: VRAM 12,271 of 12,272 MiB used, GTT 11,335 of 15,913 MiB. This run ended with the label-wait stall and the watchdog at 269 s; the two before it on `d50a51c` ended the same way or with the submit refused when GTT reached its total. So: - **Two thirds of the native memory is copies of guest textures**: 9.2 GB in 28,190 native images at the end, growing from 1.4 GB before the title starts streaming. Committed render targets are 64 MiB, and nothing is on default, upload or readback heaps of the provider's own. - **Each of those textures also has a CPU-side snapshot**, up to 7.9 GB of host RAM, on top of the guest pages the title wrote them to. That is the same texel data three times: guest pages, host snapshot, native image. - **Render heaps are a flat 3.0 GB** from the menu on. - **Imported guest memory is small** (2.6 GB of guest pages pinned, no new memory), which matches the hold numbers on #258. ## Where the copies come from (reading the code, not measured further) - `runtime/d3d12/src/device/placement.rs`: a CPU-visible texture placed at a guest address gets a committed native image on a DEFAULT heap, and `Contents::previous` keeps an exact per-mip copy of what was uploaded so later writes to the guest pages can be detected. - `runtime/d3d12/src/device/heap.rs` (`RenderHeaps::acquire`): images placed at guest addresses get device heaps while the guest range stays committed. Buffers are imported in place now (#218, #253, #258). Textures are not, and on Vulkan they probably cannot be in general (console tiling and layouts differ from what a host image can alias), so I am not suggesting that. Cheaper things might be possible: dropping the CPU snapshot where a write-watch or a hash would do, releasing native images the title has stopped referencing, or creating the native image on first use rather than at placement. ## What I am asking Whether someone who knows the placement code sees which of these is realistic. I can run any candidate on this card, where the limit is hit two minutes after the picker, and report the same table. ## Not established - One run with the accounting; the totals and the shape matched the driver counters of four earlier runs, but the per-category numbers have not been repeated. - What the 1.66 GB of staging in the last sample is (four objects that appear in the final 20 s). - About 3 GB of `amd-requested-gtt` at the end that the provider-side counters do not explain; vkd3d-proton's own allocations are not counted. - Whether the native images that stay alive are still referenced by the title.
brcly commented 2026-11-27 02:09:07 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-27T02:09:07Z.


Yeah, this seems to be one of the last blockers to getting in the game.

I can look into a solution and I emplore others to do so as well.

Realistically, the way we have to handle this is to keep certain resources out of RAM + VRAM and only load when ready to display.

I'll try and dig and see what I can find.

<!-- greyfinch-sync:brcly/TuxBox:comment:7207875172 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7207875172). Originally posted by [brcly](https://github.com/brcly) on 2026-11-27T02:09:07Z. --- Yeah, this seems to be one of the last blockers to getting in the game. I can look into a solution and I emplore others to do so as well. Realistically, the way we have to handle this is to keep certain resources out of RAM + VRAM and only load when ready to display. I'll try and dig and see what I can find.
NickStallman commented 2026-11-27 02:20:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-11-27T02:20:23Z.


Some numbers from the NVIDIA side that may help separate the two endings. They come from an RTX 5090 (32 GB), 3840x2160 output, with a local probe build on e76ff6a + #235:

  • We get the same stall with plenty of memory free. The story intro runs at one frame per 12–18 s, and the label waits are force-released after 5 s, which is the #215 picture. So the watchdog endings on your card are probably #215 itself, with running out of memory making it worse rather than causing it.

  • Publication is what makes it big. Any batch with a whole-heap descriptor range counts every UAV-viewed placed texture as written. Over 354 s of the world phase that gave:

    • 319 publication jobs;
    • about 667 MiB read back and written to title memory per job (269–278 textures, 755–762 MB at the slowest);
    • 208 GiB written back in total, against 10 MiB re-uploaded from title memory in the same period.

    Each job allocates a readback buffer of that size, which may be what your staging figure is catching. The per-mip CPU snapshots in your table are the copies each submit compares against: 250 GiB read and compared in that phase.

  • Narrowing the write set to the textures a pipeline can actually store to would cut the readback allocations and the per-job traffic. It wouldn't reduce the number of native images or the size of the snapshots held. I'm working on that narrowing, building on the findings in #215.

<!-- greyfinch-sync:brcly/TuxBox:comment:7208036724 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7208036724). Originally posted by [NickStallman](https://github.com/NickStallman) on 2026-11-27T02:20:23Z. --- Some numbers from the NVIDIA side that may help separate the two endings. They come from an RTX 5090 (32 GB), 3840x2160 output, with a local probe build on e76ff6a + #235: - **We get the same stall with plenty of memory free.** The story intro runs at one frame per 12–18 s, and the label waits are force-released after 5 s, which is the #215 picture. So the watchdog endings on your card are probably #215 itself, with running out of memory making it worse rather than causing it. - **Publication is what makes it big.** Any batch with a whole-heap descriptor range counts every UAV-viewed placed texture as written. Over 354 s of the world phase that gave: - 319 publication jobs; - about 667 MiB read back and written to title memory per job (269–278 textures, 755–762 MB at the slowest); - 208 GiB written back in total, against 10 MiB re-uploaded from title memory in the same period. Each job allocates a readback buffer of that size, which may be what your staging figure is catching. The per-mip CPU snapshots in your table are the copies each submit compares against: 250 GiB read and compared in that phase. - **Narrowing the write set** to the textures a pipeline can actually store to would cut the readback allocations and the per-job traffic. It wouldn't reduce the number of native images or the size of the snapshots held. I'm working on that narrowing, building on the findings in #215.
JeffreyBytes commented 2026-11-27 02:25:05 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by JeffreyBytes on 2026-11-27T02:25:05Z.


Follow-up with the question I left open: are the native texture copies in use? On this card, almost none of them are, and almost none have ever had anything uploaded into them.

I extended the local trace (same branch on my fork, now two commits) to stamp each native copy of a guest texture when a submission uses it, when a view is created over it, and when the provider uploads guest bytes into it. One no-preload run of #258 d50a51c plus the trace, RX 6700 XT, 3840x2160; this one ended with Not enough memory for command submission at 186 s.

time live native copies never used by any submission never uploaded to CPU snapshots actually allocated staging
41 s 1,138 / 1,398 MiB 1,121 / 1,357 MiB 1,118 / 1,352 MiB 58 MiB 0.5 MiB
71 s 16,253 / 2,382 MiB 16,223 / 2,323 MiB 16,220 / 2,318 MiB 84 MiB 0.5 MiB
101 s 20,968 / 7,376 MiB 20,936 / 7,350 MiB 20,926 / 7,345 MiB 82 MiB 0.8 MiB
131 s 24,635 / 8,440 MiB 24,603 / 8,415 MiB 24,593 / 8,409 MiB 82 MiB 0.8 MiB
147 s 25,743 / 8,656 MiB 25,274 / 7,736 MiB 25,255 / 7,729 MiB 1,060 MiB 4,981 MiB
152 s 25,756 / 8,656 MiB 25,254 / 7,631 MiB 25,237 / 7,627 MiB 1,240 MiB 3,117 MiB
162 s (last) 25,756 / 8,656 MiB 25,254 / 7,631 MiB 25,237 / 7,627 MiB 1,240 MiB 10,737 MiB (16 objects)

What I read from it:

  • Up to the point where the world starts drawing, 99.6% of the VRAM held by guest texture copies is images nothing has been uploaded to (8,409 of 8,440 MiB at 131 s), and at the end it is still 88% (7,627 of 8,656 MiB). The native image is allocated when the title creates a view over the guest address (never_titled in the trace: 23,357 of the 25,756 come from address-only SRVs), long before anything draws with it, if anything ever does. Creating the native image at the first upload instead would have kept about 7.6 GB of VRAM free here. That is the "load when ready to display" direction, and this says how much it is worth on this path.
  • A correction to my first table: the CPU-side snapshots are much smaller than the upper bound I gave (7.9 GB). They are only allocated for textures that have been uploaded: 82 MiB during loading, 1.2 GB once drawing starts. They track use, so they are not the problem on a 12 GB card.
  • What actually ends the run is staging. It is flat at under 1 MiB for 130 s, then goes to 5 GB, 3 GB, 7.8 GB and 10.7 GB in 16 objects over the last 15 s, at the same time as the first 500 textures are used. That fits @NickStallman's publication readback buffers (several hundred MiB per job), so his narrowing of the write set looks like the fix for the out-of-memory ending, and it would matter on any card.
  • Possible orphans: 8,397 copies (2.55 GB) are overlapped by a newer image at an overlapping guest address, and the base address of 169 (527 MiB) is no longer committed. None had lost all title references (released=0), so the provider is not parking anything itself; the title, or a descriptor slot, still names them. Nothing evicts a copy today.

So on a 12 GB card the two things worth doing look like: do not allocate the native image until the first upload (about 7.6 GB here), and bound the publication readback (about 10 GB at the peak here). Both would have to hold before this card can get past the loading screen.

Limits: one run. "Used" is counted per submission and over-counts when a whole descriptor heap is bound, so the never-used numbers are lower bounds; the never-uploaded column does not have that problem. Descriptor copies and Map are not counted as uses.

I can run either change on this card when there is a branch, with the same table.

<!-- greyfinch-sync:brcly/TuxBox:comment:7208106305 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7208106305). Originally posted by [JeffreyBytes](https://github.com/JeffreyBytes) on 2026-11-27T02:25:05Z. --- Follow-up with the question I left open: are the native texture copies in use? On this card, almost none of them are, and almost none have ever had anything uploaded into them. I extended the local trace (same branch on my fork, now two commits) to stamp each native copy of a guest texture when a submission uses it, when a view is created over it, and when the provider uploads guest bytes into it. One no-preload run of #258 `d50a51c` plus the trace, RX 6700 XT, 3840x2160; this one ended with `Not enough memory for command submission` at 186 s. | time | live native copies | never used by any submission | never uploaded to | CPU snapshots actually allocated | staging | | --- | --- | --- | --- | --- | --- | | 41 s | 1,138 / 1,398 MiB | 1,121 / 1,357 MiB | 1,118 / 1,352 MiB | 58 MiB | 0.5 MiB | | 71 s | 16,253 / 2,382 MiB | 16,223 / 2,323 MiB | 16,220 / 2,318 MiB | 84 MiB | 0.5 MiB | | 101 s | 20,968 / 7,376 MiB | 20,936 / 7,350 MiB | 20,926 / 7,345 MiB | 82 MiB | 0.8 MiB | | 131 s | 24,635 / 8,440 MiB | 24,603 / 8,415 MiB | 24,593 / 8,409 MiB | 82 MiB | 0.8 MiB | | 147 s | 25,743 / 8,656 MiB | 25,274 / 7,736 MiB | 25,255 / 7,729 MiB | 1,060 MiB | 4,981 MiB | | 152 s | 25,756 / 8,656 MiB | 25,254 / 7,631 MiB | 25,237 / 7,627 MiB | 1,240 MiB | 3,117 MiB | | 162 s (last) | 25,756 / 8,656 MiB | 25,254 / 7,631 MiB | 25,237 / 7,627 MiB | 1,240 MiB | 10,737 MiB (16 objects) | What I read from it: - **Up to the point where the world starts drawing, 99.6% of the VRAM held by guest texture copies is images nothing has been uploaded to** (8,409 of 8,440 MiB at 131 s), and at the end it is still 88% (7,627 of 8,656 MiB). The native image is allocated when the title creates a view over the guest address (`never_titled` in the trace: 23,357 of the 25,756 come from address-only SRVs), long before anything draws with it, if anything ever does. Creating the native image at the first upload instead would have kept about 7.6 GB of VRAM free here. That is the "load when ready to display" direction, and this says how much it is worth on this path. - **A correction to my first table:** the CPU-side snapshots are much smaller than the upper bound I gave (7.9 GB). They are only allocated for textures that have been uploaded: 82 MiB during loading, 1.2 GB once drawing starts. They track use, so they are not the problem on a 12 GB card. - **What actually ends the run is staging.** It is flat at under 1 MiB for 130 s, then goes to 5 GB, 3 GB, 7.8 GB and 10.7 GB in 16 objects over the last 15 s, at the same time as the first 500 textures are used. That fits @NickStallman's publication readback buffers (several hundred MiB per job), so his narrowing of the write set looks like the fix for the out-of-memory ending, and it would matter on any card. - **Possible orphans:** 8,397 copies (2.55 GB) are overlapped by a newer image at an overlapping guest address, and the base address of 169 (527 MiB) is no longer committed. None had lost all title references (`released=0`), so the provider is not parking anything itself; the title, or a descriptor slot, still names them. Nothing evicts a copy today. So on a 12 GB card the two things worth doing look like: do not allocate the native image until the first upload (about 7.6 GB here), and bound the publication readback (about 10 GB at the peak here). Both would have to hold before this card can get past the loading screen. Limits: one run. "Used" is counted per submission and over-counts when a whole descriptor heap is bound, so the never-used numbers are lower bounds; the never-uploaded column does not have that problem. Descriptor copies and `Map` are not counted as uses. I can run either change on this card when there is a branch, with the same table.
JeffreyBytes commented 2026-11-27 02:32:05 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by JeffreyBytes on 2026-11-27T02:32:05Z.


I'm trying a prototype of the first of those (allocating the native image at first upload instead of at placement or view creation) on this card. I'll post what it does to the table either way; say so if you already have this in hand and I'll test yours instead.

<!-- greyfinch-sync:brcly/TuxBox:comment:7208211951 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7208211951). Originally posted by [JeffreyBytes](https://github.com/JeffreyBytes) on 2026-11-27T02:32:05Z. --- I'm trying a prototype of the first of those (allocating the native image at first upload instead of at placement or view creation) on this card. I'll post what it does to the table either way; say so if you already have this in hand and I'll test yours instead.
JeffreyBytes commented 2026-11-27 07:07:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by JeffreyBytes on 2026-11-27T07:07:54Z.


Status on the first-upload prototype: my test machine is unreachable until about Saturday midday, so I can't run or push anything until then. The work in progress is local to that box. If anyone wants to take this direction in the meantime, go ahead, and I'll test your branch on the RX 6700 XT when I'm back instead of finishing mine. Otherwise I'll pick it up Saturday and post the table.

<!-- greyfinch-sync:brcly/TuxBox:comment:7212172508 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7212172508). Originally posted by [JeffreyBytes](https://github.com/JeffreyBytes) on 2026-11-27T07:07:54Z. --- Status on the first-upload prototype: my test machine is unreachable until about Saturday midday, so I can't run or push anything until then. The work in progress is local to that box. If anyone wants to take this direction in the meantime, go ahead, and I'll test your branch on the RX 6700 XT when I'm back instead of finishing mine. Otherwise I'll pick it up Saturday and post the table.
1093i3511 commented 2026-11-27 20:54:47 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by 1093i3511 on 2026-11-27T20:54:47Z.


A run report from a Radeon RX6600 with 8 GB of VRAM, which hits the memory limit described here sooner than the 12 GB card. The runs end on the #215 watchdog, not on a refused submit.

Summary

On an all-AMD machine, ProjectScarlett gets through the profile picker and into fbk_stry000_FBK_STRY000_INTRO (Prestream). Every run then ends the same way: the title's 30 s main-thread watchdog fires at game_scarlett_master.exe+0x23CF683 and the game exits with code 5. The crash report tags it GPU Loc Sig = 921cc4ae, the watchdog described in #215. #215 is closed, but on this card the stall it describes is still there on main at 7953f0a, which includes #277 and #290.

The host profile shows the memory copy path active on RADV (section-import=substituted), which PROJECTSCARLETT.md asks for reports on. With it, the game gets as far as the story intro.

During the intro the 8 GB of VRAM fill and a large part spills into system memory. See "Memory" below for what I measured and what I only saw in a system monitor.

Setup

GPU AMD Radeon RX 6600 (1002:73ff, RDNA2, 8 GB)
CPU, RAM Ryzen 5 5600, 32 GB RAM + 34 GB swap on disk
Driver Mesa RADV 26.3.1, Linux 7.3.6 (zen)
Proton GE-Proton11-14, umu-launcher 1.4.4, steamrt4
TuxBox main at 7953f0a, D3D12 provider sha256 33d10b472dc1e5aecc6c3cecce7d9438c78f29e2ae5690a0ace45b4b1df7863a (staged matches local build)
Host profile adapter=1002:73ff wave=32-64 section-import=substituted descriptor-bytes=64/16
Game ProjectScarlett 1.0.2.1, data version 930.048.020-vb_sub_story, offline through tuxbox.py run
Executable game_scarlett_master.exe sha256 e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993
DXC Windows dxcompiler.dll/dxil.dll 1.9.2609.5 staged; Linux DXC is Arch directx-shader-compiler-git r5623.b43c5651d
Resolution 3840x2160 output (2560x1440 internal, the title reports Anaconda)
Shaders prepared with tuxbox.py run --prepare-only before the runs
Environment MESA_SHADER_CACHE_MAX_SIZE=8G in both runs; run 1 also TUXBOX_PIPELINE_DEADLINE=0

Runs

Both runs on 2026-11-27 used the build above, with a warm shader cache.

run pipeline deadline length game frames (crash report) where ending
1 0 (wait) 5,210 s (1 h 27 min) 14,234 INTRO, Prestream watchdog at +0x23CF683, exit code 5
2 default (20 s) 1,856 s (31 min) 2,408 INTRO, Prestream watchdog at +0x23CF683, exit code 5

Three runs on 2026-11-26, on builds before #290, ended the same way at the same address and in the same SRL state.

The backtrace is the same in every run:

EXCEPTION_ACCESS_VIOLATION (c0000005)
game_scarlett_master.exe + 0x23CF683
game_scarlett_master.exe + 0x2215C35
game_scarlett_master.exe + 0x2215ECA
kernel32.dll + 0x11739

In both crash reports the title's own memory state is the same: Game Physical 2,167 of 2,305 MB, Unused 0 of 590 MB, TileHeap about 3.4 of 6.2 GB. Streaming Requests is 89 in run 1 and 264 in run 2.

Presentation rate from the provider's presented N frames in 10s lines in run 1:

  • menu and profile picker: about 18–27 per second
  • loading into the intro: 1 per second
  • intro, until the crash: 0.5 per second, falling to 0.17 per second (2 frames in 12 s) in the last minutes

The GPU is idle for most of that time. The log has 144 (run 1) and 120 (run 2) err:winevulkan:signaller_worker wait timed out with non-empty poll list lines, most of them in the intro.

Memory

What I saw in a system monitor during the intro, not measured per process:

  • VRAM is full (8 GB), and about 9 GB more sit in system RAM.
  • RAM and swap fill slowly until the crash.

I have no /proc/<pid>/fdinfo numbers from during a run yet. I can take them in the next run, in the same form as the tables above.

My guess, which I have not tested: on 8 GB the texture-copy and publication volume from this issue and #215 meets the VRAM limit earlier than on the 12 GB cards. The spill to GTT then makes each publication slower, which makes the intro frames slower, and the watchdog fires. The crash itself is still the watchdog, not an allocation failure. I found no Not enough memory for command submission and no device loss in either log.

Shaders

The two runs wrote byte-identical pipeline-failure files, although run 1 waited for every compile (TUXBOX_PIPELINE_DEADLINE=0) and run 2 used the 20 s deadline. So none of the stand-ins below come from the deadline. tools/rank_pipeline_failures.py on either run: 412 pipelines not delivered: 234 stand-ins, 87 0x80070057, 83 0x80004001, 8 0x80004005. By creation path: 177 stand-ins on slot 62, and 57 stand-ins plus all 178 HRESULT failures on slot 86.

pipelines share shaders reason
52 12.6% 9 s_load at 0x_: dynamic soffset unsupported
44 10.7% 44 wave reduction at 0x_ may execute in divergent control flow
29 7.0% 29 mixed lane Wave32 cannot lower ds_write2_b32 at 0x_
28 6.8% 6 unsupported mesh operation s_add_i32 at 0x_
28 6.8% 0 stand-in after translation (cause not recorded)
19 4.6% 19 mubuf at 0x_: atomic on a non-UAV buffer
18 4.4% 8 wave operation requires complete 32-lane compute waves
16 3.9% 16 v_readlane_b32 at 0x_: inside non-uniform loop (0x_..=0x_); barrier/wave read cannot be proven convergent
15 3.6% 15 mesh wave exchange v_readlane_b32 at 0x_ inside a loop
14 3.4% 14 compute swizzle inside a loop
12 2.9% 2 unsupported mesh launch or output configuration: MeshInfo { vertices: 128, primitives: 128, topology: 2, threads: [128, 1, 1], payload: 0, shared_bytes: 3072 }
12 2.9% 6 PS attr3 has no signature register [v_interp_p1ll_f16 @ 0x_]
12 2.9% 12 raw BVH node intersection requires traversal translation at 0x_
10 2.4% 3 same MeshInfo with shared_bytes: 10368
10 2.4% 10 PS attr5 has no signature register [v_interp_p1ll_f16 @ 0x_]

Another 26 reasons cost 1–9 pipelines each. They include two shaders whose HLSL exceeds the 8 MiB compiler budget, ds_max_i32 encoding, image_get_lod dim 5 and v_add_f16 reductions. I can paste the full list.

The 2 runs found 22 and 0 new refusals while running. Reasons for the 22 in run 1:

count reason
6 32-bit read of half-float PS attr3 [v_interp_p1_f32 @ 0x15c]
4 mimg at 0x_: sN not a sampler descriptor (None)
3 wave reduction at 0x_ may execute in divergent control flow
2 s_load at 0x_: heap buffer in a pixel shader
2 PS attr9 has no signature register [v_interp_mov_f32 @ 0x998]
2 lane op at 0x_: non-constant lane operand Some(Sgpr(_))
1 wave operation requires complete 64-lane compute waves
1 unknown two-word visibility atomic [image_atomic_umax @ 0xe8c]
1 s_load at 0x_: dynamic soffset unsupported

The provider substituted a null compute pipeline for untranslated shaders (8 such log lines in run 1), and the cache skipped up to 1,024 requests with known refusals.

The wave=32-64 profile means the 64-lane programs run as 64-lane waves here, so the 32-lane-only reasons on this list (complete 32-lane compute waves, mixed lane Wave32 …) may be different from what NVIDIA hosts see.

What I'm asking

  1. Is the intro stall on this card the same #215 / publication-volume problem as here (#300), or should it get its own issue because #215 is closed?
  2. Is there a branch of the write-set narrowing or of the "allocate the native image at the first upload" idea from this issue that I can run? This card hits the limit sooner than the 12 GB cards, so it should show a change quickly.
  3. Is there a trace setting on main for the provider's memory categories? I'd like to report numbers rather than system monitor readings.

I can share the pipeline-failure TSV, the crash reports and the run log privately. The log contains local paths, so I didn't attach it.

Not established

  • Per-process VRAM and GTT use during the intro (system monitor only, see above).
  • Whether the spill causes the slow frames, or the slow frames happen with or without it.
  • What the 28 "stand-in after translation" pipelines are. They are not deadline stand-ins: they also occur with TUXBOX_PIPELINE_DEADLINE=0.
  • Whether the rendered image is correct. Image correctness was not checked.
  • No NVIDIA card here, so nothing in this report is cross-checked on NVIDIA.
<!-- greyfinch-sync:brcly/TuxBox:comment:7227956175 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7227956175). Originally posted by [1093i3511](https://github.com/1093i3511) on 2026-11-27T20:54:47Z. --- A run report from a Radeon RX6600 with 8 GB of VRAM, which hits the memory limit described here sooner than the 12 GB card. The runs end on the #215 watchdog, not on a refused submit. ## Summary On an all-AMD machine, ProjectScarlett gets through the profile picker and into `fbk_stry000_FBK_STRY000_INTRO` (Prestream). Every run then ends the same way: the title's 30 s main-thread watchdog fires at `game_scarlett_master.exe+0x23CF683` and the game exits with code 5. The crash report tags it `GPU Loc Sig` = `921cc4ae`, the watchdog described in #215. #215 is closed, but on this card the stall it describes is still there on `main` at 7953f0a, which includes #277 and #290. The host profile shows the [memory copy](https://github.com/brcly/TuxBox/blob/main/docs/USAGE.md#memory-copy) path active on RADV (`section-import=substituted`), which PROJECTSCARLETT.md asks for reports on. With it, the game gets as far as the story intro. During the intro the 8 GB of VRAM fill and a large part spills into system memory. See "Memory" below for what I measured and what I only saw in a system monitor. ## Setup | | | | --- | --- | | GPU | AMD Radeon RX 6600 (`1002:73ff`, RDNA2, 8 GB) | | CPU, RAM | Ryzen 5 5600, 32 GB RAM + 34 GB swap on disk | | Driver | Mesa RADV 26.3.1, Linux 7.3.6 (zen) | | Proton | GE-Proton11-14, umu-launcher 1.4.4, steamrt4 | | TuxBox | `main` at 7953f0a, D3D12 provider sha256 `33d10b472dc1e5aecc6c3cecce7d9438c78f29e2ae5690a0ace45b4b1df7863a` (staged matches local build) | | Host profile | `adapter=1002:73ff wave=32-64 section-import=substituted descriptor-bytes=64/16` | | Game | ProjectScarlett 1.0.2.1, data version `930.048.020-vb_sub_story`, offline through `tuxbox.py run` | | Executable | `game_scarlett_master.exe` sha256 `e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993` | | DXC | Windows `dxcompiler.dll`/`dxil.dll` 1.9.2609.5 staged; Linux DXC is Arch `directx-shader-compiler-git` r5623.b43c5651d | | Resolution | 3840x2160 output (2560x1440 internal, the title reports `Anaconda`) | | Shaders | prepared with `tuxbox.py run --prepare-only` before the runs | | Environment | `MESA_SHADER_CACHE_MAX_SIZE=8G` in both runs; run 1 also `TUXBOX_PIPELINE_DEADLINE=0` | ## Runs Both runs on 2026-11-27 used the build above, with a warm shader cache. | run | pipeline deadline | length | game frames (crash report) | where | ending | | --- | --- | --- | --- | --- | --- | | 1 | `0` (wait) | 5,210 s (1 h 27 min) | 14,234 | INTRO, Prestream | watchdog at `+0x23CF683`, exit code 5 | | 2 | default (20 s) | 1,856 s (31 min) | 2,408 | INTRO, Prestream | watchdog at `+0x23CF683`, exit code 5 | Three runs on 2026-11-26, on builds before #290, ended the same way at the same address and in the same SRL state. The backtrace is the same in every run: ``` EXCEPTION_ACCESS_VIOLATION (c0000005) game_scarlett_master.exe + 0x23CF683 game_scarlett_master.exe + 0x2215C35 game_scarlett_master.exe + 0x2215ECA kernel32.dll + 0x11739 ``` In both crash reports the title's own memory state is the same: `Game Physical` 2,167 of 2,305 MB, `Unused` 0 of 590 MB, `TileHeap` about 3.4 of 6.2 GB. `Streaming Requests` is 89 in run 1 and 264 in run 2. Presentation rate from the provider's `presented N frames in 10s` lines in run 1: - menu and profile picker: about 18–27 per second - loading into the intro: 1 per second - intro, until the crash: 0.5 per second, falling to 0.17 per second (2 frames in 12 s) in the last minutes The GPU is idle for most of that time. The log has 144 (run 1) and 120 (run 2) `err:winevulkan:signaller_worker wait timed out with non-empty poll list` lines, most of them in the intro. ## Memory What I saw in a system monitor during the intro, not measured per process: - VRAM is full (8 GB), and about 9 GB more sit in system RAM. - RAM and swap fill slowly until the crash. I have no `/proc/<pid>/fdinfo` numbers from during a run yet. I can take them in the next run, in the same form as the tables above. My guess, which I have not tested: on 8 GB the texture-copy and publication volume from this issue and #215 meets the VRAM limit earlier than on the 12 GB cards. The spill to GTT then makes each publication slower, which makes the intro frames slower, and the watchdog fires. The crash itself is still the watchdog, not an allocation failure. I found no `Not enough memory for command submission` and no device loss in either log. ## Shaders The two runs wrote byte-identical pipeline-failure files, although run 1 waited for every compile (`TUXBOX_PIPELINE_DEADLINE=0`) and run 2 used the 20 s deadline. So none of the stand-ins below come from the deadline. `tools/rank_pipeline_failures.py` on either run: **412 pipelines not delivered**: 234 stand-ins, 87 `0x80070057`, 83 `0x80004001`, 8 `0x80004005`. By creation path: 177 stand-ins on slot 62, and 57 stand-ins plus all 178 HRESULT failures on slot 86. | pipelines | share | shaders | reason | | ---: | ---: | ---: | --- | | 52 | 12.6% | 9 | `s_load at 0x_: dynamic soffset unsupported` | | 44 | 10.7% | 44 | `wave reduction at 0x_ may execute in divergent control flow` | | 29 | 7.0% | 29 | `mixed lane Wave32 cannot lower ds_write2_b32 at 0x_` | | 28 | 6.8% | 6 | `unsupported mesh operation s_add_i32 at 0x_` | | 28 | 6.8% | 0 | stand-in after translation (cause not recorded) | | 19 | 4.6% | 19 | `mubuf at 0x_: atomic on a non-UAV buffer` | | 18 | 4.4% | 8 | `wave operation requires complete 32-lane compute waves` | | 16 | 3.9% | 16 | `v_readlane_b32 at 0x_: inside non-uniform loop (0x_..=0x_); barrier/wave read cannot be proven convergent` | | 15 | 3.6% | 15 | `mesh wave exchange v_readlane_b32 at 0x_ inside a loop` | | 14 | 3.4% | 14 | `compute swizzle inside a loop` | | 12 | 2.9% | 2 | `unsupported mesh launch or output configuration: MeshInfo { vertices: 128, primitives: 128, topology: 2, threads: [128, 1, 1], payload: 0, shared_bytes: 3072 }` | | 12 | 2.9% | 6 | `PS attr3 has no signature register [v_interp_p1ll_f16 @ 0x_]` | | 12 | 2.9% | 12 | `raw BVH node intersection requires traversal translation at 0x_` | | 10 | 2.4% | 3 | same `MeshInfo` with `shared_bytes: 10368` | | 10 | 2.4% | 10 | `PS attr5 has no signature register [v_interp_p1ll_f16 @ 0x_]` | Another 26 reasons cost 1–9 pipelines each. They include two shaders whose HLSL exceeds the 8 MiB compiler budget, `ds_max_i32` encoding, `image_get_lod dim 5` and `v_add_f16` reductions. I can paste the full list. The 2 runs found 22 and 0 new refusals while running. Reasons for the 22 in run 1: | count | reason | | ---: | --- | | 6 | `32-bit read of half-float PS attr3 [v_interp_p1_f32 @ 0x15c]` | | 4 | `mimg at 0x_: sN not a sampler descriptor (None)` | | 3 | `wave reduction at 0x_ may execute in divergent control flow` | | 2 | `s_load at 0x_: heap buffer in a pixel shader` | | 2 | `PS attr9 has no signature register [v_interp_mov_f32 @ 0x998]` | | 2 | `lane op at 0x_: non-constant lane operand Some(Sgpr(_))` | | 1 | `wave operation requires complete 64-lane compute waves` | | 1 | `unknown two-word visibility atomic [image_atomic_umax @ 0xe8c]` | | 1 | `s_load at 0x_: dynamic soffset unsupported` | The provider substituted a null compute pipeline for untranslated shaders (8 such log lines in run 1), and the cache skipped up to 1,024 requests with known refusals. The `wave=32-64` profile means the 64-lane programs run as 64-lane waves here, so the 32-lane-only reasons on this list (`complete 32-lane compute waves`, `mixed lane Wave32 …`) may be different from what NVIDIA hosts see. ## What I'm asking 1. Is the intro stall on this card the same #215 / publication-volume problem as here (#300), or should it get its own issue because #215 is closed? 2. Is there a branch of the write-set narrowing or of the "allocate the native image at the first upload" idea from this issue that I can run? This card hits the limit sooner than the 12 GB cards, so it should show a change quickly. 3. Is there a trace setting on `main` for the provider's memory categories? I'd like to report numbers rather than system monitor readings. I can share the pipeline-failure TSV, the crash reports and the run log privately. The log contains local paths, so I didn't attach it. ## Not established - Per-process VRAM and GTT use during the intro (system monitor only, see above). - Whether the spill causes the slow frames, or the slow frames happen with or without it. - What the 28 "stand-in after translation" pipelines are. They are not deadline stand-ins: they also occur with `TUXBOX_PIPELINE_DEADLINE=0`. - Whether the rendered image is correct. Image correctness was not checked. - No NVIDIA card here, so nothing in this report is cross-checked on NVIDIA.
brcly commented 2026-11-28 15:13:32 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-28T15:13:32Z.


Could you retest this on current main? Several changes target this memory use:

  • placed textures get graphics memory only when GPU work first uses them (#378);
  • a sampled texture first used when the card is nearly full goes to system memory (TUXBOX_VRAM_RESERVE_MIB);
  • a texture that the next one starts inside gets memory only for the mips it holds (TUXBOX_PARTIAL_MIPS);
  • unused graphics pipelines are released after compiling.

With these, an RTX 4070 Ti SUPER (16 GB, 32 GB RAM) reached the opening world scene. None of them has been run in the game on a 12 GB or AMD card. A run with --log-file, with the memory ledger and texture ledger lines from the log, would show where it stands (set WINEDEBUG=-all,+debugstr if they don't appear).

<!-- greyfinch-sync:brcly/TuxBox:comment:7241300821 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7241300821). Originally posted by [brcly](https://github.com/brcly) on 2026-11-28T15:13:32Z. --- Could you retest this on current `main`? Several changes target this memory use: - placed textures get graphics memory only when GPU work first uses them (#378); - a sampled texture first used when the card is nearly full goes to system memory (`TUXBOX_VRAM_RESERVE_MIB`); - a texture that the next one starts inside gets memory only for the mips it holds (`TUXBOX_PARTIAL_MIPS`); - unused graphics pipelines are released after compiling. With these, an RTX 4070 Ti SUPER (16 GB, 32 GB RAM) reached the opening world scene. None of them has been run in the game on a 12 GB or AMD card. A run with `--log-file`, with the `memory ledger` and `texture ledger` lines from the log, would show where it stands (set `WINEDEBUG=-all,+debugstr` if they don't appear).
1093i3511 commented 2026-11-28 16:36:46 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by 1093i3511 on 2026-11-28T16:36:46Z.


I'm on it, will report back when I can share insights.

<!-- greyfinch-sync:brcly/TuxBox:comment:7242376299 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7242376299). Originally posted by [1093i3511](https://github.com/1093i3511) on 2026-11-28T16:36:46Z. --- I'm on it, will report back when I can share insights.
1093i3511 commented 2026-11-28 18:21:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by 1093i3511 on 2026-11-28T18:21:23Z.


I retested on current main with the RX 6600 from my report above. On 8 GB the memory changes make a large difference. The runs now end in a GPU page fault, which I'm reporting on #232.

Setup: RX 6600 (1002:73ff, RDNA2, 8 GB), Ryzen 5 5600, 32 GB RAM + 34 GB swap on disk, Mesa RADV 26.3.1, Linux 7.3.6, GE-Proton11-14, Microsoft DXC 1.9.2609. main at 2af42c9, D3D12 provider sha256 e9a5f358…. Full prepare before the runs (0 failed, 708 unsupported). ProjectScarlett 1.0.2.1, offline, 3840x2160 output. Default settings (TUXBOX_VRAM_RESERVE_MIB 1536, TUXBOX_PARTIAL_MIPS on, TUXBOX_RESIDENT_PIPELINES 4096), plus TUXBOX_TRACE_GPU_FAULT=1.

Two runs

run length frames ending
1, cold Mesa cache 35 min 48,872 gfxhub page fault, failed compute ring reset, MODE1 reset
2, warm 7.4 min 5,932 same

Neither run hit the #215 watchdog. In both, frames slowed to one every 17–34 s at the end.

Memory: before and after

The game process's own amdgpu counters (/proc/<pid>/fdinfo), sampled every 10 s, compared with my earlier run on main b426c1a:

b426c1a 2af42c9 run 1 2af42c9 run 2
amd-requested-vram, peak 14,646 MiB 6,418 MiB 6,573 MiB
drm-memory-gtt (resident), peak 10,066 MiB 12,249 MiB 13,087 MiB
host RAM, peak 29.4 GB 29.8 GB 29.6 GB
swap, peak 8.8 GB 15.5 GB 7.7 GB

Requested VRAM now stays within the card instead of asking for nearly twice its size. The data moves to GTT instead, and host memory is still tight.

Ledger lines

From the start of run 1:

memory ledger: card 1138/6665 MiB, adapter system memory 190/15627 MiB, upload staging 0 MiB, title pages 7131 MiB, process commit 1465 MiB

The last ledger before the fault, run 1:

memory ledger: card 6383/7458 MiB, adapter system memory 10041/14855 MiB, upload staging 0 MiB, title pages 7131 MiB, process commit 16983 MiB
texture ledger: unbacked 81 (47 MiB), card 602 (1137 MiB) (title ranges 1025 MiB, 990 MiB distinct), system 29484 (7348 MiB), committed 3451 (3 MiB)
overlap ledger: cast 6 (0 MiB), reinterpreted 53 (187 MiB), subset 0 (0 MiB), other at address 2 (5 MiB), inside 13930 (1138 MiB)
overlap formats: 42/67 187 MiB, 41/41 0 MiB
mip ledger: images missing large mips 8215 (2583 MiB)

The last ledger before the fault, run 2:

memory ledger: card 6543/6908 MiB, adapter system memory 11058/15793 MiB, upload staging 0 MiB, title pages 7131 MiB, process commit 14732 MiB
texture ledger: unbacked 49 (15 MiB), card 915 (1268 MiB) (title ranges 1115 MiB, 1011 MiB distinct), system 29414 (7293 MiB), committed 3482 (3 MiB)
overlap ledger: cast 9 (4 MiB), reinterpreted 53 (187 MiB), subset 0 (0 MiB), other at address 5 (8 MiB), inside 13793 (1143 MiB)
overlap formats: 42/67 187 MiB, 99/98 4 MiB, 41/41 0 MiB
mip ledger: images missing large mips 8170 (2570 MiB)

What I read from this:

  • With the default 1536 MiB reserve, only about 600–900 sampled textures (1.1–1.3 GB) stay on the card. About 29,400 (7.3 GB) go to system memory.
  • TUXBOX_PARTIAL_MIPS saves about 2.6 GB, close to the 2.4 GiB in FOCUS.md.
  • The card budget DXGI reports moves between 6.6 and 7.5 GB during a run.

Readback volume

The placed texture readback lines in the last seconds before the fault in run 2:

placed texture readback 5.0s: batches=5 textures=504 copied=1919.6MiB largest=939.3MiB/504 textures | mips changed=38 (12.3MiB) unchanged=623 (962.8MiB, 216 written again) ...

The largest entries are 2560x1440 targets (formats 10, 41, 26) with sources=heap-uav. That's about 1.9 GB read back in 5 s, most of it unchanged. It fits the write-set issue from this thread and #300. With most textures in system memory, I think it explains the 20–30 s frames, but I haven't measured that.

Not established

  • Whether the runs reached world entry. On earlier runs the title's crash report named the mission (Current Mission Name: 0x98c85f2a). This time the full GPU reset ended the game before it wrote a crash report.
  • Whether the textures in system memory cause the slow frames, or the readbacks do.
  • Image correctness, including any missing detail from TUXBOX_PARTIAL_MIPS.
  • No NVIDIA card here.

I can run again with a different TUXBOX_VRAM_RESERVE_MIB (for example 512) if a comparison helps.

<!-- greyfinch-sync:brcly/TuxBox:comment:7243727763 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7243727763). Originally posted by [1093i3511](https://github.com/1093i3511) on 2026-11-28T18:21:23Z. --- I retested on current `main` with the RX 6600 from my report above. On 8 GB the memory changes make a large difference. The runs now end in a GPU page fault, which I'm reporting on #232. **Setup:** RX 6600 (`1002:73ff`, RDNA2, 8 GB), Ryzen 5 5600, 32 GB RAM + 34 GB swap on disk, Mesa RADV 26.3.1, Linux 7.3.6, GE-Proton11-14, Microsoft DXC 1.9.2609. `main` at 2af42c9, D3D12 provider sha256 `e9a5f358…`. Full prepare before the runs (0 failed, 708 unsupported). ProjectScarlett 1.0.2.1, offline, 3840x2160 output. Default settings (`TUXBOX_VRAM_RESERVE_MIB` 1536, `TUXBOX_PARTIAL_MIPS` on, `TUXBOX_RESIDENT_PIPELINES` 4096), plus `TUXBOX_TRACE_GPU_FAULT=1`. ## Two runs | run | length | frames | ending | | --- | ---: | ---: | --- | | 1, cold Mesa cache | 35 min | 48,872 | gfxhub page fault, failed compute ring reset, MODE1 reset | | 2, warm | 7.4 min | 5,932 | same | Neither run hit the #215 watchdog. In both, frames slowed to one every 17–34 s at the end. ## Memory: before and after The game process's own amdgpu counters (`/proc/<pid>/fdinfo`), sampled every 10 s, compared with my earlier run on `main` b426c1a: | | b426c1a | 2af42c9 run 1 | 2af42c9 run 2 | | --- | ---: | ---: | ---: | | `amd-requested-vram`, peak | 14,646 MiB | 6,418 MiB | 6,573 MiB | | `drm-memory-gtt` (resident), peak | 10,066 MiB | 12,249 MiB | 13,087 MiB | | host RAM, peak | 29.4 GB | 29.8 GB | 29.6 GB | | swap, peak | 8.8 GB | 15.5 GB | 7.7 GB | Requested VRAM now stays within the card instead of asking for nearly twice its size. The data moves to GTT instead, and host memory is still tight. ## Ledger lines From the start of run 1: ```text memory ledger: card 1138/6665 MiB, adapter system memory 190/15627 MiB, upload staging 0 MiB, title pages 7131 MiB, process commit 1465 MiB ``` The last ledger before the fault, run 1: ```text memory ledger: card 6383/7458 MiB, adapter system memory 10041/14855 MiB, upload staging 0 MiB, title pages 7131 MiB, process commit 16983 MiB texture ledger: unbacked 81 (47 MiB), card 602 (1137 MiB) (title ranges 1025 MiB, 990 MiB distinct), system 29484 (7348 MiB), committed 3451 (3 MiB) overlap ledger: cast 6 (0 MiB), reinterpreted 53 (187 MiB), subset 0 (0 MiB), other at address 2 (5 MiB), inside 13930 (1138 MiB) overlap formats: 42/67 187 MiB, 41/41 0 MiB mip ledger: images missing large mips 8215 (2583 MiB) ``` The last ledger before the fault, run 2: ```text memory ledger: card 6543/6908 MiB, adapter system memory 11058/15793 MiB, upload staging 0 MiB, title pages 7131 MiB, process commit 14732 MiB texture ledger: unbacked 49 (15 MiB), card 915 (1268 MiB) (title ranges 1115 MiB, 1011 MiB distinct), system 29414 (7293 MiB), committed 3482 (3 MiB) overlap ledger: cast 9 (4 MiB), reinterpreted 53 (187 MiB), subset 0 (0 MiB), other at address 5 (8 MiB), inside 13793 (1143 MiB) overlap formats: 42/67 187 MiB, 99/98 4 MiB, 41/41 0 MiB mip ledger: images missing large mips 8170 (2570 MiB) ``` What I read from this: - With the default 1536 MiB reserve, only about 600–900 sampled textures (1.1–1.3 GB) stay on the card. About 29,400 (7.3 GB) go to system memory. - `TUXBOX_PARTIAL_MIPS` saves about 2.6 GB, close to the 2.4 GiB in FOCUS.md. - The card budget DXGI reports moves between 6.6 and 7.5 GB during a run. ## Readback volume The `placed texture readback` lines in the last seconds before the fault in run 2: ```text placed texture readback 5.0s: batches=5 textures=504 copied=1919.6MiB largest=939.3MiB/504 textures | mips changed=38 (12.3MiB) unchanged=623 (962.8MiB, 216 written again) ... ``` The largest entries are 2560x1440 targets (formats 10, 41, 26) with `sources=heap-uav`. That's about 1.9 GB read back in 5 s, most of it unchanged. It fits the write-set issue from this thread and #300. With most textures in system memory, I think it explains the 20–30 s frames, but I haven't measured that. ## Not established - Whether the runs reached world entry. On earlier runs the title's crash report named the mission (`Current Mission Name: 0x98c85f2a`). This time the full GPU reset ended the game before it wrote a crash report. - Whether the textures in system memory cause the slow frames, or the readbacks do. - Image correctness, including any missing detail from `TUXBOX_PARTIAL_MIPS`. - No NVIDIA card here. I can run again with a different `TUXBOX_VRAM_RESERVE_MIB` (for example `512`) if a comparison helps.
1093i3511 commented 2026-11-28 22:13:53 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by 1093i3511 on 2026-11-28T22:13:53Z.


A follow-up from the RX 6600 (8 GB). With the GPU faults gone (NickStallman's fix/as-update-unbuilt-source, ce620c77, on top of #409 at a2b56c9), a run now reaches the world and ends on the title's watchdog. In the last 20 seconds before that, the readback buffers fill the card's GTT.

Setup: RX 6600 (1002:73ff, 8 GB), Ryzen 5 5600, 32 GB RAM + 34 GB swap, Mesa RADV 26.3.1, Linux 7.3.6, GE-Proton11-14. Default memory settings (TUXBOX_VRAM_RESERVE_MIB 1536, TUXBOX_PARTIAL_MIPS on).

Run

It lasted 540.5 s, with no GPU fault and no reset. It ended with exit code 5, the watchdog: the crash report shows the mission set at frame 1,734 and the crash at frame 1,747. Each presented frame took 18–28 s.

Memory, sampled every 10 s

From the game process's amdgpu counters (/proc/<pid>/fdinfo) and the host:

time requested VRAM resident GTT requested GTT RAM used swap
loading 4.9 GB 1.2–2.3 GB 19 GB 0.2 GB
world, first minute 6.2–6.8 GB 9.3–12.4 GB 28–30 GB 0.7–7 GB
23:03:31 6.8 GB 12.4 GB 12.4 GB 28.2 GB 7.8 GB
23:03:41 6.8 GB 15.6 GB 15.6 GB 30.2 GB 9.2 GB
23:03:51 6.8 GB 15.9 GB 17.8 GB 31.1 GB 11.0 GB
23:03:59 watchdog

Requested VRAM stays near 6.8 GB the whole time, so TUXBOX_VRAM_RESERVE_MIB holds. GTT is what grows. Its limit on this card is 16 GB, and in the last sample the process asked for 17.8 GB. The swap grew by 3.3 GB in those 20 s.

Where it comes from

The placed texture readback lines before the end:

copied=1928.9MiB  buffers created=6 (2101.0MiB) reused=0
copied=942.1MiB   buffers created=2 (1027.0MiB) reused=1
copied=1974.4MiB  buffers created=5 (1137.0MiB) reused=2
copied=2885.4MiB  buffers created=8 (3145.0MiB) reused=0
copied=1973.6MiB  buffers created=5 (2149.0MiB) reused=0

Each 5–7 s window creates 1–3 GB of new readback buffers and reuses almost none. Most of the copied data is the same 504 textures (largest=939.3MiB/504 textures), mostly 2560x1440 targets. The ledger at the end shows the adapter's system memory over its budget:

memory ledger: card 6764/6920 MiB, adapter system memory 17681/16002 MiB, upload staging 0 MiB, title pages 7131 MiB, process commit 14925 MiB

Reading

On 8 GB, the world frames now end because readback buffers outgrow system memory, not because of faults. I think the watchdog fires because the GPU and the host are stalled by swapping and GTT eviction at that point, but I haven't measured that link.

Two questions:

  • Are new readback buffers created on purpose instead of reusing the earlier ones (reused=0)? With the same 504 textures each time, reuse would cap the GTT.
  • Is there a setting to limit how much readback memory is in flight, so I can test whether the watchdog then waits longer?
<!-- greyfinch-sync:brcly/TuxBox:comment:7246588396 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7246588396). Originally posted by [1093i3511](https://github.com/1093i3511) on 2026-11-28T22:13:53Z. --- A follow-up from the RX 6600 (8 GB). With the GPU faults gone (NickStallman's `fix/as-update-unbuilt-source`, ce620c77, on top of #409 at a2b56c9), a run now reaches the world and ends on the title's watchdog. In the last 20 seconds before that, the readback buffers fill the card's GTT. **Setup:** RX 6600 (`1002:73ff`, 8 GB), Ryzen 5 5600, 32 GB RAM + 34 GB swap, Mesa RADV 26.3.1, Linux 7.3.6, GE-Proton11-14. Default memory settings (`TUXBOX_VRAM_RESERVE_MIB` 1536, `TUXBOX_PARTIAL_MIPS` on). ## Run It lasted 540.5 s, with no GPU fault and no reset. It ended with exit code 5, the watchdog: the crash report shows the mission set at frame 1,734 and the crash at frame 1,747. Each presented frame took 18–28 s. ## Memory, sampled every 10 s From the game process's amdgpu counters (`/proc/<pid>/fdinfo`) and the host: | time | requested VRAM | resident GTT | requested GTT | RAM used | swap | | --- | ---: | ---: | ---: | ---: | ---: | | loading | 4.9 GB | 1.2–2.3 GB | | 19 GB | 0.2 GB | | world, first minute | 6.2–6.8 GB | 9.3–12.4 GB | | 28–30 GB | 0.7–7 GB | | 23:03:31 | 6.8 GB | 12.4 GB | 12.4 GB | 28.2 GB | 7.8 GB | | 23:03:41 | 6.8 GB | 15.6 GB | 15.6 GB | 30.2 GB | 9.2 GB | | 23:03:51 | 6.8 GB | **15.9 GB** | **17.8 GB** | **31.1 GB** | **11.0 GB** | | 23:03:59 | watchdog | | | | | Requested VRAM stays near 6.8 GB the whole time, so `TUXBOX_VRAM_RESERVE_MIB` holds. GTT is what grows. Its limit on this card is 16 GB, and in the last sample the process asked for 17.8 GB. The swap grew by 3.3 GB in those 20 s. ## Where it comes from The `placed texture readback` lines before the end: ```text copied=1928.9MiB buffers created=6 (2101.0MiB) reused=0 copied=942.1MiB buffers created=2 (1027.0MiB) reused=1 copied=1974.4MiB buffers created=5 (1137.0MiB) reused=2 copied=2885.4MiB buffers created=8 (3145.0MiB) reused=0 copied=1973.6MiB buffers created=5 (2149.0MiB) reused=0 ``` Each 5–7 s window creates 1–3 GB of new readback buffers and reuses almost none. Most of the copied data is the same 504 textures (`largest=939.3MiB/504 textures`), mostly 2560x1440 targets. The ledger at the end shows the adapter's system memory over its budget: ```text memory ledger: card 6764/6920 MiB, adapter system memory 17681/16002 MiB, upload staging 0 MiB, title pages 7131 MiB, process commit 14925 MiB ``` ## Reading On 8 GB, the world frames now end because readback buffers outgrow system memory, not because of faults. I think the watchdog fires because the GPU and the host are stalled by swapping and GTT eviction at that point, but I haven't measured that link. Two questions: - Are new readback buffers created on purpose instead of reusing the earlier ones (`reused=0`)? With the same 504 textures each time, reuse would cap the GTT. - Is there a setting to limit how much readback memory is in flight, so I can test whether the watchdog then waits longer?
JeffreyBytes commented 2026-11-29 00:29:57 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by JeffreyBytes on 2026-11-29T00:29:57Z.


Retest on the 12 GB card. Short version: the memory changes work here, VRAM never fills, and the run gets into the world. It ends the same way your RTX 4070 Ti SUPER run did, on the distant lights draws, and on AMD the kernel says a bit more about which access it is.

Setup: RX 6700 XT (1002:73df, 12 GB), i5-12600K, 32 GB RAM, 16 GB disk swap + zram, Mesa RADV 26.3.1, Linux 7.3.6, GE-Proton11-14. main at 70f4892 with #409 (ce620c7) merged on top. All providers rebuilt and staged including XboxBvhBuilder.dll, shaders prepared right before (32,421 requests, 201.7 s, nearly all cached). Offline, 3840x2160, default memory settings, TUXBOX_TRACE_GPU_FAULT=1, no LD_PRELOAD.

The run (3,703.7 s, exit code 3)

phase from launch what it did
black 0 to 37.7 min about 590 presents per 10 s, every sampled frame black, draws being issued. The launcher compiled about 3,250 shaders in this time
picker to loading screen 37.7 to 58 min about 300 presents per 10 s
page remaps, first mesh draws 58.5 min 24 remap lines, no rejection
world 60 to 61.5 min one frame per 17 to 25 s
end 61.6 min GPU page fault, ring reset, device lost

No stalled label waits, no rejected batches, no Not enough memory for command submission.

Ledgers. During loading:

memory ledger: card 4883/10169 MiB, adapter system memory 1212/15752 MiB, upload staging 0 MiB, title pages 7131 MiB, process commit 8920 MiB
texture ledger: unbacked 16139 (2382 MiB), card 31 (65 MiB) (title ranges 59 MiB, 59 MiB distinct), system 0 (0 MiB), committed 82 (0 MiB)

Last ones before the fault:

memory ledger: card 9242/10114 MiB, adapter system memory 9240/15769 MiB, upload staging 114 MiB, title pages 7131 MiB, process commit 17219 MiB
texture ledger: unbacked 548 (151 MiB), card 13968 (3665 MiB) (title ranges 3625 MiB, 2675 MiB distinct), system 17185 (4906 MiB), committed 3836 (3 MiB)
mip ledger: images missing large mips 8857 (2741 MiB)
video memory is nearly full: placed texture #16384 put in system memory (4685 MiB so far)

So #378 does what the numbers in this issue said it would. At the point where the old build had 2.4 GB of native images nothing had touched, this one has 65 MiB on the card and 2.4 GB unbacked. The reserve holds the card at about 9.2 GB by sending 4.9 GB of textures to system memory, and partial mips saves another 2.7 GB.

Process counters (/proc/<pid>/fdinfo, MiB):

time requested VRAM GTT host RAM available swap used
loading (flat for 20 min) 4,898 1,213 13,039 1,387
after the remaps 8,680 3,097 10,185 3,841
+40 s 8,682 4,366 8,546 5,982
world, +100 s 9,126 10,845 6,583 13,040
last sample 9,236 9,212 8,954 14,648

Readback is what grows, same as @1093i3511 saw on the 8 GB card and the same 504 textures:

placed texture readback 5.1s: batches=4 textures=505 copied=1999.9MiB largest=939.3MiB/504 textures | ... | buffers created=4 (2183.0MiB) reused=0
placed texture readback 5.0s: ... textures=505 copied=2913.2MiB ... buffers created=5 (3178.0MiB) reused=0

GTT went from 1.2 GB to 10.8 GB in about two minutes and swap from 1.4 GB to 14.6 GB. It didn't reach the 15.8 GB GTT limit before the fault, but it was headed there.

The end. Nine commands started and not finished, all the same pipeline, which evidence/projectscarlett-world-run.json names as the distant lights programs:

GPU fault trace: device lost (0x887a0005); 9 commands started and not finished, of 1401528 recorded
GPU fault trace: #1392480 list 0x76355a80 draw VS 281b4977 PS 96e8aaaa
  (and eight more, same list, same VS and PS)

That's the same nine draws as the Xid 13 run, so it's the same fault on both vendors. What amdgpu adds:

[gfxhub] page fault (src_id:0 ring:24 vmid:7 pasid:65)
 in page starting at address 0x00008002bf934000 from client 0x1b (UTCL2)
GCVM_L2_PROTECTION_FAULT_STATUS:0x00701031
  Faulty UTCL2 client ID: TCP (0x8)
  PERMISSION_FAULTS: 0x3   MAPPING_ERROR: 0x0   RW: 0x0

Ten of these, eight at 0x8002bf934000 and two at the next page, 0x8002bf935000. The client is TCP, the texture cache, and RW is 0. So on this card it's a texture read that faults, not a buffer load and not a write, and it's two adjacent pages. The record says the faulting access isn't established, so maybe that narrows it. After that the kernel reported a gfx_0.0.0 ring timeout, reset the ring and carried on; the desktop survived.

About #409: its case never came up in this run. There's no "was given new storage after a list recorded it" line at all, so this neither confirms nor contradicts it.

The 37 minutes of black. This is the part I didn't expect. Shaders were prepared on the same build minutes earlier, and the launcher still compiled 3,811 during the run (174 unsupported), about 3,250 of them before the picker showed. Your record has a prepared launch reaching the fault 234 s after start. Is that many unprepared requests expected after --prepare-only, or does it mean my recorded request set is stale? Happy to send the launcher's list of what it compiled if that helps.

Not checked: whether the picture was right (I saw the loading images and heard music; in the world I saw a still image and a moment of audio), and anything past the first 90 seconds of the world.


Update, same evening. Three more runs on the same build, about 6 to 10 minutes each now.

The slow start answers itself: it was a one-time cost. Second launch reached the picker in 67 s and compiled nothing. So --prepare-only didn't cover about 3,800 requests the first launch on this build needed, but they're cached after that.

run changed world time ending
1 (above) nothing about 2.5 min gfx ring: 10 TCP read faults in the distant lights draws, ring reset succeeded
2 TUXBOX_PARTIAL_MIPS=0 about 2.5 min the same: gfx ring, TCP read, 6 unfinished draws, all VS 281b4977 / PS 96e8aaaa, reset succeeded
3 TUXBOX_LAZY_TEXTURES=0 about 6.5 min no GPU fault. Title watchdog (exit code 5) with one stalled label wait
4 TUXBOX_LAZY_TEXTURES=0 about 1 min compute ring faults, reset failed, machine hung

So partial mips isn't it: the fault is the same with every mip backed (mip ledger: images missing large mips 0). When it faulted in run 2 the texture ledger still had unbacked 73 (51 MiB), which is why I tried lazy off next. Run 3 got through about three times as many world frames with no fault, but run 4 went down a different way a minute in, so I can't say lazy off avoids anything. With lazy off the card is overcommitted here (card 16321/12272 MiB), so those two runs are the least comfortable ones.

Run 4 is the one other AMD testers should know about, and it had #409 in:

[gfxhub] page fault (src_id:0 ring:40 vmid:4 pasid:161)      8 of these, plus 2 on ring:24
 in page starting at address 0x000080053cfa4000 from client 0x1b (UTCL2)
  Faulty UTCL2 client ID: TCP (0x8)
  PERMISSION_FAULTS: 0x5   RW: 0x1
ring comp_1.1.1 timeout, signaled seq=7452, emitted seq=7453
Ring comp_1.1.1 reset failed
GPU reset begin!
MODE1 reset
pci_channel_io_perm_failure: state(3)!!
AER: device recovery failed
INFO: task kswapd0:144 blocked for more than 122 seconds.      (dma_resv_wait_timeout)
INFO: task vkd3d_queue:439660 blocked for more than 122 seconds.  (amdgpu_cs_ioctl -> amdgpu_ttm_tt_get_user_pages -> mmu_interval_read_begin)

After that every process's GPU thread and kswapd block for good, the desktop freezes, killing the game doesn't release anything, and it takes a reboot. These are writes (RW: 0x1), where runs 1 and 2 were reads. The addresses are in the driver's range, not raw title addresses, and there's no "was given new storage" line, so this isn't the case #409 fixes. It may be the compute write fault @DrArroway describes in #403. It's the same sequence @1093i3511 posted on #232 (compute ring reset failed, MODE1) and what took this machine down for two days on Thursday.

What I take from the four: on this card a fault on the gfx ring is survivable and a fault on the compute ring isn't. If you're testing on RDNA 2, have a way to reboot.

<!-- greyfinch-sync:brcly/TuxBox:comment:7248153979 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7248153979). Originally posted by [JeffreyBytes](https://github.com/JeffreyBytes) on 2026-11-29T00:29:57Z. --- Retest on the 12 GB card. Short version: the memory changes work here, VRAM never fills, and the run gets into the world. It ends the same way your RTX 4070 Ti SUPER run did, on the distant lights draws, and on AMD the kernel says a bit more about which access it is. **Setup:** RX 6700 XT (`1002:73df`, 12 GB), i5-12600K, 32 GB RAM, 16 GB disk swap + zram, Mesa RADV 26.3.1, Linux 7.3.6, GE-Proton11-14. `main` at `70f4892` with #409 (`ce620c7`) merged on top. All providers rebuilt and staged including `XboxBvhBuilder.dll`, shaders prepared right before (32,421 requests, 201.7 s, nearly all cached). Offline, 3840x2160, default memory settings, `TUXBOX_TRACE_GPU_FAULT=1`, no `LD_PRELOAD`. **The run** (3,703.7 s, exit code 3) | phase | from launch | what it did | | --- | --- | --- | | black | 0 to 37.7 min | about 590 presents per 10 s, every sampled frame black, draws being issued. The launcher compiled about 3,250 shaders in this time | | picker to loading screen | 37.7 to 58 min | about 300 presents per 10 s | | page remaps, first mesh draws | 58.5 min | 24 remap lines, no rejection | | world | 60 to 61.5 min | one frame per 17 to 25 s | | end | 61.6 min | GPU page fault, ring reset, device lost | No stalled label waits, no rejected batches, no `Not enough memory for command submission`. **Ledgers.** During loading: ```text memory ledger: card 4883/10169 MiB, adapter system memory 1212/15752 MiB, upload staging 0 MiB, title pages 7131 MiB, process commit 8920 MiB texture ledger: unbacked 16139 (2382 MiB), card 31 (65 MiB) (title ranges 59 MiB, 59 MiB distinct), system 0 (0 MiB), committed 82 (0 MiB) ``` Last ones before the fault: ```text memory ledger: card 9242/10114 MiB, adapter system memory 9240/15769 MiB, upload staging 114 MiB, title pages 7131 MiB, process commit 17219 MiB texture ledger: unbacked 548 (151 MiB), card 13968 (3665 MiB) (title ranges 3625 MiB, 2675 MiB distinct), system 17185 (4906 MiB), committed 3836 (3 MiB) mip ledger: images missing large mips 8857 (2741 MiB) video memory is nearly full: placed texture #16384 put in system memory (4685 MiB so far) ``` So #378 does what the numbers in this issue said it would. At the point where the old build had 2.4 GB of native images nothing had touched, this one has 65 MiB on the card and 2.4 GB unbacked. The reserve holds the card at about 9.2 GB by sending 4.9 GB of textures to system memory, and partial mips saves another 2.7 GB. **Process counters** (`/proc/<pid>/fdinfo`, MiB): | time | requested VRAM | GTT | host RAM available | swap used | | --- | ---: | ---: | ---: | ---: | | loading (flat for 20 min) | 4,898 | 1,213 | 13,039 | 1,387 | | after the remaps | 8,680 | 3,097 | 10,185 | 3,841 | | +40 s | 8,682 | 4,366 | 8,546 | 5,982 | | world, +100 s | 9,126 | 10,845 | 6,583 | 13,040 | | last sample | 9,236 | 9,212 | 8,954 | 14,648 | **Readback is what grows**, same as @1093i3511 saw on the 8 GB card and the same 504 textures: ```text placed texture readback 5.1s: batches=4 textures=505 copied=1999.9MiB largest=939.3MiB/504 textures | ... | buffers created=4 (2183.0MiB) reused=0 placed texture readback 5.0s: ... textures=505 copied=2913.2MiB ... buffers created=5 (3178.0MiB) reused=0 ``` GTT went from 1.2 GB to 10.8 GB in about two minutes and swap from 1.4 GB to 14.6 GB. It didn't reach the 15.8 GB GTT limit before the fault, but it was headed there. **The end.** Nine commands started and not finished, all the same pipeline, which `evidence/projectscarlett-world-run.json` names as the distant lights programs: ```text GPU fault trace: device lost (0x887a0005); 9 commands started and not finished, of 1401528 recorded GPU fault trace: #1392480 list 0x76355a80 draw VS 281b4977 PS 96e8aaaa (and eight more, same list, same VS and PS) ``` That's the same nine draws as the Xid 13 run, so it's the same fault on both vendors. What amdgpu adds: ```text [gfxhub] page fault (src_id:0 ring:24 vmid:7 pasid:65) in page starting at address 0x00008002bf934000 from client 0x1b (UTCL2) GCVM_L2_PROTECTION_FAULT_STATUS:0x00701031 Faulty UTCL2 client ID: TCP (0x8) PERMISSION_FAULTS: 0x3 MAPPING_ERROR: 0x0 RW: 0x0 ``` Ten of these, eight at `0x8002bf934000` and two at the next page, `0x8002bf935000`. The client is TCP, the texture cache, and `RW` is 0. So on this card it's a texture read that faults, not a buffer load and not a write, and it's two adjacent pages. The record says the faulting access isn't established, so maybe that narrows it. After that the kernel reported a `gfx_0.0.0` ring timeout, reset the ring and carried on; the desktop survived. About #409: its case never came up in this run. There's no "was given new storage after a list recorded it" line at all, so this neither confirms nor contradicts it. **The 37 minutes of black.** This is the part I didn't expect. Shaders were prepared on the same build minutes earlier, and the launcher still compiled 3,811 during the run (174 unsupported), about 3,250 of them before the picker showed. Your record has a prepared launch reaching the fault 234 s after start. Is that many unprepared requests expected after `--prepare-only`, or does it mean my recorded request set is stale? Happy to send the launcher's list of what it compiled if that helps. Not checked: whether the picture was right (I saw the loading images and heard music; in the world I saw a still image and a moment of audio), and anything past the first 90 seconds of the world. --- **Update, same evening.** Three more runs on the same build, about 6 to 10 minutes each now. The slow start answers itself: it was a one-time cost. Second launch reached the picker in 67 s and compiled nothing. So `--prepare-only` didn't cover about 3,800 requests the first launch on this build needed, but they're cached after that. | run | changed | world time | ending | | --- | --- | --- | --- | | 1 (above) | nothing | about 2.5 min | gfx ring: 10 TCP read faults in the distant lights draws, ring reset succeeded | | 2 | `TUXBOX_PARTIAL_MIPS=0` | about 2.5 min | the same: gfx ring, TCP read, 6 unfinished draws, all VS 281b4977 / PS 96e8aaaa, reset succeeded | | 3 | `TUXBOX_LAZY_TEXTURES=0` | about 6.5 min | no GPU fault. Title watchdog (exit code 5) with one stalled label wait | | 4 | `TUXBOX_LAZY_TEXTURES=0` | about 1 min | compute ring faults, reset failed, machine hung | So partial mips isn't it: the fault is the same with every mip backed (`mip ledger: images missing large mips 0`). When it faulted in run 2 the texture ledger still had `unbacked 73 (51 MiB)`, which is why I tried lazy off next. Run 3 got through about three times as many world frames with no fault, but run 4 went down a different way a minute in, so I can't say lazy off avoids anything. With lazy off the card is overcommitted here (`card 16321/12272 MiB`), so those two runs are the least comfortable ones. Run 4 is the one other AMD testers should know about, and it had #409 in: ```text [gfxhub] page fault (src_id:0 ring:40 vmid:4 pasid:161) 8 of these, plus 2 on ring:24 in page starting at address 0x000080053cfa4000 from client 0x1b (UTCL2) Faulty UTCL2 client ID: TCP (0x8) PERMISSION_FAULTS: 0x5 RW: 0x1 ring comp_1.1.1 timeout, signaled seq=7452, emitted seq=7453 Ring comp_1.1.1 reset failed GPU reset begin! MODE1 reset pci_channel_io_perm_failure: state(3)!! AER: device recovery failed INFO: task kswapd0:144 blocked for more than 122 seconds. (dma_resv_wait_timeout) INFO: task vkd3d_queue:439660 blocked for more than 122 seconds. (amdgpu_cs_ioctl -> amdgpu_ttm_tt_get_user_pages -> mmu_interval_read_begin) ``` After that every process's GPU thread and kswapd block for good, the desktop freezes, killing the game doesn't release anything, and it takes a reboot. These are writes (`RW: 0x1`), where runs 1 and 2 were reads. The addresses are in the driver's range, not raw title addresses, and there's no "was given new storage" line, so this isn't the case #409 fixes. It may be the compute write fault @DrArroway describes in #403. It's the same sequence @1093i3511 posted on #232 (compute ring reset failed, MODE1) and what took this machine down for two days on Thursday. What I take from the four: on this card a fault on the gfx ring is survivable and a fault on the compute ring isn't. If you're testing on RDNA 2, have a way to reboot.
Kayotic1337 commented 2026-11-29 20:20:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by Kayotic1337 on 2026-11-29T20:20:03Z.


A data point from a 16 GB RDNA 4 card, with #501 and TUXBOX_XMEM_PRIVATE_VIEWS=1.

Setup: RX 9070 XT (1002:7550, 16 GB), RADV / Mesa 26.3.1, GE-Proton11-14, Linux 7.3.6 (CachyOS), Ryzen 7 9800X3D, 32 GB RAM. Story save, offline. Render targets in the logs are 2560x1440.

Runs (all with TUXBOX_XMEM_PRIVATE_VIEWS=1 TUXBOX_SUBMIT_PROFILE=1 TUXBOX_LOG=1):

Build Cache Ran First vkd3d "Memory allocation failed, falling back to system memory" End
fd636d09 + #501 (before its rebase) + #498 warm 248 s none title access violation (null read at +0x10), exit 5
2d6dc338 + #501 (cbb6a2df) cold 1299 s 3x, 48 s before the end GPU page fault on a compute ring (TCP write, status 0x741041), device lost, exit 3
2d6dc338 + #501 (cbb6a2df) warm 185 s 4x, shortly before the end winevulkan signaller_worker wait timed out, title watchdog, exit 5, no kernel page fault

The memory ledger's last line before the end shows the card at 12.0–13.2 of ~15 GB in each run (title pages 7131 MiB, process commit 13.5–16.8 GB).

Placed texture readback grows to GBs per window in the world. In the menus it's a few MiB per 5 s. After the story save loads:

placed texture readback 5.0s: batches=79 textures=381 copied=3578.0MiB largest=291.0MiB/85 textures
placed texture readback 5.0s: batches=64 textures=390 copied=3004.1MiB largest=313.2MiB/83 textures
placed texture readback 5.0s: batches=46 textures=389 copied=2390.0MiB largest=313.2MiB/83 textures   (warm run, just before the hang)

The largest single readbacks are 2560x1440 targets written through UAVs (flags=0x300004, layout=0x102, sources=heap-uav), 14–28 MiB each.

Submit time is no longer the limit with private views. Over the last ~4 minutes of the cold run, the direct queue spent about 26 s in batches, 19 s of it in placement, against about 156 s of gap. Before #501, on fd636d09 without private views, placement was about half of every queue's batch time (the #472 digest). In the world it still renders a few incomplete frames below 1 fps.

Two of these three runs end within a minute of vkd3d falling back to system memory. That ordering also matched every earlier run here that showed the fallback, so on this card the memory growth looks like what ends runs once #472's cost is gone. I haven't shown that the readback is the cause rather than another symptom; I can rerun with VKD3D_CONFIG=fault or another trace if it helps.

<!-- greyfinch-sync:brcly/TuxBox:comment:7261995024 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7261995024). Originally posted by [Kayotic1337](https://github.com/Kayotic1337) on 2026-11-29T20:20:03Z. --- A data point from a 16 GB RDNA 4 card, with #501 and `TUXBOX_XMEM_PRIVATE_VIEWS=1`. **Setup:** RX 9070 XT (`1002:7550`, 16 GB), RADV / Mesa 26.3.1, GE-Proton11-14, Linux 7.3.6 (CachyOS), Ryzen 7 9800X3D, 32 GB RAM. Story save, offline. Render targets in the logs are 2560x1440. **Runs** (all with `TUXBOX_XMEM_PRIVATE_VIEWS=1 TUXBOX_SUBMIT_PROFILE=1 TUXBOX_LOG=1`): | Build | Cache | Ran | First vkd3d "Memory allocation failed, falling back to system memory" | End | | --- | --- | --- | --- | --- | | `fd636d09` + #501 (before its rebase) + #498 | warm | 248 s | none | title access violation (null read at +0x10), exit 5 | | `2d6dc338` + #501 (`cbb6a2df`) | cold | 1299 s | 3x, 48 s before the end | GPU page fault on a compute ring (TCP write, status `0x741041`), device lost, exit 3 | | `2d6dc338` + #501 (`cbb6a2df`) | warm | 185 s | 4x, shortly before the end | `winevulkan signaller_worker wait timed out`, title watchdog, exit 5, no kernel page fault | The memory ledger's last line before the end shows the card at 12.0–13.2 of ~15 GB in each run (title pages 7131 MiB, process commit 13.5–16.8 GB). **Placed texture readback grows to GBs per window in the world.** In the menus it's a few MiB per 5 s. After the story save loads: ```text placed texture readback 5.0s: batches=79 textures=381 copied=3578.0MiB largest=291.0MiB/85 textures placed texture readback 5.0s: batches=64 textures=390 copied=3004.1MiB largest=313.2MiB/83 textures placed texture readback 5.0s: batches=46 textures=389 copied=2390.0MiB largest=313.2MiB/83 textures (warm run, just before the hang) ``` The largest single readbacks are 2560x1440 targets written through UAVs (`flags=0x300004`, `layout=0x102`, `sources=heap-uav`), 14–28 MiB each. **Submit time is no longer the limit with private views.** Over the last ~4 minutes of the cold run, the direct queue spent about 26 s in batches, 19 s of it in placement, against about 156 s of gap. Before #501, on `fd636d09` without private views, placement was about half of every queue's batch time (the #472 digest). In the world it still renders a few incomplete frames below 1 fps. Two of these three runs end within a minute of vkd3d falling back to system memory. That ordering also matched every earlier run here that showed the fallback, so on this card the memory growth looks like what ends runs once #472's cost is gone. I haven't shown that the readback is the cause rather than another symptom; I can rerun with `VKD3D_CONFIG=fault` or another trace if it helps.
Kayotic1337 commented 2026-11-29 21:11:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by Kayotic1337 on 2026-11-29T21:11:33Z.


A follow-up to my comment above, which pointed at placed texture readback. That turned out not to be what fills memory here.

What I measured. With a local probe, I split each 5 s window's readback by where the texture's pages are mapped in XMem: a CPU aperture, a GPU-only aperture (the NOACCESS placeholder reservations), or not XMem pages at all. I also checked whether any other mapping of the same physical pages exists. In the world, on the same RX 9070 XT setup:

Per 5 s MiB
Pages only in GPU-only apertures, with no other mapping 1,104–1,486
Not XMem pages 695–978
CPU aperture, or a page also mapped elsewhere 0

The largest of these are the 2560x1440 UAV targets, each wholly in a GPU-only aperture.

What happened when I skipped them. As a local experiment (not proposed), I dropped readbacks of textures whose every page is GPU-only with no other mapping:

  • Readback fell to 25–54 MiB per 5 s.
  • vkd3d still fell back to system memory four times, and the run ended the same way at about the same point (223 s, title watchdog, int_prolo_int_prolo_ext).
  • No frame reached the screen at all. Audio played throughout.

What I take from it:

  • On this card, readback volume isn't what exhausts VRAM. The ~60% that was GPU-only went away and the fallback came anyway, which fits the native texture copies this issue is about.
  • The published bytes of GPU-only textures are still needed by something on the GPU side, even though the title's CPU can't map those pages. I haven't narrowed down what reads them; present and other resources at the same guest pages are both possible.

I've removed the probe and the experiment from my build.

<!-- greyfinch-sync:brcly/TuxBox:comment:7262677999 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7262677999). Originally posted by [Kayotic1337](https://github.com/Kayotic1337) on 2026-11-29T21:11:33Z. --- A follow-up to my comment above, which pointed at placed texture readback. That turned out not to be what fills memory here. **What I measured.** With a local probe, I split each 5 s window's readback by where the texture's pages are mapped in XMem: a CPU aperture, a GPU-only aperture (the NOACCESS placeholder reservations), or not XMem pages at all. I also checked whether any other mapping of the same physical pages exists. In the world, on the same RX 9070 XT setup: | Per 5 s | MiB | | --- | ---: | | Pages only in GPU-only apertures, with no other mapping | 1,104–1,486 | | Not XMem pages | 695–978 | | CPU aperture, or a page also mapped elsewhere | 0 | The largest of these are the 2560x1440 UAV targets, each wholly in a GPU-only aperture. **What happened when I skipped them.** As a local experiment (not proposed), I dropped readbacks of textures whose every page is GPU-only with no other mapping: - Readback fell to 25–54 MiB per 5 s. - vkd3d still fell back to system memory four times, and the run ended the same way at about the same point (223 s, title watchdog, `int_prolo_int_prolo_ext`). - No frame reached the screen at all. Audio played throughout. **What I take from it:** - On this card, readback volume isn't what exhausts VRAM. The ~60% that was GPU-only went away and the fallback came anyway, which fits the native texture copies this issue is about. - The published bytes of GPU-only textures are still needed by something on the GPU side, even though the title's CPU can't map those pages. I haven't narrowed down what reads them; present and other resources at the same guest pages are both possible. I've removed the probe and the experiment from my build.
Kayotic1337 commented 2026-11-29 21:40:01 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by Kayotic1337 on 2026-11-29T21:40:01Z.


Another data point from the RX 9070 XT (16 GB, RADV / Mesa 26.3.1, GE-Proton11-14, 2d6dc338 + #501, TUXBOX_XMEM_PRIVATE_VIEWS=1, warm caches). The vkd3d "falling back to system memory" warnings here come from the resizable BAR budget, and the placed-texture spill to system memory appears to be what fills it.

The jump. The card doesn't fill gradually. Within one 5 s ledger window after the story save loads, the lazy textures from #378 go from 64 backed (80 MiB) to 22,371 backed (6,451 MiB), and the card from 4.7 GB to 11.3 GB. vkd3d's first fallback lands inside that window.

Where the fallbacks come from. At device creation vkd3d logs Applying resizable BAR budget to memory types: 0x218. In the logs, the fallbacks follow TuxBox's own video memory is nearly full: placed texture #N put in system memory messages on the same thread. residency.rs makes those spill heaps D3D12_HEAP_TYPE_CUSTOM with WRITE_COMBINE / MEMORY_POOL_L0. With ReBAR, vkd3d places that CPU-visible memory in the BAR part of VRAM, so the spill ends up in the BAR budget instead of system memory.

Run (warm) vkd3d fallbacks Placed textures in "system" Ran
default 4 0 (0 MiB) 185 s
default 2 0 (0 MiB) 189 s
TUXBOX_VRAM_RESERVE_MIB=4096 4 1,516 (372 MiB) 282 s
TUXBOX_VRAM_RESERVE_MIB=4096 + VKD3D_CONFIG=no_upload_hvv 0 6,486 (1,973 MiB) 330 s

With no_upload_hvv the spill goes to host memory, no allocation falls back, and the card stays around 11.2 of 15 GB. That run also got further than any other on this card (int_chase_int_chase_int0). One run per row, so the times are only indicative. The shader cache stayed warm with no_upload_hvv.

It still ended on a GPU fault, with no fallback before it this time: TCP write, status 0x741041, at 0x800328dd0000. So on this card the fallback was not the only cause of the crashes, and there is a separate fault left to look at.

A possible direction, untested: make the spill heap one that vkd3d keeps in host memory under ReBAR, or have the launcher set no_upload_hvv when it spills.

<!-- greyfinch-sync:brcly/TuxBox:comment:7263055136 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7263055136). Originally posted by [Kayotic1337](https://github.com/Kayotic1337) on 2026-11-29T21:40:01Z. --- Another data point from the RX 9070 XT (16 GB, RADV / Mesa 26.3.1, GE-Proton11-14, `2d6dc338` + #501, `TUXBOX_XMEM_PRIVATE_VIEWS=1`, warm caches). The vkd3d "falling back to system memory" warnings here come from the resizable BAR budget, and the placed-texture spill to system memory appears to be what fills it. **The jump.** The card doesn't fill gradually. Within one 5 s ledger window after the story save loads, the lazy textures from #378 go from 64 backed (80 MiB) to 22,371 backed (6,451 MiB), and the card from 4.7 GB to 11.3 GB. vkd3d's first fallback lands inside that window. **Where the fallbacks come from.** At device creation vkd3d logs `Applying resizable BAR budget to memory types: 0x218`. In the logs, the fallbacks follow TuxBox's own `video memory is nearly full: placed texture #N put in system memory` messages on the same thread. `residency.rs` makes those spill heaps `D3D12_HEAP_TYPE_CUSTOM` with `WRITE_COMBINE` / `MEMORY_POOL_L0`. With ReBAR, vkd3d places that CPU-visible memory in the BAR part of VRAM, so the spill ends up in the BAR budget instead of system memory. | Run (warm) | vkd3d fallbacks | Placed textures in "system" | Ran | | --- | ---: | --- | ---: | | default | 4 | 0 (0 MiB) | 185 s | | default | 2 | 0 (0 MiB) | 189 s | | `TUXBOX_VRAM_RESERVE_MIB=4096` | 4 | 1,516 (372 MiB) | 282 s | | `TUXBOX_VRAM_RESERVE_MIB=4096` + `VKD3D_CONFIG=no_upload_hvv` | **0** | 6,486 (1,973 MiB) | 330 s | With `no_upload_hvv` the spill goes to host memory, no allocation falls back, and the card stays around 11.2 of 15 GB. That run also got further than any other on this card (`int_chase_int_chase_int0`). One run per row, so the times are only indicative. The shader cache stayed warm with `no_upload_hvv`. It still ended on a GPU fault, with no fallback before it this time: TCP write, status `0x741041`, at `0x800328dd0000`. So on this card the fallback was not the only cause of the crashes, and there is a separate fault left to look at. A possible direction, untested: make the spill heap one that vkd3d keeps in host memory under ReBAR, or have the launcher set `no_upload_hvv` when it spills.
NathansDomainSolutions commented 2026-11-30 06:26:46 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by NathansDomainSolutions on 2026-11-30T06:26:46Z.


@Kayotic1337 #575 tries your direction: spill heaps are now WRITE_BACK (host-cached, never in the BAR), with a fallback to write-combined if the driver refuses. Could you rerun your TUXBOX_VRAM_RESERVE_MIB=4096 case without no_upload_hvv?

<!-- greyfinch-sync:brcly/TuxBox:comment:7270656308 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7270656308). Originally posted by [NathansDomainSolutions](https://github.com/NathansDomainSolutions) on 2026-11-30T06:26:46Z. --- @Kayotic1337 #575 tries your direction: spill heaps are now `WRITE_BACK` (host-cached, never in the BAR), with a fallback to write-combined if the driver refuses. Could you rerun your `TUXBOX_VRAM_RESERVE_MIB=4096` case without `no_upload_hvv`?
JeffreyBytes commented 2026-11-30 06:45:30 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by JeffreyBytes on 2026-11-30T06:45:30Z.


I tried this on a 12 GB RX 6700 XT (1002:73df, RDNA 2, RADV, full ReBAR, GE-Proton11-14, Linux 7.3.6). Same 0x218 budget line at device creation (types 3, 4 and 9 on the 11.98 GiB heap, so about 767 MiB of budget). I can confirm that no_upload_hvv gets rid of the fallbacks, but I don't think the spill is what fills the BAR budget.

Both runs are main f482572a plus #557 (plain main crashes at init here, #554), default settings, one run each:

default VKD3D_CONFIG=no_upload_hvv
vkd3d fallbacks (before the world / in it) 25 (4 / 21) 0 (0 / 0)
Placed textures put in system memory 8,192 (3,315 MiB) 16,384 (4,125 MiB)
Last ledger: card, adapter system memory 9460/10301, 7840 MiB 9922/10494, 7530 MiB
Peak VRAM / GTT / swap (MiB) 11552 / 8801 / 16497 11687 / 8751 / 11307
How it ended title watchdog title watchdog

With no_upload_hvv the spill was bigger and there were still no fallbacks. Four of the default run's fallbacks also come long before anything spills: one about 25 s after device creation and three at the picker, with the card 1.5 to 4 GB full of 10. And in the world, the first 8 fallbacks are logged before TuxBox's first "put in system memory" line, during the lazy texture burst. Your two default rows with 0 textures in system memory and 4 and 2 fallbacks look like the same thing.

I read vkd3d-proton's memory.c (GitHub master, I didn't check the exact version in GE-Proton11-14) to see where the spill heap goes. CUSTOM with WRITE_COMBINE and MEMORY_POOL_L0 asks for HOST_VISIBLE | HOST_COHERENT without DEVICE_LOCAL (only L1 adds it), and when system memory types exist the device-local candidates are dropped, so those heaps should land in system RAM, not in BAR. The "falling back to system memory" message only fires for requests that include DEVICE_LOCAL. no_upload_hvv only changes UPLOAD heaps, and with it set the ReBAR budget isn't set up at all. So my guess is the fallbacks come from UPLOAD heaps going over the 1/16 budget, TuxBox's own staging and mirrors included, and the spill just happens at the same moment because both follow the lazy texture burst.

Neither run ended on a GPU fault here. Both hit the title's 30 s main-thread watchdog (exe+0x23CF683, like #215), crash log "Game Running", with an unsignaled cross-queue barrier, and the kernel log was clean. So on this card the fallbacks don't decide how the run ends either, which matches your last row.

@NathansDomainSolutions on #575: if I'm reading memory.c right, the write-combined L0 heap already stays out of BAR, so I'd expect WRITE_BACK to leave the fallback count where it is. Happy to run it on this card with TUXBOX_VRAM_RESERVE_MIB=4096 and without no_upload_hvv to check.

<!-- greyfinch-sync:brcly/TuxBox:comment:7270979942 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7270979942). Originally posted by [JeffreyBytes](https://github.com/JeffreyBytes) on 2026-11-30T06:45:30Z. --- I tried this on a 12 GB RX 6700 XT (`1002:73df`, RDNA 2, RADV, full ReBAR, GE-Proton11-14, Linux 7.3.6). Same `0x218` budget line at device creation (types 3, 4 and 9 on the 11.98 GiB heap, so about 767 MiB of budget). I can confirm that `no_upload_hvv` gets rid of the fallbacks, but I don't think the spill is what fills the BAR budget. Both runs are `main` f482572a plus #557 (plain main crashes at init here, #554), default settings, one run each: | | default | `VKD3D_CONFIG=no_upload_hvv` | | --- | ---: | ---: | | vkd3d fallbacks (before the world / in it) | 25 (4 / 21) | 0 (0 / 0) | | Placed textures put in system memory | 8,192 (3,315 MiB) | 16,384 (4,125 MiB) | | Last ledger: card, adapter system memory | 9460/10301, 7840 MiB | 9922/10494, 7530 MiB | | Peak VRAM / GTT / swap (MiB) | 11552 / 8801 / 16497 | 11687 / 8751 / 11307 | | How it ended | title watchdog | title watchdog | With `no_upload_hvv` the spill was bigger and there were still no fallbacks. Four of the default run's fallbacks also come long before anything spills: one about 25 s after device creation and three at the picker, with the card 1.5 to 4 GB full of 10. And in the world, the first 8 fallbacks are logged before TuxBox's first "put in system memory" line, during the lazy texture burst. Your two default rows with 0 textures in system memory and 4 and 2 fallbacks look like the same thing. I read vkd3d-proton's `memory.c` (GitHub master, I didn't check the exact version in GE-Proton11-14) to see where the spill heap goes. `CUSTOM` with `WRITE_COMBINE` and `MEMORY_POOL_L0` asks for `HOST_VISIBLE | HOST_COHERENT` without `DEVICE_LOCAL` (only L1 adds it), and when system memory types exist the device-local candidates are dropped, so those heaps should land in system RAM, not in BAR. The "falling back to system memory" message only fires for requests that include `DEVICE_LOCAL`. `no_upload_hvv` only changes `UPLOAD` heaps, and with it set the ReBAR budget isn't set up at all. So my guess is the fallbacks come from `UPLOAD` heaps going over the 1/16 budget, TuxBox's own staging and mirrors included, and the spill just happens at the same moment because both follow the lazy texture burst. Neither run ended on a GPU fault here. Both hit the title's 30 s main-thread watchdog (`exe+0x23CF683`, like #215), crash log "Game Running", with an unsignaled cross-queue barrier, and the kernel log was clean. So on this card the fallbacks don't decide how the run ends either, which matches your last row. @NathansDomainSolutions on #575: if I'm reading `memory.c` right, the write-combined L0 heap already stays out of BAR, so I'd expect `WRITE_BACK` to leave the fallback count where it is. Happy to run it on this card with `TUXBOX_VRAM_RESERVE_MIB=4096` and without `no_upload_hvv` to check.
brcly commented 2026-11-30 11:37:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-30T11:37:34Z.


@JeffreyBytes thanks, this is a careful result, and it fits why #575 is held: it wasn't run on hardware, and your reading of memory.c says the L0 write-combined spill already stays out of the BAR. If you do run #575 with TUXBOX_VRAM_RESERVE_MIB=4096 and without no_upload_hvv, that would settle it either way.

Your lead, that the fallbacks are UPLOAD heaps going over the 1/16 ReBAR budget (TuxBox's own staging and mirrors included), looks like the one to follow. A count of TuxBox's own UPLOAD heap bytes at the first fallback would test it. Since neither run ended on a GPU fault and both hit the title's 30 s watchdog (exe+0x23CF683, as in #215), that ending is worth its own look; the unsignaled cross-queue barrier is the obvious suspect.

<!-- greyfinch-sync:brcly/TuxBox:comment:7277290741 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7277290741). Originally posted by [brcly](https://github.com/brcly) on 2026-11-30T11:37:34Z. --- @JeffreyBytes thanks, this is a careful result, and it fits why #575 is held: it wasn't run on hardware, and your reading of `memory.c` says the L0 write-combined spill already stays out of the BAR. If you do run #575 with `TUXBOX_VRAM_RESERVE_MIB=4096` and without `no_upload_hvv`, that would settle it either way. Your lead, that the fallbacks are `UPLOAD` heaps going over the 1/16 ReBAR budget (TuxBox's own staging and mirrors included), looks like the one to follow. A count of TuxBox's own `UPLOAD` heap bytes at the first fallback would test it. Since neither run ended on a GPU fault and both hit the title's 30 s watchdog (`exe+0x23CF683`, as in #215), that ending is worth its own look; the unsignaled cross-queue barrier is the obvious suspect.
Kayotic1337 commented 2026-11-30 12:27:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by Kayotic1337 on 2026-11-30T12:27:21Z.


@Kayotic1337 #575 tries your direction: spill heaps are now WRITE_BACK (host-cached, never in the BAR), with a fallback to write-combined if the driver refuses. Could you rerun your TUXBOX_VRAM_RESERVE_MIB=4096 case without no_upload_hvv?

Currently in school with no way to acces this machine. Will report back when i get home

<!-- greyfinch-sync:brcly/TuxBox:comment:7278460886 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7278460886). Originally posted by [Kayotic1337](https://github.com/Kayotic1337) on 2026-11-30T12:27:21Z. --- > [@Kayotic1337](https://github.com/Kayotic1337) [#575](https://github.com/brcly/TuxBox/pull/575) tries your direction: spill heaps are now `WRITE_BACK` (host-cached, never in the BAR), with a fallback to write-combined if the driver refuses. Could you rerun your `TUXBOX_VRAM_RESERVE_MIB=4096` case without `no_upload_hvv`? Currently in school with no way to acces this machine. Will report back when i get home
Kayotic1337 commented 2026-11-30 17:43:26 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by Kayotic1337 on 2026-11-30T17:43:26Z.


Correction, and what the fallbacks actually are. On an RX 9070 XT (1002:7550, RDNA 4, RADV, ReBAR, GE-Proton11-14, 16 GB), the vkd3d "falling back to system memory" allocations are TuxBox's own texture-upload staging buffers. They hit vkd3d's fixed ReBAR budget. Texture spill doesn't cause them, and VRAM isn't full.

1. My spill claim was wrong. @JeffreyBytes was right. My own logs already showed it. I just hadn't put them side by side:

Run Settings Fallbacks "put in system memory" lines
1129-2114 defaults 4 0
1129-2157 defaults 4 0
1129-2204 defaults 4 0
1129-2220 defaults 2 0
1129-2225 reserve 4096 4 12
1129-2231 reserve 4096 + no_upload_hvv 0 14

Fallbacks also happen with no spill at all. The spill landing a few lines before the fallbacks was a shared cause (a burst of lazy texture uploads), not cause and effect. Sorry for the wrong lead.

2. It's the ReBAR budget, not VRAM. Run C used the old write-combined spill heap, reserve 4096, and VKD3D_CONFIG=log_memory_budget (vkd3d-proton 71cae091). Every fallback is the fixed budget refusing a large request while VRAM still has room:

Fallback at ReBAR in use Request Budget VRAM heap in use
1798.16 s 921 MiB 528 MiB 1019 MiB 11.4 / 14.9 GiB
1798.28 s 745 MiB 288 MiB 1019 MiB
1829.06 s 782 MiB 240 MiB 1019 MiB

In 71cae091, vkd3d_allocate_memory only enforces this budget for heaps that normalize to D3D12_HEAP_TYPE_UPLOAD (respect_budget, memory.c:1612). A write-combined L0 CUSTOM heap also normalizes to UPLOAD, but it never asks for DEVICE_LOCAL, so it never tries the ReBAR types 3/9. The refused requests are therefore real UPLOAD heaps.

About half of the budget is gone before any of them. One internal, non-budgeted allocation of 488 MiB (500128 KiB, type 4) is made at device creation, right after the descriptor-size queries, and it counts toward the same rebar_current. That happened in both runs where I logged it. I haven't identified what it is. That leaves about 530 MiB for every UPLOAD heap.

3. Those UPLOAD heaps are TuxBox's texture-upload staging. For run D I added one log line before the committed UPLOAD buffer in placement/upload.rs (Transfer::begin) and one where the idle pool trims a buffer. Everything else matched run C: the #575 build with TUXBOX_SPILL_WRITE_BACK=0. There were 3 fallbacks, and the line right before each refused request, on the same thread, is a staging create of exactly that size:

upload staging buffer create: 245760 KiB for 238966 KiB, idle 31
vkd3d_try_allocate_device_memory: Attempting to allocate from memory type 3, but exceeding fixed ReBAR budget: 915669088 + 251658240 > 1068498944.
...
upload staging buffer create: 147456 KiB for 138531 KiB, idle 31
vkd3d_try_allocate_device_memory: Attempting to allocate from memory type 3, but exceeding fixed ReBAR budget: 1016332384 + 150994944 > 1068498944.
...
upload staging buffer create: 245760 KiB for 239777 KiB, idle 32
vkd3d_try_allocate_device_memory: Attempting to allocate from memory type 3, but exceeding fixed ReBAR budget: 932446304 + 251658240 > 1068498944.

The match holds for the whole run. All 11 staging creates of 32 MiB or more line up one to one with a vkd3d allocation of the same size: 8 landed in ReBAR (type 3) and 3 fell back to system memory (type 2). Run C's sizes (528/288/240 MiB) are also multiples of 16 MiB, which is how upload_capacity rounds anything over 32 MiB.

That also explains why no_upload_hvv gives 0 fallbacks: it moves every UPLOAD heap, staging included, out of ReBAR.

Possible lever (untested). At each failed create, the pool held 31–32 idle buffers. IDLE_BYTES lets up to 256 MiB of idle staging stay allocated, and in ReBAR that's a quarter of the budget. begin only reuses an idle buffer that's at least as large as the request, so a 240 MiB batch always allocates a new buffer next to it. Options would be: trimming the idle pool before a large create, splitting batches so no staging buffer gets that big, or putting staging in a CUSTOM write-combined L0 heap so it stays out of the BAR. I haven't tried any of these.

What this doesn't say: there's one run with the diagnostic (n=1). The size match is exact, so I'm confident about who allocates. Whether fixing staging removes the fallbacks is untested. All four runs (A–D) still end on the separate compute-queue TCP write fault (0x641041 / 0x741041), so that crash isn't caused by the fallbacks. In C the compute ring reset failed and the kernel did a full MODE1 GPU reset.

<!-- greyfinch-sync:brcly/TuxBox:comment:7286748306 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7286748306). Originally posted by [Kayotic1337](https://github.com/Kayotic1337) on 2026-11-30T17:43:26Z. --- **Correction, and what the fallbacks actually are.** On an RX 9070 XT (`1002:7550`, RDNA 4, RADV, ReBAR, GE-Proton11-14, 16 GB), the vkd3d "falling back to system memory" allocations are TuxBox's own texture-upload staging buffers. They hit vkd3d's fixed ReBAR budget. Texture spill doesn't cause them, and VRAM isn't full. **1. My spill claim was wrong.** @JeffreyBytes was right. My own logs already showed it. I just hadn't put them side by side: | Run | Settings | Fallbacks | "put in system memory" lines | | --- | --- | ---: | ---: | | 1129-2114 | defaults | 4 | 0 | | 1129-2157 | defaults | 4 | 0 | | 1129-2204 | defaults | 4 | 0 | | 1129-2220 | defaults | 2 | 0 | | 1129-2225 | reserve 4096 | 4 | 12 | | 1129-2231 | reserve 4096 + `no_upload_hvv` | 0 | 14 | Fallbacks also happen with no spill at all. The spill landing a few lines before the fallbacks was a shared cause (a burst of lazy texture uploads), not cause and effect. Sorry for the wrong lead. **2. It's the ReBAR budget, not VRAM.** Run C used the old write-combined spill heap, reserve 4096, and `VKD3D_CONFIG=log_memory_budget` (vkd3d-proton 71cae091). Every fallback is the fixed budget refusing a large request while VRAM still has room: | Fallback at | ReBAR in use | Request | Budget | VRAM heap in use | | --- | ---: | ---: | ---: | ---: | | 1798.16 s | 921 MiB | 528 MiB | 1019 MiB | 11.4 / 14.9 GiB | | 1798.28 s | 745 MiB | 288 MiB | 1019 MiB | | | 1829.06 s | 782 MiB | 240 MiB | 1019 MiB | | In 71cae091, `vkd3d_allocate_memory` only enforces this budget for heaps that normalize to `D3D12_HEAP_TYPE_UPLOAD` (`respect_budget`, memory.c:1612). A write-combined L0 `CUSTOM` heap also normalizes to `UPLOAD`, but it never asks for `DEVICE_LOCAL`, so it never tries the ReBAR types 3/9. The refused requests are therefore real `UPLOAD` heaps. About half of the budget is gone before any of them. One internal, non-budgeted allocation of 488 MiB (`500128 KiB`, type 4) is made at device creation, right after the descriptor-size queries, and it counts toward the same `rebar_current`. That happened in both runs where I logged it. I haven't identified what it is. That leaves about 530 MiB for every `UPLOAD` heap. **3. Those `UPLOAD` heaps are TuxBox's texture-upload staging.** For run D I added one log line before the committed `UPLOAD` buffer in `placement/upload.rs` (`Transfer::begin`) and one where the idle pool trims a buffer. Everything else matched run C: the #575 build with `TUXBOX_SPILL_WRITE_BACK=0`. There were 3 fallbacks, and the line right before each refused request, on the same thread, is a staging create of exactly that size: ``` upload staging buffer create: 245760 KiB for 238966 KiB, idle 31 vkd3d_try_allocate_device_memory: Attempting to allocate from memory type 3, but exceeding fixed ReBAR budget: 915669088 + 251658240 > 1068498944. ... upload staging buffer create: 147456 KiB for 138531 KiB, idle 31 vkd3d_try_allocate_device_memory: Attempting to allocate from memory type 3, but exceeding fixed ReBAR budget: 1016332384 + 150994944 > 1068498944. ... upload staging buffer create: 245760 KiB for 239777 KiB, idle 32 vkd3d_try_allocate_device_memory: Attempting to allocate from memory type 3, but exceeding fixed ReBAR budget: 932446304 + 251658240 > 1068498944. ``` The match holds for the whole run. All 11 staging creates of 32 MiB or more line up one to one with a vkd3d allocation of the same size: 8 landed in ReBAR (type 3) and 3 fell back to system memory (type 2). Run C's sizes (528/288/240 MiB) are also multiples of 16 MiB, which is how `upload_capacity` rounds anything over 32 MiB. That also explains why `no_upload_hvv` gives 0 fallbacks: it moves every `UPLOAD` heap, staging included, out of ReBAR. **Possible lever (untested).** At each failed create, the pool held 31–32 idle buffers. `IDLE_BYTES` lets up to 256 MiB of idle staging stay allocated, and in ReBAR that's a quarter of the budget. `begin` only reuses an idle buffer that's at least as large as the request, so a 240 MiB batch always allocates a new buffer next to it. Options would be: trimming the idle pool before a large create, splitting batches so no staging buffer gets that big, or putting staging in a `CUSTOM` write-combined L0 heap so it stays out of the BAR. I haven't tried any of these. What this doesn't say: there's one run with the diagnostic (n=1). The size match is exact, so I'm confident about who allocates. Whether fixing staging removes the fallbacks is untested. All four runs (A–D) still end on the separate compute-queue TCP write fault (`0x641041` / `0x741041`), so that crash isn't caused by the fallbacks. In C the compute ring reset failed and the kernel did a full MODE1 GPU reset.
brcly commented 2026-11-30 23:18:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-30T23:18:34Z.


@Kayotic1337 thanks for the correction and for matching the fallbacks to staging creates one to one. That settles who allocates them.

Correction (edited): I first wrote that we'd take this on. In fact main already has the third option: #595 (0a57ca9c, merged 30 Nov, after the builds in your runs) puts texture-upload staging in a write-combined CUSTOM L0 heap. That's system memory, so vkd3d doesn't count it against the fixed UPLOAD ReBAR budget. So the fallbacks you matched to staging creates shouldn't happen on current main.

If you rerun on current main with VKD3D_CONFIG=log_memory_budget, could you check that the "exceeding fixed ReBAR budget" fallbacks are gone? If any remain, the line before each one should name what's left. We're running the same logging on an NVIDIA card now.

The 488 MiB type-4 allocation at device creation is still unexplained. If you can get a backtrace for it (it comes right after the descriptor-size queries), that would tell us whether TuxBox asks for it or vkd3d makes it internally.

<!-- greyfinch-sync:brcly/TuxBox:comment:7294964266 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7294964266). Originally posted by [brcly](https://github.com/brcly) on 2026-11-30T23:18:34Z. --- @Kayotic1337 thanks for the correction and for matching the fallbacks to staging creates one to one. That settles who allocates them. **Correction (edited):** I first wrote that we'd take this on. In fact main already has the third option: #595 (`0a57ca9c`, merged 30 Nov, after the builds in your runs) puts texture-upload staging in a write-combined `CUSTOM` L0 heap. That's system memory, so vkd3d doesn't count it against the fixed `UPLOAD` ReBAR budget. So the fallbacks you matched to staging creates shouldn't happen on current main. If you rerun on current main with `VKD3D_CONFIG=log_memory_budget`, could you check that the "exceeding fixed ReBAR budget" fallbacks are gone? If any remain, the line before each one should name what's left. We're running the same logging on an NVIDIA card now. The 488 MiB type-4 allocation at device creation is still unexplained. If you can get a backtrace for it (it comes right after the descriptor-size queries), that would tell us whether TuxBox asks for it or vkd3d makes it internally.
Kayotic1337 commented 2026-11-30 23:24:48 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by Kayotic1337 on 2026-11-30T23:24:48Z.


@brcly thanks. One note on the options: the write-combined CUSTOM L0 staging is already on main. It's #595, merged as 0a57ca9c, and Transfer::begin in placement/upload.rs creates staging that way now. With it I had 0 ReBAR refusals and 0 fallbacks in four runs, against 3 without it (the table is in #595). Trimming the idle pool or capping the buffer size would still help on top, but the fallbacks from staging should already be gone on current main.

About the 488 MiB type-4 allocation: I'll try to get a backtrace when I next build vkd3d-proton with debug logging.

<!-- greyfinch-sync:brcly/TuxBox:comment:7295087159 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7295087159). Originally posted by [Kayotic1337](https://github.com/Kayotic1337) on 2026-11-30T23:24:48Z. --- @brcly thanks. One note on the options: the write-combined `CUSTOM` L0 staging is already on main. It's #595, merged as 0a57ca9c, and `Transfer::begin` in `placement/upload.rs` creates staging that way now. With it I had 0 ReBAR refusals and 0 fallbacks in four runs, against 3 without it (the table is in #595). Trimming the idle pool or capping the buffer size would still help on top, but the fallbacks from staging should already be gone on current main. About the 488 MiB type-4 allocation: I'll try to get a backtrace when I next build vkd3d-proton with debug logging.
Kayotic1337 commented 2026-12-01 00:19:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by Kayotic1337 on 2026-12-01T00:19:03Z.


@brcly the 488 MiB type-4 allocation is TuxBox's shader-visible descriptor heap.

With a local vkd3d-proton build (020fc944) that logs a stack for internal allocations of 256 MiB or more, and a map file for d3d12_xs.dll:

vkd3d_try_allocate_device_memory / vkd3d_allocate_internal_buffer_memory   (memory.c)
d3d12_descriptor_heap_create_descriptor_heap                               (resource.c)
d3d12_descriptor_heap_create / d3d12_device_CreateDescriptorHeap
d3d12_xs.dll  device::descriptor_paging::Arena::create   +0x20c
d3d12_xs.dll  device::resources::create_heap              +0x247
game_scarlett_master.exe …

The title creates a shader-visible CBV/SRV/UAV heap of 1,245,184 descriptors. Arena::create makes the host's shader-visible heap for it (NumDescriptors: limit, from resources::create_heap: max(1,000,000, MaxViewDescriptorHeapSize), capped by TUXBOX_DESCRIPTOR_HEAP_LIMIT). Only shader-visible heaps get device memory in d3d12_descriptor_heap_create_descriptor_heap (the staging heaps Arena::create also makes are CPU-only), and vkd3d-proton places that heap's descriptor buffer in ReBAR memory (type 4), as one 500,128 KiB allocation that counts toward the same 1,019 MiB budget as UPLOAD heaps. I didn't read the exact limit this card gets, so I can't give the bytes per descriptor.

<!-- greyfinch-sync:brcly/TuxBox:comment:7296192016 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7296192016). Originally posted by [Kayotic1337](https://github.com/Kayotic1337) on 2026-12-01T00:19:03Z. --- @brcly the 488 MiB type-4 allocation is TuxBox's shader-visible descriptor heap. With a local vkd3d-proton build (020fc944) that logs a stack for internal allocations of 256 MiB or more, and a map file for `d3d12_xs.dll`: ``` vkd3d_try_allocate_device_memory / vkd3d_allocate_internal_buffer_memory (memory.c) d3d12_descriptor_heap_create_descriptor_heap (resource.c) d3d12_descriptor_heap_create / d3d12_device_CreateDescriptorHeap d3d12_xs.dll device::descriptor_paging::Arena::create +0x20c d3d12_xs.dll device::resources::create_heap +0x247 game_scarlett_master.exe … ``` The title creates a shader-visible CBV/SRV/UAV heap of 1,245,184 descriptors. `Arena::create` makes the host's shader-visible heap for it (`NumDescriptors: limit`, from `resources::create_heap`: `max(1,000,000, MaxViewDescriptorHeapSize)`, capped by `TUXBOX_DESCRIPTOR_HEAP_LIMIT`). Only shader-visible heaps get device memory in `d3d12_descriptor_heap_create_descriptor_heap` (the staging heaps `Arena::create` also makes are CPU-only), and vkd3d-proton places that heap's descriptor buffer in ReBAR memory (type 4), as one 500,128 KiB allocation that counts toward the same 1,019 MiB budget as `UPLOAD` heaps. I didn't read the exact `limit` this card gets, so I can't give the bytes per descriptor.
brcly commented 2026-12-01 03:24:50 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by brcly on 2026-12-01T03:24:50Z.


Related, from a 16 GB card: at the story-intro prestream, backed placed textures go from about 3 to 8.6 GB within seconds, and 3.3 GB then spills to system memory. With bindless, "first use" backs every texture in an indexable heap. That fits the 9.2 GB native-copy figure here. The plan to back only what the GPU actually samples is in #533.

<!-- greyfinch-sync:brcly/TuxBox:comment:7299679350 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7299679350). Originally posted by [brcly](https://github.com/brcly) on 2026-12-01T03:24:50Z. --- Related, from a 16 GB card: at the story-intro prestream, backed placed textures go from about 3 to 8.6 GB within seconds, and 3.3 GB then spills to system memory. With bindless, "first use" backs every texture in an indexable heap. That fits the 9.2 GB native-copy figure here. The plan to back only what the GPU actually samples is in #533.
brcly commented 2026-12-01 15:14:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by brcly on 2026-12-01T15:14:25Z.


@Kayotic1337 thanks for finding the 488 MiB allocation: the title's shader-visible heap of 1,245,184 descriptors. And thanks for the #595 correction.

For the 9.2 GB of native copies: read residency, which backs only the textures bindless programs actually read, is now on by default (e40d8052). At the story intro on a 16 GB card it kept card memory at 7.3-8.7 GB where it had gone to 13 GB plus spill. A 3840x2160 run on current main would show whether it brings this case under the card's size too.

<!-- greyfinch-sync:brcly/TuxBox:comment:7315578871 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7315578871). Originally posted by [brcly](https://github.com/brcly) on 2026-12-01T15:14:25Z. --- @Kayotic1337 thanks for finding the 488 MiB allocation: the title's shader-visible heap of 1,245,184 descriptors. And thanks for the #595 correction. For the 9.2 GB of native copies: read residency, which backs only the textures bindless programs actually read, is now on by default (e40d8052). At the story intro on a 16 GB card it kept card memory at 7.3-8.7 GB where it had gone to 13 GB plus spill. A 3840x2160 run on current main would show whether it brings this case under the card's size too.
JeffreyBytes commented 2026-12-02 20:09:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from brcly/TuxBox. Originally posted by JeffreyBytes on 2026-12-02T20:09:38Z.


@brcly about the 3840x2160 run on current main you asked for: I can't give you that number yet. On c1139ab2 my RX 6700 XT dies right after the account picker in all three runs. A handoffs::plan refusal fails the present and the watchdog ends the title. Details are in #661.

The only number I have is from the account picker at 3840x2160. It tells you nothing about the story intro:

card 4369/10190 MiB, adapter system memory 1137/15597 MiB, upload staging 0 MiB, title pages 7131 MiB, process commit 5338 MiB

I'm working on the crash. I'll post the story-intro number here once a run gets past it.

<!-- greyfinch-sync:brcly/TuxBox:comment:7357305835 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/issues/292#issuecomment-7357305835). Originally posted by [JeffreyBytes](https://github.com/JeffreyBytes) on 2026-12-02T20:09:38Z. --- @brcly about the 3840x2160 run on current main you asked for: I can't give you that number yet. On c1139ab2 my RX 6700 XT dies right after the account picker in all three runs. A `handoffs::plan` refusal fails the present and the watchdog ends the title. Details are in #661. The only number I have is from the account picker at 3840x2160. It tells you nothing about the story intro: ``` card 4369/10190 MiB, adapter system memory 1137/15597 MiB, upload staging 0 MiB, title pages 7131 MiB, process commit 5338 MiB ``` I'm working on the crash. I'll post the story-intro number here once a run gets past it.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
brcly/TuxBox#292
No description provided.