mpv icon indicating copy to clipboard operation
mpv copied to clipboard

Frame skipping when playing 720p 50/60fps video on a 1080p60 monitor using vo=gpu-next with gpu-api=opengl.

Open Drommer opened this issue 9 months ago • 0 comments

Important Information

Provide following Information:

  • mpv 0.38.0_181_g467c1e860a-1
  • Arch Linux with KDE Plasma Desktop (Wayland session)
  • AUR (mpv-git)
  • I don't known which version of mpv introduced the problem
  • KWin 6.0.4 (without using scaling)
  • Intel Graphics HD 4600 / libva-intel-driver 4.2.1

My configuration:

vo=gpu-next hwdec=vaapi gpu-api=opengl vf=vavpp:deint=motion-compensated:interlaced-only=yes (put in a separate profile for "video-frame-info/interlaced" == true).

I sometimes watch various sports broadcasts. Often it's 1080i50 and I don't notice any issues with frame drops or jerks. Everything looks fine when I turn on a 720p50 broadcast and watch in a window. But I immediately see a slideshow when I expand the window to full screen mode. I can also see frame skipping in the log. It is logical to assume that the problem is related to scaling. I specified explicitly scale=bilinear and the frame skipping almost stopped. But with all other better scaling options everything works terribly. When using vo=gpu with default scaling there is also frame drops but not as bad.

I installed the Vulkan driver today and specified gpu-api=vulkan. With these parameters everything works as expected. Maybe the problem is related to OpenGL in Wayland or specifically KDE.

gpu-next-opengl.log

Drommer avatar May 08 '24 23:05 Drommer