Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Obegg opened this issue Jan 17, 2022 · 4 comments
Closed

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

Obegg opened this issue Jan 17, 2022 · 4 comments

Comments

@Obegg
Copy link

Obegg commented Jan 17, 2022

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 Obegg added the os:win label Jan 17, 2022
@Obegg Obegg changed the title [gpu-next] 4k 60fps video = display sync audio drift [gpu-next] 4k 60fps video + OSD = display sync audio drift Jan 17, 2022
@Obegg
Copy link
Author

Obegg commented Jan 19, 2022

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 Obegg changed the title [gpu-next] 4k 60fps video + OSD = display sync audio drift [gpu-next] 60fps video + OSD = display sync audio drift Jan 19, 2022
@hooke007
Copy link
Contributor

hooke007 commented Jan 19, 2022

looks like the performance issue i mentioned. #9551
Rendering osd make the case worse.

@Obegg
Copy link
Author

Obegg commented Aug 9, 2022

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

@Obegg
Copy link
Author

Obegg commented Apr 2, 2023

I just realized that my issue is a duplicate of this #10716 ,so I'll close mine

@Obegg Obegg closed this as completed Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants