mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.32k stars 2.9k forks source link

Video-Sync Jitters/Stutters with Multi-monitor Setup #9339

Open DReaper opened 3 years ago

DReaper commented 3 years ago

Reproduction steps

I have 3 monitors with their own Hz (2x60, and 144). I like to have the video playing on the 60Hz monitor while I browse on the 144Hz.

I used the following command:

--video-sync=display-resample --override-display-fps=60

When I fullscreen the video, there is no jitters and display FPS is 60. However, when I click back to the 144Hz monitor, the video jitters and display FPS in Shift+i shows 120.

The override FPS function doesn't seem to work properly. How can I get it to cap to 60 while still having video-sync? Removing the override leads to the same problems.

Expected behavior

Display FPS be at 60 and jitter free

Actual behavior

Display FPS doubles to 120 and causing jitter

DReaper commented 3 years ago

Found a workaround for this. Using a software that can frame cap (RTSS), and capping it to 60 will prevent the frame rate doubling glitch.

The video will become jittery if I move it to my 144Hz monitor though. Since I exclusively use it on my 60Hz monitor, it's fine, but it can be an issue for those that changes monitors for viewing and having to redo the frame cap.