-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
mpv Information
mpv v0.40.0-dirty Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
built on Sep 24 2025 17:56:15
libplacebo version: v7.351.0
FFmpeg version: n8.0 (runtime n8.0.1)
FFmpeg library versions:
libavcodec 62.11.100
libavdevice 62.1.100
libavfilter 11.4.100
libavformat 62.3.100
libavutil 60.8.100
libswresample 6.1.100
libswscale 9.1.100Other Information
- Linux version: not relevant
- Kernel Version: not relevant
- GPU Model: AMD RX 6600
- Mesa/GPU Driver Version: mesa 25.2.7
- Window Manager and Version: Jay
- Source of mpv: Both current arch version and master are affected
- Latest known working version: none
- Issue started after the following happened: probably after mpv became aware of wp-fifo-v1 and started using fifo on wayland
Reproduction Steps
- Play any video on a compositor that supports wp-fifo-v1 with no particular command line arguments. I have tested KDE and Jay.
- Pause the video
- Resize the window
Expected Behavior
The window resizes smoothly
Actual Behavior
The resizing lags unbearably behind the mouse. On Jay, the connection is terminated soon afterwards with the following error:
An error occurred while processing a request: Could not process a
wl_surface#6.commitrequest: The client has too many pending commits
This is because Jay has an upper limit of 128 unapplied commits per client to prevent resource exhaustion.
This issue does not happen while the video is playing. Even so, wp-fifo-v1 is fundamentally broken for applications that want to support smooth resizing. See https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/495.
mpv seems to have perfectly functional mailbox support which it should always prefer on wayland unless the user explicitly opts into fifo. You can currently invoke it manually with --vulkan-swap-mode=mailbox and the issue goes away.
Log File
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
- I tested with the latest mpv version to validate that the issue is not already fixed.
- I provided all required information including system and mpv version.
- I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of
--log-file=output.txt. - I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
- I attached the full, untruncated log file.
- I attached the backtrace in the case of a crash.