omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Upgrade issues on older CPU

Open richard-sistern opened this issue 9 months ago • 27 comments

System details

Omarchy 3.3.3 (Linux 6.18.3-arch1-1) on Intel(R) Core(TM) i5-3210M

What's wrong?

Hi,

Trying up upgrade Omarchy but running into some issues with the following:

(13/30) Deploying Limine after upgrade... The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA, F16C]. Please rebuild the executable with an appropriate setting of the -march option. Please rebuild the executable with an appropriate setting of the -march option. error: command failed to execute correctly (14/30) Clean Limine boot entries of removed kernels (15/30) Updating linux initcpios... Building UKI for linux (6.18.7-arch1-1) The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA, F16C]. Please rebuild the executable with an appropriate setting of the -march option.ERROR: failed to get kernel cmdline for 'linux'. ... Non-stopping errors detected during update: error: command failed to execute correctly Please rebuild the executable with an appropriate setting of the -march option.ERROR: failed to get kernel cmdline for 'linux'. Non-stopping errors detected during update: Error: Initramfs generation may have failed. Review logs before restart.

Anyone know how to resolve this or is this a good excuse to treat myself to something more modern :)

Further info

Image

limine_conf.txt

limine_default.txt

richard-sistern avatar Feb 08 '26 17:02 richard-sistern

Same for Intel(R) Celeron(R) N5095

laurence-henderson avatar Feb 09 '26 00:02 laurence-henderson

`┌──────────────────────Hardware──────────────────────┐  PC: 80M3 (Lenovo ideapad 300-15IBR) │ ├: Intel(R) Celeron(R) N3160 (4) @ 2.24 GHz │ ├: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller @ 0.64 GHz [Integrated] │ ├󱄄: 1280x1024 in 19", 60 Hz [External] │ ├󱄄: 1366x768 in 15", 60 Hz [Built-in] │ ├󰋊: 99.55 GiB / 929.50 GiB (11%) - btrfs │ ├: 1.59 GiB / 7.66 GiB (21%) └ └󰓡 : 0 B / 3.83 GiB (0%) └────────────────────────────────────────────────────┘

┌──────────────────────Software──────────────────────┐  OS: Omarchy 3.3.3 │ ├󰘬: master │ ├󰔫: stable │ ├: Linux 6.18.3-arch1-1 │ ├: Hyprland 0.53.1 (Wayland) │ ├: alacritty 0.16.1 │ ├󰏖: 1062 (pacman) │ ├󰸌: Tokyo Night ●●●●●●●● └ └: CaskaydiaMono Nerd Font (9pt, Regular) └────────────────────────────────────────────────────┘`

/var/log/pacman.log with some preceding and trailing log entries [2026-02-08T23:29:13+0100] [ALPM] upgraded zoxide (0.9.8-2 -> 0.9.9-1) [2026-02-08T23:29:19+0100] [ALPM] transaction completed [2026-02-08T23:29:33+0100] [ALPM] running '20-systemd-sysusers.hook'... [2026-02-08T23:29:33+0100] [ALPM] running '21-systemd-tmpfiles.hook'... [2026-02-08T23:29:34+0100] [ALPM] running '25-systemd-hwdb.hook'... [2026-02-08T23:29:38+0100] [ALPM] running '30-systemd-daemon-reload-system.hook'... [2026-02-08T23:29:40+0100] [ALPM] running '30-systemd-daemon-reload-user.hook'... [2026-02-08T23:29:41+0100] [ALPM] running '30-update-mime-database.hook'... [2026-02-08T23:29:44+0100] [ALPM] running '35-systemd-restart-marked.hook'... [2026-02-08T23:29:44+0100] [ALPM] running '35-systemd-udev-reload.hook'... [2026-02-08T23:29:49+0100] [ALPM] running '35-systemd-update.hook'... [2026-02-08T23:29:49+0100] [ALPM] running '40-update-ca-trust.hook'... [2026-02-08T23:29:54+0100] [ALPM] running '60-depmod.hook'... [2026-02-08T23:30:15+0100] [ALPM] running '80-limine-efi-deploy.hook'... [2026-02-08T23:30:15+0100] [ALPM-SCRIPTLET] The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA, F16C]. [2026-02-08T23:30:15+0100] [ALPM-SCRIPTLET] Please rebuild the executable with an appropriate setting of the -march option. [2026-02-08T23:30:15+0100] [ALPM-SCRIPTLET] Please rebuild the executable with an appropriate setting of the -march option. [2026-02-08T23:30:15+0100] [ALPM] running '90-limine-mkinitcpio-remove-post.hook'... [2026-02-08T23:30:19+0100] [ALPM] running '90-mkinitcpio-install.hook'... [2026-02-08T23:30:21+0100] [ALPM-SCRIPTLET] Building UKI for linux (6.18.7-arch1-1) [2026-02-08T23:30:21+0100] [ALPM-SCRIPTLET] The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA, F16C]. [2026-02-08T23:30:21+0100] [ALPM-SCRIPTLET] Please rebuild the executable with an appropriate setting of the -march option.ERROR: failed to get kernel cmdline for 'linux'. [2026-02-08T23:30:21+0100] [ALPM] running '90-update-appstream-cache.hook'... [2026-02-08T23:30:23+0100] [ALPM-SCRIPTLET] ✔ Metadata cache was updated successfully. [2026-02-08T23:30:23+0100] [ALPM] running '99-limine.hook'... [2026-02-08T23:30:23+0100] [ALPM] running 'dbus-reload.hook'... [2026-02-08T23:30:24+0100] [ALPM] running 'dconf-update.hook'... [2026-02-08T23:30:24+0100] [ALPM] running 'detect-old-perl-modules.hook'... [2026-02-08T23:30:25+0100] [ALPM] running 'fontconfig.hook'... [2026-02-08T23:30:35+0100] [ALPM] running 'fontconfig-32.hook'... [2026-02-08T23:30:39+0100] [ALPM] running 'gio-querymodules.hook'... [2026-02-08T23:30:40+0100] [ALPM] running 'glib-compile-schemas.hook'... [2026-02-08T23:30:40+0100] [ALPM] running 'gtk-query-immodules-3.0.hook'... [2026-02-08T23:30:42+0100] [ALPM] running 'gtk-update-icon-cache.hook'... [2026-02-08T23:30:47+0100] [ALPM] running 'gtk4-querymodules.hook'... [2026-02-08T23:30:48+0100] [ALPM] running 'gvfsd.hook'... [2026-02-08T23:30:48+0100] [ALPM] running 'texinfo-install.hook'... [2026-02-08T23:30:56+0100] [ALPM] running 'update-desktop-database.hook'... [2026-02-08T23:30:57+0100] [ALPM] running 'walker-restart.hook'... [2026-02-08T23:30:57+0100] [ALPM-SCRIPTLET] Running as unit: run-p704465-i704466.service; invocation ID: 38b56238a4e3421e8ebb424ca59ffdca

StefanFaltz avatar Feb 09 '26 10:02 StefanFaltz

I use OMARCHY on 3 PC. Everything is good on my Dell Alienware and Lenovo Yoga (not that old laptop)

But the last update messed up my HP Steam 11

👉️ Forced to go into maintenance modefer after update. Tried to Clean install and " update again"' same result.

HP Stream 11-d010ca i sor: Intel® Celeron® N2840 (dual-core, 2.16 GHz base frequency, up to 2.58 GHz with Turbo Boost, 1 MB cache).

Memory: 2 GB DDR3L-1333 MHz SDRAM (on-board, non-upgradable). Storage: 32 GB eMMC flash storage (actual usable capacity is lower due to pre-installed software and formatting; designed for cloud-reliant use).

Display: 11.6-inch diagonal HD anti-glare WLED-backlit display, resolution 1366 × 768 pixels. Graphics: Integrated Intel® HD Graphics (shared system memory via Unified Memory Architecture). Operating System: Originally shipped with Windows 8.1 with Bing (many units upgraded to Windows 10 or later by users). Battery: 3-cell 37 Wh lithium-ion polymer battery (sealed/internal; typical runtime several hours for light usage). Ports and Connectivity: 1 × USB 3.0 (SuperSpeed) 1 × USB 2.0 1 × HDMI 1 × Headphone-out/microphone-in combo jack Multi-format SD card reader Wireless: 802.11b/g/n Wi-Fi (single-band) and Bluetooth® 4.0

Audio and Camera: DTS Studio Sound with built-in stereo speakers and microphone; HP TrueVision HD webcam (front-facing with integrated digital microphone).

Input Devices: Island-style keyboard (approximately 97% full size); HP Imagepad multi-touch touchpad.

Dimensions: Approximately 11.81 × 8.10 × 0.78 inches (300 × 206 × 20 mm).

Weight: Approximately 2.74–2.80 lb (1.24–1.27 kg).

Power Adapter: 45 W AC adapter.

Additional Features: Fanless design for silent operation; included 1-year Microsoft Office 365 Personal subscription and 1 TB OneDrive cloud storage (at original purchase); ENERGY STAR® qualified.

jfbourdeau avatar Feb 09 '26 18:02 jfbourdeau

Same problem here on a iMac 2009: ERROR: failed to get kernel cmdline for 'linux'. Non-stopping errors detected during update: Error: Initramfs generation may have failed. Review logs before restart.

Before the upgrade everthing was working fine.

DamhertPro avatar Feb 10 '26 10:02 DamhertPro

I'm seeing the same issue on iMac 12,1 i5-2400S

PhlJns99 avatar Feb 10 '26 15:02 PhlJns99

I tried again. Fresh install on old HP Stream 11-D010CA

  • legacy mode
  • no tpm
  • Secure bot off

Always worked well with Omarchy

Fresh omarchy installation, update to 3.3.3 and boom need to CTRL -D after choosing to boot

jfbourdeau avatar Feb 12 '26 18:02 jfbourdeau

same issue

pentium i think, it was running fine before

ItzRealMee avatar Feb 12 '26 23:02 ItzRealMee

for anyone who's still facing this issue, hope this guide help (summarized by gemini) :


Guide: Fixing Limine UKI Build Failure and Snapper Errors on x86-64-v2 CPUs

The Problem

On Omarchy (Edge channel), certain core packages like limine, limine-mkinitcpio-hook, and limine-snapper-sync are compiled for the x86-64-v3 architecture (requiring AVX, AVX2, etc.).

If your CPU only supports x86-64-v2, running limine-update or building a Unified Kernel Image (UKI) will fail with an error like:

The current machine does not support all of the following CPU features: [AVX, AVX2, BMI1, BMI2, FMA, F16C] ... Please rebuild the executable.

The Solution

1. Remove Incompatible Binaries

First, remove the v3-optimized packages provided by the [omarchy] repository:

sudo pacman -Rns limine limine-snapper-sync limine-mkinitcpio-hook

2. Install Generic Limine from Arch Extra

Instead of the Omarchy version, install the standard limine package from the Arch extra repository, which is compatible with v2 CPUs:

sudo pacman -S extra/limine

3. Build Hooks via AUR (Local Build)

Use yay to build the integration hooks from source. This ensures the binaries (like the EFI stub) are compiled specifically for your hardware. Crucial: Select "All" when asked for Packages to cleanBuild.

yay -S aur/limine-mkinitcpio-hook aur/limine-snapper-sync

4. Force Cleanup of Btrfs Snapper Subvolumes

If you get an error saying Creating config failed... /.snapshots already exists, but snapper list-configs is empty, you must manually "unlock" and delete the orphaned subvolume:

  1. Remove Read-Only lock: sudo btrfs property set -ts /.snapshots ro false
  2. Delete nested snapshots: Find them with sudo btrfs subvolume list / | grep .snapshots and delete each with sudo btrfs subvolume delete /.snapshots/X/snapshot.
  3. Delete the parent: sudo btrfs subvolume delete /.snapshots (or sudo rm -rf /.snapshots if it's just a directory).

5. Reconfigure and Sync

Now, recreate the Snapper config and link it to Limine:

  1. Create Config: sudo snapper -c root create-config /
  2. Edit Limine Defaults: Add SNAPPER_CONFIG_NAME="root" to /etc/default/limine.
  3. Refresh: Run the Omarchy utility to rebuild the UKI and sync the boot menu:
sudo omarchy-refresh-limine

(This script automates limine-update and limine-snapper-sync while cleaning up extra UKI files)


Summary of Changes

  • Avoided [omarchy] edge binaries for boot-critical packages on older CPUs.
  • Switched to local builds via AUR to ensure instruction set compatibility.
  • Resolved Btrfs subvolume conflicts that prevented Snapper from initializing correctly.

hllstr avatar Feb 13 '26 00:02 hllstr

Just to say, in case anyone else is searching, my specific failure mode was seeing blake2b hash does not match or similar (can't recreate now) on booting. I had the option to press Y to continue, and the system would boot fine, but running limine-update resulted in the missing CPU features.

@hllstr your solution worked perfectly for me, and I only needed steps 1–3 (no errors leading to step 4, and step 5 said "Creating config failed (subvolume already covered)", but reboot is now clean. I'm unsure whether previous snapshots will work, but hopefully those from now on will be fine.

dsl101 avatar Feb 13 '26 14:02 dsl101

I would love to have someone who's encountering this issue try individually removing and installing from AUR limine-snapper-sync and limine-mkinitcpio-hook. Those are the only two packages we build at all, though it shouldn't matter.

Limine is installed from extra/limine so presumably reinstalling that doesn't really do anything.

The two to test will be:

  • sudo pacman -Rns limine-snapper-sync && yay -S aur/limine-snapper-sync
  • sudo pacman -Rns limine-mkinitcpio-hook && yay -S aur/limine-mkinitcpio-hook

If this is indeed the problem, one of these two is causing it and should resolve it. My money would be on the latter.

Having this info will at least help us understand where to look for a larger solution.

ryanrhughes avatar Feb 14 '26 02:02 ryanrhughes

@ryanrhughes I reinstall omarchy and run the updates, when the system ask te reboot I answer NO. Then I did the things you gave to test.

sudo pacman -Rns limine-snapper-sync && yay -S aur/limine-snapper-sync sudo pacman -Rns limine-mkinitcpio-hook && yay -S aur/limine-mkinitcpio-hook

Than I reboot the system, and it works. Omarchy started up.

DamhertPro avatar Feb 14 '26 11:02 DamhertPro

I would love to have someone who's encountering this issue try individually removing and installing from AUR limine-snapper-sync and limine-mkinitcpio-hook. Those are the only two packages we build at all, though it shouldn't matter.

Limine is installed from extra/limine so presumably reinstalling that doesn't really do anything.

The two to test will be:

  • sudo pacman -Rns limine-snapper-sync && yay -S aur/limine-snapper-sync
  • sudo pacman -Rns limine-mkinitcpio-hook && yay -S aur/limine-mkinitcpio-hook

If this is indeed the problem, one of these two is causing it and should resolve it. My money would be on the latter.

Having this info will at least help us understand where to look for a larger solution.

I installed these two, system now updated and booting fine

richard-sistern avatar Feb 14 '26 15:02 richard-sistern

I updated

before rebooting I did this :

sudo pacman -Rns limine-mkinitcpio-hook && yay -S aur/limine-mkinitcpio-hook

It was long because of some compiling stuff related to gradle.

Rebooted and now I'm in Omarchy 3.3.3 and no problem !

Note : I dnd't tried the other command you provided.... sorry Oops within Omarchy, I have some notification when using some keyboard shortcut, example : Super SHIFT B and I see app Failure Error : command not found : "" I don't know if something else is messed up in my system... and that I will need to start over the tests... Example Super K doesn't showe all shortcuts (keybindings)

jfbourdeau avatar Feb 14 '26 16:02 jfbourdeau

when I have time, I will reinstall clean my latop, update to 3.3.3 without rebooting, do sudo pacman -Rns limine-mkinitcpio-hook && yay -S aur/limine-mkinitcpio-hook and see once within Omarchy I still have issues / errors... They are may be not related to your workaround...

jfbourdeau avatar Feb 14 '26 17:02 jfbourdeau

@ryanrhughes I'm facing the same issue on a Macbook Air 2012. Fresh install of Omarchy, after system update and reboot it would display the emergency mode prompt. I noticed the same errors about limine and unsupported CPU in the tail end of the system update. I reinstalled Omarchy, ran the system update and then before rebooting I ran those two commands. After reboot, system loads correctly.

doxxx avatar Feb 14 '26 23:02 doxxx

Thanks for the report — that’s very helpful to know it’s affecting MacBook Air 2012 users specifically. Based on the hardware (Intel Core i-series from ~2012), it’s likely the app is hitting one of the following CPU instruction set limitations: - Missing SSE4.2 support (used heavily by V8/Node.js and modern Electron versions) - Missing AVX support (required by newer Chromium/Electron builds starting around Electron 20+) Omarchy (like most Electron apps) bundles a Node.js runtime, and recent versions increasingly rely on CPU features not present in pre–Sandy Bridge/Haswell chips (e.g., Core i5/i7 2xxx/3xxx from 2011–2012). Quick diagnostics/checks: - Run sysctl -a | grep machdep.cpu.features on the MacBook Air to confirm SSE4_2 and AVX are listed. - If AVX is missing (common on 2012 Macs), try building Omarchy with an older Electron version (e.g., v20 or earlier) that supports legacy CPUs — or use Node.js binaries compiled with --cpu-family=2 and --no-avx (though Electron support may still break). Potential workaround: - Use a custom Electron runtime built with ELECTRON_OVERRIDE_CPU or patch the --no-sandbox + --disable-extensions flags — though again, instruction support is the root blocker. Would you be open to testing a legacy Electron build (e.g., Electron 19) compiled for x86_64 without AVX? I can help craft a minimal rebuild if needed. Also, if doxxx can share the exact panic/emergency screen message (e.g., Illegal instruction: 4, Segmentation fault, or a blank screen with ERR_FAILED), that’ll help narrow it down fast. Let me know!

jamescraig17 avatar Feb 15 '26 00:02 jamescraig17

@jfbourdeau I think you just pinpointed where the problem is. Thank you for that. Currently seeing if I can create an environment or procure and old CPU to replicate and see what exactly we need to change about the build process to handle this. This appears to be something of a recent change specifically in this package.

ryanrhughes avatar Feb 15 '26 04:02 ryanrhughes

Sure! Here's a professional and helpful reply you could use: --- Hi @ryanrhughes, Thanks for the update—glad we’re narrowing it down! Let me know if you’d like any help setting up a test environment with an older CPU (e.g., via QEMU emulation or using older hardware we may have available). I’m happy to assist with debugging once we have a reproducible case. Also, if there’s a specific instruction set (e.g., SSE2, AVX) or CPU feature flag suspected, we could try building with broader compatibility flags (e.g., -march=x86-64 -mtune=generic or lower) to improve reach. Cheers, Jean-François --- Let me know if you'd like to tailor the tone (more formal/casual) or include more technical detail!

jamescraig17 avatar Feb 15 '26 04:02 jamescraig17

@jfbourdeau I think you just pinpointed where the problem is. Thank you for that. Currently seeing if I can create an environment or procure and old CPU to replicate and see what exactly we need to change about the build process to handle this. This appears to be something of a recent change specifically in this package.

good job @ryanrhughes and @jamescraig17 !

Most of my life, I was a taker... What I mean is, I would go on Reddit, linux forum, ask questions and dissapear for weeks or months until a new problem arise. I always appreciated people hepling me, but was not going much on forums to help other. Yes, I'm busy like everyone else, kids, grand kids, but that's no excuse...

All that said, if you need me to test something on my old HP Stream 11, it will be with great pleasure.
I guess when you're done, I will have to

  1. update from an older version to 3.3.3, to test the update process
  2. Test a brand new install ?

As for my Lenovo Yoga and Dell Alieware, no issues with recent Omarchy updates

jfbourdeau avatar Feb 15 '26 12:02 jfbourdeau

@jamescraig17 Please stop posting regurgitated AI replies.

doxxx avatar Feb 15 '26 14:02 doxxx