sway icon indicating copy to clipboard operation
sway copied to clipboard

Mouse lagging with adaptive sync enabled on two monitors

Open feschber opened this issue 1 year ago • 9 comments

Please fill out the following:

  • Sway Version:

    • sway version 1.8
  • Debug Log:

    • Run sway -d 2> ~/sway.log from a TTY and upload it to a pastebin, such as gist.github.com.
    • This will record information about sway's activity. Please try to keep the reproduction as brief as possible and exit sway.
    • Attach the full file, do not truncate it.
  • Configuration File:

    • Default config +
    output DP-1 res 2560x1440@240Hz pos 0 0 scale 1 adaptive_sync on
    output DP-2 res 2560x1440@144Hz pos 2560 0 scale 1 adaptive_sync on
    
  • Description:

    • I have two monitors: One with 144hz and one with 240hz refreshrate
    • Both monitors have adaptive sync capabilities
    • When moving the mouse around on the 240hz monitor, it is lagging - feels like ~48 fps
    • Moving the mouse on the lower refreshrate monitor is fine.
    • Disabling adaptive sync on the 240hz monitor fixes the issue (DP-1)
    • Interestingly, using a higher polling rate mouse (1000hz instead of 125hz) prevents the issue as well

feschber avatar Jan 30 '23 22:01 feschber