Repository navigation
Use prebuilt NVIDIA modules on linux-omarchy - #17409
Conversation
linux-omarchy-nvidia-open ships NVIDIA's open modules built and signed with each linux-omarchy kernel, so N1x laptops stop compiling them on every kernel update. New installs take it from the N1x package list and n1x.sh; existing N1x laptops switch in one pacman transaction through a migration. n1x.sh reads the kernel again after installing the modules, since their exact kernel pin can bring a newer linux-omarchy. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…kernels Every linux-omarchy kernel now ships NVIDIA's open modules as <kernel>-nvidia-open, on x86_64 as well as ARM. omarchy-pkg-nvidia-modules picks them when every installed kernel has its package and DKMS otherwise, and swaps them in for nvidia-open-dkms in one transaction. nvidia.sh, n1x.sh and the migration use it, so GB10 desktops and x86 NVIDIA machines switch as well as N1x laptops, and a machine with Arch's own kernel keeps DKMS. The GB10 image list and the ISO's package list carry the prebuilt modules. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…DKMS Co-Authored-By: Claude Opus 5.5 <[email protected]>
Install it by name where nvidia-open-dkms was installed, and let one migration swap it in on machines running linux-omarchy. The kernel-scanning helper and its tests are gone: Omarchy installs only linux-omarchy. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The prebuilt modules come with the kernel, so there's no failed build to fall back from, and the kernel lookup only fed that check. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…en-prebuilt # Conflicts: # migrations/1793667581.sh
[Medium impact] The PR appears safe to merge, with the previously reported hardware-setup conflict remaining as a non-blocking issue. Findings
SummarySwitches NVIDIA installs on
Reviews (2) · Last reviewed commit: "Keep DKMS when another kernel is install..." · Reviewed by Greptile |
| # The 32-bit libraries come from multilib, which only x86_64 has. | ||
| if omarchy-hw-nvidia-gsp; then | ||
| PACKAGES=(nvidia-open-dkms nvidia-utils) | ||
| PACKAGES=(linux-omarchy-nvidia-open nvidia-utils) |
There was a problem hiding this comment.
Hardware setup refuses the swap
Rerunning hardware setup before the migration runs now fails on machines with nvidia-open-dkms. The new package conflicts with it, but omarchy-pkg-add uses --noconfirm without --ask 4. Pacman refuses the swap and stops the remaining setup. The same problem affects install/hardware/n1x.sh.
Use the migration's conflict-aware transaction when hardware setup replaces the driver.
Knowledge Base Used: Hardware, devices, and power
The prebuilt modules only cover linux-omarchy, and migration 1789325478 kept the previous kernel installed for recovery. Removing nvidia-open-dkms there would leave that kernel without NVIDIA modules. Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Use prebuilt NVIDIA modules on N1x laptops instead of DKMS linux-omarchy-nvidia-open ships NVIDIA's open modules built and signed with each linux-omarchy kernel, so N1x laptops stop compiling them on every kernel update. New installs take it from the N1x package list and n1x.sh; existing N1x laptops switch in one pacman transaction through a migration. n1x.sh reads the kernel again after installing the modules, since their exact kernel pin can bring a newer linux-omarchy. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Use prebuilt NVIDIA modules on every NVIDIA machine on linux-omarchy kernels Every linux-omarchy kernel now ships NVIDIA's open modules as <kernel>-nvidia-open, on x86_64 as well as ARM. omarchy-pkg-nvidia-modules picks them when every installed kernel has its package and DKMS otherwise, and swaps them in for nvidia-open-dkms in one transaction. nvidia.sh, n1x.sh and the migration use it, so GB10 desktops and x86 NVIDIA machines switch as well as N1x laptops, and a machine with Arch's own kernel keeps DKMS. The GB10 image list and the ISO's package list carry the prebuilt modules. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Only linux-omarchy has prebuilt NVIDIA modules; eevdf and muqss keep DKMS Co-Authored-By: Claude Opus 5.5 <[email protected]> * Simplify the switch to linux-omarchy-nvidia-open Install it by name where nvidia-open-dkms was installed, and let one migration swap it in on machines running linux-omarchy. The kernel-scanning helper and its tests are gone: Omarchy installs only linux-omarchy. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Drop the N1x check for missing DKMS modules The prebuilt modules come with the kernel, so there's no failed build to fall back from, and the kernel lookup only fed that check. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Decide the N1x GPU policy in one branch on the firmware version Co-Authored-By: Claude Opus 5.5 <[email protected]> * Keep DKMS when another kernel is installed besides linux-omarchy The prebuilt modules only cover linux-omarchy, and migration 1789325478 kept the previous kernel installed for recovery. Removing nvidia-open-dkms there would leave that kernel without NVIDIA modules. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
* Use prebuilt NVIDIA modules on N1x laptops instead of DKMS linux-omarchy-nvidia-open ships NVIDIA's open modules built and signed with each linux-omarchy kernel, so N1x laptops stop compiling them on every kernel update. New installs take it from the N1x package list and n1x.sh; existing N1x laptops switch in one pacman transaction through a migration. n1x.sh reads the kernel again after installing the modules, since their exact kernel pin can bring a newer linux-omarchy. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Use prebuilt NVIDIA modules on every NVIDIA machine on linux-omarchy kernels Every linux-omarchy kernel now ships NVIDIA's open modules as <kernel>-nvidia-open, on x86_64 as well as ARM. omarchy-pkg-nvidia-modules picks them when every installed kernel has its package and DKMS otherwise, and swaps them in for nvidia-open-dkms in one transaction. nvidia.sh, n1x.sh and the migration use it, so GB10 desktops and x86 NVIDIA machines switch as well as N1x laptops, and a machine with Arch's own kernel keeps DKMS. The GB10 image list and the ISO's package list carry the prebuilt modules. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Only linux-omarchy has prebuilt NVIDIA modules; eevdf and muqss keep DKMS Co-Authored-By: Claude Opus 5.5 <[email protected]> * Simplify the switch to linux-omarchy-nvidia-open Install it by name where nvidia-open-dkms was installed, and let one migration swap it in on machines running linux-omarchy. The kernel-scanning helper and its tests are gone: Omarchy installs only linux-omarchy. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Drop the N1x check for missing DKMS modules The prebuilt modules come with the kernel, so there's no failed build to fall back from, and the kernel lookup only fed that check. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Decide the N1x GPU policy in one branch on the firmware version Co-Authored-By: Claude Opus 5.5 <[email protected]> * Keep DKMS when another kernel is installed besides linux-omarchy The prebuilt modules only cover linux-omarchy, and migration 1789325478 kept the previous kernel installed for recovery. Removing nvidia-open-dkms there would leave that kernel without NVIDIA modules. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Installs the prebuilt
linux-omarchy-nvidia-openfrom omacom/omarchy-pkgs#2056 instead ofnvidia-open-dkms, so kernel updates no longer compile the NVIDIA driver.nvidia.sh,n1x.sh, the N1x and GB10 lists andomarchy-other.packagesname the prebuilt package.nvidia-open-dkmsandlinux-omarchy, in onepacman --ask 4transaction.🤖 Generated with Claude Code