vulkan-loader

Edit Package vulkan-loader
No description set
Refresh
Refresh
Source Files (show unmerged sources)
Filename Size Changed
baselibs.conf 0000000071 71 Bytes
vulkan-loader.changes 0000026818 26.2 KB
vulkan-loader.spec 0000003134 3.06 KB
vulkan-sdk-1.3.280.0.tar.gz 0001702731 1.62 MB
Latest Revision
buildservice-autocommit accepted request 1160391 from Jan Engelhardt's avatar Jan Engelhardt (jengelh) (revision 126)
baserev update by copy to link target
Comments 4

Anatoly Bobrov's avatar

Could you please add baselibs.conf so it was possible to run 32-bit vulkan applications on 64-bit systems?


Dmitriy P's avatar

I think there are some problems with linking vulkan with wayland:
Next command will show fatal error: wayland-client.h: No such file or directory only on openSUSE with both vulkan-devel and wayland-devel installed:

echo "#define VK_USE_PLATFORM_WAYLAND_KHR
#include <vulkan/vulkan.h>
int main() {return 0;}" | gcc -x c -

Jan Engelhardt's avatar

I would argue that the use of -DVK_USE_PLATFORM_WAYLAND_KHR is such an explicit and willful direct use of an extension[1] that you must also use pkg-config wayland-client --cflags --libs, or make indirect use (if that exists?) of the Wayland extension(s).

[1] https://www.glfw.org/docs/3.3/vulkan_guide.html 's opinion: “The VK_USE_PLATFORM_*_KHR macros do not need to be defined for the Vulkan part of GLFW to work. Define them only if you are using these extensions directly.”


Dmitriy P's avatar

I don't use GLFW at all, it's only shortest problem representation I found
However, I face this problem trying to use this golang package
As I found in the source, they use this flag

However, I think it still this package problem, or maybe wayland package
As I found, wayland headers in openSUSE only moved from /usr/include to /usr/include/wayland
Maintainer link this issue bugzilla.opensuse.org/795968 in spec file (line 149)
And while wayland headers moved, vulkan should be patched for this (or not vulkan, if different package used to keep this stuff together)

openSUSE Build Service is sponsored by