Commit graph

7 commits

Author SHA1 Message Date
Benjamin Sherman
ac05d00925
fix(nvidia): order CDI generation before nvidia-persistenced to fix boot race (#565)
* 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>
2026-08-08 17:26:12 -07:00
Benjamin Sherman
cf9e81a01e
feat: support nvidia driver 590 with 580 LTS (#432)
* 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
2025-12-09 00:13:30 +00:00
Benjamin Sherman
a99434a1c6
feat: add udev rules for nvidia extra device PM (#263) 2024-10-29 00:22:16 +00:00
gerblesh
6787c6555f
fix(nvidia): use vulkan renderer by default to mitigate flickering (#211) 2024-07-09 17:13:20 -04:00
Benjamin Sherman
b726c52b25
feat: auto-generate CDI yaml for nvidia (#75) 2023-10-06 05:56:49 +00:00
Benjamin Sherman
45719c8d4f
feat: update to new repo for nvidia-container-toolkit
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.
2023-10-05 15:40:49 -05:00
Benjamin Sherman
eb462ee50a
feat: add nvidia kmod builds and ublue-os-nvidia-addons
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.
2023-08-24 21:03:02 -05:00