Video artifacting + MPV crashes itself and GPU driver when seeking
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 0.39.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
built on Sep 28 2024 01:31:20
libplacebo version: v7.349.0 (v7.349.0-13-ga018ab0-dirty)
FFmpeg version: N-117212-g01c47dd23
FFmpeg library versions:
libavcodec 61.20.100
libavdevice 61.4.100
libavfilter 10.5.100
libavformat 61.8.100
libavutil 59.40.100
libswresample 5.4.100
libswscale 8.4.100
Other Information
- Windows version: 11 23H2
- GPU model, driver and version: Vega 8 - adrenalin 23.11.1
- Source of mpv: shinchiro
- Latest known working version: x
- Issue started after the following happened: x
Reproduction Steps
Play the video with hwdec enabled:
- Video will start full of artifacts, fixes itself after keyframe/scene change
- When doing multiple seeks it crashes the MPV and GPU driver
Something important to note is that it only happens with files that came from the same source as the one in sample files. Other videos work no problem.
Expected Behavior
Disable hwdec if not working properly to not crash
Actual Behavior
Artifacts
Seeking crashes MPV and GPU driver
Log File
Sample Files
https://drive.google.com/file/d/1tJ-3c-WdNyIcddAgL4fZ2lcUymQdVtza/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 logforhwdec.txt and the linked sample file, reproducing playback and repeated seeking with hwdec enabled and disabled. Compare the artifacting and crash behavior across those modes and verify that the affected files no longer crash mpv or the GPU driver during seeking.
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