mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-23 09:04:43 +00:00
fix(gpu): pin IGC version to compute-runtime compatible tag
intel-igc-core and intel-igc-opencl were fetched from intel/intel-graphics-compiler at 'latest' independently, which could install a version newer than what compute-runtime supports (e.g. IGC 2.32.7 vs compute-runtime expecting < 2.30.1), breaking apt deps for intel-opencl-icd and libze-intel-gpu1 on Debian Trixie/Sid. Add _resolve_igc_tag() helper that parses the IGC tag from the compute-runtime release notes in /tmp/gh_rel.json (already written by fetch_and_deploy_gh_release). Use it in _setup_intel_arc(), _setup_intel_modern(), and ct/jellyfin.sh update_script() to always install the IGC version that compute-runtime was built against.
This commit is contained in:
+8
-2
@@ -32,10 +32,16 @@ function update_script() {
|
||||
if ! grep -qEi 'ubuntu' /etc/os-release; then
|
||||
msg_info "Updating Intel Dependencies"
|
||||
rm -f ~/.intel-* || true
|
||||
fetch_and_deploy_gh_release "intel-igc-core-2" "intel/intel-graphics-compiler" "binary" "latest" "" "intel-igc-core-2_*_amd64.deb"
|
||||
fetch_and_deploy_gh_release "intel-igc-opencl-2" "intel/intel-graphics-compiler" "binary" "latest" "" "intel-igc-opencl-2_*_amd64.deb"
|
||||
|
||||
# Fetch compute-runtime first so /tmp/gh_rel.json is populated for IGC tag resolution
|
||||
fetch_and_deploy_gh_release "intel-libgdgmm12" "intel/compute-runtime" "binary" "latest" "" "libigdgmm12_*_amd64.deb"
|
||||
fetch_and_deploy_gh_release "intel-opencl-icd" "intel/compute-runtime" "binary" "latest" "" "intel-opencl-icd_*_amd64.deb"
|
||||
|
||||
local igc_tag
|
||||
_resolve_igc_tag igc_tag
|
||||
|
||||
fetch_and_deploy_gh_release "intel-igc-core-2" "intel/intel-graphics-compiler" "binary" "$igc_tag" "" "intel-igc-core-2_*_amd64.deb"
|
||||
fetch_and_deploy_gh_release "intel-igc-opencl-2" "intel/intel-graphics-compiler" "binary" "$igc_tag" "" "intel-igc-opencl-2_*_amd64.deb"
|
||||
msg_ok "Updated Intel Dependencies"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user