mpv-player / mpv-player/mpv

Going fullscreen then seeking causes strange ghosting artifacts

Open
#14,892 2 comments 0 reactions 0 assignees View on GitHub

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.38.0-741-ga0ebfc34 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Sep  4 2024 00:07:54
libplacebo version: v7.349.0 (v7.349.0-9-gefb8934-dirty)
FFmpeg version: N-116848-g3f9b78bd1
FFmpeg library versions:
   libavcodec      61.11.100
   libavdevice     61.2.100
   libavfilter     10.2.102
   libavformat     61.5.101
   libavutil       59.35.100
   libswresample   5.2.100
   libswscale      8.2.100
Other Information
- Windows version: Microsoft Windows [Version 10.0.22631.4169]
- GPU model, driver and version: RTX 3050 Laptop 4GB, Geforce Game Ready Driver 561.09, 32GB System RAM
- Source of mpv: Replicated on various builds, including shinchiro git-ef19a4a
- Introduced in version: Unsure, error occurs in v0.38.0 and git latest
Reproduction Steps

Start mpv with --no-config and --profile=high-quality, press fullscreen, and seek. Strange ghosting occurs.

This ghosting also occurs when OSD text appears (such as text showing the subtitle track has changed), and a ghost image of subtitles appears if their visibility is toggled. The ghosting happens almost every time the program goes fullscreen, but can also appear randomly after seeking or framestepping after already being fullscreen for a while.

The error doesn't occur when not fullscreen. My display resolution is 3072x1920.

My laptop has integrated AMD graphics and a dedicated GPU. If I run my desktop and mpv on integrated graphics, the error doesn't occur. If I run my desktop on integrated graphics and mpv on dedicated GPU, the error doesn't occur. It only occurs if I run everything on the dedicated GPU.

Expected Behavior

Normal looking image
McBalls  Fullmetal Alchemist Brotherhood - S01E01 (BD 1080p HEVC Opus)  Dual Audio  - 00_01_52 696 - 01
McBalls  Fullmetal Alchemist Brotherhood - S01E01 (BD 1080p HEVC Opus)  Dual Audio  - 00_01_56 033 - 01

Actual Behavior

Strange ghosting artifacts
image
image

Log File

Single backwards framestep exhibited the issue:
output 1.txt

Toggling subtitle visibility and seeking exhibited the issue:
output 2.txt

Subtitle visibility with vulkan:
output vk.txt

Sample Files

Occurs on any video file.

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce with mpv --no-config --profile=high-quality on the reported Windows and dedicated-GPU setup, then compare fullscreen seeking, framestepping, and subtitle visibility. Start with output 1.txt, output 2.txt, and output vk.txt, including the Vulkan case. Done means fullscreen playback no longer shows ghosting after seeking, frame stepping, or OSD and subtitle changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.