Skip to content

Failed initializing vulkan device #17798

@dunkeng

Description

@dunkeng

mpv Information

[   0.002][v][cplayer] mpv v0.40.0-291-g5faec4e6a Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
[   0.002][v][cplayer]  built on Aug 24 2025 00:05:47
[   0.002][v][cplayer] libplacebo version: v7.353.0 (v7.351.0-55-ga0fd4f3-dirty)
[   0.002][v][cplayer] FFmpeg version: N-120821-g673f28b6c
[   0.002][v][cplayer] FFmpeg library versions:
[   0.002][v][cplayer]    libavcodec      62.13.100
[   0.002][v][cplayer]    libavdevice     62.2.100
[   0.002][v][cplayer]    libavfilter     11.5.100
[   0.002][v][cplayer]    libavformat     62.4.100
[   0.002][v][cplayer]    libavutil       60.10.100
[   0.002][v][cplayer]    libswresample   6.2.100
[   0.002][v][cplayer]    libswscale      9.2.100

Other Information

- Windows version: Microsoft Windows [版本 10.0.26200.8246]
- GPU model, driver and version: Intel(R) Arc(TM) B580 Graphics 101.8735
- Source of mpv: mpv v0.40.0-291-g5faec4e6a
- Latest known working version:  mpv v0.40.0-279-g07572dc83
- Issue started after the following happened: mpv.exe --gpu-debug --log-file=output.txt --hwdec=vulkan --gpu-api=vulkan --gpu-context=winvk

Reproduction Steps

Use any version newer than mpv v0.40.0-279-g07572dc83(20250817), for example:mpv v0.40.0-291-g5faec4e6a(20250824)
mpv.exe --gpu-debug --log-file=output.txt --hwdec=vulkan --gpu-api=vulkan --gpu-context=winvk

Expected Behavior

After the MPV is running, the LOGO in the middle of the window does not appear. It is unable to play videos using Vulkan.

Actual Behavior

[ 0.075][e][vo/gpu-next/libplacebo] vk->CreateDevice(vk->physd, &dinfo, PL_VK_ALLOC, &vk->dev): VK_ERROR_FEATURE_NOT_PRESENT (../../../../../src_packages/libplacebo/src/vulkan/context.c:1314)
[ 0.075][f][vo/gpu-next/libplacebo] Failed creating logical device!
[ 0.075][f][vo/gpu-next/libplacebo] Failed initializing vulkan device

Log File

Normal:
output_0.40.txt
20250905

mpv-x86_64-v3-20250817-git-07572dc.txt

Error:
output_0.41.txt

mpv-x86_64-v3-20260422-git-d40a291.txt

mpv-x86_64-v3-20250907-git-b9ceaf2.txt

mpv-x86_64-v3-20250824-git-5faec4e.txt

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

  • I tested and confirmed that the issue exists with the latest release version or newer.
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions