Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build OneVPL-GPU: issue of scope for VAProcFilterCap3DLUT #198

Open
FCLC opened this issue Feb 16, 2022 · 4 comments · May be fixed by #294
Open

Unable to build OneVPL-GPU: issue of scope for VAProcFilterCap3DLUT #198

FCLC opened this issue Feb 16, 2022 · 4 comments · May be fixed by #294
Assignees
Labels
bug Issue is identified as a bug Build Cmake, build option related

Comments

@FCLC
Copy link

FCLC commented Feb 16, 2022

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-1hmesarc amd64 [installed]

  • Do you want to contribute a PR? (yes/no):
    No, Currently working on SR AVX512FP16
    cpu.log
@FCLC FCLC added the bug Issue is identified as a bug label Feb 16, 2022
@Jexu Jexu added the Build Cmake, build option related label Nov 8, 2022
@Jexu
Copy link
Contributor

Jexu commented Nov 8, 2022

Do you install correct version of libva? Could you try it with latest vaapi.

@scaronni
Copy link

scaronni commented Nov 9, 2022

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.

@Jexu
Copy link
Contributor

Jexu commented Nov 9, 2022

It has release note which includes all release version of dependency.

@scaronni
Copy link

scaronni commented Nov 9, 2022

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.

MicroYY added a commit to MicroYY/oneVPL-intel-gpu that referenced this issue Aug 10, 2023
Fix: intel#198
Signed-off-by: Jay Yang <jay.yang@intel.com>
@MicroYY MicroYY linked a pull request Aug 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is identified as a bug Build Cmake, build option related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants