OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
apps-services high occasional DISPUTE

Replace prebuilt kernel-module packages that only match the stock linux kernel

omarchylinux-omarchyarchdkmsnvidiavirtualboxliminedesktoplaptop
CORRECTED An auditor found the fix wrong or incomplete and rewrote it. · checked against Omarchy omarchy 4.0.4-1 on 2026-10-05
AUDIT NOTE

Cause holds. Local /usr/share/omarchy/migrations/1789325478.sh installs linux-omarchy and its headers, deletes and rewrites BOOT_ORDER in /etc/default/limine and keeps the old kernel. pacman -Si confirms linux-omarchy provides only KSMBD-MODULE NTSYNC-MODULE VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE, nvidia-open 610.57.04-14 and acpi_call 1.2.2-385 depend on linux, nvidia-open-dkms and acpi_call-dkms conflict with them, virtualbox-host-modules-arch and broadcom-wl are absent from Arch, and quattro install/hardware/nvidia.sh installs nvidia-open-dkms or nvidia-580xx-dkms. #12187 reports the exact nvidia-open failure on 4.0.4 and a successful swap to nvidia-open-dkms. #12074 (a PR) states the 2026-09-02 broadcom-wl drop. limine-update exists (limine-mkinitcpio-hook) and calls limine-mkinitcpio. The fix was dangerous as written: step 3 is one copy-paste block that installs all three DKMS packages unconditionally. On a stock Omarchy machine with an older NVIDIA GPU, nvidia-open-dkms conflicts with NVIDIA-MODULE and pacman offers to remove nvidia-580xx-dkms, which leaves a GPU the open driver cannot drive. On non-NVIDIA machines it installs a driver for absent hardware. Rewrote the fix so each swap is run only for a package step 1 actually listed. The awk finder was run here and printed nothing, as expected on a DKMS-only machine. No package was installed or removed.

The cause above was not rewritten and may still contain the error described. The fix below is the corrected version.
RISK

Removing nvidia-open before nvidia-open-dkms has built leaves no NVIDIA driver at all on the next boot. Check dkms status before rebooting, and keep the stock linux kernel installed as a recovery entry.

Symptom

After omarchy update to 4.0.4 a kernel module I installed myself is gone. With Arch's prebuilt nvidia-open, Hyprland comes up on software rendering or a black screen, and sudo modprobe nvidia prints modprobe: FATAL: Module nvidia not found in directory /lib/modules/7.2.5-3-omarchy. With acpi_call, battery charge thresholds stop applying. Choosing the plain linux entry in the Limine boot menu makes everything work again. uname -r shows the broken boot ends in -omarchy.

Cause

Omarchy 4.0.4's migration 1789325478.sh installs linux-omarchy and linux-omarchy-headers, rewrites BOOT_ORDER in /etc/default/limine to "linux-omarchy, linux-omarchy-*, *, *fallback, Snapshots", and deliberately keeps the old kernel installed as a recovery entry. Arch's prebuilt module packages are built for one kernel only. nvidia-open and acpi_call in extra both declare Depends On: linux and install their modules under the stock kernel's /usr/lib/modules/<version>-arch*/ tree, so the Omarchy kernel never sees them. linux-omarchy itself provides only KSMBD-MODULE NTSYNC-MODULE VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE. Omarchy's own NVIDIA setup (install/hardware/nvidia.sh) installs nvidia-open-dkms or nvidia-580xx-dkms, so a stock Omarchy install is not affected. This catches packages the user added by hand. Two prebuilt packages are already gone from Arch: virtualbox-host-modules-arch (only virtualbox-host-dkms remains), and broadcom-wl, dropped on 2026-09-02 and replaced by broadcom-wl-dkms. A DKMS module builds only for kernels whose headers are installed, so the retained stock kernel also needs linux-headers.

Fix

**1. Find the packages tied to the stock kernel:**


uname -r
ls /usr/lib/modules/
pacman -Qi | awk '/^Name/{n=$3} /^Depends On/ && / linux( |$)/{print n}'
pacman -Q linux-omarchy-headers linux-headers

If the awk line prints nothing, this record does not apply to you. Stop here.

**2. Make sure both kernels have headers**, so DKMS builds for each:


sudo pacman -S --needed linux-omarchy-headers linux-headers

**3. Swap only the packages step 1 printed for their DKMS variant.** Run one line per package you actually have. pacman asks to remove the conflicting package, so answer y.

If step 1 printed nvidia-open:


sudo pacman -S nvidia-open-dkms

If step 1 printed acpi_call:


sudo pacman -S acpi_call-dkms

If you use VirtualBox as a host and pacman -Q virtualbox-host-dkms says it is not installed:


sudo pacman -S virtualbox-host-dkms

Do not install nvidia-open-dkms on a machine that has nvidia-580xx-dkms (older GPUs without GSP). It conflicts with it, and pacman would remove the driver your GPU needs.


dkms status

dkms status must say installed for every module on both the *-omarchy and the *-arch* kernel versions before you reboot. None of these commands carries -u, so Omarchy's pacman guard lets them through.

If you need the old kernel back while you sort this out, pick linux in the Limine menu, or put it first in BOOT_ORDER in /etc/default/limine and run sudo limine-update.

**Plain Arch:** you are affected the same way if you install any extra kernel (linux-lts, linux-zen) next to prebuilt module packages. Steps 1 to 3 apply with that kernel's headers package in place of linux-omarchy-headers.

Verify

dkms status lists each module as installed for both kernels. After rebooting into the default entry, uname -r ends in -omarchy and lsmod | grep -E 'nvidia|acpi_call|vboxdrv' shows the module (and nvidia-smi works on NVIDIA).

Sources

linux-omarchy-prebuilt-kernel-module-packages-missing