Skip to content

Commit

Permalink
docker: fix hw decode
Browse files Browse the repository at this point in the history
  • Loading branch information
Koushik Dutta authored and Koushik Dutta committed Aug 9, 2024
1 parent 947aa15 commit b84adf5
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions install/docker/install-intel-graphics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ then
exit 0
fi

# this script previvously apt install intel-media-va-driver-non-free, but that seems to no longer be necessary.
# no errors beyond this point
set -e

# the intel provided script is disabled since it does not work with the 6.8 kernel in Ubuntu 24.04 or Proxmox 8.2.
# manual installation of the Intel graphics stuff is required.
Expand All @@ -18,11 +19,19 @@ fi
# apt-get -y install intel-opencl-icd &&
# apt-get -y dist-upgrade;

# need intel-media-va-driver-non-free, but all the other intel packages are installed from Intel github.
echo "Installing Intel graphics packages."
apt-get update && apt-get install -y gpg-agent &&
rm -f /usr/share/keyrings/intel-graphics.gpg &&
curl -L https://repositories.intel.com/graphics/intel-graphics.key | gpg --dearmor --yes --output /usr/share/keyrings/intel-graphics.gpg &&
echo 'deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/graphics/ubuntu jammy arc' | tee /etc/apt/sources.list.d/intel.gpu.jammy.list &&
apt-get -y update &&
apt-get -y intel-media-va-driver-non-free &&
apt-get -y dist-upgrade;

# manual installation
# https://github.com/intel/compute-runtime/releases/tag/24.13.29138.7

# no errors beyond this point
set -e

rm -rf /tmp/gpu && mkdir -p /tmp/gpu && cd /tmp/gpu

Expand Down

0 comments on commit b84adf5

Please sign in to comment.