FS#48837 - [vulkan-loader-layers] Enable WSI support for Wayland and Xlib

Attached to Project: Arch Linux
Opened by Dario Ostuni (dariost) - Friday, 08 April 2016, 04:55 GMT
Last edited by Laurent Carlier (lordheavy) - Sunday, 10 April 2016, 05:45 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The WSI support for Wayland and Xlib is disabled by default when building the Vulkan SDK.
The request is to enable it by adding -DBUILD_WSI_XLIB_SUPPORT=1 and -DBUILD_WSI_WAYLAND_SUPPORT=1 in the vulkan-loader-layers PKGBUILD when building with cmake the Vulkan SDK.
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Sunday, 10 April 2016, 05:45 GMT
Reason for closing:  Implemented
Additional comments about closing:  vulkan-loader-layers-1.0.8.0
Comment by Doug Newgard (Scimmia) - Saturday, 09 April 2016, 14:32 GMT
Why is it disabled by default and why should it be enabled in the package?
Comment by Dario Ostuni (dariost) - Saturday, 09 April 2016, 14:42 GMT
The Xlib support is disabled by default because, as written in the CMakeLists.txt, "Basic support is present for Xlib but is untested.". But Xlib support is necessary to make Vulkan work with SDL2 (that provides only an Xlib display and window).
I didn't find the reason why the Wayland support is disabled by default. Anyway, without this it's impossible to work with Vulkan from Wayland as far as i know, so it would be nice to enable it to enable applications using Vulkan from Wayland.

Loading...