mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	jellyfin: fix: intel deps (#8657)
This commit is contained in:
		@@ -30,6 +30,7 @@ function update_script() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  if ! grep -qEi 'ubuntu' /etc/os-release; then
 | 
					  if ! grep -qEi 'ubuntu' /etc/os-release; then
 | 
				
			||||||
    msg_info "Updating Intel Dependencies"
 | 
					    msg_info "Updating Intel Dependencies"
 | 
				
			||||||
 | 
					    rm .intel-*
 | 
				
			||||||
    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-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_and_deploy_gh_release "intel-igc-opencl-2" "intel/intel-graphics-compiler" "binary" "latest" "" "intel-igc-opencl-2_*_amd64.deb"
 | 
				
			||||||
    fetch_and_deploy_gh_release "intel-libgdgmm12" "intel/compute-runtime" "binary" "latest" "" "libigdgmm12_*_amd64.deb"
 | 
					    fetch_and_deploy_gh_release "intel-libgdgmm12" "intel/compute-runtime" "binary" "latest" "" "libigdgmm12_*_amd64.deb"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,9 +19,11 @@ if ! grep -qEi 'ubuntu' /etc/os-release; then
 | 
				
			|||||||
  fetch_and_deploy_gh_release "intel-igc-opencl-2" "intel/intel-graphics-compiler" "binary" "latest" "" "intel-igc-opencl-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_and_deploy_gh_release "intel-libgdgmm12" "intel/compute-runtime" "binary" "latest" "" "libigdgmm12_*_amd64.deb"
 | 
					  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"
 | 
					  fetch_and_deploy_gh_release "intel-opencl-icd" "intel/compute-runtime" "binary" "latest" "" "intel-opencl-icd_*_amd64.deb"
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
					  $STD apt -y install intel-opencl-icd
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$STD apt -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
 | 
					$STD apt -y install {va-driver-all,ocl-icd-libopencl1,vainfo,intel-gpu-tools}
 | 
				
			||||||
if [[ "$CTTYPE" == "0" ]]; then
 | 
					if [[ "$CTTYPE" == "0" ]]; then
 | 
				
			||||||
  chgrp video /dev/dri
 | 
					  chgrp video /dev/dri
 | 
				
			||||||
  chmod 755 /dev/dri
 | 
					  chmod 755 /dev/dri
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user