Skip to content

Enable VRR/adaptive-sync in output state commit #39

Description

@loukamb

Problem
output.lua server_new_output sets enabled/mode/scale/transform but never adaptive_sync, and output_request_state commits state as-is.

Why it matters
Variable-refresh (FreeSync/G-Sync) displays stay locked to fixed refresh, causing tearing/judder in games and video despite hardware support.

Where
compositor/services/output.lua server_new_output (~line 119) and per-monitor config resolution.

Approach
When config.adaptive_sync is set and the output supports it, call wlr_output_state_set_adaptive_sync_enabled(state, true) before commit; verify the commit succeeded and fall back if rejected; expose it as a monitor config option.

Effort
S

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions