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

Dev_build editor spams deprecation warnings on newer Vulkan SDK #87866

Closed
nikitalita opened this issue Feb 2, 2024 · 0 comments · Fixed by #87999
Closed

Dev_build editor spams deprecation warnings on newer Vulkan SDK #87866

nikitalita opened this issue Feb 2, 2024 · 0 comments · Fixed by #87999

Comments

@nikitalita
Copy link
Contributor

Tested versions

4.3.dev-9adb7c7d130c6d4eb0e80b92d6eebd71fac3384d

System information

MacOS - Godot v4.3-9adb7c7d

Issue description

Somewhere between Vulkan SDK version 1.3.250 and 1.3.275, vkCreateMacOSSurfaceMVK() was deprecated:

USER WARNING: VALIDATION - Message Id Number: 0 | Message Id Name: 
	vkCreateMacOSSurfaceMVK() is deprecated. Use vkCreateMetalSurfaceEXT() from the VK_EXT_metal_surface extension.
	Objects - 1
		Object[0] - VK_OBJECT_TYPE_SURFACE_KHR, Handle 5026376640
   at: _debug_messenger_callback (drivers/vulkan/vulkan_context.cpp:264)

As a result, this warning message pops up every time a surface is created (e.g. every time a file menu is clicked, every time a dialog box pops up, etc.). This can get quite obnoxious if you're interacting with the file menus a bunch.

As a side-note, we're not pinning on any specific version of the SDK for the Actions CI, so if they do remove this function in a later SDK, macOS builds will start failing without warning:

curl -L "https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg" -o /tmp/vulkan-sdk.dmg
hdiutil attach /tmp/vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk

Steps to reproduce

Build editor with Vulkan SDK >=1.3.275, launch the editor on macOS, observe warning messages in output

Minimal reproduction project (MRP)

N/A

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