Repository navigation
Description
On a 12 GB card the game's 6.2 GiB section cannot be backed on the GPU. 68b6d06 survived that and reached the story load; every build since (d73f11d, 4b52fcd) dies at boot instead, right after the first failed section heap.
Tested on one machine, not the reference one:
| CPU | Intel Core i7-4770 (Haswell, no SSE4a, CLZERO, MONITORX/MWAITX, CLWB) |
| GPU | NVIDIA RTX 3060, 12 GB |
| RAM | 15.6 GB + 32 GB pagefile (commit limit 46.6 GB, grows to ~78 GB; never reached) |
| OS | Windows 10/11 x64 |
| Dump | GTA VI Xbox Series 1.0.2.1, title 7952987A |
Command (loader options after --):
fivestar run <dump> --work fs-new --gdk-lib xgameruntime.lib --dxc dxc.exe --timeout 1800
-- --gdk-abi gdk-abi.txt --input-script boot-libre.input
--shader-jobs 2 --min-free-memory 0 --max-commit 60
--bcpack-tables bcpack-tables.bin
--capture-dir captures --capture-presents 1800,3000
What works here (all of this on 68b6d06)
- 1.107 imports, 0 unresolved; GDK table from
Microsoft.GDK.Windows2610 (416 named thunks). - With
bcpack-tables.bin(the 77,982-byte file from VIctory's repository) fonts and textures
decode exactly: the UI text is complete (Spanish), the artwork is full colour, 4K frames. - Reaches the first-run screens (legal, terms) and the story-load spinner.
- Best run: 4.200 presents, 0 faults, ~5–8 fps while the driver compiles.
- On-demand translation works: 0 up-front
shader-translate, the driver cache builds up over boots.
The blocker: a failed section heap is fatal in the newer builds
On this card OpenExistingHeapFromAddress fails for part of the game's 6.2 GiB section
(XMemVirtualAlloc(0x185c00000)), because ~5 GiB of heaps is all that fits next to the title's 4K
targets and textures:
[xmem] XMemVirtualAlloc(0x0, 0x185c00000, ...)
[d3d12_xs] heap over section 0x1598 window 3 (0x40000000 bytes at ...)
[d3d12_xs] heap over section 0x1598 window 4 (0x40000000 bytes at ...)
WARN [d3d12_xs] OpenExistingHeapFromAddress(...) failed: 0x8007000e
WARN [d3d12_xs] address map: no view over section 0x1598; its pages read as zeros
68b6d06: logs that and keeps running. The boot then lasts minutes and reaches the story
load, where the game faults with0xc0000005 access violation, write to 0x0— plausibly reading
0 from the unmapped window.d73f11dand4b52fcd: the same failure is fatal at boot:0 presents, exit
0xE0434352, in every configuration tried:- with the
pipeline-cache/pipelines-used.binproduced here, and with it removed, - with the
program-cachefrom68b6d06, and with it removed, - with and without
--trace-pool-stores, - with and without
--retire-waits-all-queues.
AnAppDomain.UnhandledExceptionhandler inProgram.Maindoes not fire, so it is not a plain
unhandled exception on the main thread; WER shows onlyKERNELBASE+0xc569a, and there is no
.NET Runtimeevent in the Application log.
- with the
So the new address map (the log line address map: 0x20a0000 bytes for 64 spans, views from desktop index 10, 1 ranges waiting) appears to treat the failed heap as fatal, where the old code read zeros
and continued. On a 24 GB card that failure never happens, which is why it is invisible on the
reference machines.
Window-size and profile tests (12 GB card)
| Change | Result |
|---|---|
SectionHeaps.WindowBytes 1 GiB → 256 MiB |
Worse: all 25 windows fail with 0x8007000e; the limit is cumulative (~5 GiB), not per-allocation |
--device-type 6 (Series S) |
Does not help: the run still logs a failed heap and the swap chain stays 3840x2160 |
--retire-waits-all-queues |
Sometimes runs 4.200 frames, sometimes faults after 2.400; not a reliable workaround |
Patching the executable's CLWB to NOPs (--patches) |
Breaks the boot (0x80000003 at 8 presents, or 0xc0000005 with 0) |
Secondary: intermittent 0xC000001D at a CLWB site (Intel Haswell)
Exit 0xC000001D (-1073741795), unrelated to the heap: sometimes after 8 presents, sometimes after
4.200. A WER dump gives:
exception code : 0xc000001d
exception addr : 0x144ecc84a (game_scarlett_master.exe + 0x4ecc84a)
Bytes at that RVA (.text, RVA 0x1000 / raw 0x400):
8d 44 01 ff lea eax,[rcx+rax-1]
49 83 e1 c0 and r9, -64
66 41 0f ae 31 clwb [r9] <- faulting instruction (REX.B form)
49 83 c1 40 add r9, 64
49 39 c1 cmp r9, rax
76 f2 jbe -14
The handler emulated CLWB at +0x4e4b680 earlier in the same log, so the same kind of fault is
handled at one site and not at another. Forcing LineLoop.TrySkip to return 0 (no cache-line loop
fast-forward) does not change it.
Ask
- A failed section heap should not be fatal.
68b6d06fell back to zeros; if the new address map
did the same, a 12 GB card would reach the story load (and the rest of the run would at least be
measurable). - Could the section be backed lazily, per page a program actually addresses? The title maps
6.2 GiB but the frames we see touch far less; on a 12 GB card that difference decides whether the
load completes. - Is the
CLWBREX.B form supposed to be emulated? It is emulated once and then faults at the
same RIP later in the same boot.
Patches/logs available on request: the two logs (68b6d06 and 4b52fcd), the WER dump (trimmed) and
the exact command line. I can also run any diagnostic build (--memory-map, --watch-transient,
--trace-pool-stores) on this card and report back — that is the one thing the reference machine
cannot reproduce.
Activity
danik1222 commentedon Nov 24, 2026
Excerpts from the two logs on the 12 GB card. Both are from the same machine, same dump, same command line; only the build differs.
68b6d06— the failure is tolerated, the boot runs to the story load4b52fcd— the same failure, then the process ends at bootthen nothing:
fivestar-loader exit code -532462766(0xE0434352), 0 presents, 0 faults, 6 warnings.Both sections are ~6.2 GiB (
99776pages at the call above); in each case the heap that fails is thefifth or sixth 1 GiB window, i.e. once ~4–5 GiB of heaps is already resident on a 12 GB card.
The failure also reproduces with
--bcpack-tablesabsent (placeholder textures), so it is not thedecoded texture set that pushes it over: it is the section mapping itself.
danik1222 commentedon Nov 24, 2026
Also reproduced on
9423dde(main as of 2026-11-24 22:38, i.e. after the lane-present letterboxed scaling and the lane-perf texture-upload changes), same machine, same command line:The log again ends right after the failed section heap:
68b6d06on the same card still boots and reaches the story load, so the difference is still the newer address map treating a failed heap as fatal. Retested with the program cache and the pipeline journal removed as well: same result.danik1222 commentedon Nov 24, 2026
Two notes from the machine in this report (i7-4770, RTX 3060 12 GB):
#14 is about this machine. The "5 to 8 fps on a 4-core i7-4770" in that PR is this run: 600→4.200 presents at 73–200 ms per frame while the driver compiles. Once a build boots here again (see the section heap below), I can run the A/B that PR asks for --
--normal-priority-buildson and off, same dump, same input script, with--capture-presentsfor the frame times -- and post the numbers. That is a 4-core, not a 12-thread, data point.Still the blocker on this card: main
9423ddeand4b52fcdboth die at boot with0xE0434352and 0 presents, right afterOpenExistingHeapFromAddressfails for a window of the 6.2 GiB section;68b6d06logs the same failure and keeps going to the story load. So any A/B has to wait for a build where a failed section heap is not fatal -- or for a way to make it not fail on 12 GB (lazy per-page backing).marquezinii commentedon Nov 24, 2026
I looked at the crash on the 12 GB card and wrote a fix: #15. Summary:
Why the newer builds end at boot.
GpuTextureUploadercreates its upload buffer through Vortice, and Vortice throws when the creation fails. The upload buffer is system memory, and the section heaps had already used up that budget (the same0x8007000eas the failed windows). So the first texture filled from memory threwE_OUTOFMEMORYon the game's thread, and the process ended with 0xE0434352. That is why nothing was logged and yourUnhandledExceptionhandler never ran. With #15, that fill fails, is logged and counted (UploadFailed), and the boot goes on.What runs out is RAM, not VRAM. Heaps from
OpenExistingHeapFromAddressare system memory and count against the adapter's non-local segment, whose budget is half of physical memory. On my machine (RTX 5070, also 12 GB, 32 GB of RAM)QueryVideoMemoryInforeports a local budget of 11.7 GB and a non-local budget of 16.3 GB. With 15.6 GB of RAM you get about 7.8 GB. The 6.2 GiB section's windows, plus the upload ring and the other system-memory buffers, go past that around the fifth window, which matches your logs. A 3060 in a 32 GB machine would most likely open every window.Why
68b6d06got further. The address map that follows remaps (#8, mine) gives every mapped XMem page a view of its section. It does that when the map starts and at every remap, so the whole 6.2 GiB section is opened as heaps at boot. Before that, only slot-133 buffer runs opened windows, and only when the game placed one there. So #8 raised the non-local use, and on a 16 GB machine that is where the budget runs out.What #15 does not fix. Pages in a window whose heap failed still read as zeros on the GPU. That is probably what led to the
write to 0x0fault at the story load on68b6d06, and a 16 GB machine will likely reach it again. Possible directions; the choice is the maintainer's:MakeResident/Evict), so the 6.2 GiB do not all stay resident at once;@danik1222, could you run #15 (branch
loader/texture-upload-oomon marquezinii/five-star-recomp) on the 3060 machine and post how far it gets, and whether the log showsnot filled from memorylines? I can't reproduce it here: with 32 GB the budget is 16 GB.danik1222 commentedon Nov 24, 2026
#15 tested on the 3060 machine (branch
loader/texture-upload-oomata654736, built here; same dump, same command line,--bcpack-tables+--shader-jobs 2).Good news first: the
0xE0434352crash is gone. The boot no longer dies with 0 presents on a managed exception.What the log shows now (exactly the lines you asked about):
Then the boot stops on the game's own breakpoint:
So:
UploadFailedworks, the run survives the fill failures, and the next wall is aint3in the game right after (the last traced calls arexg_xs.dll!XGCreateTextureComputer/XGSuggestSwizzleMode). My guess is the game asserts because the textures it asked for are not there -- but you will know better than me.This also confirms your budget arithmetic: with 15.6 GB of RAM the section heaps run out at the fifth window, and the upload ring goes with them. If you want a data point from a 32 GB machine I cannot give it -- this one is 15.6 GB. But I can run anything you want on it: a diagnostic build that logs
QueryVideoMemoryInfoat startup (as you suggested),--eager-pipelinesoff/on, or #14's--normal-priority-buildsA/B once a build gets past this int3.marquezinii commentedon Nov 24, 2026
Thanks for testing so fast. So the managed exception was the first wall, and #15 gets past it.
About the
int3: I think the cause is the same budget running out, not the textures. With the non-local segment full, the command-list upload ring can't get its buffer either (list slot 148: no upload buffer; allocations return null). After that, everyAllocateUploadMemoryreturns null to the game, and a null there is something the game would assert on. The XG calls are probably just the last ones traced before it. To confirm:list slot 148warning in the log, and roughly where relative to theint3?FAULT #1(the RVA ingame_scarlett_master.exe), and the ~20 log lines before it.If it is the upload ring, more fallbacks won't help. The section heaps have to take less of the non-local budget on a 16 GB machine, i.e. open windows lazily instead of one heap per mapped page at boot. That is follow-up work on the address map from #8. I'll raise it with the maintainer rather than start it unasked, since it touches their memory model.
The
--normal-priority-buildsA/B from #14 is on hold until the maintainer's compile-host change lands. #14 will then be narrowed to the pipeline build threads.danik1222 commentedon Nov 24, 2026
Answers to both questions, from
run-20261124-225153.log(builda654736).1. No
list slot 148warning at all (0 matches forslot 148,upload bufferorAllocateUpload). What is there, in the last 25 lines before theint3, is a failed command-list close, and the boxed HRESULT is the same budget:2. The faulting address and the assertion. It is
game_scarlett_master.exe RVA 0x72ac, inside the function at RVA0x7270..0x7323(+0x3c):So it is the game's own
int3assertion, andraxstill holds0x8007000ewhen it fires -- the E_OUTOFMEMORY from the failed allocation is what it asserts on. That fits your reading: the ring/budget runs out, an allocation returns the failure, the game checks it and breaks. Thexg_xscalls after that are just the last traced ones.Your summary matches what we see: #15 turns the process-ending managed exception into 22 counted
UploadFailedand a logged close failure, and the next wall is the game's assertion on that HRESULT. I agree that more fallbacks do not help -- the section heaps have to give the non-local budget back, i.e. lazy windows in the #8 address map. Happy to test that when it exists, and to runQueryVideoMemoryInfologging on this machine in the meantime if it helps you size the budget (15.6 GB RAM here).Loader: a texture fill the desktop refuses fails without an exception
danik1222 commentedon Nov 24, 2026
One negative result, so nobody spends time on it: trimming the working set does not change the budget.
I ran #15 with a helper that called
EmptyWorkingSeton the loader every 2 s (forcing pages to the pagefile, freeing physical RAM), to test whether the non-local budget follows free memory rather than RAM/2. Identical numbers with and without it:not filled from memorycommand list Close failed: 0x8007000eSo the budget is fixed (half of physical RAM), not a function of free memory -- freeing 2-3 GB of working set opens no extra window. That rules out the "make room by paging" direction on a 16 GB machine; only taking less of the budget (lazy windows) or more RAM will do it.
I am back on
68b6d06here in the meantime, since it boots and reaches the story load.danik1222 commentedon Nov 24, 2026
Tested main �2e637d (the merge of #15) on the 3060 / 15.6 GB machine, same command line:
Same counts as the branch build: 3 failed section heaps, 8
ot filled from memory, 0 presents.
So #15 did its job (no more �xE0434352; the failures are logged and counted) and the next wall is exactly what you predicted: the non-local budget is gone before the game finishes booting, an allocation returns �x8007000e, and the game asserts on it.
That makes the address-map change the only thing between this machine and a boot: open windows when the GPU first uses them instead of one heap per mapped page at startup (#8). Happy to test any branch that does it, and to post the numbers for it on a 16 GB machine -- which is the case you cannot reproduce.
Loader: a failed texture upload returns false instead of throwing int…
CPU: the fault handler is re-registered before the old registration l…
ThatRecompDev commentedon Nov 24, 2026
lazy windows are in main now (880e616), which is pretty much what you two worked out here. the loader reads the non-local budget from DXGI and only opens section heaps while they fit, with some headroom left for upload buffers and the command lists. a section that doesn't fit gets backed in 64 MiB windows when it's first used. we simulated your machine with
--section-heap-budget 5and it got past the first-run screens to the story loadalso fixed the CLWB crash, that was a race when bink installs its exception handler at every video
@danik1222 could you give 880e616 a go on the 3060? the useful lines are "GPU memory", "does not fit" and "no heap at". if it still dies at the story load, the RVA would help: we get an AV at 0x540abf5 there on our own machine too, so that one probably isn't you
danik1222 commentedon Nov 24, 2026
880e616 tested on the 3060 / 15.6 GB machine. Big step: it boots and runs -- 9.000 presents, 0 faults, ~80 ms per frame, no
0xE0434352, no failed heap (the CLWB fix holds too, 5 emulated CLWB, no0xC000001D).But the screen is entirely black, and I think the budget lines explain why:
So the section is backed lazily as designed, but on this machine it only gets 2328 MiB of room, not the ~5 GiB you simulated with
--section-heap-budget 5.systemis already at 2.66 of 6.68 GiB when the map starts (textures:Upload 28616, plus the ring and the map's own buffers), which leaves the smaller room.Evidence that nothing is drawn: every captured frame is 0 of 8,294,400 pixels not black (mean rgb 0,0,0), at present 1200, 2400, 3600 and 4800, while the game keeps presenting and taking Space taps.
No
no heap atlines at all, and nonot filled from memoryeither -- the windows that open are fine; it looks like the UI data lives past the 2328 MiB that fit.Questions:
GPU memoryline only prints at startup and when the map starts.)View 12,148,741views created this boot looks enormous) -- so the section gets more room?--section-heap-budgetusable on a real run to force a bigger room than DXGI reports, or is it only for simulation? If it can only lower it, we are stuck with 2328 MiB on 15.6 GB of RAM.If it dies at the story load I will send the RVA as you asked; this boot did not fault at all, it just draws nothing.
danik1222 commentedon Nov 24, 2026
One more data point from that same 880e616 boot, and it is a good one: the opening cutscene starts here. I stopped the run by hand, but before that:
So the story load completes on a 15.6 GB machine with lazy windows -- it gets to the cutscene, and the audio of it plays (I could hear it). What is missing is only the picture: black, 0 of 8.294.400 pixels.
The two lines that go with it:
So the remaining gap is the room, not a fault: 2328 MiB of room for a 6272 MiB section, and the parts the cutscene draws from never get a heap. If the room calculation left more of the 6.68 GiB for the section (or the section's windows were allowed past the headroom), this machine would very likely show the cutscene.
For reference, this boot had no faults at all, 0 failed heaps, 0
not filled from memory, and presented ~12 fps the whole time.16 remaining items
ThatRecompDev commentedon Nov 25, 2026
one more thing we noticed looking at your runs again: your second (warm) boot starts with the save folder the first boot wrote (
%LOCALAPPDATA%\FiveStar\GdkData\<TitleId>), so the game skips the first-run screens and loads its autosaved checkpoint instead of playing the new-game intro. so those moving shots are the save-load path, not the opening intro we test on.both are useful, but they're different paths, so it'd help to know which one each run takes:
--input-script docs/first-run.inputto get through the screens).if you can, a pair of warm-cache runs, one of each, would tell us whether the late 0x23cf683 watchdog is specific to loading the save or happens on the intro too
danik1222 commentedon Nov 25, 2026
The two paths are different, and --watch-hang names what stalls. Current main (376adc4), same command line, --evict-windows --watch-hang --d3d12-breadcrumbs.
A. Save-load path (GdkData present). 43.800 presents at 33.7 ms (30 fps), placed textures: 18.312 live in 24 heaps (6.0 GB used) -- then it stops on the game's own "NO SE HA PODIDO GUARDAR AUTOMÁTICAMENTE" dialog (Retry / Done). A and B taps do not dismiss it; I also reloaded the input script with only B and it stayed. No watchdog fault on this path: it just waits on that dialog.
B. Intro path (GdkData moved aside, first run). 17.400 presents; the four captures are all the same uniform frame, mean rgb (32, 32, 44) -- the story-load screen -- and then the watchdog fires. --watch-hang gives this:
Two things from that:
And one thread is stuck in a self-recursive chain while it happens:
So: on this machine the intro path never gets past the story load (uniform 32,32,44 for 7.200 presents), while the save-load path reaches gameplay at 30 fps and then blocks on a failed autosave. Tell me which of the two you want me to dig into, and I will keep the runs coming.
Hang watch: loader waits within the stall; saves survive a held blob
ThatRecompDev commentedon Nov 25, 2026
thanks, both of these were really useful. what we found:
intro path (stuck at the story load). the "loader waits" numbers in that line were totals since boot over all threads, not what blocked this stall, so they made the loader look guilty when it probably isn't. fixed on main (bba95b5): the stall line now first lists only the waits that grew since the heartbeat stopped. the thread in fn 0x43c040 is just the game's audio thread sleeping, so it's a red herring too. with handler 0x1423cf620 armed, the game is waiting for the loading screen's render thread, which in turn waits on the five
Subrender:%02uworkers, so the stuck one is one of those.could you rerun the intro path on bba95b5 and paste the whole
[hang]block at 15 s and 25 s? the Subrender and loading-render thread lines, any "waiting in ..." tags and the new "since the heartbeat last moved" part are what we need.save-load path (the autosave dialog). one of our save calls failed. most likely replacing the old save file while something else (Defender, an indexer, or our own read) still had it open. on bba95b5 save updates run one at a time, the replace is retried for a second, and a failure is logged as
[gdk] XGameSave update "<name>" failed: .... if the dialog still shows up, grep the log forXGameSaveandmanaged async oparound it.danik1222 commentedon Nov 25, 2026
Before the �ba95b5 runs: the intro path on 376adc4 ended in another �xC000001D, and the shape is the one you fixed for CLWB:
�x144E8AAB0 = RVA 0x4e8aab0, one of the CLZERO sites (cpu: emulating CLZERO at game_scarlett_master.exe+0x4e8aab0 appears earlier in the same log). So: Bink registers its handler, and the next AMD-only instruction faults without reaching the emulator -- the same race you fixed for the �x4ecc84a CLWB, now at a CLZERO. It happened after 22.800 presents (~18 min), so the handler was working for many faults before.
Also, the memory map at the end of that run looks worth a look on a 15.6 GB machine:
9.02 GB in 601 heaps at the end (2 hours in, but it had been running 18 min). If that is not expected, it may be the real cause of the tight system budget on this machine.
And the good news from the same run: your docs/first-run.input plus an F8 watcher goes through the screens here -- it learned subtitles, legal and legal-next ([input] script waits for screen X ... press F8 -> F8 sent) and got to 22.800 presents instead of stopping at legal. So the input side is fine; it is the CLZERO fault that ends it.
Next: �ba95b5 intro path with --watch-hang, and I will paste the whole [hang] block at 15 s and 25 s (Subrender and loading-render lines, waiting in ..., and the new "since the heartbeat last moved" part), then the save-load run for the XGameSave update lines.
danik1222 commentedon Nov 25, 2026
Intro path on 2735cb0 (with �ba95b5): 34.800 presents at 34 ms, and the story load never finishes.
Eight captures, all the same uniform frame -- mean rgb (32, 32, 44), 8,270,851 of 8,294,400 pixels not black -- i.e. the story-load screen, for the whole ~23 minutes. Then the watchdog: ERROR FAULT #1 on thread 8136: 0xc0000005 access violation, write to 0x0.
Your new stall line does what you wanted: it says the loader is innocent now.
About the Subrender:%02u and loading-render lines: they are not in this log. Select-String 'Subrender|loading-render|waiting in' returns 0 matches; the game's threads come out unnamed, as addresses and stacks only. So here is the whole [hang] block with the game-stack groups (the full block is 63 lines; these are the 13 with game frames, deduplicated by stack):
If you can tell me which RVA is the loading-render thread (or how to make the loader print the game's own thread names), I will run it again and point straight at the five workers. Without the names, this is what the machine can give.
ThatRecompDev commentedon Nov 25, 2026
thanks, both runs are super useful.
CLZERO at 0x4e8aab0: you're right, that's the same race as the CLWB one: Bink puts its exception handler in front of ours, and the next AMD-only instruction never reaches our emulator. we're fixing it for every emulated instruction this time, not just one site.
9 GB in 601 heaps: not expected, we're looking into which heaps those are and whether they keep growing.
story load that never finishes: the stall line confirms the loader is idle, so the game is waiting on itself. main now has #31 (7d0393d): with
--watch-hangthe hang block names the exact event or semaphore each blocked thread waits on and whether anything ever signaled it. one more intro-path run on 7d0393d with--watch-hang, pasting the[hang]block at 15 s and 25 s, should tell us what the story load is stuck on.ThatRecompDev commentedon Nov 25, 2026
one more small ask for the 9 GB of heaps: if you still have that log, could you paste the
[memory] heaps:line and the "since the last map" lines from two maps a few minutes apart? that tells us whether it keeps growing or levels off. the next build will also name which heap (the game's, ours or a driver's) owns the segments.and the CLZERO fix is in: our emulator now has a backstop handler at the end of the chain, so an AMD-only instruction reaches it even when Bink's handler goes first. it lands on main shortly.
CPU: the AMD-only instruction emulation also runs as the last vectore…
Memory map: heap segments by heap, and who made each heap
danik1222 commentedon Nov 25, 2026
Intro path on 7d0393d with --watch-hang: the hang block names the events. 25.200 presents, then the watchdog (�xc0000005, thread 8136) at ~1400 s. Captures are the same uniform story-load frame, mean rgb (32, 32, 44).
The stall line (note: this time the loader was in it, for 6.2 s of small compute pipeline):
And the new section, whole:
Three things stand out:
If the handle numbers are enough to map them back to the game's own waits, this should say which step of the load stalls. I can also run it again with a longer timeout if you want the block at 15 s and 25 s of a longer stall -- here the report came at a 5.2 s stall and the watchdog ended the run before a 15 s one.
danik1222 commentedon Nov 25, 2026
**7e682b works: no �xC000001D in a 430 s run.** Intro path on d7b8b13, --watch-hang --memory-map 300:
The heap map (d8e867a) in this run was clean -- no 601 heaps:
So the 9.02 GB / 601 heaps from the 18-minute run is not there in this 7-minute one: it either grows with time (the long run reached it) or it came from the run that had the autosave dialog. The per-heap names are exactly what was needed to tell -- I will catch it on the next long run.
GPU memory at that moment (new line, useful on this machine):
8.92 of 11.03 GB local with the world still not drawing -- that is mostly the placed textures and the 4K targets. Worth knowing for the "will it fit" question later.
One small thing on the input side: with docs/first-run.input plus an F8 watcher the run now learns subtitles, legal and legal-next and goes on, so the screens are not the problem here either.
Bound the small compute first use; name wait sites in --watch-hang
ThatRecompDev commentedon Nov 25, 2026
thanks, this is really useful. two things came out of it.
the 6 s the loader was in: that was the first use of small compute pipelines making their shaders right on the game's thread. on a 16 GB box that gets slow. it now does that in the background and the game thread only waits its normal short budget, then moves on.
on the wait list: careful with the numbers, they're "how long ago" from the 616 s report. so "waits 604 s" means those threads went to sleep about 11 s into the run. most of them are just idle worker pools that have been parked since startup, not the story load giving up. the one that actually started during the stall is thread 6036 (0x2164, 60 s timeout), so that's the one to watch.
the bad news is the "from ;" part, it was supposed to show where each one was made, but the stack walk died in our own shim code. fixed now. the next --watch-hang run prints the game address for both the code that made each object and the code that's waiting on it, and 0x6bc gets named if it's a thread handle.
so yes, a longer run on current main (b97be31) would be great, ideally with the full thread stacks from the hang block too (especially 6036 and 16380)
danik1222 commentedon Nov 25, 2026
Save-load path on d7b8b13: the autosave dialog is gone, the story plays, and the game reaches the prologue. Same 15.6 GB machine.
No
failedline and no "no se ha podido guardar" dialog this time -- your retry-once change did it.Then: 40.800 presents, 0 faults, no
0xC000001D, and the captures show the cutscene art (mean rgb 138-145, 107-112, 126-131) up to present 7200. After that the prologue loads: the screen shows "PRÓLOGO", the hint "Acércate a una compañera de celda para interactuar con ella" and "DESCARTAR", and an NPC talks with its audio. So the game is in the prologue, standing in the cell, and the 3D image is the only thing missing -- which matches your roadmap line exactly:The character pipelines are stand-ins, so the world does not draw; everything else (UI, audio, input, saves, 30 fps cadence) works. Frame times during the load: 118-168 ms.
Two notes:
So from this side: story load, cutscene, save/load and the prologue all work on 16 GB of RAM. What is left for the picture is the character/stand-in side.