From c34111d4349ac12248e4488b6ccb3191dea84a64 Mon Sep 17 00:00:00 2001 From: Paul Neri <67437654+DasPauluteli@users.noreply.github.com> Date: Mon, 11 May 2026 20:51:32 +0200 Subject: [PATCH] fix: accept integrated GPUs in physical device selection The suitability check in findPhysicalDevice() already validates all required capabilities (VK_KHR_ray_tracing_pipeline + acceleration structure + synchronization2 + bufferDeviceAddress). The additional hard-coded filter for VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU silently rejects APUs and integrated GPUs that fully support ray tracing, producing the "[PhysicalDevice] No suitable physical device found!" crash at startup. Remove the device-type filter so that selection is capability-based. Fixes Radiance#214, Radiance#240. Also likely fixes Radiance#87 (Intel Arc 140T reports as INTEGRATED_GPU and crashes the same way). Co-Authored-By: Claude Sonnet 4.6 --- src/core/vulkan/physical_device.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/vulkan/physical_device.cpp b/src/core/vulkan/physical_device.cpp index cb5d254..9ee6965 100644 --- a/src/core/vulkan/physical_device.cpp +++ b/src/core/vulkan/physical_device.cpp @@ -79,8 +79,6 @@ void vk::PhysicalDevice::findPhysicalDevice() { VkPhysicalDeviceProperties properties; vkGetPhysicalDeviceProperties(device, &properties); - if (properties.deviceType != VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU) continue; - physicalDevice_ = device; #ifdef DEBUG physicalDeviceCout() << "found suitable physical device" << std::endl;