vulkan present on Xwayland with proprietary nvidia modeset=0
serenissi
serenissi at inventati.org
Sat May 3 02:14:14 UTC 2025
I observe that on intel + nvidia system booted with nvidia_drm.modeset=0
(intel is primary), vulkan apps such as vkcube running on nvidia gpu
present over Xwayland on xcb wsi. In this setup however swapchain fails
on wayland wsi. This is also indicated by
`vkGetPhysicalDeviceSurfaceSupportKHR` and vulkaninfo:
present support:
VK_KHR_xcb_surface = true
VK_KHR_xlib_surface = true
VK_KHR_wayland_surface = false
In the case of Xwayland, bufinfo shows dmabufs created by 'drm' and
attached to the intel gpu so I think intel is importing the bo.
So I'm curious why without nvidia_drm.modeset enabled vulkan apps can
presnt over Xwayland but fails to do so directly over the same wayland
compositor Xwayland is running on.
Is it something intentional by the nvidia proprietary vulkan driver or
there exists some technical reason behind it?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x20257A7131FFF28B.asc
Type: application/pgp-keys
Size: 652 bytes
Desc: OpenPGP public key
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20250503/e0552495/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20250503/e0552495/attachment.sig>
More information about the wayland-devel
mailing list