mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.1k stars 2.88k forks source link

Video incorrectly positioned with --vo=dmabuf-wayland at scales >1 #14505

Closed mahkoh closed 2 months ago

mahkoh commented 3 months ago

mpv Information

mpv v0.38.0-586-gdaa6068d0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Jul  9 2024 15:37:37
libplacebo version: v6.338.2
FFmpeg version: n7.0.1
FFmpeg library versions:
   libavcodec      61.3.100
   libavdevice     61.1.100
   libavfilter     10.1.100
   libavformat     61.1.100
   libavutil       59.8.100
   libswresample   5.1.100
   libswscale      8.1.100

Other Information

Reproduction Steps

Expected Behavior

Actual Behavior

At scales >1, the video is not centered vertically. The bar at the top is much larger.

20240709_15h43m43s_grim

Log File

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

llyyr commented 2 months ago

Can't reproduce on sway, and you ignored the issue template.

mahkoh commented 2 months ago

It's possible that it also needs --hwdec=vaapi but --vo=dmabuf-wayland doesn't work for me otherwise in any case. Reproduces on gnome, sway, kde, etc. for me.

you ignored the issue template.

Keep in mind that I verified this issue and reported it out of the goodness of my heart. I do not use these parameters for any actual video consumption and if it went unfixed then I would not be affected.

Dudemanguy commented 2 months ago

Can you provide a log file?

mahkoh commented 2 months ago

I'm unable to reproduce with current master. It did build master but it seems that I accidentally did not use it for testing.