mpv-player / mpv-player/mpv

Won't start with Vulkan API

Open
#15,607 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

down-upstream os:win
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

mpv Information
[   0.000][v][cplayer] mpv v0.39.0-556-g83bb4981 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
[   0.000][v][cplayer]  built on Dec 29 2024 00:06:04
[   0.000][v][cplayer] libplacebo version: v7.350.0 (v7.349.0-30-g056b852-dirty)
[   0.000][v][cplayer] FFmpeg version: N-118193-g5f38c8253
[   0.000][v][cplayer] FFmpeg library versions:
[   0.000][v][cplayer]    libavcodec      61.28.100
[   0.000][v][cplayer]    libavdevice     61.4.100
[   0.000][v][cplayer]    libavfilter     10.6.101
[   0.000][v][cplayer]    libavformat     61.9.102
[   0.000][v][cplayer]    libavutil       59.53.100
[   0.000][v][cplayer]    libswresample   5.4.100
[   0.000][v][cplayer]    libswscale      8.13.100
Other Information
- Windows version: W10 Pro 22H2
- GPU model, driver and version: 1650 566.36
- Source of mpv: https://github.com/shinchiro/mpv-winbuild-cmake/releases
- Latest known working version: A build in August 2024
- Issue started after the following happened: Updated today 12/31/24
Reproduction Steps

gpu-api=vulkan in my .conf file. When I comment this line out or pick another API it opens. But my 4k videos are choppy if I don't use Vulkan.

Expected Behavior

MPV opens

Actual Behavior

The window for MPV never opens, but in task manager I see MPV pop up then disappear

Log File

mpv.log

Sample Files

No response

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

Start by reproducing the failure on Windows 10 with the listed mpv build, using gpu-api=vulkan in the .conf file and reviewing the attached mpv.log. Compare behavior with Vulkan disabled or another API selected. Done means mpv opens reliably with Vulkan enabled and 4K playback is no longer choppy.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.