Open alvv-z opened 3 years ago
Can you open the stats overlay (shift+i) while mpv is slow, switch to the second screen (2), and take a picture of that? Would help figuring out if there's some specific shader causing problems for you.
I have uploaded the screenshot here. This was with estimated 40fps. The slowdown seems to happen much faster when streaming a livestream (1 - 10mins) than a video (45mins - 2hours).
That screenshot shows the average performance being fine but it seems to randomly spike up to very high frame latencies. Do you know what could be causing those spikes?
No clue, it happens even when mpv is the only thing running in the foreground
Does this issue still occur?
Does this issue still occur?
Don't know about this specific issue but I've noticed small permanent framerate decreases after resizing sometimes and also if I resize quickly in succession a few times it can cause large frame-rate decreases rarely. Using local file/Win10/DX11 hwdec.
small permanent framerate decreases after resizing sometimes
That sounds unexpected and bizarre assuming that you aren't resizing the window to some size your GPU can't handle.
if I resize quickly in succession a few times it can cause large frame-rate decreases rarely
This sounds a bit more normal. If you resize a bunch quickly, yeah it can potentially tank the frame rate. As long as you recover it should be fine.
Anyways, OPs issue sounds like something that shouldn't normally happen (his GPU certainly isn't weak or anything). It could just be a driver issue that hopefully is fixed by now given that this issue is fairly old.
That sounds unexpected and bizarre assuming that you aren't resizing the window to some size your GPU can't handle.
This sounds a bit more normal. If you resize a bunch quickly, yeah it can potentially tank the frame rate. As long as you recover it should be fine.
Ah no, sometimes it doesn't recover, although I haven't seen it happen in a while but usually I just restart MPV.
Does this issue still occur?
Yep. Additionally, sometimes my DE crashes and boots me to the login screen when going to full-screen, but this seems to be a more recent development.
Additionally, sometimes my DE crashes and boots me to the login screen when going to full-screen, but this seems to be a more recent development.
I think we can safely blame our friends at NVIDIA for that one at least. There's no way we could be causing that.
Important Information
Provide following Information:
Reproduction steps
I have narrowed it down to being a one of
cscale=ewa_lanczossharp
,scale=ewa_lanczossharp
andvideo-sync=display-resample
. It sometimes happens with one enabled, and other times only with all. I have sethwdec=cuda
,profile=gpu-hq
,tscale=oversample
,interpolation
andytdl-format=bestvideo[fps=60]+bestaudio/best
in mympv.conf
Expected behavior
Actual behavior
Log file
Log