QSV OK, but apparently not using OneAPI

Discuss encoding for devices and presets.
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
hagri_1438
Posts: 4
Joined: Thu Mar 02, 2023 2:18 am

QSV OK, but apparently not using OneAPI

Post by hagri_1438 »

Description of problem or question:

Hi,
Thanks for this brilliant piece of software. I've been able to successfully transcode videos with the HEVC QSV preset.
However, it looks like Handbrake is using Intel Media SDK, and not OneVPL. Minor problem if any, but still, I wonder why it's not using the newer API

Steps to reproduce the problem (If Applicable):
Select preset H.265 QSV 1080p

HandBrake version (e.g., 1.0.0):
1.6.1

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Arch Linux 6.2.1-arch1-1

HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

[21:29:19] gtkgui: HandBrake 1.6.1 (2023021700) - Linux x86_64 - https://handbrake.fr
[21:29:19] Compile-time hardening features are enabled
[21:29:19] hb_display_init: using VA driver 'iHD'
[21:29:19] hb_display_init: using VA driver 'iHD'
[21:29:19] qsv: is available on this system
Cannot load libnvidia-encode.so.1
[21:29:19] hb_init: starting libhb thread
[21:29:19] hb_init: starting libhb thread
[21:29:19] hb_init: starting libhb thread
[21:29:32] CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
[21:29:32]  - Intel microarchitecture Tiger Lake
[21:29:32]  - logical processor count: 8
[21:29:32] Intel Quick Sync Video support: yes
[21:29:32] Intel Quick Sync Video integrated adapter with index 0
[21:29:32] Impl mfx-gen library path: /usr/lib/libmfx-gen.so.1.2.8
[21:29:32]  - Intel Media SDK hardware: API 2.8 (minimum: 1.3)
[21:29:32]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[21:29:32]  - H.264 encoder: yes
[21:29:32]     - preferred implementation: hardware (any) via ANY
[21:29:32]     - capabilities (hardware):  lowpower breftype vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[21:29:32]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[21:29:32]     - preferred implementation: hardware (any) via ANY
[21:29:32]     - capabilities (hardware):  lowpower bpyramid vsinfo masteringinfo cllinfo opt1
[21:29:32]  - AV1 encoder: no

Code: Select all

$ vainfo 
Trying display: wayland
vainfo: VA-API version: 1.17 (libva 2.17.1)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.1.0 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileNone                   :	VAEntrypointStats
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointFEI
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointFEI
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointFEI
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointFEI
      VAProfileHEVCMain               :	VAEntrypointEncSliceLP
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointEncSliceLP
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointEncSliceLP
      VAProfileVP9Profile1            :	VAEntrypointVLD
      VAProfileVP9Profile1            :	VAEntrypointEncSliceLP
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointEncSliceLP
      VAProfileVP9Profile3            :	VAEntrypointVLD
      VAProfileVP9Profile3            :	VAEntrypointEncSliceLP
      VAProfileHEVCMain12             :	VAEntrypointVLD
      VAProfileHEVCMain12             :	VAEntrypointEncSlice
      VAProfileHEVCMain422_10         :	VAEntrypointVLD
      VAProfileHEVCMain422_10         :	VAEntrypointEncSlice
      VAProfileHEVCMain422_12         :	VAEntrypointVLD
      VAProfileHEVCMain422_12         :	VAEntrypointEncSlice
      VAProfileHEVCMain444            :	VAEntrypointVLD
      VAProfileHEVCMain444            :	VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10         :	VAEntrypointVLD
      VAProfileHEVCMain444_10         :	VAEntrypointEncSliceLP
      VAProfileHEVCMain444_12         :	VAEntrypointVLD
      VAProfileHEVCSccMain            :	VAEntrypointVLD
      VAProfileHEVCSccMain            :	VAEntrypointEncSliceLP
      VAProfileHEVCSccMain10          :	VAEntrypointVLD
      VAProfileHEVCSccMain10          :	VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444         :	VAEntrypointVLD
      VAProfileHEVCSccMain444         :	VAEntrypointEncSliceLP
      VAProfileAV1Profile0            :	VAEntrypointVLD
      VAProfileHEVCSccMain444_10      :	VAEntrypointVLD
      VAProfileHEVCSccMain444_10      :	VAEntrypointEncSliceLP

Code: Select all

$ pkg-config --list-all | grep vpl
vpl                            oneVPL - oneAPI Video Processing Library
Am I reading the logs wrong or missing something ?

Thanks !
hagri_1438
Posts: 4
Joined: Thu Mar 02, 2023 2:18 am

Re: QSV OK, but apparently not using OneAPI

Post by hagri_1438 »

hmm. If I remove onevpl and one-vpl-intel-gpu, the log outputs:

Code: Select all

 qsv: not available on this system
So maybe I am reading the logs wrong. I was expecting some reference to oneAPI instead of just Intel Media SDK and VAAPI.
Deleted User 11865

Re: QSV OK, but apparently not using OneAPI

Post by Deleted User 11865 »

The log messages are old, but we did switch to using oneVPL under the hood some time ago (as of 1.6.0 at least).
hagri_1438
Posts: 4
Joined: Thu Mar 02, 2023 2:18 am

Re: QSV OK, but apparently not using OneAPI

Post by hagri_1438 »

Alright good to know, thanks !
User avatar
Ritsuka
HandBrake Team
Posts: 1650
Joined: Fri Jan 12, 2007 11:29 am

Re: QSV OK, but apparently not using OneAPI

Post by Ritsuka »

It's been rebranded to oneVPL, but under the hood there is still libmfx for most of the encoding part.
Post Reply