From 5edcb8d876dcf83e22d8fc431238b24dca7afde1 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 01:36:40 -0800 Subject: [PATCH] RUNTIME_VERSION 1962 and the runtime-sources pin for the driver's stall told by thread CPU time exitcrash's submit_stalls change (051de6ce39) reads CLOCK_THREAD_CPUTIME_ID around each timed signalling call on a device whose driver has SignallingSubmitsStallEvery1024 alone, and counts a call as the driver's stall only where its thread spent STALL_NANOS of CPU in it. Beside other work, waits of 1.3-40.8 ms with little CPU had been taken as the stall and moved the scheduler's place off the real stalls, so none came due at an idle. The runtime changed, so RUNTIME_VERSION 1962. With it: the FAST-PATHS known gap for NVIDIA's exit fault (31cef63d20, trimmed to the gap and its bound by 6962de9cdc), and submit_stalls_idle running frames until a stall is taken idle or six periods of calls pass (26c06a4bca). Verified (exitcrash): RTX 5080 Laptop, NVIDIA 615.71.09, b5080 entry exitcrash-stallfix2 at e50d699573: submit_stalls_idle 7/7 (4 alone, 3 beside the runtime device suite at -j 6, 409 passing meanwhile), each taking exactly 1 stall idle; clippy -D warnings on the runtime, plain and --cfg m2v_gpu, clean (job 11384). Here: the API-signature check, REFUSALS.md and CONFORMANCE-COVERAGE.md regenerate unchanged, cargo fmt clean. --- crates/metal2vulkan-validation/runtime-sources.sha256 | 2 +- crates/metal2vulkan/src/cache/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index 828a8320e..a4a26b41c 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -595f7c8a861556537f5fa0ca1fbfa2d1d8c61432af1ef5de40363510edebe3bb +37495dbfeaaf0f4b44a55768bf7d14194916f95e15b92f439f54a4d2cfc6e483 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index e3684bf27..50e18eec5 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 497; /// changes no behaviour, and then updates that hash alone with the commit saying why, or changes /// behaviour and also bumps this version. The commit that bumps it says what changed; this comment /// keeps no history. -pub const RUNTIME_VERSION: u32 = 1960; +pub const RUNTIME_VERSION: u32 = 1962; /// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex, /// of the manifest, the build script, and exactly the files the crate roots' module tree compiles