From 29644ef9046d156dbf5a573f692a0ec028d4f1bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 29 Apr 2024 13:27:57 +0800 Subject: [PATCH] GPU (Linux): disable vmem detection Ref #816 --- src/detection/gpu/gpu_linux.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/detection/gpu/gpu_linux.c b/src/detection/gpu/gpu_linux.c index b497a8a5a..47f5cdee1 100644 --- a/src/detection/gpu/gpu_linux.c +++ b/src/detection/gpu/gpu_linux.c @@ -186,8 +186,12 @@ static const char* detectPci(const FFGPUOptions* options, FFlist* gpus, FFstrbuf ffGPUParsePciIds(&pciids, subclassId, (uint16_t) vendorId, (uint16_t) deviceId, gpu); } - pciDetectVmem(gpu, drmDir, buffer); - ffStrbufSubstrBefore(drmDir, drmDirPathLength); + // Temporarily disabled for now #816 + if (false) + { + pciDetectVmem(gpu, drmDir, buffer); + ffStrbufSubstrBefore(drmDir, drmDirPathLength); + } pciDetectVfreq(gpu, drmDir, buffer); ffStrbufSubstrBefore(drmDir, drmDirPathLength);