<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">Den 12.08.2024 18:51, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky42q+tZbf64SQw8RZrUpYz9FM7gnzJu3Cnwb7hc3XdyaA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">пн, 12 авг. 2024 г., 15:33
Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com" target="_blank"
rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<div>Den 12.08.2024 02:58, skrev Andrew Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">пн, 12 авг.
2024 г., 03:48 Terje J. Hanssen via Cin <<a
href="mailto:cin@lists.cinelerra-gg.org"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">cin@lists.cinelerra-gg.org</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<div>Den 11.08.2024 23:30, skrev Andrea paz:<br>
</div>
<blockquote type="cite">
<pre>I could never get decoding to work with vulkan (h264), problems with
the "device." </pre>
</blockquote>
<br>
I also get <br>
<blockquote>[h264 @ 0x560566feda40] Device
does not support the
VK_KHR_video_decode_queue extension!<br>
[h264 @ 0x560566feda40] Failed setup for
format vulkan: hwaccel initialisation
returned error.<br>
</blockquote>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">I think you need vulkaninfo to see
if you have this extension exposed ?</div>
<div dir="auto"><br>
</div>
<div dir="auto">driver for Intel called "anv" in
mesa so may be check for this ext. name in mesa's
git?</div>
<div dir="auto"><br>
</div>
<div dir="auto">for AMD it will be "radv"</div>
<div dir="auto"><br>
</div>
<div dir="auto">not sure how they packaged on your
distros ....</div>
<br>
</div>
</blockquote>
<blockquote> <br>
</blockquote>
<font face="Courier New, Courier, monospace">vulkaninfo
| grep VK_KHR_video_decode_queue<br>
- not found<br>
</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">it seems you need env variable set?</div>
<div dir="auto"><br>
</div>
<div dir="auto"><a
href="https://github.com/mpv-player/mpv/issues/11739"
target="_blank" rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">https://github.com/mpv-player/mpv/issues/11739</a><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">======</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<ul>
<li>Intel
<ul dir="auto">
<li>You must set <code>ANV_VIDEO_DECODE=1</code> in
your environment to expose video decoding</li>
<li>Both H.264 and H.265 are supported</li>
<li>VK_EXT_descriptor_buffer support, required for
Vulkan filters, has been <a
href="https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22151"
moz-do-not-send="true">merged</a> but no release
includes it yet</li>
</ul>
</li>
</ul>
</div>
</div>
</blockquote>
<br>
Thank you. Setting this environment helped to remove the first error
message <br>
<blockquote><font face="Courier New, Courier, monospace">export
ANV_VIDEO_DECODE=1</font><br>
<font face="Courier New, Courier, monospace">vulkaninfo | grep
VK_KHR_video_decode_queue</font><br>
<font face="Courier New, Courier, monospace">
VK_KHR_video_decode_queue : extension
revision 8<br>
<br>
</font></blockquote>
<font face="Courier New, Courier, monospace">Still remaining hwaccel
initialisation returned error for h264 and h265 input
respectively:<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">[h264 @
0x55952760cf40] Failed setup for format vulkan: hwaccel
initialisation returned error.</font><br>
<br>
<font face="Courier New, Courier, monospace">[hevc @
0x5580e96e8c80] Failed setup for format vulkan: hwaccel
initialisation returned error.</font><br>
<font face="Courier New, Courier, monospace">[hevc @
0x5580e96e8c80] Unsupported film grain parameters. Ignoring film
grain.<br>
<br>
</font></blockquote>
<font face="Courier New, Courier, monospace">================<br>
<br>
vulkaninfo --summary<br>
==========<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">VULKANINFO</font><br>
<font face="Courier New, Courier, monospace">==========</font><br>
<br>
<font face="Courier New, Courier, monospace">Vulkan Instance
Version: 1.3.290</font><br>
<br>
<br>
<font face="Courier New, Courier, monospace">Instance Extensions:
count = 24</font><br>
<font face="Courier New, Courier, monospace">-------------------------------</font><br>
<font face="Courier New, Courier, monospace">VK_EXT_acquire_drm_display
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_EXT_acquire_xlib_display
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_EXT_debug_report
: extension revision 10</font><br>
<font face="Courier New, Courier, monospace">VK_EXT_debug_utils
: extension revision 2</font><br>
<font face="Courier New, Courier, monospace">VK_EXT_direct_mode_display
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_EXT_display_surface_counter
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_EXT_headless_surface
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_EXT_surface_maintenance1
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_EXT_swapchain_colorspace
: extension revision 4</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_device_group_creation
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_display
: extension revision 23</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_external_fence_capabilities
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_external_memory_capabilities
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_external_semaphore_capabilities
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_get_display_properties2
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_get_physical_device_properties2
: extension revision 2</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_get_surface_capabilities2
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_portability_enumeration
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_surface
: extension revision 25</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_surface_protected_capabilities
: extension revision 1</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_wayland_surface
: extension revision 6</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_xcb_surface
: extension revision 6</font><br>
<font face="Courier New, Courier, monospace">VK_KHR_xlib_surface
: extension revision 6</font><br>
<font face="Courier New, Courier, monospace">VK_LUNARG_direct_driver_loading
: extension revision 1</font><br>
<br>
<font face="Courier New, Courier, monospace">Instance Layers:
count = 3</font><br>
<font face="Courier New, Courier, monospace">--------------------------</font><br>
<font face="Courier New, Courier, monospace">VK_LAYER_KHRONOS_validation
Khronos Validation Layer 1.3.290 version 1</font><br>
<font face="Courier New, Courier, monospace">VK_LAYER_MESA_device_select
Linux device selection layer 1.3.211 version 1</font><br>
<font face="Courier New, Courier, monospace">VK_LAYER_MESA_overlay
Mesa Overlay layer 1.3.211 version 1</font><br>
<br>
<font face="Courier New, Courier, monospace">Devices:</font><br>
<font face="Courier New, Courier, monospace">========</font><br>
<font face="Courier New, Courier, monospace">GPU0:</font><br>
<font face="Courier New, Courier, monospace">
apiVersion = 1.3.278</font><br>
<font face="Courier New, Courier, monospace">
driverVersion = 24.1.2</font><br>
<font face="Courier New, Courier, monospace">
vendorID = 0x8086</font><br>
<font face="Courier New, Courier, monospace">
deviceID = 0x56a1</font><br>
<font face="Courier New, Courier, monospace">
deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU</font><br>
<font face="Courier New, Courier, monospace">
deviceName = Intel(R) Arc(tm) A750 Graphics (DG2)</font><br>
<font face="Courier New, Courier, monospace">
driverID = DRIVER_ID_INTEL_OPEN_SOURCE_MESA</font><br>
<font face="Courier New, Courier, monospace">
driverName = Intel open-source Mesa driver</font><br>
<font face="Courier New, Courier, monospace">
driverInfo = Mesa 24.1.2</font><br>
<font face="Courier New, Courier, monospace">
conformanceVersion = 1.3.6.0</font><br>
<font face="Courier New, Courier, monospace">
deviceUUID = 8680a156-0800-0000-0300-000000000000</font><br>
<font face="Courier New, Courier, monospace">
driverUUID = b0018696-40da-fe5a-ccad-54a5a6b3273f</font><br>
</blockquote>
<font face="Courier New, Courier, monospace">===================<br>
</font>
<blockquote><font face="Courier New, Courier, monospace"><br>
</font></blockquote>
<font face="Courier New, Courier, monospace"><br>
</font><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>