-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Shell Script dependencies.sh
to Automatically Install Helios Dependencies
#47
Closed
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
e90569d
add bash script to automatically install dependencies
smbanx 5d50c09
improved helios_dependencies.sh; add command line arguments
smbanx 074cd7f
track OptiX drivers with LFS
smbanx 20bd0d8
added WSL OptiX Drivers
smbanx 116b7fa
rename and improve dependencies script; fix ambiguous wait call
smbanx 1ddeae9
removed proprietary optix drivers; changed dependencies.sh accordingly
smbanx 7eed68f
rebase onto master; minor changes
smbanx 967e3c4
removed .gitattributes (no longer need for LFS)
smbanx c5d9e4f
removed cuda from macOS
smbanx 606f595
dependencies.sh automatically installs OptiX drivers for WSL; updated…
smbanx 5d9ca02
minor changes
smbanx d0c7c46
minor typo
smbanx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
{ | ||
"WSL" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-wsl-ubuntu.pin", | ||
"mv cuda-wsl-ubuntu.pin /etc/apt/preferences.d/cuda-repository-pin-600", | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-wsl-ubuntu-12-6-local_12.6.2-1_amd64.deb", | ||
"dpkg -i cuda-repo-wsl-ubuntu-12-6-local_12.6.2-1_amd64.deb", | ||
"cp /var/cuda-repo-wsl-ubuntu-12-6-local/cuda-*-keyring.gpg /usr/share/keyrings/", | ||
"apt-get update", | ||
"apt-get -y install cuda-toolkit-12-6" | ||
], | ||
"Ubuntu_24.04_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-ubuntu2404.pin", | ||
"mv cuda-ubuntu2404.pin /etc/apt/preferences.d/cuda-repository-pin-600", | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-ubuntu2404-12-6-local_12.6.2-560.35.03-1_amd64.deb", | ||
"dpkg -i cuda-repo-ubuntu2404-12-6-local_12.6.2-560.35.03-1_amd64.deb", | ||
"cp /var/cuda-repo-ubuntu2404-12-6-local/cuda-*-keyring.gpg /usr/share/keyrings/", | ||
"apt-get update", | ||
"apt-get -y install cuda-toolkit-12-6", | ||
"apt-get install -y nvidia-open" | ||
], | ||
"Ubuntu_22.04_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin", | ||
"mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600", | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-ubuntu2204-12-6-local_12.6.2-560.35.03-1_amd64.deb", | ||
"dpkg -i cuda-repo-ubuntu2204-12-6-local_12.6.2-560.35.03-1_amd64.deb", | ||
"cp /var/cuda-repo-ubuntu2204-12-6-local/cuda-*-keyring.gpg /usr/share/keyrings/", | ||
"apt-get update", | ||
"apt-get -y install cuda-toolkit-12-6", | ||
"apt-get install -y nvidia-open" | ||
], | ||
"Ubuntu_20.04_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin", | ||
"mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600", | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-ubuntu2004-12-6-local_12.6.2-560.35.03-1_amd64.deb", | ||
"dpkg -i cuda-repo-ubuntu2004-12-6-local_12.6.2-560.35.03-1_amd64.deb", | ||
"cp /var/cuda-repo-ubuntu2004-12-6-local/cuda-*-keyring.gpg /usr/share/keyrings/", | ||
"apt-get update", | ||
"apt-get -y install cuda-toolkit-12-6", | ||
"apt-get install -y nvidia-open" | ||
], | ||
"SLES_15_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-sles15-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"rpm -i cuda-repo-sles15-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"zypper refresh", | ||
"zypper install -y cuda-toolkit-12-6", | ||
"zypper install -y nvidia-open" | ||
], | ||
"Rocky_8_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-rhel8-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"rpm -i cuda-repo-rhel8-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"dnf clean all", | ||
"dnf -y install cuda-toolkit-12-6", | ||
"dnf -y module install nvidia-driver:open-dkms" | ||
], | ||
"Rocky_9_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-rhel9-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"rpm -i cuda-repo-rhel9-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"dnf clean all", | ||
"dnf -y install cuda-toolkit-12-6", | ||
"dnf -y module install nvidia-driver:open-dkms" | ||
], | ||
"RHEL_8_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-rhel8-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"rpm -i cuda-repo-rhel8-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"dnf clean all", | ||
"dnf -y install cuda-toolkit-12-6", | ||
"dnf -y module install nvidia-driver:open-dkms" | ||
], | ||
"RHEL_9_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-rhel9-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"rpm -i cuda-repo-rhel9-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"dnf clean all", | ||
"dnf -y install cuda-toolkit-12-6", | ||
"dnf -y module install nvidia-driver:open-dkms" | ||
], | ||
"OpenSUSE_15_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-opensuse15-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"rpm -i cuda-repo-opensuse15-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"zypper refresh", | ||
"zypper install -y cuda-toolkit-12-6", | ||
"zypper install -y nvidia-open" | ||
], | ||
"KylinOS_10_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-kylin10-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"rpm -i cuda-repo-kylin10-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"dnf clean all", | ||
"dnf -y install cuda-toolkit-12-6", | ||
"dnf -y module install nvidia-driver:open-dkms" | ||
], | ||
"Fedora_39_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-fedora39-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"rpm -i cuda-repo-fedora39-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"dnf clean all", | ||
"dnf -y install cuda-toolkit-12-6", | ||
"dnf -y module install nvidia-driver:open-dkms" | ||
], | ||
"Debian_11_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-debian11-12-6-local_12.6.2-560.35.03-1_amd64.deb", | ||
"dpkg -i cuda-repo-debian11-12-6-local_12.6.2-560.35.03-1_amd64.deb", | ||
"cp /var/cuda-repo-debian11-12-6-local/cuda-*-keyring.gpg /usr/share/keyrings/", | ||
"add-apt-repository contrib", | ||
"apt-get update", | ||
"apt-get -y install cuda-toolkit-12-6", | ||
"apt-get install -y nvidia-open" | ||
], | ||
"Debian_12_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-debian12-12-6-local_12.6.2-560.35.03-1_amd64.deb", | ||
"dpkg -i cuda-repo-debian12-12-6-local_12.6.2-560.35.03-1_amd64.deb", | ||
"cp /var/cuda-repo-debian12-12-6-local/cuda-*-keyring.gpg /usr/share/keyrings/", | ||
"add-apt-repository contrib", | ||
"apt-get update", | ||
"apt-get -y install cuda-toolkit-12-6", | ||
"apt-get install -y nvidia-open" | ||
], | ||
"Azure-Linux_2_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-cm2-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"rpm -i cuda-repo-cm2-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"tdnf -y install mariner-repos-extended", | ||
"tdnf clean all", | ||
"tdnf -y install cuda-toolkit-12-6", | ||
"tdnf -y install nvidia-open" | ||
], | ||
"Amazon-Linux_2023_x86_64" : [ | ||
"wget https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installers/cuda-repo-amzn2023-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"rpm -i cuda-repo-amzn2023-12-6-local-12.6.2_560.35.03-1.x86_64.rpm", | ||
"dnf clean all", | ||
"dnf -y install cuda-toolkit-12-6", | ||
"dnf -y module install nvidia-driver:open-dkms" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,233 @@ | ||
#!/usr/bin/env bash | ||
|
||
################################################ | ||
## Install package dependencies for Helios. ## | ||
# | ||
## Use one of the following arguments to choose | ||
## which dependencies to install. Default (if | ||
## no argument provided) is "all". | ||
# | ||
# ARGUMENT | ||
# option: Choice of which dependencies to | ||
# install (default is "all"). | ||
# See below. | ||
# | ||
# OPTIONS | ||
# BASE: Install GCC, G++, and CMake | ||
# Required to run Helios. | ||
# VIS: Install base dependencies + X11/xorg | ||
# Required for Visualizer plugin. | ||
# CUDA: Install base dependencies + CUDA | ||
# Required for 1. Radiation, 2. Energy | ||
# Balance, 3. LiDAR, 4. Aerial LiDAR, | ||
# and 5. Voxel Intersection plugins. | ||
# ALL: Install dependencies for ALL plugins | ||
# | ||
# EXAMPLE | ||
# source dependencies.sh BASE | ||
# | ||
################################################ | ||
|
||
DEPENDENCIES_PATH=("gcc" "g++" "cmake" "wget" "jq" "pybind11") # Base PATH dependencies | ||
|
||
# Run bash script as root | ||
if command -v nvcc &> /dev/null; then | ||
ROOT="sudo" | ||
else | ||
echo "'sudo' command not found. Please run this script as root." | ||
ROOT="" | ||
fi | ||
|
||
# Runs command and clears output from terminal after completion. | ||
run_command_clear_output() { | ||
run_command="$1" | ||
out_file=$(mktemp) | ||
# Install package and store output to temporary file | ||
eval "$run_command" 2>&1 | tee "$out_file" | ||
# Clear output from terminal | ||
num_lines=$(wc -l < "$out_file") | ||
for ((i=0; i<num_lines; i++)); do | ||
tput cuu1 | ||
tput el | ||
done | ||
# Remove temporary file | ||
rm "$out_file" | ||
} | ||
|
||
# Checks if element is in a list | ||
is_in_list() { | ||
search="$1" | ||
shift | ||
list=("$@") | ||
for element in "${list[@]}"; do | ||
if [[ "$element" == "$search" ]]; then | ||
return 0 | ||
fi | ||
done | ||
return 1 | ||
} | ||
|
||
arg=$(echo "$1" | tr '[:upper:]' '[:lower:]') # case-insensitive command-line argument | ||
|
||
ARGS=("base" "vis" "cuda" "all") # valid arguments; default is 'all' | ||
|
||
# Determine packages to install (base, vis, cuda, or all) | ||
if [ -z "$1" ]; then | ||
MODE="all" | ||
else | ||
if is_in_list "$arg" "${ARGS[@]}"; then | ||
MODE="$arg" | ||
else | ||
MODE="all" | ||
fi | ||
fi | ||
|
||
# Check if the host is Windows, macOS, or Linux | ||
if [[ "$(uname -s)" == *"MINGW"* || "$(uname -s)" == *"CYGWIN"* ]]; then | ||
echo -e "Host is Windows. Dependencies need to be installed manually." | ||
echo -e "Please install Visual Studio: https://visualstudio.microsoft.com/downloads/" | ||
echo -e "Please install CUDA: https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64" | ||
exit 0 | ||
elif [[ "$OSTYPE" == "darwin"* ]]; then | ||
echo -e "Installing $MODE dependencies for macOS host...\n" | ||
PACKAGE_MANAGER="brew" | ||
if [[ "$MODE" == "all" || "$MODE" == "cuda" || "$MODE" == "vis" ]]; then | ||
DEPENDENCIES_PATH+=("Caskroom" "cask") | ||
fi | ||
if [[ "$MODE" == "all" || "$MODE" == "vis" ]]; then | ||
DEPENDENCIES_PATH+=("xquartz") | ||
fi | ||
if [[ "$MODE" == "all" || "$MODE" == "cuda" ]]; then | ||
# DEPENDENCIES_PATH+=("cuda") | ||
echo "Host is macOS. CUDA cannot be installed." | ||
fi | ||
CHECK_EXISTS="brew list" | ||
FLAG="" | ||
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then | ||
echo -e "Installing $MODE dependencies for Linux host...\n" | ||
if command -v apt &> /dev/null; then | ||
PACKAGE_MANAGER="$ROOT apt-get" | ||
CHECK_EXISTS="dpkg -l | grep -w -m 1" | ||
elif command -v yum &> /dev/null; then | ||
PACKAGE_MANAGER="$ROOT yum" | ||
CHECK_EXISTS="rpm -qa | grep -w -m 1" | ||
elif command -v dnf &> /dev/null; then | ||
PACKAGE_MANAGER="$ROOT dnf" | ||
CHECK_EXISTS="rpm -qa | grep -w -m 1" | ||
elif command -v tdnf &> /dev/null; then | ||
PACKAGE_MANAGER="$ROOT tdnf" | ||
CHECK_EXISTS="rpm -qa | grep -w -m 1" | ||
elif command -v zypper &> /dev/null; then | ||
PACKAGE_MANAGER="$ROOT zypper" | ||
CHECK_EXISTS="zypper se --installed-only | grep -w -m 1" | ||
elif command -v pacman &> /dev/null; then | ||
PACKAGE_MANAGER="$ROOT pacman" | ||
CHECK_EXISTS="pacman -Qs | grep -w -m 1" | ||
else | ||
echo "No package manager detected. Exiting..." | ||
exit 1 | ||
fi | ||
if [[ "$MODE" == "all" || "$MODE" == "vis" ]]; then | ||
DEPENDENCIES_PATH+=("libx11-dev" "xorg-dev" "libgl1-mesa-dev" "libglu1-mesa-dev" "libxrandr-dev" "python3-dev") | ||
fi | ||
FLAG="-y" | ||
export DEBIAN_FRONTEND=noninteractive # Avoid timezone prompts | ||
else | ||
echo "Unsupported OS." | ||
exit 1 | ||
fi | ||
|
||
# Update package list | ||
run_command_clear_output "$PACKAGE_MANAGER update $FLAG" | ||
|
||
# Install PATH dependencies | ||
for package in "${DEPENDENCIES_PATH[@]}"; do | ||
if command -v "$package" &> /dev/null; then | ||
echo "$package already installed at: $(command -v $package)" | ||
elif eval "$CHECK_EXISTS \"$package\" &> /dev/null"; then | ||
echo "$package already installed." | ||
else | ||
echo "Installing $package..." | ||
run_command_clear_output "$PACKAGE_MANAGER install $FLAG $package" | ||
if command -v "$package" &> /dev/null; then | ||
echo "$package installed at: $(command -v $package)" | ||
else | ||
echo "$package installed." | ||
fi | ||
fi | ||
done | ||
|
||
# If host is macOS or host is Linux and CUDA not needed, dependencies already installed successfully. | ||
if [[ "$OSTYPE" == "darwin"* || "$MODE" == "base" || "$MODE" == "vis" ]]; then | ||
echo "Finished installing dependencies." | ||
exit 0 | ||
fi | ||
|
||
# Get Linux distribution & version | ||
os_name=$(cat /etc/os-release | grep "^NAME=" | cut -d '"' -f 2 | awk '{print $1}') | ||
version_id=$(cat /etc/os-release | grep "^VERSION_ID=" | cut -d '"' -f 2) | ||
architecture=$(uname -m) | ||
distro="${os_name}_${version_id}_${architecture}" | ||
if cat /proc/version | grep -o WSL &> /dev/null; then | ||
if cat /proc/version | grep -o WSL2 &> /dev/null; then | ||
distro="WSL" | ||
else | ||
echo "Install the latest version of WSL2 for running Linux GUI applications!" | ||
exit 1 | ||
fi | ||
fi | ||
|
||
# If host is Linux, need to install CUDA | ||
if command -v nvcc &> /dev/null; then | ||
echo "CUDA version $( nvcc --version | grep -oP 'V\d+\.\d+\.\d+' | awk -F'V' '{print $2}' ) already installed at $(command -v nvcc)" | ||
else | ||
echo "Installing CUDA for $distro..." | ||
mapfile -t CUDA_COMMANDS < <(jq -r ".\"$distro\"[]" CUDA_install.json) | ||
|
||
# Verify that CUDA_COMMANDS were loaded correctly | ||
if [ ${#CUDA_COMMANDS[@]} -eq 0 ]; then | ||
echo "Error: No CUDA installation for $distro found in CUDA_install.json. Exiting..." | ||
exit 1 | ||
fi | ||
|
||
# Install CUDA | ||
for install_command in "${CUDA_COMMANDS[@]}"; do | ||
run_command_clear_output "$ROOT $install_command" | ||
done | ||
fi | ||
|
||
# Add nvcc to path | ||
export PATH=/usr/local/cuda/bin:$PATH | ||
|
||
# Fix OptiX drivers for WSL | ||
if [[ "$distro" == "WSL" ]]; then | ||
# Automatically install Linux drivers version 470.256.02 | ||
DRIVER_URL="https://us.download.nvidia.com/XFree86/Linux-x86_64/470.256.02/NVIDIA-Linux-x86_64-470.256.02.run" | ||
DRIVER_FILE="NVIDIA-Linux-x86_64-470.256.02.run" | ||
wget -O $DRIVER_FILE $DRIVER_URL | ||
|
||
LINUX_DRIVER=$(find . -name "NVIDIA-Linux-x86_64-*.run" -print -quit) | ||
if [[ -n "$LINUX_DRIVER" ]]; then | ||
VERSION=$(echo "$LINUX_DRIVER" | sed -E 's/.*NVIDIA-Linux-x86_64-([0-9.]+)\.run/\1/') | ||
echo "Linux Driver Version $VERSION Found. Installing..." | ||
run_command_clear_output "./$LINUX_DRIVER -x" | ||
LINUX_DRIVER_PATH="${LINUX_DRIVER%.run}" | ||
else | ||
echo "Linux Driver not found. Please place Linux Driver .run file in Helios root directory and rerun this script." | ||
echo -e "Linux drivers can be downloaded \e]8;;https://www.nvidia.com/en-in/drivers/unix/\aHERE\e]8;;\a. Version \e]8;;https://www.nvidia.in/Download/driverResults.aspx/227064/en-in\a470.256.02\e]8;;\a (https://www.nvidia.in/Download/driverResults.aspx/227064/en-in) recommended." | ||
exit 1 | ||
fi | ||
LXSS="/mnt/c/Windows/System32/lxss/lib/" | ||
OPTIX_DRIVERS_PATH="$(pwd)/$LINUX_DRIVER_PATH/" | ||
DRIVERS=("libnvoptix.so.1" "libnvidia-ptxjitcompiler.so.1") | ||
if [[ ! -f "$LXSS/libnvidia-ptxjitcompiler.so.1" || ! -f "$LXSS/libnvoptix.so.1" ]]; then | ||
mkdir -p "$LXSS" | ||
ln -s "$OPTIX_DRIVERS_PATH/libnvidia-rtcore.so.$VERSION" "$LXSS/libnvidia-rtcore.so.$VERSION" | ||
ln -s "$OPTIX_DRIVERS_PATH/libnvidia-ptxjitcompiler.so.$VERSION" "$LXSS/libnvidia-ptxjitcompiler.so.1" | ||
ln -s "$OPTIX_DRIVERS_PATH/libnvoptix.so.$VERSION" "$LXSS/libnvoptix.so.1" | ||
export LD_LIBRARY_PATH=/usr/lib/wsl/lib:$LD_LIBRARY_PATH | ||
fi | ||
fi | ||
|
||
echo "Finished installing $MODE dependencies." | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a workaround for us not being able to store the proprietary OptiX driver files in the Helios repo. I changed the bash script so that it automatically installs and configures Linux drivers version 470.256.02 (the version that worked for me).
This way, it is no longer necessary to manually install the drivers and move them to the Helios root directory. WSL users simply need to run
source dependencies.sh
, and OptiX should work properly with no additional steps.