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
VideoBackendBase: Prefer Vulkan over OGL on macOS Mojave and newer #9962
Conversation
|
Can you also do this on android? |
|
For most android users, Vulkan performs worse so no. |
121e410
to
46e331d
Compare
Ah ok :) |
|
For MacOS, what is criteria for pulling recent Khronos maintained source for MoltenVK, this is now showing 2 months stale with the libvulkan.dylib in Dolphin - a few key areas have been corrected specific to apple silicon use - https://github.com/KhronosGroup/MoltenVK is shadowing 1.2.182 of Vulkan whereas Dolphin is still at 1.2.170.0. Since this is a work in progress from contributors to that program and issues are being addressed, is there a better methodology to rebuild the dynamic library on a more regular cadence? |
|
As far as I'm aware, there is no specific criteria. The last update happened because the older MoltenVK version was not compatible with Apple Silicon. I hope to submit a PR soon which will remove the precompiled binary and integrate MoltenVK with Dolphin's CMake build system as an external project. This should make it easier to update in the future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On macOS this seems like a no brainer considering how badly supported OpenGL is.
macOS's OpenGL support is terribly outdated - it's been stuck on OpenGL 4.1 since Mavericks (released in 2013!) and doesn't support key extensions like
ARB_buffer_storage. Plus, starting with macOS Mojave, OpenGL has been deprecated and may be removed in a future macOS.Now that we have MoltenVK, it might be best to set the Vulkan backend as default for new users with Macs that run Mojave and newer. (High Sierra and older don't support some Metal features that Dolphin requires.)