Topic: Vulkan support?

I have an AMD GPU and I'm encountering the following on Windows 10. Do SVP and Vulkan have issues working together?

Crashes if framerate conversion is enabled:
mpv.com -v --no-config --vo=gpu --gpu-api=vulkan --input-ipc-server=mpvpipe filename.mkv

Loads and plays:
mpv.com -v --no-config --vo=gpu --gpu-api=vulkan filename.mkv

[cplayer] mpv 0.28.0-487-g65f0825315 Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Sat Apr 21 02:00:19 UTC 2018
[cplayer] ffmpeg library versions:
[cplayer]    libavutil       56.15.100
[cplayer]    libavcodec      58.19.100
[cplayer]    libavformat     58.13.100
[cplayer]    libswscale      5.2.100
[cplayer]    libavfilter     7.18.100
[cplayer]    libswresample   3.2.100
[cplayer] ffmpeg version: N-45873-ge5ba5fab49

Re: Vulkan support?

I encounter crashes with Vulkan too. I think it has less to do with SVP itself, it is a problem in Vapoursynth

3 (edited by Yendorion 27-04-2018 18:22:02)

Re: Vulkan support?

Try:

mpv.com -v --no-config --hwdec=d3d11va-copy --vo=direct3d --gpu-api=vulkan --gpu-context=d3d11 --spirv-compiler=shaderc --input-ipc-server=mpvpipe filename.mkv

I have no issues running this config on Windows 10

4 (edited by starks 28-04-2018 02:42:56)

Re: Vulkan support?

Edit: I need to do more testing before I chime in. It looks like it works and is faster compared to not specifying gpu-api, but I don't see any Vulkan calls in the verbose logging.

Re: Vulkan support?

Yendorion wrote:

Try:

mpv.com -v --no-config --hwdec=d3d11va-copy --vo=direct3d --gpu-api=vulkan --gpu-context=d3d11 --spirv-compiler=shaderc --input-ipc-server=mpvpipe filename.mkv

I have no issues running this config on Windows 10

No wonder, this disables the Vulkan renderer, which on Windows only works with --gpu-context=winvk

Re: Vulkan support?

Indeed, I'm working with two PCs one of which doesn't support Vulkan as I discovered, but it seems it still makes a call to it's runtime libraries (had them installed standalone), as I figure crashing if it didn't find them & skips if it can't work with them.

Re: Vulkan support?

Looks like a driver update helped. It's not crashing anymore but it's not stable and artifact-free. Not SVP's fault.