From 37b78fd40e6178da4ba9f0da44ef5818d29d1e4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 21 Aug 2021 21:52:28 +0200 Subject: [PATCH] Don't default to Vulkan on any 32-bit Android devices. See issue #14439 --- Core/Config.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index 6b21897453..ef6b65891d 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -668,11 +668,15 @@ static int DefaultGPUBackend() { return (int)GPUBackend::DIRECT3D11; } #elif PPSSPP_PLATFORM(ANDROID) - // Default to Vulkan only on Oreo 8.1 (level 27) devices or newer. Drivers before - // were generally too unreliable to default to (with some exceptions, of course). + // Default to Vulkan only on Oreo 8.1 (level 27) devices or newer, and only + // on ARM64 and x86-64. Drivers before, and on other archs, are generally too + // unreliable to default to (with some exceptions, of course). +#if PPSSPP_ARCH(64BIT) if (System_GetPropertyInt(SYSPROP_SYSTEMVERSION) >= 27) { return (int)GPUBackend::VULKAN; } +#endif + #endif // TODO: On some additional Linux platforms, we should also default to Vulkan. return (int)GPUBackend::OPENGL;