Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
Announcements
For support on Altera products please visit the Altera Community Forums.
23501 Discussions

Failed initializing vulkan device

liangjinpeng
Beginner
446 Views
I play videos with mpv and find that Vulkan fails to initialize properly. I want to know if there is an issue with my graphics card, or if Intel's drivers do not support Vulkan video decoding.
 
[ 0.165][f][vo/gpu-next/libplacebo] Failed creating logical device!
[ 0.165][f][vo/gpu-next/libplacebo] Failed initializing vulkan device
0 Kudos
8 Replies
Manas_Intel
Moderator
431 Views

Hello liangjinpeng, 

 

Thank you for posting your query on the Intel Community!

 

To ensure your system stays in peak condition, I recommend these official Intel resources:



Warm regards,

Manas Sharma

Intel Customer Support Technician 


0 Kudos
liangjinpeng
Beginner
430 Views
To rule out other influencing factors, I have freshly reinstalled the Windows 11 25H2 operating system, and all drivers, including the graphics card driver, are fully updated to the latest versions.
 
The attachment is the report generated by Intel® System Support Utility (SSU).
 
 
0 Kudos
Resolutions404
New Contributor I
393 Views

Hello @liangjinpeng,

 

I’ve spent some time reviewing the logs you shared regarding the interaction between mpv.net and your Intel Graphics subsystem, and I have some very reassuring news for you.

The Good News

Based on the data, it is safe to say that your system is performing exactly as expected! While I know seeing a "failed" message in the logs can be a bit startling, your hardware and drivers are actually doing a great job.

Why your system is healthy:

  • Successful Communication: The logs show a perfectly successful "Clean Exit" (Exit Code 0) at the 7.414 mark. This is the "all clear" signal we love to see!

  • Smooth Handshakes: Your Intel hardware correctly uninitialized the Direct3D video surfaces and WASAPI audio streams without any hangs, crashes, or driver timeouts.

  • Driver Stability: This indicates that your Intel drivers are communicating very healthily with the application.

Regarding Vulkan & Video Decoding

The "Failed initializing vulkan device" message in this specific context usually points to a configuration preference within the player (mpv) rather than a hardware defect or a lack of driver support. Since your Direct3D surfaces are working beautifully, your graphics card is in great health!

You can rest easy knowing your Intel hardware is firing on all cylinders. 

Your Friendly Neighbourhood User

0 Kudos
liangjinpeng
Beginner
390 Views
 

Several video encodings currently supported by VULKAN

VK_KHR_video_decode_h264

VK_KHR_video_decode_h265
VK_KHR_video_decode_av1

 

I’ve also learned online that other B580 users are able to play videos via the Vulkan interface in mpv with basic mpv configurations.
 
vo=gpu-next

hwdec=vulkan
gpu-api=vulkan
gpu-context=winvk

 

The reason why mpv uses d3d11va is that it falls back to this alternative solution when the Vulkan call fails.
 
Therefore, the fact that D3D11VA decoding works properly does not mean there are no issues with Vulkan.
 
 
0 Kudos
liangjinpeng
Beginner
352 Views

The issue has been confirmed as an MPV issue, so you can delete this post.

0 Kudos
Manas_Intel
Moderator
317 Views

Hi liangjinpeng,

 

Thank you for the update, and we really appreciate you taking the time to circle back and share the resolution.

 

Since the issue has been confirmed to be related to MPV, you’re absolutely right that this thread will be closed. We’re glad to hear you were able to identify the root cause. Since the thread will be closed it won't be monitored further.

 

If you happen to run into anything else or have questions in the future, please don’t hesitate to reach out, we’re always here to help.

 

Have a great day ahead!


0 Kudos
liangjinpeng
Beginner
297 Views

I apologize for the confusion. I checked with the mpv team, and it turns out the issue is still being caused by your graphics card driver.

 

https://github.com/mpv-player/mpv/issues/17798#issuecomment-4304780642

 

[ 0.260][w][vo/gpu-next/libplacebo] vk vkCreateDevice(): returned VK_ERROR_FEATURE_NOT_PRESENT because the following features were not supported on this physical device:
[ 0.260][w][vo/gpu-next/libplacebo] VkPhysicalDeviceCooperativeMatrixFeaturesNV::cooperativeMatrix is not supported

 

There is an issue with the driver's support for VK_KHR_cooperative_matrix.

0 Kudos
Reply