* fix(nvidia): order CDI generation before nvidia-persistenced to fix boot race
nvidia-persistenced and nvidia-powerd only start if /dev/nvidia* already
exists, but those device nodes aren't created until CDI generation runs.
Without any ordering between the two, persistenced would sometimes lose
that race and stay stopped for the rest of the boot (ublue-os/ucore#419).
nvidia-container-toolkit-base now ships its own nvidia-cdi-refresh
service, which is better than our old ublue-nvctk-cdi.service: it forces
device creation explicitly, retries on failure, and re-runs on driver
upgrades. Switch to it and add a drop-in ordering it before
nvidia-persistenced and nvidia-powerd, so the race can't happen.
Verified on real NVIDIA hardware across multiple reboots.
* chore: Add missing service to nvidia-install.sh
---------
Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch>
* feat: support nvidia driver 590 with 580 LTS
Negativo17 added a 580 LTS repo in addition to the recent 590 update.
See: https://negativo17.org/nvidia-driver-580-lts-repository/
- 590 is always "open" and shipping on the existging `akmods-nvidia-open` image
- 580 is always "kernel" and shipping on a new `akmods-nvidia-lts` image
- gcc-c++ needed for 590
- no new `akmods-nvidia` images will be published
- sway environment was finally removed from ublue-os-nvidia-addons
- ublue-os-ucore-nvidia was removed as ublue-os-nvidia-addons now works for ucore
* add nvidia/nvidia-lts to cleanup
* set longterm default akmods_target to zfs
* bypass aarch64 for 590 nvidia driver
it won't build for me so this at least gets the intel builds going
* codacy fixes
* fixup typos
* nvidia-lts repo name should match file name
This enables us to get a newer nvidia container toolkit version 1.14
which now provides root and rootless podman modes without configuration
files, plus CDI.
Added some links to docs.
This adds nvidia kmod builds with a parameterized script which uses the
nvidia major version to build the rpmfusion provided akmod for the
respective nvidia version.
Also this builds the ublue-os-nvidia-addons which includes container
runtime repo and sway environment setting for nvidia.
This mostly copies (with minor cleanup) from `ublue-os/nvidia` repo;
once merged and building cleanly, the nvidia repo can be modified to
build images using the kmods built here.