godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
89.15k stars 20.21k forks source link

"Unable to initialize video driver" on macOS custom builds (missing Vulkan SDK) #54338

Closed jinruozai closed 2 years ago

jinruozai commented 2 years ago

Godot version

4.0 dev

System information

Mac OS BigSur 11.6 MacBook Pro (16-inch, 2019) 2.4 GHz 8-Core Intel Core i9 32 GB 2667 MHz DDR4 Macintosh HD AMD Radeon Pro 5500M 8 GB

Issue description

when run the godot app,pop err: Unable to initialize video driver your video card driver does not support any of the supported metal versions

Steps to reproduce

Compile 4.0 dev from github run app err show

Minimal reproduction project

No response

bruvzg commented 2 years ago

Compile 4.0 dev from github

You need Vulkan SDK installed to run custom build - https://vulkan.lunarg.com/sdk/home#mac

Build it with use_volk=no VULKAN_SDK_PATH=path_to_sdk options to be usable without installed SDK (in this case, SDK is required for building only).

jinruozai commented 2 years ago

Compile 4.0 dev from github

You need Vulkan SDK installed to run custom build - https://vulkan.lunarg.com/sdk/home#mac

yes,i've already install the vulkan sdk and link the lib. and about two month ago,i compile and run the godot4.0 dev successfully in the same way~

jinruozai commented 2 years ago

Compile 4.0 dev from github

You need Vulkan SDK installed to run custom build - https://vulkan.lunarg.com/sdk/home#mac

Build it with use_volk=no VULKAN_SDK_PATH=path_to_sdk options to be usable without installed SDK (in this case, SDK is required for building only).

3Q~I find the issue,maybe my Vulcan sdk version is too old,i update the sdk,and seems right~