You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Linux version: Arch Linux
- Kernel Version: Linux karamba2000 6.12.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 27 Dec 2024 14:24:37 +0000 x86_64 GNU/Linux
- GPU Model: [AMD/ATI] Navi 23 [Radeon RX 6650 XT / 6700S / 6800S] [1002:73ef] (rev c1)
- Mesa/GPU Driver Version: Mesa 24.3.2-arch1.1
- Window Manager and Version:
- KDE Plasma: 6.2.4
- Niri: 0.1.10 (v0.1.10-154-g4741ab2e)
- Source of mpv: arch extra repo
- Latest known working version: /
- Issue started after the following happened:
I started testing the new Niri floating mode (see https://github.com/YaLTeR/niri/issues/908).
Reproduction Steps
mpv --no-config somevideo.mp4
perform a quick (as in mouse speed) vertical resize
Expected Behavior
mpv keeps the dimensions after the resize regardless of how fast I resize.
Actual Behavior
mpv reverts to its initial dimensions after the compositor already showed mpv at the requested resized dimensions.
(On Niri the video also jumps position but on KDE it does not. Maybe @YaLTeR knows why)
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.
The text was updated successfully, but these errors were encountered:
My semi-blind guess (haven't looked at the log myself) is that there might be some race in mpv between one part of the code committing a new video frame with the previous size, another part of the code trying to change the size, and ack_configure being delivered incorrectly. I.e. if mpv sends ack_configure right away instead of together with the corresponding surface commit, this kind of issue can happen.
(On Niri the video also jumps position but on KDE it does not. Maybe @YaLTeR knows why)
This is compositor-specific logic that tries to keep the opposite window edge in place during resizing; minor differences in handling can result in this. But generally if the client is well behaved everything should work without unexpected movement.
mpv Information
Other Information
Reproduction Steps
mpv --no-config somevideo.mp4
Expected Behavior
mpv keeps the dimensions after the resize regardless of how fast I resize.
Actual Behavior
mpv reverts to its initial dimensions after the compositor already showed mpv at the requested resized dimensions.
(On Niri the video also jumps position but on KDE it does not. Maybe @YaLTeR knows why)
niri-mpv-interactive-resize-nyn-jumping.mp4
I can attach a kde recording too if requested.
Log File
output.txt
Sample Files
wayland-resize-sample.zip
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.The text was updated successfully, but these errors were encountered: