From b43291c5420964424bfcf0aab0f1454c2c3b0613 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Sat, 24 Oct 2026 22:13:05 -0400 Subject: tools/vk + nvkmstrace: real-Vulkan probe stack for the emulated vGPU - vk_probe/vk_probe2 (ctypes loader probes: enumerate + create device/queue), vk_frame (headless Vulkan compute renderer: loads the NVIDIA ICD, paints a plasma into an RGBA8 storage image, reads it back to PPM and publishes frames into the kvmfr ivshmem BAR), vk_plasma.comp -> SPIR-V; nvkmstrace.c (LD_PRELOAD NVKMS ioctl logger that decoded the vkCreateDevice failure to ALLOC_DEVICE cmd=0). Measured: the NVIDIA device enumerates and its Vulkan ICD loads (2 ICDs: NVIDIA + llvmpipe); vkCreateDevice fails VK_ERROR_INITIALIZATION_FAILED because nvKmsAllocDevice returns non-success after the display shim --- tools/vk/vk_plasma.spv | Bin 0 -> 2800 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tools/vk/vk_plasma.spv (limited to 'tools/vk/vk_plasma.spv') diff --git a/tools/vk/vk_plasma.spv b/tools/vk/vk_plasma.spv new file mode 100644 index 0000000..7c12b51 Binary files /dev/null and b/tools/vk/vk_plasma.spv differ -- cgit v1.2.3