<div dir="ltr"><div class="gmail_default" style="font-size:small">Great! somehow we need to get all of this documented as far as the build procedure and usage goes to include in the Manual. It would be difficult for anyone who does not have this "gourmet" hardware to do that. In addition, I can put Terje's AppImage on the website for other users to download for testing and usage -- that would be appreciated. Since the AppImage is large, it would have to be first uploaded to a "drop site" for me to download. But that is up to Terje. Thanks for this great effort and info.<br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Dec 7, 2024 at 10:40 AM Terje J. Hanssen via Cin <<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
After the successful Appimage build with OneVPL for QSV on Alder
Lake (i7-12700/Arc A750), the time has come as proof of contest to
test if it also works on legacy Intel iGPU hardware.<br>
<br>
Extracted from the Fixed-function Quick Sync Video format support
for HEVC one should expect <br>
<a href="https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video#Hardware_decoding_and_encoding" target="_blank">https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video#Hardware_decoding_and_encoding</a><br>
<ul>
<li>The Skylake microarchitecture implementation adds a full
fixed-function H.265/HEVC 8-bit 4:2:0 decoding and encoding
acceleration, hybrid and partial HEVC 10-bit decoding
acceleration,</li>
</ul>
<ul>
<li>The Kaby Lake, Coffee Lake, Whiskey Lake and Comet Lake
microarchitectures implementation adds full fixed-function
H.265/HEVC 10-bit 4:2:0 decoding and encoding acceleration,</li>
</ul>
<br>
<font face="Courier New, Courier, monospace"><br>
1) Sky Lake:<br>
------------<br>
CPU:<br>
Info: quad core model: Intel Core i7-6700K bits: 64 type: MT MCP
cache:<br>
Graphics:<br>
Device-1: Intel HD Graphics 530 driver: i915 v: kernel<br>
(Device-2: NVIDIA GM206 [GeForce GTX 960] driver: N/A)<br>
<br>
~/Application> ./cin-x86_64.AppImage<br>
Cinelerra Infinity - built: Nov 20 2024 22:0<br>
<br>
<br>
Loaded hdv09_04.m2t (tff interlaced)<br>
<br>
Rendered to hevc_qsv_8b420<br>
---------------------------<br>
libva info: VA-API version 1.22.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_22<br>
libva info: va_openDriver() returns 0<br>
Render::render_single: Session finished.<br>
** rendered 5972 frames in 66.227 secs, 90.175 fps<br>
<br>
ffprobe -hide_banner hdv09_04_hevc_qsv_8b420.mp4<br>
Stream #0:0[0x1](und): Video: hevc (Main) (hev1 / 0x31766568),
yuvj420p(pc, smpte170m/unknown/unknown, top coded first
(swapped)), 1440x1080 [SAR 4:3 DAR 16:9], 4918 kb/s, 25 fps, 25
tbr, 12800 tbn (default)<br>
<br>
<br>
Test hevc_qsv_10b420 failed<br>
---------------------------<br>
libva info: VA-API version 1.22.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_22<br>
libva info: va_openDriver() returns 0<br>
[hevc_qsv @ 0x7fe508025980] Low power mode is unsupported<br>
[hevc_qsv @ 0x7fe508025980] Current pixel format is unsupported<br>
[hevc_qsv @ 0x7fe508025980] some encoding parameters are not
supported by the QSV runtime. Please double check the input
parameters.<br>
<br>
FFMPEG::open_encoder err: Function not implemented<br>
int FFMPEG::open_encoder(const char*, const char*):<br>
open failed
hevc_qsv:/run/media/terje/video/hdv09_04_hevc_qsv_10b420.mp4<br>
Render::render_single: Session finished.<br>
<br>
<br>
2) Kaby Lake<br>
-----------<br>
CPU:<br>
Info: quad core model: Intel Core i7-8550U bits: 64 type: MT MCP
cache:<br>
Graphics:<br>
Device-1: Intel UHD Graphics 620 driver: i915 v: kernel<br>
<br>
~/Application> ./cin-x86_64.AppImage<br>
Cinelerra Infinity - built: Nov 20 2024 22:0<br>
<br>
<br>
Loaded hdv09_04.m2t (tff interlaced)<br>
<br>
Rendered to hevc_qsv_8b420<br>
---------------------------<br>
libva info: VA-API version 1.22.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_22<br>
libva info: va_openDriver() returns 0<br>
Render::render_single: Session finished.<br>
** rendered 5972 frames in 59.564 secs, 100.262 fps<br>
<br>
ffprobe -hide_banner hdv09_04_hevc_qsv_8b420.mp4<br>
Stream #0:0[0x1](und): Video: hevc (Main) (hev1 / 0x31766568),
yuvj420p(pc, smpte170m/unknown/unknown, top coded first
(swapped)), 1440x1080 [SAR 4:3 DAR 16:9], 4018 kb/s, 25 fps, 25
tbr, 12800 tbn (default)<br>
<br>
<br>
Rendered to hevc_qsv_10b420<br>
---------------------------<br>
libva info: VA-API version 1.22.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_22<br>
libva info: va_openDriver() returns 0<br>
Render::render_single: Session finished.<br>
** rendered 5972 frames in 79.061 secs, 75.537 fps<br>
<br>
ffprobe -hide_banner hdv09_04_hevc_qsv_10b420.mp4<br>
Stream #0:0[0x1](und): Video: hevc (Main 10) (hev1 / 0x31766568),
yuv420p10le(pc, smpte170m/unknown/unknown, top coded first
(swapped)), 1440x1080 [SAR 4:3 DAR 16:9], 25630 kb/s, 25 fps, 25
tbr, 12800 tbn (default)<br>
<br>
<br>
Test hevc_qsv_10b422 failed:<br>
----------------------------<br>
libva info: VA-API version 1.22.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_22<br>
libva info: va_openDriver() returns 0<br>
[hevc_qsv @ 0x7f8e74000bc0] Low power mode is unsupported<br>
[hevc_qsv @ 0x7f8e74000bc0] Current pixel format is unsupported<br>
[hevc_qsv @ 0x7f8e74000bc0] some encoding parameters are not
supported by the QSV runtime. Please double check the input
parameters.<br>
FFMPEG::open_encoder err: Function not implemented<br>
int FFMPEG::open_encoder(const char*, const char*):<br>
open failed
hevc_qsv:/home/terje/Videos/hdv09_04_hevc_qsv_10b422.mp4<br>
Render::render_single: Session finished.<br>
</font><br>
<br>
Conclusion:<br>
-------------------<br>
The above simple tests show that the QSV enabled Appimage with
OneVPL works also on legacy and other Intel hardware.<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div>