Changing display refresh rate causes black bars along the bottom and right edges of the window
Open
Nobody has claimed this yet.
os:win
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
mpv Information
mpv v0.39.0-37-gc11239be Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
built on Oct 1 2024 00:16:22
libplacebo version: v7.349.0 (v7.349.0-15-g756220c-dirty)
FFmpeg version: N-117277-g76eb3e5ff
FFmpeg library versions:
libavcodec 61.20.100
libavdevice 61.4.100
libavfilter 10.6.100
libavformat 61.9.100
libavutil 59.40.100
libswresample 5.4.100
libswscale 8.4.100
Other Information
- Windows version: Microsoft Windows [Version 10.0.19045.4780]
- GPU model, driver and version: AMD APU Ryzen 4650G, 24.3.1
- Source of mpv: Shinchiro mpv-x86_64-20241001-git-c11239b
- Introduced in version: Unknown, at least since 1st Jan 2023
Reproduction Steps
- Start mpv, e.g. "mpv -no-config av://lavfi:smptebars"
- Open Display Settings app, Advanced Display Settings, change Refresh Rate value. Can also be triggered by "Multiple displays" setting from 1 screen to extended and vice versa.
- Observe black bars on bottom and right edges
Expected Behavior
No black bars
Actual Behavior
Black bars
Log File
Sample Files
N/A
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
Reproduce the issue with mpv -no-config av://lavfi:smptebars while changing the Windows refresh rate or display configuration, then inspect the attached output.txt log. Trace the Windows display or resize handling; done means the black bars no longer appear after either display change and the behavior is validated on the reported setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100