Skip to content
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

fix[close #36]: Some 40-series GPUs are not supported #39

Merged
merged 1 commit into from
Jul 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 13 additions & 18 deletions recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,41 +17,36 @@ stages:
type: shell
commands:
- lpkg --unlock
- apt update
- apt-get update

- name: nvidia-driver
type: apt
source:
packages:
- nvidia-driver
- nvidia-vaapi-driver
- name: nvidia-official-driver
type: shell
commands:
- curl -fSsL https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/3bf863cc.pub | gpg --dearmor -o /usr/share/keyrings/nvidia-drivers.gpg
- echo 'deb [signed-by=/usr/share/keyrings/nvidia-drivers.gpg] https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/ /' > /etc/apt/sources.list.d/nvidia-drivers.list
- apt-get update
- apt-get install nvidia-driver nvidia-vaapi-driver nvidia-settings nvidia-smi -y
- apt-mark hold nvidia-driver nvidia-vaapi-driver nvidia-settings nvidia-smi

- name: nvidia-utilities
- name: extra-utilities
type: apt
source:
packages:
- nvidia-settings
- nvidia-smi
- switcheroo-control

- name: nvidia-ctk-repo
type: shell
commands:
- curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg
- curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
- apt update

- name: nvidia-ctk
type: apt
source:
packages:
- nvidia-container-toolkit
- apt-get update
- apt-get install nvidia-container-toolkit -y
- apt-mark hold nvidia-container-toolkit

- name: vanilla-tools
type: shell
source:
type: tar
# switch to production build once in production
url: https://github.com/Vanilla-OS/vanilla-tools/releases/download/continuous/vanilla-tools.tar.gz
commands:
- mkdir -p /usr/bin
Expand Down
Loading