From d2d64fd95e661234885041bafeb999d740c51c5b Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Wed, 1 Jan 2025 00:05:39 +0100 Subject: [PATCH] GS: Default to OpenGL for RDNA 2 and 3 on windows. When someone buys an RDNA 3 GPU please debug the driver timeouts on windows to figure out what's causing the crashing, seems to be related to barriers. RDNA 2 and higher support feature level 12.2 so use that to detect RDNA 3. --- pcsx2/GS/Renderers/DX11/D3D.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pcsx2/GS/Renderers/DX11/D3D.cpp b/pcsx2/GS/Renderers/DX11/D3D.cpp index d1fbec14cf8d9..f795f53f73782 100644 --- a/pcsx2/GS/Renderers/DX11/D3D.cpp +++ b/pcsx2/GS/Renderers/DX11/D3D.cpp @@ -434,9 +434,14 @@ GSRendererType D3D::GetPreferredRenderer() case VendorID::AMD: { + // FIXME: When someone buys an RDNA 3 GPU please debug the driver timeouts on windows + // to figure out what's causing the crashing, seems to be related to barriers. + // RDNA 2 and higher support feature level 12.2 so use that to detect RDNA 3. const std::optional feature_level = get_d3d11_feature_level(); if (!feature_level.has_value()) return GSRendererType::DX11; + else if (feature_level == D3D_FEATURE_LEVEL_12_2) + return GSRendererType::OGL; else if (feature_level == D3D_FEATURE_LEVEL_12_0) return check_vulkan_supported() ? GSRendererType::VK : GSRendererType::DX11; else