mpv icon indicating copy to clipboard operation
mpv copied to clipboard

Video stutters when on fullscreen on one screen and other maximized window on second screen

Open karnasw opened this issue 1 year ago • 4 comments

Important Information

  • mpv-x86_64-v3-20240421-git-b364e4a
  • Windows 11 23H2 22631.3447
  • (https://sourceforge.net/projects/mpv-player-windows/files)
  • NVidia GTX 1070 8GB
  • Game Ready Driver - 552.22 - Apr 16, 2024

Reproduction steps

When I play fullscreen video on one screen and browsing internet on second screen with maximized browser than video stutters. Issue not exist when video isn't fullscreen or browser (example) isn't maximized or mpv.net windows is active.

Play video fullscreen with mpv.net on first screen and maximize browser or other windows on second screen, keep second screen window active.

Expected behavior

No stuttering.

Actual behavior

Stuttering

Sample files

https://github.com/mpv-player/mpv/assets/627198/ca646a4b-a652-45ba-a4ec-0693502ea59e

Size: 9.534 GiB Format/Protocol: mov,mp4,m4a,3gp,3g2,mj2
Total Cache: 16.20 MiB (1.0 sec)
Display: gpu (Il.\DISPLAY1)
A-V: 0
Refresh Rate: 59.997 Hz (specified)
Video: HEVC (High Efficiency Video Coding)
Frame rate: 59.94006 fps
Resolution: 3840 x 2160 1.78:1 (16:9)
Format: yuv420p Levels: limited
Chroma Loc: mpeg2/4/h264
Colormatrix: bt.709 Primaries: bt.709 Transfer: bt.1886
Audio: AAC (Advanced Audio Coding)
Channels: 2 Format: floatp
Sample Rate: 48000 Hz

karnasw avatar Apr 22 '24 06:04 karnasw

When window have ontop property then everything is ok. I'm using this as a workaround.

karnasw avatar Apr 29 '24 13:04 karnasw

I have this same issue but on linux, vlc plays the same video fine so it's not my system

Pineapplenuts avatar May 18 '24 05:05 Pineapplenuts

Please provide a log file, it's impossible to help otherwise. The issue template should've told you how to get a logfile, but you can use --logfile=mpvsucks.log for it.

Also try gpu-api=vulkan

llyyr avatar May 18 '24 05:05 llyyr

What I found today that when app is runned as administrator then problem doesn't exists. testAdministrator.txt testNoAdministrator.txt. These are two logs with and without admin run.

karnasw avatar May 20 '24 18:05 karnasw