mpv framerate tanks after a certain resolution
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Summary
mpv drops frames dramatically after it reaches a certain resolution. Very similar to #8613, but it only happens with scale=ewa_lanczossharp. cscale=ewa_lanczossharp and video-sync=display-resample work without issues on my machine.
A screenshot of this video to show my point:
Corresponding mpv.conf:
hwdec=vaapi-copy
#profile=gpu-hq
scale=ewa_lanczossharp
hdr-peak-percentile=99.995
hdr-contrast-recovery=0.30
deband=yes
Important Information
- mpv version: v0.37.0
- Linux distro: Arch Linux
- Source of mpv: distro-supplied
- GPU: Intel HD Graphics 4400 (Intel i5-4300U CPU)
Reproduction steps
Use scale=ewa_lanczossharp in mpv.conf, or have profile=gpu-hq
Expected behavior
No frame rate drops for a static image
Actual behavior
Lots of dropped frames
Log file
Sample files
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
Begin by reproducing the issue with the provided sample file and the scale=ewa_lanczossharp setting in mpv.conf on the reported hardware or a comparable Linux system. Inspect mpv_log.txt and compare the scaling configurations; done means identifying the cause of the resolution-dependent frame drops and verifying that the problematic configuration no longer drops frames.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arch-linux, c, linux
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100