diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-22 21:45:17 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-22 21:45:17 +0100 |
| commit | 47eac4be1cde424f12e942d58813a10869bfb169 (patch) | |
| tree | 958d0ff20c7dd04f5af2621e0709439adbdc10bc /src/render | |
| parent | 29958677606ae3bc46b871303f2b2d956db90bfc (diff) | |
disable adaptive sync with no_vfr off
Diffstat (limited to 'src/render')
| -rw-r--r-- | src/render/Renderer.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index a4b737f0..473d4d65 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -1153,20 +1153,13 @@ bool CHyprRenderer::applyMonitorRule(CMonitor* pMonitor, SMonitorRule* pMonitorR } } + wlr_output_enable_adaptive_sync(pMonitor->output, 0); // disabled here, will be tested in CConfigManager::ensureVRR() wlr_output_set_transform(pMonitor->output, pMonitorRule->transform); pMonitor->transform = pMonitorRule->transform; pMonitor->vecPixelSize = pMonitor->vecSize; - // Adaptive sync (VRR) - wlr_output_enable_adaptive_sync(pMonitor->output, 1); - - if (!wlr_output_test(pMonitor->output)) { - Debug::log(LOG, "Pending output %s does not accept VRR.", pMonitor->output->name); - wlr_output_enable_adaptive_sync(pMonitor->output, 0); - } - if (!wlr_output_commit(pMonitor->output)) { Debug::log(ERR, "Couldn't commit output named %s", pMonitor->output->name); return true; |
