mpv icon indicating copy to clipboard operation
mpv copied to clipboard

[gpu-next] 60fps video + OSD = display sync audio drift

Open Obegg opened this issue 2 years ago • 3 comments

Important Information

Provide following Information:

  • mpv version mpv 0.34.0-142-g1ba0547bfb
  • Windows Version Windows 10 Pro x64 21H2 19044.1466
  • Source of the mpv binary sourceforge - shinchiro
  • If known which version of mpv introduced the problem: No
  • Possible screenshot or video of visual glitches: Screenshot doesn't capture the issue

Reproduction steps

--no-config doesn't reproduce the issue, I'm sorry I'm unable to further test the issue, but it's probably my config's fault, so here it is: config.txt

Expected behavior

Playback without issues

Actual behavior

Playback with issues Any OSD (stats or menu) is causing issues with playback

Without OSD = Playback without issues With OSD = Playback with issues

Log file

log.txt Issue starts from this line (2330): [ 18.401][d][cplayer] Run command: script-binding, flags=73, args=[name="stats/display-stats-toggle"]

Sample files

https://www.youtube.com/watch?v=VnLdOcDNTe0

Obegg avatar Jan 17 '22 07:01 Obegg

Did some testing and found out it also happens on videos that are 1080p 60fps (example). So the problem is not the resolution, the problem seems to be with 60fps. vo=gpu-next + OCD + 60fps video = display sync audio drift.

Obegg avatar Jan 19 '22 03:01 Obegg

looks like the performance issue i mentioned. https://github.com/mpv-player/mpv/issues/9551 Rendering osd make the case worse.

hooke007 avatar Jan 19 '22 15:01 hooke007

I believe this issue has been fixed for hwdec=d3d11va, but not for vulkan (without hwdec) on Windows.

Obegg avatar Aug 09 '22 17:08 Obegg

I just realized that my issue is a duplicate of this https://github.com/mpv-player/mpv/issues/10716 ,so I'll close mine

Obegg avatar Apr 02 '23 14:04 Obegg