Add docs for setting up Steam Headless on Intel GPU with docker-compose

This commit is contained in:
Josh.5
2022-10-02 11:48:55 +00:00
committed by Josh Sunnex
parent 2c0b7b5d53
commit 145d5600a6
6 changed files with 167 additions and 14 deletions

View File

@@ -82,13 +82,14 @@ function install_amd_gpu_driver {
lib32-vulkan-radeon \
vulkan-icd-loader \
vulkan-radeon
elif command -v apt-get &> /dev/null; then
[[ "${APT_UPDATED:-false}" == 'false' ]] && apt-get update && export APT_UPDATED=true
apt-get install -y \
libvulkan1 \
libvulkan1:i386 \
mesa-vulkan-drivers \
mesa-vulkan-drivers:i386
# There is currently nothing to install inside the debian container. This already comes with the vulken drives that are required
# elif command -v apt-get &> /dev/null; then
# [[ "${APT_UPDATED:-false}" == 'false' ]] && apt-get update && export APT_UPDATED=true
# apt-get install -y \
# libvulkan1 \
# libvulkan1:i386 \
# mesa-vulkan-drivers \
# mesa-vulkan-drivers:i386
fi
}
@@ -101,13 +102,14 @@ function install_intel_gpu_driver {
lib32-vulkan-intel \
vulkan-icd-loader \
vulkan-intel
elif command -v apt-get &> /dev/null; then
[[ "${APT_UPDATED:-false}" == 'false' ]] && apt-get update && export APT_UPDATED=true
apt-get install -y \
libvulkan1 \
libvulkan1:i386 \
mesa-vulkan-drivers \
mesa-vulkan-drivers:i386
# There is currently nothing to install inside the debian container. This already comes with the vulken drives that are required
# elif command -v apt-get &> /dev/null; then
# [[ "${APT_UPDATED:-false}" == 'false' ]] && apt-get update && export APT_UPDATED=true
# apt-get install -y \
# libvulkan1 \
# libvulkan1:i386 \
# mesa-vulkan-drivers \
# mesa-vulkan-drivers:i386
fi
}