From 97fd8d0fe835d76dcd85a396b67ce7033df3c7b6 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 05:32:17 -0800 Subject: [PATCH] RUNTIME_VERSION 1973 and the runtime-sources pin for a lost generation's rest that waits each queue under its lock exitcrash b557220835: keep_nothing (a lost generation coming to rest) called vkDeviceWaitIdle, which needs every VkQueue externally synchronized (vkspec 7.8), while the generation's m2v-submit-check thread could be in vkQueueSubmit under its queue's lock. DeviceShared::queues_idle now waits each queue idle under its QueueSlot lock; keep_nothing and drain_queues use it. Runtime behaviour changed: RUNTIME_VERSION 1972 -> 1973, pin recomputed. Verified by exitcrash (m3-max-11745, ms01 Iris Xe, runtime_lane:: device_recovery under the validation layer, 5 runs each): base 19276dd2a5 fails all 5 (1-4 tests a run, THREADING ERROR both directions); tip 5/5 green, 6/6 tests, 0 THREADING lines. lavapipe and the runtime suite run in development's post-merge checks. --- 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 ae2b1f094..64e0dc5f4 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -46d6eeea5ae398343ddb0015583e691f821062e7f3d846d2c4b28b16f89623ef +15ad93ad50200b23e6893ed88a59842c82ef72a609b2d3646bcad05c29d01613 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index dafc7d9e2..857718a5c 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 = 1972; +pub const RUNTIME_VERSION: u32 = 1973; /// 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