mpv-player / mpv

šŸŽ„ Command line video player
https://mpv.io
Other
27.77k stars 2.86k forks source link

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

Open karnasw opened 4 months ago

karnasw commented 4 months ago

Important Information

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 commented 4 months ago

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

Pineapplenuts commented 3 months ago

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

llyyr commented 3 months ago

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

karnasw commented 3 months ago

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.