From 8c053a0fb11d15cede758b41a3d90163ccbb7fc9 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Mon, 20 Jan 2025 13:44:33 +0100 Subject: [PATCH] [dxvk] Prefer homebrew latency sleep on 32-bit NV latency sleep seems to be straight-up broken at a driver level. --- src/dxvk/dxvk_device.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_device.cpp b/src/dxvk/dxvk_device.cpp index 2efa8ab1f..a3fe424f9 100644 --- a/src/dxvk/dxvk_device.cpp +++ b/src/dxvk/dxvk_device.cpp @@ -312,7 +312,9 @@ namespace dxvk { if (m_options.latencySleep != Tristate::True) return nullptr; - if (m_features.nvLowLatency2) + // Latency sleep seems to be completely broken on 32-bit Nvidia + // drivers as of 565.77, let's use our built-in implementation + if (m_features.nvLowLatency2 && !env::is32BitHostPlatform()) return new DxvkBuiltInLatencyTrackerNv(presenter); return new DxvkBuiltInLatencyTracker(