[PR #1706] runtime: report in-flight Vulkan pipeline builds on request (RT-VULKAN-COMPILE-STATUS) #1720

Open
opened 2026-11-26 21:18:43 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1706
Author: @x2Tweek
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: compile-status


📝 Commits (2)

  • 246c603 Report in-flight Vulkan pipeline builds on request
  • 355e897 Identify the oldest pipeline in the compile heartbeat

📊 Changes

5 files changed (+153 additions, -4 deletions)

View changed files

📝 docs/boot.md (+1 -0)
📝 runtime/CMakeLists.txt (+4 -0)
📝 runtime/shims/d3d12_vulkan_device.cpp (+12 -4)
➕ runtime/src/compile_status.h (+104 -0)
➕ runtime/test/compile_status_test.cpp (+32 -0)

📄 Description

Claimed in the coordination issue as: RT-VULKAN-COMPILE-STATUS (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7157517798).

What and why

Set LEONIDA_COMPILE_STATUS=1 to report active graphics and compute PSO driver calls to stderr every ten seconds while work is in flight. Each heartbeat shows the active count, oldest call age and number of finished calls for that device. The total is not known in advance because the title requests pipelines at runtime.

Tested

  • Windows MSVC RelWithDebInfo runtime build passed. CTest registered 405 tests: 391 passed, 11 skipped, two disabled and one failed.
  • The new formatting test passed. A synthetic call blocked for 11 seconds emitted the expected heartbeat with the option enabled and emitted no heartbeat with it disabled.
  • The sole CTest failure, d3d12_geometry_views, returned VK_ERROR_DEVICE_LOST. A separate build of the same test on the base commit 3f81d46ac reproduced the same error on the same machine.
  • Five CTest registration tests, the game-data check and git diff --check passed. All verification used synthetic fixtures.

GPUs tested: NVIDIA GeForce RTX 5090, Windows driver 32.0.16.2124, Windows 11 build 26300.

AI-assisted: yes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1706 **Author:** [@x2Tweek](https://github.com/x2Tweek) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `compile-status` --- ### 📝 Commits (2) - [`246c603`](https://github.com/ubiquitarianism/leonida/commit/246c603ccb9a799fddb2149d3846146a50627830) Report in-flight Vulkan pipeline builds on request - [`355e897`](https://github.com/ubiquitarianism/leonida/commit/355e897dc2eee9e1b382db2a5741fefeda4c8817) Identify the oldest pipeline in the compile heartbeat ### 📊 Changes **5 files changed** (+153 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/boot.md` (+1 -0) 📝 `runtime/CMakeLists.txt` (+4 -0) 📝 `runtime/shims/d3d12_vulkan_device.cpp` (+12 -4) ➕ `runtime/src/compile_status.h` (+104 -0) ➕ `runtime/test/compile_status_test.cpp` (+32 -0) </details> ### 📄 Description Claimed in the coordination issue as: RT-VULKAN-COMPILE-STATUS (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7157517798). ### What and why Set LEONIDA_COMPILE_STATUS=1 to report active graphics and compute PSO driver calls to stderr every ten seconds while work is in flight. Each heartbeat shows the active count, oldest call age and number of finished calls for that device. The total is not known in advance because the title requests pipelines at runtime. ### Tested - Windows MSVC RelWithDebInfo runtime build passed. CTest registered 405 tests: 391 passed, 11 skipped, two disabled and one failed. - The new formatting test passed. A synthetic call blocked for 11 seconds emitted the expected heartbeat with the option enabled and emitted no heartbeat with it disabled. - The sole CTest failure, d3d12_geometry_views, returned VK_ERROR_DEVICE_LOST. A separate build of the same test on the base commit 3f81d46ac reproduced the same error on the same machine. - Five CTest registration tests, the game-data check and git diff --check passed. All verification used synthetic fixtures. GPUs tested: NVIDIA GeForce RTX 5090, Windows driver 32.0.16.2124, Windows 11 build 26300. AI-assisted: yes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#1720
No description provided.