-
Notifications
You must be signed in to change notification settings - Fork 2.2k
SDL_HINT_GPU_DRIVER vulkan unsupported #13046
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
Comments
As per the wiki: https://wiki.libsdl.org/SDL3/CategoryGPU#system-requirements
We recently merged a PR that allows some of these features to be turned off: #13016 So you could try disabling the features that your device does not support and making sure your app does not use the disabled features. |
Thanks! Is there an ETA for when that PR will be included in a Release? |
Probably some time next week. |
This PR was merged for the 3.4.0 release which currently doesn't have an ETA. We could potentially backport it to 3.2.x if it's important, but we'd need to fix #13138 and http://github.com/libsdl-org/SDL/issues/13139 first. |
Ah my mistake, I didn't realize this wasn't backported. |
Do you think it's worthwhile to backport? |
I think it's fine to leave it until 3.4 honestly. |
Hi!
I tried to create an Android app that uses Vulkan from SDL3. I stumbled with the issue
SDL_HINT_GPU_DRIVER vulkan unsupported
when callingSDL_CreateGPUDevice()
.I already installed vulkanCapsViewer app and built the vulkan android example (https://developer.android.com/ndk/guides/graphics/getting-started), and both are working on my phone, but not for the SDL3. Do you have any idea how to solve this? Thanks
I called
SDL_GetGPUDriver()
and get "vulkan" as result.My repo code:
SDL_CreateGPUDevice(SDL_GPU_SHADERFORMAT_SPIRV, false, temp_driver_name.c_str());
The text was updated successfully, but these errors were encountered: