[draft, integration] retail boot to the frame loop on current main (RT-BOOT-INTEGRATION) #321
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!321
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/321/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Mumogg on GitHub · 2026-11-24 03:09 UTC · original
Mumogg:boot/frame-loop-on-main→main· +15904 −1582 · 116 files · 39 commits · merged 2026-11-25 02:33 UTCClaimed in #14 as
RT-BOOT-INTEGRATION. Draft: for testing and for carving into small pull requests, not for merging as it is. #127 and #131 are the first two pieces, already carved out.What this is
main84347bbb6merged with the stack that reaches the frame loop on my machine: ASTROWwwW'sladder-frameintegration of the retail boot pull requests, the old pull requests 7604, 7286, 7584, 6446, 8591, 7384, 7535, 7448, 9137 and 9419, and my own fixes on top. Almost none of it is my code: the authors are in the history (ASTROWwwW, tedin7, mariuslozo-boop, Jadiac, NiiRoZz, Etr0p, Gustavo Kissel, hcristosm, thibaut and others).Why a merge and not a rebase of each piece:
mainhas most of these commits as ancestors without their content (finding in #14), so git treats them as already merged. This was merged againstmain's tree with the conflicts resolved by hand; the two merge commits say what was chosen where.Measured
Linux (Nobara 44, kernel 7.3), Wine 11.21 staging, RTX 5070 Ti (driver 615.78.08), clang-cl 22.1.8 + xwin SDK 10.0.26100, own 1.0.2.1 copy, network off, 300 s,
LEONIDA_D3D12=vulkan.main9ec34cdffmain+ #127 + #131D3D12XboxCreateDevice)ExecuteCommandListsDrawInstancedPresentXint3at 0.65 sThe window stays black: with the real pixel stages the title composes a fully transparent layer over its clear. That is what it draws while it waits at this point, as far as I can tell, not a presentation fault (a forced clear colour and a forced pixel stage both reach the screen).
Choices that need a maintainer's decision
xmem.cpp).main's commit-on-touch xmem, with the two view-protection fixes it lost (7e8e3c1db,954fcb106), boots to 50,468 pipelines here and then fails one submit with an unknown resource. Without those two fixes it stops at 1,181 calls: the title's device set-up returns false after the first map into a write-combined window. I can send those two fixes on their own.mainroutes the console descriptor heap to a handler in the Vulkan layer; the stack serves it inside the proxy with title-backed heaps (old PR 7021). The handler is registered and stored here, but not called.v2 + v3 - v1, the ruled3d12_rect_listtests.LEONIDA_RECT_FOURTH=v1v3switches tov1 + v3 - v2, the only one that covered the target for the title's full-screen rectangle draws here. Open question, not a claim.Tests
Every target builds. Runtime suite under Wine (
ctest -j 4) ate0d4fd2b8: 292 of 321 pass. For comparison, plainmain9ec34cdffunder the same Wine: 275 of 299.mainhere.xmemandd3d12_comfail onmainand pass on this branch.d3d12_xmem_placedandd3d12_console_descriptor_heap:main's tests of the two designs this branch does not use yet (commit-on-touch xmem, the slot 14 handler). See the choices above.dstorage: the guard-page case, as in #131.run_tiny_tls_ga: its last part setsTMP/TEMPto a missing folder and expects the reservation to fail; under Wine the run returns 0. I read that as Wine not passing those variables through, not verified.d3d12_title_va: stops at its first check, that a freshVirtualAlloclands above the arena size; under Wine it lands below.pipeline_cache_seed:vk_pipeline_checkexits 9 without output on the synthetic shader. Cause not found.xs_proxy_mock: passes when run alone, failed in the parallel run. Cause not found.Not built with MSVC and not run on Windows.
Rough edges, stated plainly
e0d4fd2b8). Four switches remain, each for a fix that is not proposed formainyet:LEONIDA_GRAPHICS_STAGE_LAYOUT(opt-in),LEONIDA_DESC_MIRROR,LEONIDA_SLOT70_TITLE(on by default) andLEONIDA_RECT_FOURTH.No game data, addresses or offsets are in the branch (
scripts/check_no_game_data.pyover every added or changed file, plus a grep for image addresses).AI-assisted (Claude Code); built, run and measured on the machine above.
🤖 Generated with Claude Code
https://claude.ai/code/session_01HxBQf4pXH8PWpC5oZsM4bt
9ec34cdff) into the frame-loop boot stack 1a04df0b1b84347bbb6): the pipeline-library stage of #19 next to the executable's embedded shaders aba2409915@Sigtryggur-Mani-Gudmundsson on GitHub · 2026-11-24 04:37 UTC · original
I reproduced the rectangle coverage question at
e0d4fd2bwith the production geometry-stage generator, the translated M1.5 vertex and pixel shaders, and an RTX 4070 Ti on Linux. For top-left, bottom-left, bottom-right the default covered 1,536 of 3,072 pixels. The fixed-second override covered all 3,072. Across all 24 corner orders each fixed rule got eight gradient images right.A backport of tedin7’s #207 corner selection covers all 24. I also kept this branch’s first submitted vertex as the source of flat attributes for both output triangles. Without that integration change, 16 of 24 flat-color images differ from this branch’s first-vertex rule. The patched default matched all 153,600 pixel comparisons, including opposite winding and two differently ordered rectangles in one draw. The override produced byte-identical captures before and after.
This measures axis-aligned rectangle coverage. I have not booted the retail title with it, and the transparent layer reported here remains unexplained. Patch for this exact head, GPU fixture, results and reproduction commands.
@Sigtryggur-Mani-Gudmundsson on GitHub · 2026-11-24 04:51 UTC · original · edited 2026-11-24 05:22 UTC
On
e0d4fd2bwithLEONIDA_GRAPHICS_STAGE_LAYOUT=1, I reproduced two graphics root-signature bugs. A 17-table signature fits s8–s24, but binding it invalidates the list because creation records the legacy packing result. A signature with one table and 24 constants falls back to the legacy offsets, but the recorder drops the high address word. The patch uses the signature’s selected layout for both decisions.A synthetic 17-table draw with four additional constants failed at
Close()on this PR head. After the fix, three draws through the device proxy and Vulkan queue produced the expected RGBA values at all 4,096 pixels on an RTX 4070 Ti under Wine. Five recording cases passed in each mode, and the existing 14 bundle scenarios passed. The fixture uses hand-written shaders. Retail output and native MSVC remain unverified.Developed with Codex from this branch’s packers, command recorder and M1.5 fixture. Source patch for this PR head · Pixel fixture, cross-build adaptations and reproduction commands
Descriptor updates on the default graphics layout. On the same branch, binding short and wide tables at the same GPU address kept the short range. The proxy also lacked a provider for the existing submit-time descriptor copy. With both fixes, changing the last CBV after
Close()and resubmitting the same list produced two distinct 64-word patterns on an RTX 4070 Ti under Wine. The original branch and both single-fix controls matched 0/64 twice. Routing the scan through the queue’s own device also fixed the two-device case. Guard slots on either side stayed untouched. This builds on Mumogg’s heap mirror and Etr0p’s scanner. Two-commit patch, GPU results and combined patch orderI also checked the opposite copy direction under Wine.
CreateConstantBufferViewandCopyDescriptorsSimplepopulated the real slot, but a CPU copy from the title backing still produced 0/64 expected words twice. With the Vulkan heap verifying its own mapping, each CPU copy produced 64/64 on the GPU. Read-only backing and the disabled mirror controls passed. Write-through follow-up patch and reproductionFor sampler tables, swapping wrap and clamp in game-owned memory after
Close()matched 512/4,096 pixels in the M2 textured draw. Including sampler heaps in the submission refresh brought that to 4,096/4,096, including when the same list was resubmitted after restoring the original order. The one-slot case preserved its neighbor and the unbounded case refreshed slot 2,047. This extends AlxcBTW and Vonsek’s M2 fixture. Sampler patch and reproduction · Current descriptor patches and test results@oscarlosu-lab on GitHub · 2026-11-24 05:15 UTC · original
Tested this branch on native Windows 11 + MSVC x64 (VS 2026 / 19.52.37029) + Intel Core i5-12400F + NVIDIA GeForce RTX 3060 (driver 621.35):
Build (
cmake -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo --target gta6rt)[43/43] Linking CXX executable gta6rt.exesucceeds with 0 MSVC errors.C4459(kPcResourceFlagsMask/kPcResourceFlagsshadowing inruntime/shims/d3d12_xs_device.cpp),C4456(ntshadowing inruntime/src/pe_loader.cpp),C4267(size_ttouint32_tinruntime/src/vulkan_replay.handruntime/shims/d3d12_vulkan_device.cpp), andC4996(getenv/_wfopen).Runtime observation (native Windows + Intel host)
PresentX ready,slot 25, and shader/PSO compilation (slot 67).CLZERO, theCLZEROemulation path becomes a heavy kernel-mode bottleneck (~181 skernel time out of~187 son one thread). Pairing this stack with #421 (RT-CLZERO-LOOP) directly eliminates that bottleneck on non-CLZEROdesktop CPUs.AI-assisted.
@Tyrannys on GitHub · 2026-11-24 05:33 UTC · original
Windows build fix:
scripts/build_runtime.ps1line 84 doesn't parse ate0d4fd2b8The merge put the two new file names inside the
ForEach-Objectstring instead of the file list. PowerShell refuses the script, soBuild.bat/make_game.py --stages runtimestop on Windows before compiling. The Linux cross-build and a directcmakebuild skip this script, which is why it hasn't shown up there.With this change the script parses (
[Parser]::ParseFilereports 0 errors) and the runtime stage builds with MSVC on Windows 11 (RTX 4070 SUPER, Ryzen 7 9800X3D). AI-assisted (Claude Code).@Tyrannys on GitHub · 2026-11-24 07:08 UTC · original
The carved pieces, stacked on
main, reach the frame loop on native Windowsmain8f481cf16merged locally with: #375 #377 #383 #385 #387 #391 #395 #396 #403 #414 #416 #427 #428 #430 #432 (this branch's carved pieces), plus #445 (madhyn: command-list IID at slot 73), #360 (Andretuta: 0x40-byte D3D12_OPTIONS) and #219 (Andretuta: device slots 86/101/108). All merged cleanly except #219, which conflicts with #369/#385/#383. Both sides kept, and 86/101/108 added todevice_slot_overridden. One local change on top, described in #428: sampled-only A8_UNORM textures of any dimension.Windows 11, RTX 4070 SUPER, Ryzen 7 9800X3D, MSVC (
make_game.py --stages runtime), own 1.0.2.1 copy,LEONIDA_D3D12=vulkan,--trace-d3d12, killed at 300 s. Pipeline library compute shaders: 1,928 of 2,684 translated (#321's translator plus #327 with two local fixes, posted on #327 separately). 0 slot-67 misses.How far each addition got:
main+ the 15 piecesint3after slot 73 (unknown command-list IID)int3at 20 s, right afterGetResourceAllocationInfo format not supported yet: 65(a 128x1 TEXTURE1D A8_UNORM, no flags)Last run: 82,036 pipeline states, 126,272
ExecuteCommandLists, 31,567PresentX(about 105/s), 31,567 draws. In steady state each frame is oneClearRenderTargetView, oneDrawInstancedwith one SRV, thenPresentX. Window captures at 60, 150 and 280 s are a uniform white. On #321 alone the same captures were black. The OBS graphics hook was injected into the process during this run, so the white capture may not be what was presented. Not verified.Still logged: device slot 81 forwarded beyond the PC vtable (E_NOTIMPL),
CreateLifetimeTrackerunsupported, and the ACP HAL dropping commands withXApuGetResultCountreturning 0. I haven't found what the title is waiting on in this state.AI-assisted (Claude Code).
@towade on GitHub · 2026-11-24 07:39 UTC · original
AMD and Intel on native Windows for this branch, since the runs so far are NVIDIA. Tested
e0d4fd2b8as is (nomainmerged, no extra PRs, #421 not applied), Windows 11 26300, MSVC 19.44 through CMake + Ninja (so thebuild_runtime.ps1parse error doesn't come in), i7-14700K, own 1.0.2.1 copy,LEONIDA_D3D12=vulkan,--trace --trace-d3d12, the executable's network blocked in the Windows firewall, killed at 300 s. Counts only.Work folder: the shaders stage of
main6312c057f+ old #7529, #7746 and #8858 (merged locally): 26,503 main, 18fspx/, 52bvh/, 1,538 of 2,684library/(fewer than the 1,928 above, so some slot-67 misses below are the work folder's), 10exe/, andnative_hashes.txt(25,321 digests).AMD Radeon RX 9070 XT (RDNA4, driver 32.0.32029.2010): no crash in either run, but far from the NVIDIA numbers.
ExecuteCommandListsDrawInstancedPresentXIn run 2 the first
PresentXcomes at about a sixth of the D3D12 log and pipeline creation goes on to its last lines, so here the up-front PSO creation is what holds the boot back, and a warm driver cache helps little. Also logged: 10,241unsupported, slot 67 misses (no translated compute shader for FSPX kind-6 and kind-0, several pipeline-library programs), andxg_xstexture computer slot 10E_NOTIMPL.Intel UHD Graphics 770 (Xe-LP, driver 32.0.101.7092, no
VK_EXT_mesh_shader): 2 of 2 runs end after 2 s with the title'sint3at 1,656 D3D12 calls (1,634 ok, 22 called). The last lines are device slot 41's first call,CreateCommandSignature, with Xbox argument type 105 (stride 12) created asDISPATCHbecause the device has no mesh shaders; the title asserts right after. I saw the same stop on theladderstack with #7858 yesterday. So on a GPU without mesh shaders theDISPATCHstand-in for type 105 doesn't get the title past slot 41; the mesh PSOs it would need are refused anyway (mesh-shader PSOs are unsupported).Not run: #421 (CLZERO loop) on this Intel CPU, the carved pieces on
mainas in Tyrannys' run, and window captures.AI-assisted (Claude Code).
@oscarlosu-lab on GitHub · 2026-11-24 08:22 UTC · original
A note for testing this branch on Windows, from Marvisak/VIctory (GPL-3.0) commit
ff8694a69, which measured it on the same title:Alt or F10 sends
WM_SYSCOMMAND/SC_KEYMENUto the title's window. The default handling (DefWindowProc) runs a modal menu loop on the thread that owns the window, which is the title's: the title stops drawing and reading input until a key ends the loop, nothing on screen shows it (no menu bar), and the title aborts itself about half a minute later. The abort is a deliberate write to address 0 atgame_scarlett_master.exe+0x23cf683(mov dword ptr [0], 0x4d8bd421, checked statically in 1.0.2.1), so on Windows it ends the run as an access violation that looks like a crash in the layer.VIctory drops
SC_KEYMENUin the window procedure it puts in front of the title's (next to itsSC_CLOSEhandling); the mouse can still open the window menu. Here the title's window is the onefind_title_windowfinds, so the same filter would go wherever the layer subclasses or hooks that window's procedure. Not something I have measured on this branch: I'm noting it so an Alt-Tab during a test run is not read as a layer fault.@towade on GitHub · 2026-11-24 08:33 UTC · original
Correction to the Intel part of my run above: the UHD 770 stop is the same title assert that fiestorra traced in #14 to the failed
RegisterClassExAof the title's window class (claimed as RT-GUEST-WINDOW-CLASS) — the exception address in both of my Intel runs on this branch, and in my earlier run on theladderstack, is the one in that finding. Slot 41 (type 105 asDISPATCH) is only the last call logged before it, so I should not have named it as the cause; whether the missing mesh shaders play a part on this GPU is open. The RX 9070 XT runs on this branch do not reach that assert.AI-assisted (Claude Code).
@cobrabm12 on GitHub · 2026-11-24 08:58 UTC · original
I tested the DirectStorage queue from this branch at
e0d4fd2b8using VIctoryd2a4bae1fas the loader and renderer. On an RX 7600 XT with Wine 11.21 and RADV 26.2.5, the rebuilt adapter loaded, accepted input at the offline account picker and reached Navigation Experience. VIctory can also reach that menu with its own queue.The independent result is delivery to physical destinations. With the unmodified Leonida queue, 18,405 of 19,032 requests completed successfully and all 627 physical destinations failed. With the patch, two runs completed all 19,032. Reading back the physical pages independently matched 45,527,040 bytes per run. The synthetic
dstorage_test.exe --physical-pagespassed all 40 checks. The standalone Leonida loader and renderer still produced black frames in a separate test.The source bundle includes both patches, the small provider and launcher, pinned build commands and the test scope. I cross-built all four Windows x64 files from fresh source checkouts and repeated the menu boot. Native Windows remains untested. AI-assisted with Codex. Source and reproduction instructions
@roanh47 on GitHub · 2026-11-24 12:22 UTC · original
Windows / RTX 3070 frame-loop result
Tested the PR #321 head
e0d4fd2b81e6636b1c6bb2f76be79e910e84d84bon Windows 11, MSVC 14.44.35207, NVIDIA GeForce RTX 3070 (Ampere), driver 610.88, Vulkan SDK 1.4.363.0, with a byte-verified 1.0.2.1 package (108/108 manifest entries).The full shaders stage completed first: 26,503 corpus shaders, 21 FSPX programs, 52 BVH programs and 2,528 pipeline-library programs. The runtime loaded 29,104 translated shaders.
Guarded boot
A wrapper sampled free system RAM every 2 seconds and stopped the process if it fell below 3 GiB.
CreatePipelineState okCreatePipelineState failedPresentX ok/ failedDrawInstancedExecuteCommandListsThe stack reached the frame loop and continued presenting until the RAM guard stopped it. There was no crash, no failed present and no title
int3in the startup trace.The first D3D12 failures were 14
CreatePipelineStaterefusals for one executable-embedded vertex shader that this branch does not translate; they were nonfatal and are the already-tracked RT-EXE-SHADERS work (#387). The 10,241 unsupported calls wereCreateLifetimeTracker(#438). The actual end of this run was the memory guard, not a runtime exception.Command evidence
boot_trace.py --counts-onlyreported 63,176 calls: 52,372 ok, 547 called, 14 failed, 10,241 unsupported and 2 other.Follow-up patch
Claimed RT-LAZY-PSO-RECT-LIST in coordination issue #14: #14
Focused local commit
8930bfbc2onfix/lazy-pso-rect-list(main + #511 + #682) generates rectangle-list geometry before the lazy-PSO stage cleanup releases the translated vertex words. Before the fix, both rectangle-list tests failed with “the vertex shader is not a SPIR-V module”; after it, both pass on this RTX 3070, including withLEONIDA_VK_VALIDATION=1:Counts and outcomes only; no game data included.
AI-assisted (DeepSeek v4.1 Flash 1017).
@roanh47 on GitHub · 2026-11-24 12:30 UTC · original
Provenance clarification for the 14 nonfatal PSO refusals: the shader build was run from plain
main, whose shaders stage does not producespirv/exe/index.json. PR #321 already has both the executable-shader build step and runtime loader for that subindex. The verified executable contains one embedded vertex shader and nine embedded pixel shaders, so the repeated missing-VS refusals are consistent with that omitted subindex and remain covered by RT-EXE-SHADERS / #387.No game data included.
AI-assisted (DeepSeek v4.1 Flash 1017).
@roanh47 on GitHub · 2026-11-24 13:22 UTC · original
Windows / RTX 3070 — PR #321 + #511 + rectangle-list fix + #588 + #461 + #517
Tested on Windows 11, MSVC 14.44.35207, NVIDIA GeForce RTX 3070 (Ampere), driver 610.88, Vulkan SDK 1.4.363.0, with a byte-verified 1.0.2.1 package.
Stack head:
2ffc005d9(PR #321e0d4fd2b8plus local cherry-picks of #511, rectangle-list fix8930bfbc2, #588, #461, #517 and an opt-in allocation tracer).Validation
Guarded boot
Command:
The wrapper stopped the process if free RAM fell below 3 GiB or after 600 seconds.
CreatePipelineState ok/ failedPresentX ok/ failedAll seven captured frames are 2564×1421 and 100% black (mean RGB 0.00, one unique color).
First stop advanced
The previous
int3atgame_scarlett_master.exe+0x344196is gone. That assert was the high dword ofGetResourceAllocationInfo().SizeInBytes; allocation tracing identified a 2560×1440 B4G4R4A4 render target returningUINT64_MAX, already fixed by claimed PR #517.The new stop is a title
int3atgame_scarlett_master.exe+0x14a6390, afterID3D12Device10::CreateCommittedResource3refuses a 3D depth-stencil resource (768×768×6, format 53,ALLOW_DEPTH_STENCIL). Last recorded call:#84673 CreateCommittedResource3 failed.Also measured in this run:
E_NOTIMPLcalls (#461 path active);GPU address arena fulland noExecuteCommandLists failed: unknown resource;CreateLifetimeTrackercalls.Follow-up claimed
RT-TITLE-RESERVATION-ARENAin coordination issue #14: #14The measured NVIDIA path is to allocate the title's placeholder reservation from inside the arena's host mapping and rebase title addresses by subtraction, rather than importing a separate sparse buffer. This depends on #375/#644 but does not duplicate them.
Counts, shapes and outcomes only; no game data included.
AI-assisted (DeepSeek v4.1 Flash 1017).
@Dezmonius on GitHub · 2026-11-24 13:37 UTC · original
Native Windows synthetic presentation check on integration head
e0d4fd2b8: Windows 10 22H2 (19045), RTX 5070 / NVIDIA 610.88, MSVC 19.51.36256, Vulkan.d3d12_presentpassed with Khronos validation 1.4.369: 70 frames through the Xbox-ABI proxy, swapchain recreation on resize, and the expected colour in the captured presented images.xbox_presentpassed with validation off, including readback, colour composition and the real-time 30-frame loop.LEONIDA_VK_VALIDATION=1, two stockxbox_presentruns exited0xc0000409. An unbuffered diagnostic repeat exposed the layer message:The VkDevice dispatch handle was not found and Validation will crash. The earlier standalone-device capture had already passed. The last runtime line was the Xbox proxy's firstRelease; the exact Vulkan call and root cause are still unconfirmed.This is a synthetic test finding. The retail executable was not run and these results do not establish the cause of a blank retail frame. No game files or game logs used for these tests. AI-assisted (Codex).
@otaviosza on GitHub · 2026-11-24 13:50 UTC · original
Tested on native Windows with MSVC, which the description says was not tried yet: Windows 10 22H2 (19045), NVIDIA GeForce RTX 3060, driver 610.88 (32.0.16.1088), MSVC 19.44, Windows SDK 10.0.26100,
LEONIDA_D3D12=vulkan, own 1.0.2.1 copy, shaders translated bymake_game.pyonmain.scripts/build_runtime.ps1does not parse on this branch: line 84 (the cl.exe fallback's$fileslist) has merge debris (ForEach-Object { "", "shims\dstorage.cpp", "shims\xbox_bvh_builder.cpp"$src$_"" }), so the whole script fails with a ParserError even on the CMake path. I built with the generated CMake + Ninja commands directly; all targets build with MSVC.LLVM ERROR: out of memoryfrom the driver's compiler.no translated compute shader for FSPX kind-6 and kind-0 sha256 …(0x80070057); none of those hashes appear anywhere in the work folder's indexes.PS_BlitColour_*is wave64 and the device is 32-wide, so it runs inexact ("no emulation exists for wave64 ps shaders yet").@ThomasHFWright on GitHub · 2026-11-24 23:33 UTC · original
Independent Linux/Wine validation of exact head
e0d4fd2b81e6636b1c6bb2f76be79e910e84d84b, plus an isolated rendering-patch comparison. AI-assisted.Hardware/environment: Ryzen 7 9800X3D, RTX 5090, NVIDIA 620.73.04, Wine 11.22, Linux 7.3.6-1-cachyos. Title runs used the actual desktop, isolated networking, read-only package input, and separate writable artifacts. No shader substitutions or exception-skipping flags.
Build/test results
dxgi_host_parityanddxgi_waitable_latency. Some failing comparisons use Wine's host D3D12, not Microsoft's implementation; this is not a clean compatibility result.The comparison applied the published
boot-rectangle-corners,graphics-root-layout,descriptor-table-refresh,descriptor-write-through, andsampler-table-refreshmailboxes from graphics-runtime-patches, preserving authorship. One overlapping sampler hunk needed the intended helper rename totable_descriptor_count. All 15 focused tests passed, including enabled/disabled descriptor and sampler controls, second-device rebinding, rectangle geometry, and compact/legacy root layouts. Shader tools were unchanged.Real title results (PresentX counted at one layer, not double-counted):
LEONIDA_ARENA_MB=1024Each was stopped by its time bound (exit 124), not an application crash. These are not performance comparisons; later runs reused caches. The longer run experienced cgroup MemoryHigh pressure and swap use, but no hard-limit/OOM kill.
Concrete finding: with the 256 MiB default, the first three runs logged 14/12/14 slot-67 native compute failures returning
E_OUTOFMEMORY. At 1 GiB these disappeared, with no logged arena refusals. Allocation logging reached 256.37 MiB in the 180 s run, beyond the old limit. The longer run still had nine slot-67E_INVALIDARGfailures, each accompanied by a missing translated compute-shader diagnostic.This confirms a frame loop here, not visible gameplay. Increasing the arena removes one observed failure but does not solve the black frames. Next comparison is the newer first-run UI integration in #939. No game-derived files, raw title logs, shader identifiers, or captures attached.