mpv framerate tanks after resizing window
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Important Information
Provide following Information:
- mpv version: mpv 0.33.0
- Linux Distribution and Version: Ubuntu 20.10
- Source of the mpv binary: Ubuntu PPA
- Window Manager and version: GNOME 3.38.3
- GPU driver and version: nvidia 460.39, CUDA 11.2 on a nvidia quadro P2000
Reproduction steps
I have narrowed it down to being a one of cscale=ewa_lanczossharp, scale=ewa_lanczossharp and video-sync=display-resample. It sometimes happens with one enabled, and other times only with all. I have set hwdec=cuda, profile=gpu-hq, tscale=oversample, interpolation and ytdl-format=bestvideo[fps=60]+bestaudio/best in my mpv.conf
- stream a 60fps video
- resize window (e.g. fullscreen)
- wait
Expected behavior
- No framedrops
Actual behavior
- The estimated fps drops from about 60 to 30-40
- Dropped frames (output) increase rapidly
Log file
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided reproduction steps and the linked log at https://0x0.st/-Pr6.log, comparing behavior before and after resizing. No source file, test, or entry point is named in the issue. Done means a 60fps stream no longer drops to 30–40fps or rapidly accumulates output drops after resizing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100