vulkan-loader

Edit Package vulkan-loader
No description set
Refresh
Refresh
Source Files
Filename Size Changed
_scmsync.obsinfo 0000000160 160 Bytes
baselibs.conf 0000000071 71 Bytes
build.specials.obscpio 0000000256 256 Bytes
v1.4.304.tar.gz 0001756580 1.68 MB
vulkan-loader.changes 0000028439 27.8 KB
vulkan-loader.spec 0000003181 3.11 KB
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