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

Failed initializing vulkan device

liangjinpeng
初学者
453 次查看
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 项奖励
8 回复数
Manas_Intel
主持人
441 次查看

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 项奖励
liangjinpeng
初学者
440 次查看
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 项奖励
Resolutions404
新分销商 I
403 次查看

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 项奖励
liangjinpeng
初学者
400 次查看
 

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 项奖励
liangjinpeng
初学者
362 次查看

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

0 项奖励
Manas_Intel
主持人
327 次查看

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 项奖励
liangjinpeng
初学者
307 次查看

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 项奖励
liangjinpeng
初学者
222 次查看
0 项奖励
回复