Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan warning after installing vulkan-sdk probably due outdated Vulkan Loader #51444

Closed
qarmin opened this issue Aug 9, 2021 · 2 comments · Fixed by #51516
Closed

Vulkan warning after installing vulkan-sdk probably due outdated Vulkan Loader #51444

qarmin opened this issue Aug 9, 2021 · 2 comments · Fixed by #51516

Comments

@qarmin
Copy link
Contributor

qarmin commented Aug 9, 2021

Godot version

4.0.dev.custom_build. f2efa6f

System information

Ubuntu 21.04 - Nvidia GTX 970, Gnome shell 3.38 X11

Issue description

After installing the latest vulkan-sdk, I got this new warnings

ARNING: GENERAL - Message Id Number: 0 | Message Id Name: Loader Message
	loaderAddLayerProperties: /usr/share/vulkan/explicit_layer.d/VkLayer_device_simulation.json invalid layer manifest file version 1.2.0.  May cause errors.
	Objects - 1
		Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 182720000
     at: _debug_messenger_callback (drivers/vulkan/vulkan_context.cpp:154)
WARNING: GENERAL - Message Id Number: 0 | Message Id Name: Loader Message
	loaderAddLayerProperties: /usr/share/vulkan/explicit_layer.d/VkLayer_khronos_synchronization2.json invalid layer manifest file version 1.2.0.  May cause errors.
	Objects - 1
		Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 182720000
     at: _debug_messenger_callback (drivers/vulkan/vulkan_context.cpp:154)

looks that this warnings should be fixed after updating Vulkan Loader
KhronosGroup/Vulkan-ValidationLayers#2729
KhronosGroup/Vulkan-Loader#567

Steps to reproduce

Run Godot with validation layers installed

Minimal reproduction project

No response

@akien-mga akien-mga added this to the 4.0 milestone Aug 9, 2021
@akien-mga akien-mga self-assigned this Aug 9, 2021
@bruvzg
Copy link
Member

bruvzg commented Aug 9, 2021

Vulkan loader used by Godot is outdated (and new versions of the loader do not support static linking).

Maybe we should remove the built-in loader entirely and link to the system one (or directly link MoltenVK in case of macOS). The only issue, for Windows and macOS we'll need to install Vulkan SDK in the CI and release build containers.

@akien-mga
Copy link
Member

Saw this earlier today: https://mobile.twitter.com/SaschaWillems2/status/1424603199915401219

I haven't looked into it but the Renderdoc dev also advocates for using volk, we should have a look IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants