Skip to content

Use prebuilt NVIDIA modules on linux-omarchy - #17409

Merged
dhh merged 8 commits into
quattrofrom
worktree-nvidia-open-prebuilt
Nov 3, 2026
Merged

dhh merged 8 commits into
quattrofrom
worktree-nvidia-open-prebuilt

Conversation

@dhh

@dhh dhh commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Installs the prebuilt linux-omarchy-nvidia-open from omacom/omarchy-pkgs#2056 instead of nvidia-open-dkms, so kernel updates no longer compile the NVIDIA driver.

  • nvidia.sh, n1x.sh, the N1x and GB10 lists and omarchy-other.packages name the prebuilt package.
  • A migration swaps it in on machines with nvidia-open-dkms and linux-omarchy, in one pacman --ask 4 transaction.

🤖 Generated with Claude Code

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]>
@dhh dhh changed the title Use prebuilt NVIDIA modules on N1x laptops instead of DKMS Use prebuilt NVIDIA modules on every NVIDIA machine on linux-omarchy kernels Nov 3, 2026
@dhh dhh changed the title Use prebuilt NVIDIA modules on every NVIDIA machine on linux-omarchy kernels Use prebuilt NVIDIA modules on NVIDIA machines running linux-omarchy Nov 3, 2026
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]>
@dhh dhh changed the title Use prebuilt NVIDIA modules on NVIDIA machines running linux-omarchy Use prebuilt NVIDIA modules on linux-omarchy Nov 3, 2026
dhh and others added 2 commits November 2, 2026 21:44
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]>
@dhh
dhh marked this pull request as ready for review November 3, 2026 05:51
…en-prebuilt

# Conflicts:
#	migrations/1793667581.sh
@greptile-apps

greptile-apps Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge, with the previously reported hardware-setup conflict remaining as a non-blocking issue.

Findings

  1. P2 Hardware setup refuses the swap ▶

Summary

Switches NVIDIA installs on linux-omarchy to prebuilt modules.

  • Supported NVIDIA installs use modules built for the Omarchy kernel.
  • Eligible NVIDIA machines switch to prebuilt modules in one migration.

Reviews (2) · Last reviewed commit: "Keep DKMS when another kernel is install..." · Reviewed by Greptile

Comment thread migrations/1793685083.sh Resolved
# 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)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 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]>
@dhh
dhh merged commit 97316b0 into quattro Nov 3, 2026
2 of 3 checks passed
cursor Bot pushed a commit to mark-groves/omarchy that referenced this pull request Nov 3, 2026
* 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]>
@emirb emirb added this to the 4.6.0 milestone Nov 5, 2026
cursor Bot pushed a commit to mark-groves/omarchy that referenced this pull request Nov 5, 2026
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants