<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">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<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">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>
<div dir="auto"><br>
</div>
</div>
</blockquote>
<br>
I installed a few more vulkan related packages included vulkan-tools
with vulkaninfo. So now I have <br>
<blockquote><font face="Courier New, Courier, monospace">zypper se
-is vulkan libva intel</font><br>
<font face="Courier New, Courier, monospace">Loading repository
data...</font><br>
<font face="Courier New, Courier, monospace">Reading installed
packages...</font><br>
<br>
<font face="Courier New, Courier, monospace">S |
Name | Type | Version
| Arch | Repository</font><br>
<font face="Courier New, Courier, monospace">---+--------------------------------+---------+----------------------+--------+-------------------------</font><br>
<font face="Courier New, Courier, monospace">i |
intel-media-driver | package | 24.1.5-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i |
intel-vaapi-driver | package | 2.4.1-5.13
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i |
kernel-firmware-intel | package | 20240728-1.1
| noarch | openSUSE-Slowroll-Update</font><br>
<font face="Courier New, Courier, monospace">i |
kernel-firmware-intel | package | 20240728-1.1
| noarch | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i |
libdrm_intel1 | package | 2.4.122-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i |
libgstvulkan-1_0-0 | package | 1.24.6-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i |
libva-drm2 | package | 2.22.0-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i |
libva-glx2 | package | 2.22.0-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i+ |
libva-utils | package | 2.22.0-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i |
libva-wayland2 | package | 2.22.0-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i |
libva-x11-2 | package | 2.22.0-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i |
libva2 | package | 2.22.0-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i |
libvulkan1 | package | 1.3.290-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i+ |
libvulkan_intel | package | 24.1.2-1699.389.pm.3
| x86_64 | Packman</font><br>
<font face="Courier New, Courier, monospace">i+ |
libvulkan_lvp | package | 24.1.2-1699.389.pm.3
| x86_64 | Packman</font><br>
<font face="Courier New, Courier, monospace">i |
libVulkanLayerSettings-1_3_290 | package | 1.3.290-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i |
Mesa-libva | package | 24.1.2-1699.389.pm.3
| x86_64 | Packman</font><br>
<font face="Courier New, Courier, monospace">i+ |
Mesa-vulkan-device-select | package | 24.1.2-1699.389.pm.3
| x86_64 | Packman</font><br>
<font face="Courier New, Courier, monospace">i+ |
Mesa-vulkan-overlay | package | 24.1.2-1699.389.pm.3
| x86_64 | Packman</font><br>
<font face="Courier New, Courier, monospace">i+ |
ucode-intel | package | 20240531-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i+ |
vulkan-tools | package | 1.3.290-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<font face="Courier New, Courier, monospace">i+ |
vulkan-validationlayers | package | 1.3.290-1.1
| x86_64 | openSUSE-Slowroll-Oss</font><br>
<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">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">merged</a> but no release includes it yet</li></ul>
</li><li>AMD
<ul dir="auto"><li>You must set <code>RADV_PERFTEST=video_decode</code> in your environment to expose video decoding</li></ul></li></ul></div><div dir="auto">======</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><font face="Courier New, Courier, monospace">
<br>
vulkaninfo | grep Arc<br>
GPU id = 0 (Intel(R) Arc(tm) A750 Graphics (DG2))<br>
GPU id = 0 (Intel(R) Arc(tm) A750 Graphics (DG2))<br>
GPU id = 0 (Intel(R) Arc(tm) A750 Graphics (DG2))<br>
GPU id : 0 (Intel(R) Arc(tm) A750 Graphics (DG2)):<br>
deviceName = Intel(R) Arc(tm) A750 Graphics (DG2)<br>
<br>
<br>
ls /usr/share/vulkan/icd.d/<br>
intel_hasvk_icd.x86_64.json intel_icd.x86_64.json
lvp_icd.x86_64.json<br>
<br>
<br>
vkcube<br>
Selected GPU 0: Intel(R) Arc(tm) A750 Graphics (DG2), type:
DiscreteGpu<br>
- looks ok <br>
<br>
For me it seems like Vulkan and Intel drivers should work, <br>
though the missing </font>VK_KHR_video_decode_queue prohibit the
ffmpeg benchmark test?<br>
--------------<br>
<br>
(On my legacy workstation w/MSI Skylake & Nvidia GeForce GTX 960
GPU, I was not able to get corresponding info,<br>
So I expect either it is too old and not supported, or there is some
missing driver or setup)<br>
<br>
<br>
<font face="Courier New, Courier, monospace"> <br>
<br>
<br>
</font><br>
<br>
</div>
</blockquote></div></div></div>