mpv icon indicating copy to clipboard operation
mpv copied to clipboard

Frequent ≈50ms stutters with 2160p videos

Open AlawamiAZ opened this issue 1 year ago • 3 comments

mpv Information

mpv v0.38.0-525-g265056fa Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Jun 23 2024 00:06:39
libplacebo version: v7.349.0 (v7.349.0-rc1-3-g1fd3c7b-dirty)
FFmpeg version: N-115975-g0c0e7ec81
FFmpeg library versions:
   libavcodec      61.8.100
   libavdevice     61.2.100
   libavfilter     10.2.102
   libavformat     61.3.104
   libavutil       59.25.100
   libswresample   5.2.100
   libswscale      8.2.100

Other Information

  • Windows version:Microsoft Windows [Version 10.0.22621.3737]
  • GPU model, driver and version: RTX 2070, 556.12
  • Source of mpv: github

Reproduction Steps

Playing 4k videos frequently stutters with up to 60ms spikes. log file attached. the first log with my typical config which exhibit major stutters, first few seconds are stable with max frametimes of 2ms, few seconds later it spikes to 60ms. the other log with no-config, exhibit wildly variable frame times but no major stutters. seems to happens regardless whether vo = gpu-next & gpu-api = vulkan are used or not

HW dec make no difference. Files attached

Expected Behavior

Silky smooth playback

Actual Behavior

major stutters up to 60ms

Log File

log1: myconfig_major_stutter_with lower average_frametimes myconfig_major_stutter_with lower average_frametimes.log

file 2: noconfig_unstable_frametimes_no_major_stutters.log

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

  • [X] I tested with the latest mpv version to validate that the issue is not already fixed.
  • [X] I provided all required information including system and mpv version.
  • [X] I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • [X] I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • [X] I attached the full, untruncated log file.
  • [X] I attached the backtrace in the case of a crash.

AlawamiAZ avatar Jul 02 '24 18:07 AlawamiAZ

Try each option individually and see which one causes it?

llyyr avatar Jul 02 '24 18:07 llyyr

related issue with #13991
sometimes to get rid of issue I'm just put --profile=fast or shader like FSR (only use EASU) --glsl-shaders="C:\mpv\shaders\FSR.glsl" --hwdec=auto-safe or --hwdec=auto-copy-safe

YukiNeeSan avatar Jul 02 '24 20:07 YukiNeeSan

related issue with #13991

It is not, they say it works fine with --no-config and mpv could never saturate a RTX 2070 no matter what built-in options you used.

llyyr avatar Jul 02 '24 22:07 llyyr