File tree Expand file tree Collapse file tree 2 files changed +17
-11
lines changed
Expand file tree Collapse file tree 2 files changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,14 @@ function update_script() {
2828 exit
2929 fi
3030
31- msg_info " Updating Intel Dependencies"
32- fetch_and_deploy_gh_release " intel-igc-core-2" " intel/intel-graphics-compiler" " binary" " latest" " " " intel-igc-core-2_*_amd64.deb"
33- fetch_and_deploy_gh_release " intel-igc-opencl-2" " intel/intel-graphics-compiler" " binary" " latest" " " " intel-igc-opencl-2_*_amd64.deb"
34- fetch_and_deploy_gh_release " intel-libgdgmm12" " intel/compute-runtime" " binary" " latest" " " " libigdgmm12_*_amd64.deb"
35- fetch_and_deploy_gh_release " intel-opencl-icd" " intel/compute-runtime" " binary" " latest" " " " intel-opencl-icd_*_amd64.deb"
36- msg_ok " Updated Intel Dependencies"
31+ if ! grep -qEi ' ubuntu' /etc/os-release; then
32+ msg_info " Updating Intel Dependencies"
33+ fetch_and_deploy_gh_release " intel-igc-core-2" " intel/intel-graphics-compiler" " binary" " latest" " " " intel-igc-core-2_*_amd64.deb"
34+ fetch_and_deploy_gh_release " intel-igc-opencl-2" " intel/intel-graphics-compiler" " binary" " latest" " " " intel-igc-opencl-2_*_amd64.deb"
35+ fetch_and_deploy_gh_release " intel-libgdgmm12" " intel/compute-runtime" " binary" " latest" " " " libigdgmm12_*_amd64.deb"
36+ fetch_and_deploy_gh_release " intel-opencl-icd" " intel/compute-runtime" " binary" " latest" " " " intel-opencl-icd_*_amd64.deb"
37+ msg_ok " Updated Intel Dependencies"
38+ fi
3739
3840 msg_info " Updating Jellyfin"
3941 if ! dpkg -s libjemalloc2 > /dev/null 2>&1 ; then
Original file line number Diff line number Diff line change @@ -14,12 +14,16 @@ network_check
1414update_os
1515
1616msg_info " Setting Up Hardware Acceleration"
17- fetch_and_deploy_gh_release " intel-igc-core-2" " intel/intel-graphics-compiler" " binary" " latest" " " " intel-igc-core-2_*_amd64.deb"
18- fetch_and_deploy_gh_release " intel-igc-opencl-2" " intel/intel-graphics-compiler" " binary" " latest" " " " intel-igc-opencl-2_*_amd64.deb"
19- fetch_and_deploy_gh_release " intel-libgdgmm12" " intel/compute-runtime" " binary" " latest" " " " libigdgmm12_*_amd64.deb"
20- fetch_and_deploy_gh_release " intel-opencl-icd" " intel/compute-runtime" " binary" " latest" " " " intel-opencl-icd_*_amd64.deb"
17+ if ! grep -qEi ' ubuntu' /etc/os-release; then
18+ fetch_and_deploy_gh_release " intel-igc-core-2" " intel/intel-graphics-compiler" " binary" " latest" " " " intel-igc-core-2_*_amd64.deb"
19+ fetch_and_deploy_gh_release " intel-igc-opencl-2" " intel/intel-graphics-compiler" " binary" " latest" " " " intel-igc-opencl-2_*_amd64.deb"
20+ fetch_and_deploy_gh_release " intel-libgdgmm12" " intel/compute-runtime" " binary" " latest" " " " libigdgmm12_*_amd64.deb"
21+ fetch_and_deploy_gh_release " intel-opencl-icd" " intel/compute-runtime" " binary" " latest" " " " intel-opencl-icd_*_amd64.deb"
22+ else
23+ $STD apt -y install intel-ocl-icd
24+ fi
2125
22- $STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,vainfo,intel-gpu-tools}
26+ $STD apt -y install {va-driver-all,ocl-icd-libopencl1,vainfo,intel-gpu-tools}
2327if [[ " $CTTYPE " == " 0" ]]; then
2428 chgrp video /dev/dri
2529 chmod 755 /dev/dri
You can’t perform that action at this time.
0 commit comments