[neon/kde/kwin/Neon/unstable] debian/patches: diff around DRM_BUS_FAUX
Carlos De Maine
null at kde.org
Wed Apr 1 12:56:36 BST 2026
Git commit c960ba2816dc42044fa74a7810c0cb683b121d58 by Carlos De Maine.
Committed on 01/04/2026 at 11:56.
Pushed by carlosdem into branch 'Neon/unstable'.
diff around DRM_BUS_FAUX
A +19 -0 debian/patches/DRM_BUS_FAUX.diff
A +1 -0 debian/patches/series
https://invent.kde.org/neon/kde/kwin/-/commit/c960ba2816dc42044fa74a7810c0cb683b121d58
diff --git a/debian/patches/DRM_BUS_FAUX.diff b/debian/patches/DRM_BUS_FAUX.diff
new file mode 100644
index 0000000..6c64929
--- /dev/null
+++ b/debian/patches/DRM_BUS_FAUX.diff
@@ -0,0 +1,19 @@
+diff --git a/src/core/renderdevice.cpp b/src/core/renderdevice.cpp
+index d5c4413cc9..ba35076a74 100644
+--- a/src/core/renderdevice.cpp
++++ b/src/core/renderdevice.cpp
+@@ -187,8 +187,14 @@ static std::unique_ptr<VulkanDevice> openVulkanDevice(const vk::raii::Instance &
+ qCWarning(KWIN_VULKAN) << "querying vulkan devices failed:" << vk::to_string(enumerateResult);
+ return nullptr;
+ }
++
++#if HAVE_LIBDRM_FAUX
+ // with faux devices like vkms and vgem, we can only do software rendering
+ const bool needsSoftwareDevice = drm->busType() == DRM_BUS_FAUX;
++#else
++ const bool needsSoftwareDevice = false;
++#endif
++
+ for (const vk::raii::PhysicalDevice &physicalDevice : physicalDevices) {
+ const auto basicProperties = physicalDevice.getProperties2();
+ const bool isSoftwareDevice = basicProperties.properties.deviceType == vk::PhysicalDeviceType::eCpu;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ad6444d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+DRM_BUS_FAUX.diff
More information about the Neon-commits
mailing list