Window shift to left side if I watch video in fullscreen on a vertical monitor.
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
mpv Information
mpv v0.40.0-119-g1d1535ff9 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.351.0 (v7.351.0)
FFmpeg version: N-119712-g43a69886b2
FFmpeg library versions:
libavcodec 62.3.101
libavdevice 62.0.100
libavfilter 11.0.100
libavformat 62.0.102
libavutil 60.3.100
libswresample 6.0.100
libswscale 9.0.100
Other Information
- Linux version:Arch Linux
- Kernel Version:Linux laichiaheng 6.14.7-zen2-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 22 May 2025 05:37:13 +0000 x86_64 GNU/Linux
- GPU Model:0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev c0)
- Mesa/GPU Driver Version:OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.1.1-arch1.1
- Window Manager and Version:6.3.90-2
- Source of mpv:AUR
- Latest known working version:I don't know.
- Issue started after the following happened:I rotate my monitor, the video in fullscreen shift to left side.
Reproduction Steps
If I rotate my monitor, and play the video in fullscreen, it shifts to left side, when I'm moving my mouse, it becomes normal.
It only happens to vo=gpu and vo=gpu-next, it doesn't happen to vo=dmabuf-wayland, it doesn't happen to VLC either.
- Rotate the screen in System Setting.
- Play videos with
--vo=gpuor--vo=gpu-nextin fullscreen. - Don't move your mouse.
Expected Behavior
Playing like before or --vo=dmabuf-wayland
Actual Behavior
Log File
Sample Files
https://drive.google.com/file/d/1Ns3pO0wKt61sgf-XfhBPQ6BPChQX8qvt/view?usp=sharing
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.
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 attached fullscreen.txt log and reproduce the issue after rotating the monitor. Compare fullscreen behavior for vo=gpu and vo=gpu-next against vo=dmabuf-wayland, focusing on the difference before and after mouse movement. Done means rotated vertical displays keep fullscreen video correctly positioned without mouse input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- computer-graphics, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100