From 27ea21c1f7a3eea1fd9ab7b415f78e11cbfa7917 Mon Sep 17 00:00:00 2001 From: FakeMichau <49685661+FakeMichau@users.noreply.github.com> Date: Fri, 14 Aug 2026 16:39:13 +0200 Subject: [PATCH] HACK for 007, only keep the first reported device --- OptiScaler/misc/IdentifyGpu.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/OptiScaler/misc/IdentifyGpu.cpp b/OptiScaler/misc/IdentifyGpu.cpp index cc53f5eb..84a8bd7c 100644 --- a/OptiScaler/misc/IdentifyGpu.cpp +++ b/OptiScaler/misc/IdentifyGpu.cpp @@ -161,6 +161,12 @@ std::vector IdentifyGpu::checkGpuInfo() gpuInfo.driverStore = storePaths[luid]; localCachedInfo.push_back(std::move(gpuInfo)); + + // HACK for 007, only keep the first reported device + // Avoids AMD iGPUs from being queried when the first one is a different vendor + // This in turn avoids amdxc64 being loaded for that iGPU which is known to causes issues in 007 + if (Config::Instance()->Fsr4DoNotLoadAmdxc64.value_or_default()) + break; } else {