Custom Kernel with NVIDIA drivers

Is there an easy way to install nvidia drivers without forking kernel-cache and akmods? Preferably with nvidia container toolkit support. The kernel seems to be working fine. https://github.com/virt-10/blublu-base/blob/main/recipes/cachyos-kernel.yml I already have the fsync kernel setup, since it is provided by the ublue team. https://github.com/virt-10/blublu-base/blob/main/recipes/fsync-nvidia-open.yml No worries if can't be done. I come from CachyOS, so I thought it would be nice to have their kernel.
GitHub
blublu-base/recipes/cachyos-kernel.yml at main · virt-10/blublu-base
Base images for blublu. Contribute to virt-10/blublu-base development by creating an account on GitHub.
GitHub
blublu-base/recipes/fsync-nvidia-open.yml at main · virt-10/blublu-...
Base images for blublu. Contribute to virt-10/blublu-base development by creating an account on GitHub.
Solution:
I have given up on the cachyos kernel, but I did move my recipe to use the akmods module. Works well. https://github.com/virt-10/blublu/blob/main/recipes/main/fsync-nvidia-open.yml...
GitHub
blublu/recipes/main/fsync-nvidia-open.yml at main · virt-10/blublu
Contribute to virt-10/blublu development by creating an account on GitHub.
Jump to solution
5 Replies
Luke Skywunker
Luke Skywunker5mo ago
We have an akmods module you can use to install these https://blue-build.org/reference/modules/akmods/
BlueBuild
akmods
The akmods module is a tool used for managing and installing kernel modules built by Universal Blue.
RoyalOughtness
RoyalOughtness5mo ago
why not just use the existing -nvidia ublue base images?
Virt-io
Virt-ioOP5mo ago
I want to use fsync kernel, last time I check they didn't have fsync with nvidia preinstalled.
RoyalOughtness
RoyalOughtness5mo ago
ah
Solution
Virt-io
Virt-io5mo ago
I have given up on the cachyos kernel, but I did move my recipe to use the akmods module. Works well. https://github.com/virt-10/blublu/blob/main/recipes/main/fsync-nvidia-open.yml
GitHub
blublu/recipes/main/fsync-nvidia-open.yml at main · virt-10/blublu
Contribute to virt-10/blublu development by creating an account on GitHub.

Did you find this page helpful?