oneVPL-intel-gpu
oneVPL-intel-gpu copied to clipboard
Unable to build OneVPL-GPU: issue of scope for VAProcFilterCap3DLUT
System information
model name : 12th Gen Intel(R) Core(TM) i7-12700K 00:02.0 Display controller [0380]: Intel Corporation AlderLake-S GT1 [8086:4680] (rev 0c) 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1002:731f] (rev ca)
Output is via dGPU
Issue behavior
Unable to build (stuck at 83%) when using GCC and G++ due to
In file included from /home/felix/tmp/onevpl-gpu/_studio/mfx_lib/vpp/src/mfx_vpp_factory.cpp:33:
/home/felix/tmp/onevpl-gpu/_studio/shared/include/mfx_vpp_vaapi.h:163:21: error: ‘VAProcFilterCap3DLUT’ was not declared in this scope; did you mean ‘VAProcFilterCap’?
163 | std::vector<VAProcFilterCap3DLUT> m_3dlutCaps;
| ^~~~~~~~~~~~~~~~~~~~
| VAProcFilterCap
/home/felix/tmp/onevpl-gpu/_studio/shared/include/mfx_vpp_vaapi.h:163:41: error: template argument 1 is invalid
163 | std::vector<VAProcFilterCap3DLUT> m_3dlutCaps;
| ^
/home/felix/tmp/onevpl-gpu/_studio/shared/include/mfx_vpp_vaapi.h:163:41: error: template argument 2 is invalid
With current release of OneAPI Base toolkit and HPC toolkit at time of report (Feb 15 2022)
uname -a: Linux [redacted] 5.16.5 #1 SMP Wed Feb 2 15:56:51 EST 2022 x86_64 GNU/Linux
Attempting to use the intel compiler suite (ICX and ICPX respectively) resulted in not making it past the 20% mark.
Debug information
by-path card0 card1 renderD128 renderD129 libva2/hirsute,now 2.11.0-1~h~mesarc amd64 [installed]
- Do you want to contribute a PR? (yes/no): No, Currently working on SR AVX512FP16 cpu.log
Do you install correct version of libva? Could you try it with latest vaapi.
Can you add a check on the minimum required version of libva when building if you think it should require a higher version of libva?
With libva < 2.12 (default in CentOS/RHEL 8) the build fails.
It has release note which includes all release version of dependency.
That's not the point. You're checking for libva 1.9 or higher:
https://github.com/oneapi-src/oneVPL-intel-gpu/blob/main/builder/FindPackages.cmake#L31-L34
With anything below 1.12 you get the error above. If the minimum required is 1.16, please update the CMake files, otherwise the bug is valid. Thanks.