<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/runtime/src/submit_phases.h, branch ci/exclude-legacy-cpp-runtime-tests</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-30T15:34:27+00:00</updated>
<entry>
<title>submit_phases: keep timing scopes for the frame and floor lines</title>
<updated>2026-11-30T15:34:27+00:00</updated>
<author>
<name>OreoFR</name>
<email>tony37160@hotmail.fr</email>
</author>
<published>2026-11-30T15:34:27+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=c13dc82a51588728187ed14ee67d9eab2677cdaf'/>
<id>urn:sha1:c13dc82a51588728187ed14ee67d9eab2677cdaf</id>
<content type='text'>
timing_wanted() looked only at the periodic line and the dev overlay, so with
LEONIDA_SUBMIT_PHASES_SECONDS=0 the frame and floor lines (on every
LEONIDA_SUBMIT_FRAME_SECONDS, 10 s by default) were printed with zero phase
times (found by merzleckeier on #2738). They read the phase times too, so they
now count as a consumer. The new test turns the periodic line off before the
first read and checks that scopes stay timed.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge origin/main (f9f3ec4c6) into the carry of #2031</title>
<updated>2026-11-30T13:29:22+00:00</updated>
<author>
<name>OreoFR</name>
<email>29048345+OreoFR@users.noreply.github.com</email>
</author>
<published>2026-11-30T13:29:22+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=b29142696608894ac3f5ba4035a2b67566752829'/>
<id>urn:sha1:b29142696608894ac3f5ba4035a2b67566752829</id>
<content type='text'>
Current main after #2566; no new conflicts on top of the earlier carry merge.

Co-authored-by: Ilyass Roussi &lt;76879547+IlyassRS3@users.noreply.github.com&gt;
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge origin/main into carry/pr-2031</title>
<updated>2026-11-29T12:51:28+00:00</updated>
<author>
<name>OreoFR</name>
<email>29048345+OreoFR@users.noreply.github.com</email>
</author>
<published>2026-11-29T12:51:28+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=3beeb56bfb3dc99f60e85e85211ba3c2d88223bc'/>
<id>urn:sha1:3beeb56bfb3dc99f60e85e85211ba3c2d88223bc</id>
<content type='text'>
submit_phases: main's nested-phase Scope kept; the PR's skip now applies only when nothing reads the times (timing_wanted(): period 0 and LEONIDA_DEV_OVERLAY not 1).

Co-authored-by: Ilyass Roussi &lt;76879547+IlyassRS3@users.noreply.github.com&gt;
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>runtime: single-flight before_execute coalescing, frame-group async room, and lock/worker telemetry</title>
<updated>2026-11-28T06:06:40+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-28T06:06:40+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=758b98756ca86dd23d756a39973ca836be6a342d'/>
<id>urn:sha1:758b98756ca86dd23d756a39973ca836be6a342d</id>
<content type='text'>
Eliminates multi-worker global lock convoys, Wait-split async room stalls, and instrumentation blind spots:
- vulkan_backend.h / d3d12_vulkan_device.cpp / d3d12_com.cpp: adds visibility_seq_ &amp; signaled_visibility_seq_ tracking and BeforeExecuteCoalescer so concurrent/back-to-back cross-queue submissions serialize global refresh passes to one leader and skip redundant refreshes when pass_seq &gt;= req_seq (opt-out LEONIDA_BEFORE_EXECUTE_COALESCE=0).
- vulkan_backend.h: replaces Wait-broken pending_submit_groups_locked() with pending_frame_groups_locked() and max_batches = max(16 * depth, 64) for depth &gt;= 2, eliminating mid-frame room_cv_ stalls on Wait-heavy frames.
- vulkan_backend.h / submit_phases.h: includes release_held() and pump_ready() in async_worker() busy time and adds worker_lock_wait_ns reporting.
- d3d12_vulkan_device.cpp / d3d12_com.cpp: lock-free ConsoleHeap::in_place_work_pending fast-skip, FilterPageCache in finish_in_place(), identical-base dedup of mirror_ranges, and cached console-heap fast-path in GraphicsCommandList::address().

AI-assisted: Antigravity (Gemini 4 Neon).
</content>
</entry>
<entry>
<title>runtime: Stage 4 same-queue submit merge, async geometry epoch, and O(1) floor</title>
<updated>2026-11-27T22:53:44+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-27T22:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=34173ab04b622ec5004f19b25d7fd4449ec7c0da'/>
<id>urn:sha1:34173ab04b622ec5004f19b25d7fd4449ec7c0da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>runtime: per-frame CPU line and the floor of an unchanged submission, beside the submit phases line</title>
<updated>2026-11-27T10:19:48+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-27T10:19:48+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=adc74d5d652379ed329c3293ec12561c50c0d20e'/>
<id>urn:sha1:adc74d5d652379ed329c3293ec12561c50c0d20e</id>
<content type='text'>
Two always-on lines every LEONIDA_SUBMIT_FRAME_SECONDS (10 by default, 0
off), from the counters the phase line already keeps and a few more:

[rt] submit frame: frames presented and, per frame, the submissions by
queue kind and the milliseconds the title's threads spent in the layer:
the existing phases counted per frame instead of per submission, plus
what the phase line leaves out - ExecuteCommandLists outside the phases
(list unwrapping, the console's list-value waits and writes, the queue
lock), the queues' Signal and Wait, and the present. Inside those, the
vkQueueSubmit calls and waits for contended submission-path locks are
given apart. Then the window's worst frame and the time of our own
threads per frame: the submit worker (LEONIDA_SUBMIT_ASYNC), the texture
read threads and filler, the console heap resolver, the geometry
refresher, the list values' pump and releaser, the fence callbacks.

[rt] submit floor: how many submissions changed nothing (no heap slot or
page, shadow page, geometry, texture fill or pipeline build), their
average and least cost and their phases, against all submissions.

Title calls are timed once, at their outermost entry, less the phases
inside them; a WorkerScope marks our own threads so their phases are not
counted as the title's. A frame ends at each present the presenter takes.

submit_frame_test checks a scripted run on the CPU (frame sums, title and
own threads, worst frame, floor) and, with a Vulkan device, that the floor
of 20 empty submissions through VulkanQueue sums to exactly what the
phase totals grew by.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge main c1e1ef0b8 into RT-POST-LOAD-GPU-MEMORY (#2098)</title>
<updated>2026-11-25T23:36:19+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-25T23:36:19+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=3a2820b3bff812ff3cff6a4d4087912edb0541bb'/>
<id>urn:sha1:3a2820b3bff812ff3cff6a4d4087912edb0541bb</id>
<content type='text'>
Two conflicts:

- d3d12_com.cpp, note_direct_heap_indexing: main's console_descriptor_table_va(cbv_srv_uav_base_) for the tracked
  table, with this branch's per-site once() flag instead of note_once on every draw.
- d3d12_vulkan_device.cpp, PipelineState::build_compute: this branch's body (build_compute_pipeline, journal, compile
  helper). main's dev_status::Build around the compute create moves into build_compute_pipeline, next to the
  pipeline_profile::DriverCall, so the status line still names the compute pipeline in the driver.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Build pipelines through main's PipelineCompiles path again, not #2098's pre-pass</title>
<updated>2026-11-25T23:05:25+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-25T23:05:25+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=b83ae01f5c16165a27c345adab88c8e189a6408a'/>
<id>urn:sha1:b83ae01f5c16165a27c345adab88c8e189a6408a</id>
<content type='text'>
At the maintainers' decision, main's compile path wins over #2098's second one. #2098 made every lazy PSO
asynchronous (async_build = true) and built what a submission needs in a pre-pass of VulkanQueue::execute, one
pipeline after another on the submitting thread, with a per-variant state machine (replay_get / replay_await) and a
wait budget (LEONIDA_PIPELINE_WAIT_MS, LEONIDA_PIPELINE_WAIT_FRAME_MS). That bypassed PipelineCompiles and
PipelineWorkers (parallel compiles with resource_mutex_ released, #1742) and the LargeModuleGate budget (#1889), which
d3d12_pipeline_workers(_eager) and d3d12_big_compute_* check.

Removed: the pre-pass (collect_pipeline_awaits, await_pipelines, PipelineAwait, ComputePipeline/GraphicsPipeline::
await), PipelineState's Build states, replay_get/replay_await, set_pipeline_build_hook, the wait budget and its 10 s
line, and d3d12_pipeline_wait_test, which tested only that. PipelineState is wired as on main again: async_build =
LEONIDA_ASYNC_PIPELINES, queue_build for asynchronous builds, build_compute / variant through PipelineCompiles
otherwise.

Kept from #2098, adapted to main's path:
- the record-time build request (request_pipeline_build): queue_build without counting a skip;
- compile-helper deferral: a compute build the helper is still making publishes nothing, so its next use asks again;
- big warm-ups left to their first use while the title submits (LEONIDA_COMPUTE_WARMUP_LIVE_MAX_BYTES):
  src/pipeline_wait.h keeps only the last-submission time this reads, noted by VulkanQueue::execute.
docs/d3d12_vulkan.md, "Pipelines still being built", says what is left.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>runtime: LEONIDA_DEV_OVERLAY shows what the runtime is doing over the title's window (RT-DEV-OVERLAY)</title>
<updated>2026-11-25T22:28:38+00:00</updated>
<author>
<name>Snooozs</name>
<email>0randale196@gmail.com</email>
</author>
<published>2026-11-25T22:28:38+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=f6cb4aedfc01d8e8421122643ea668ae71a6abf5'/>
<id>urn:sha1:f6cb4aedfc01d8e8421122643ea668ae71a6abf5</id>
<content type='text'>
A click-through window of its own with its own thread: frame and submission rate, a submission's CPU time by phase, the
phase running now, pipeline builds in flight, indirect draws, cores and memory. Off by default. submit_phases keeps
per-phase counts of the threads inside a phase, so overlapping submissions of several queues leave none behind.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Improve post-load GPU memory and pipeline handling (RT-POST-LOAD-GPU-MEMORY)</title>
<updated>2026-11-25T20:30:51+00:00</updated>
<author>
<name>Moriz82</name>
<email>72836413+Moriz82@users.noreply.github.com</email>
</author>
<published>2026-11-25T20:30:51+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=9f98dcc617df5b21eb66b48a289914b551769029'/>
<id>urn:sha1:9f98dcc617df5b21eb66b48a289914b551769029</id>
<content type='text'>
Fall back to a dedicated buffer allocation when the shared arena fills.
Update console descriptors and resource backing, preserve pipeline cache
entries, and replay mesh records using bounded indirect arguments. Keep
scripted input available until read and cover the runtime and translator
paths with synthetic tests.

Co-authored-by: Plaaasma &lt;47513553+Plaaasma@users.noreply.github.com&gt;
Co-authored-by: ivanepsilondelta &lt;264061546+ivanepsilondelta@users.noreply.github.com&gt;
</content>
</entry>
</feed>
