Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: use nvidia-kernel-open module #43

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions includes.container/etc/abroot/kargs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
quiet splash bgrt_disable $vt_handoff lsm=integrity nvidia.NVreg_DynamicPowerManagement=0x02 nvidia.NVreg_PreserveVideoMemoryAllocations=1 nvidia.NVreg_TemporaryFilePath=/var/tmp nvidia-drm.fbdev=1
10 changes: 2 additions & 8 deletions recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ stages:
- 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
- apt-get install nvidia-kernel-open nvidia-driver nvidia-vaapi-driver nvidia-settings nvidia-smi -y
- apt-mark hold nvidia-kernel-open nvidia-driver nvidia-vaapi-driver nvidia-settings nvidia-smi

- name: extra-utilities
type: apt
Expand Down Expand Up @@ -56,12 +56,6 @@ stages:
- chmod +x /usr/bin/nrun
- chmod +x /usr/bin/prime-switch

- name: enable-wayland
type: shell
commands:
- mkdir -p /etc/udev/rules.d
- ln -s /dev/null /etc/udev/rules.d/61-gdm.rules

- name: cleanup
type: shell
commands:
Expand Down
Loading