FFmpeg: skip Vulkan hwaccel when only a software ICD is registered


Vulkan "hw" encoding/decoding backed by a pure-software implementation
(Mesa's llvmpipe, Google's SwiftShader) buys nothing over FFmpeg's
native CPU codecs (libx264, libx265, ...), which are tuned for the CPU
rather than emulating a GPU pipeline on top of it; and Vulkan Video
support in these software implementations is experimental at best, so
there is little reason to expect it to actually work. Treat Vulkan as
unavailable whenever only a software ICD is registered, rather than
letting FFmpeg spend time - and risk - discovering that for us.

Side note: this also happens to route around a real crash when llvmpipe
is using a different LLVM version than what Qt is linked with.

Pick-to: 6.12
Change-Id: I67b01c4277a0fdaafc5133cf9f84e76aab0fed43
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commit745a32fcc3e775c27948602033015c7b37d539d7
parent7429146eea78025f409fb621731789a46dd4049c
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeFri, 2 Oct 2026 00:55:56 +0000