Bug 281566

Summary: lang/intel-compute-runtime is outdated
Product: Ports & Packages Reporter: Dmitry Afanasiev <KOT>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me CC: agh, fuz, uzsolt
Priority: --- Keywords: needs-patch
Version: Latest   
Hardware: Any   
OS: Any   

Description Dmitry Afanasiev 2024-09-18 08:22:26 UTC
Current version of lang/intel-compute-runtime is outdated - currently latest version is 24.35.30872.22, but in ports we have a version 22.24.23453.
Also this ports requires deprecated versions of llvm, but does not have support for llvm18.
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2024-09-23 10:58:10 UTC
It also doesn't work -- crashes immediately when I run a CUDA benchmark.
Comment 2 Jan Beich freebsd_committer freebsd_triage 2024-09-28 22:40:30 UTC
I don't maintain this anymore but updating requires non-trivial patching to build, drm-kmod < 5.15 to run (see files/patch-userptr) and partially obsolete after ports d8990eff958b. Intel is reluctant to accept FreeBSD patches[1] unless you have a business case[2]. Better ignore Intel official drivers and stick with Rusticl.

FreeBSD 13 uses drm-510-kmod where intel-compute-runtime may still work fine. Only llvm11 flavor is supposed to be stable in the current version, see https://github.com/intel/intel-graphics-compiler/blob/igc-1.0.12504.5/documentation/build_ubuntu.md#version-overview

[1] VA-API example - https://github.com/intel/media-driver/pull/819 . Instead prefer Vulkan Video which (like Rusticl) is maintained by Mesa where Intel cannot engage in gatekeeping.
[2] May be a good task for https://wiki.freebsd.org/EnterpriseWorkingGroup