Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66062 - [intel-compute-runtime] Level Zero libraries missing

Attached to Project: Community Packages
Opened by Tim Besard (maleadt) - Wednesday, 01 April 2020, 11:40 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Thursday, 16 April 2020, 00:56 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Daniel Bermond (Bermond)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The current version of the intel-compute-runtime package does not seem to include the level zero driver libze_intel_gpu.so. Rebuilding the package (without additional changes) did build and install /usr/lib/libze_intel_gpu.so.0.8 on my system, so maybe the build system only compiles this library when the host system supports the Level Zero API. There seems to be a flag, BUILD_WITH_L0, to force this.

Looking at the PKGBUILD, I think we could also get rid of the NEO_DRIVER_VERSION flag (looks unused in current versions of intel-compute-runtime), and maybe add SKIP_UNIT_TESTS=1.

Another side note, Intel developers commented in https://github.com/oneapi-src/level-zero/issues/7 that the versioning of this package is off: 20.12.16259 is the date-based versioning scheme used for the OpenCL components of the toolchain, while the Level Zero libraries use semver (0.8.16259).
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Thursday, 16 April 2020, 00:56 GMT
Reason for closing:  Implemented
Additional comments about closing:  level-zero is now in our repos, and intel-compute-runtime has been updated and built with it. Currently in [staging] due to LLVM rebuild, but should hit [community] soon.
Comment by freswa (frederik) - Wednesday, 01 April 2020, 12:30 GMT Comment by Daniel Bermond (Bermond) - Wednesday, 01 April 2020, 13:22 GMT
We are aware about Level Zero. This is a feature that was recently introduced by upstream intel-compute-runtime at version 20.10 (like in two weeks ago), so it's quite fresh.

Even at the time of the current 20.12 release, intel-compute-runtime required Level Zero git master to compile, as they were using different driver versions. And there is not even support for Level Zero in the official repositories currently.

So, no need to hurry to add this recently introduced feature, but thanks for the interest on it :)
Comment by Daniel Bermond (Bermond) - Wednesday, 01 April 2020, 13:26 GMT
I think that this task should be of the the type 'Feature Request', and not a 'Bug'.
Comment by Daniel Bermond (Bermond) - Wednesday, 01 April 2020, 13:36 GMT
@frederik Thanks for changing the task type :)
Comment by Bruno Pagani (ArchangeGabriel) - Wednesday, 15 April 2020, 15:28 GMT
We have https://aur.archlinux.org/pkgbase/level-zero/ in AUR and an update by Daniel ready for intel-compute-runtime: https://paste.ee/p/fGta6.

We just need to settle on a name for the provided optdep.

Loading...