Update Intel graphics installation process
Removed installation of 'intel-opencl-icd' and related repository setup. Added fetching of Intel graphics compiler and runtime packages.
This commit is contained in:
parent
2d393c7237
commit
ffcebea870
@ -17,17 +17,12 @@ msg_info "Setting Up Hardware Acceleration"
|
|||||||
if [[ ! -d /etc/apt/keyrings ]]; then
|
if [[ ! -d /etc/apt/keyrings ]]; then
|
||||||
mkdir -p /etc/apt/keyrings
|
mkdir -p /etc/apt/keyrings
|
||||||
fi
|
fi
|
||||||
curl -fsSL https://repositories.intel.com/graphics/intel-graphics.key | gpg --dearmor --yes -o /etc/apt/keyrings/intel-graphics.gpg
|
fetch_and_deploy_gh_release "intel-igc-core-2" "intel/intel-graphics-compiler" "binary" "latest" "" "intel-igc-core-2_*_amd64.deb"
|
||||||
cat <<'EOF' | sudo tee /etc/apt/sources.list.d/intel-gpu.sources > /dev/null
|
fetch_and_deploy_gh_release "intel-igc-opencl-2" "intel/intel-graphics-compiler" "binary" "latest" "" "intel-igc-opencl-2_*_amd64.deb"
|
||||||
Types: deb
|
fetch_and_deploy_gh_release "intel-libgdgmm12" "intel/compute-runtime" "binary" "latest" "" "libigdgmm12_*_amd64.deb"
|
||||||
URIs: https://repositories.intel.com/graphics/ubuntu
|
fetch_and_deploy_gh_release "intel-opencl-icd" "intel/compute-runtime" "binary" "latest" "" "intel-opencl-icd_*_amd64.deb"
|
||||||
Suites: stable
|
|
||||||
Components: main
|
|
||||||
Architectures: amd64
|
|
||||||
Signed-By: /etc/apt/keyrings/intel-graphics.gpg
|
|
||||||
EOF
|
|
||||||
|
|
||||||
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
|
$STD apt-get -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user