omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

X web app launched from the Super+Space app menu exits silently within seconds; same web app via Super+Shift+X or a terminal is fine

Open cgranier opened this issue 2 months ago • 6 comments

System details

Microsoft Surface Pro 4, Intel i7-6650U, Intel Iris 540 (i915, no NVIDIA), 16 GB RAM, Omarchy 4.0.3-1, Hyprland 0.56.2, Quickshell 0.3.1, uwsm 0.26.7, Chromium 152.0.7977.82-1, kernel 7.2.3-arch1-3

What's wrong?

Summary

Opening the X web app from the Super+Space app menu makes the whole Chromium instance disappear 2–24 seconds after the window appears. This happened on 10 of 10 menu launches, whether X was found by typing or by clicking it in the list.

The same web app started any other way keeps running under normal use (scrolling the feed, playing videos, opening posts). Other web apps opened from the same menu (YouTube, Google Photos) also keep running.

How X was launched Result
Super+Space menu → X (typed or clicked) Exited 10/10, after 2–24 s
Super+Shift+X keybinding (omarchy-launch-webapp https://x.com/, parent = Hyprland) OK, 172 s in use, closed normally
omarchy-launch-webapp https://x.com/ from a terminal OK, 220 s in use
Menu's exact command from a terminal: bash -lc "uwsm-app -- gtk-launch 'X.desktop'" OK, 124 s
/usr/bin/chromium --app=https://x.com/ from a terminal OK, 301 s in use
Super+Space menu → YouTube web app (heavy video) OK, 32 s and 37 s, closed normally
Super+Space menu → Google Photos web app OK, 21 s

X.desktop and YouTube.desktop both contain Exec=omarchy-launch-webapp <url>, and there are no X-specific window rules or launcher changes on this system.

How to reproduce

  1. Stock Omarchy 4.0.3 with the default chromium-flags.conf and the X web app installed.
  2. Log in to x.com in the X web app once. Using a terminal launch or Super+Shift+X avoids the problem while doing this.
  3. Close all Chromium windows.
  4. Press Super+Space and pick X.
  5. Within about 2–24 seconds of the home feed loading, the window vanishes. No interaction is needed; it also happened with the window left alone.

What the exit looks like

  • The browser process is gone within about 15–120 ms of the window's closewindow event.
  • It is not an orderly shutdown:
    • Chromium never gets to "The browser is shutting down" (which a normal close prints, via the 1Password extension's console).
    • Local State is not written at exit.
  • It is not a crash that leaves a record:
    • coredumpctl shows no Chromium entries at all, and there is no traps:/segfault kernel line. On this machine systemd-coredump does log other crashes (for example a 1Password SIGILL the same day).
    • ~/.config/chromium/Crash Reports/{new,pending,completed} stay empty.
  • Nothing is logged:
    • With --enable-logging --v=0 --log-file=… there is no ERROR/FATAL line before the exit. The log just stops.
    • There is nothing in the journal apart from the app-org.chromium.Chromium-<pid>.scope / app-Hyprland-chromium-*.scope "Consumed …" lines, and no protocol or client errors in hyprland.log.

Ruled out

  • Duplicated flags (#11339): every flag appears exactly once in the command line of a Chromium launched from the menu.
  • Launch environment: a menu-launched Chromium and a surviving one had identical ignored/blocked signal masks, RLIMIT_NOFILE, oom_score_adj and parent (systemd --user). stdin/stdout/stderr are /dev/null on every process. Quickshell's environment only adds QS_* variables.
  • Memory/OOM: there are no limits on app-graphical.slice or the scopes (RuntimeMaxUSec=infinity, default KillMode). systemd-oomd reports 0 % pressure and no kills, and there is no kernel OOM.
  • GPU/video: there are no i915/DRM errors. X died with no video on screen, while menu-launched YouTube played video without problems. This is an Intel-only GPU, so NVIDIA issues (#6024, #7314) don't apply.
  • Quickshell launch feedback: the "Launching…" OSD never appears, because the window maps in about 1 s. Quickshell's MPRIS watcher never registered the dying instances, and its log (all categories enabled) shows nothing at the exit times.
  • Typing or the input method: selecting X by click without typing also exits. fcitx5 logs nothing at those times.
  • Other: the 1Password extension (a surviving instance ran the identical unlock/sync sequence), touch gestures, the on-screen keyboard, and systemd drop-ins (none apply to app scopes).

Launch chain for the failing case

Quickshell (runs inside [email protected])
  AppLibrary.qml:85  Util.execDetached("uwsm-app -- gtk-launch 'X.desktop'")   # bash -lc
    → uwsm-app → systemd-run --user --scope (app-Hyprland-gtk-launch-*.scope) gtk-launch X.desktop
      → omarchy-launch-webapp https://x.com/
        → setsid uwsm-app → systemd-run --user --scope (app-Hyprland-chromium-*.scope) /usr/bin/chromium --app=https://x.com/

The browser process moves itself into app-org.chromium.Chromium-<pid>.scope. Its GPU process, zygotes and renderers stay in app-Hyprland-chromium-*.scope, as with every uwsm launch, including the ones that survive.

Not determined

  • What ends the process. The pattern (no core, no log line, no shutdown path) looks like an uncatchable SIGKILL or an _exit without logging. strace/bpftrace weren't available to confirm which, and the sender wasn't identified.
  • Why only X combined with the menu launch is affected.

Original symptom: Chromium "crashing" every time while logging in to X, which was being opened from the app menu. Firefox had to be used to log in.

omarchy-debug --no-sudo --print output (firewall log lines removed; hostname, LAN IPs and MACs redacted)
Date: Mon Sep 14 06:39:14 PM EDT 2026
Hostname: <hostname>
Omarchy Package: omarchy 4.0.3-1

=========================================
SYSTEM INFORMATION
=========================================
12System:
  12Kernel 7.2.3-arch1-3 12arch x86_64 12bits 64 12compiler gcc 12v 16.2.1 12clocksource tsc 12avail acpi_pm
    12parameters cryptdevice=PARTUUID=2dd350f7-117e-4055-bbd1-70758aaedf80:root root=/dev/mapper/root
    zswap.enabled=0 rootflags=subvol=@ rw rootfstype=btrfs rtc_cmos.use_acpi_alarm=1
    resume=/dev/mapper/root resume_offset=1911535 initramfs_async=0 quiet splash loglevel=0
    systemd.show_status=false rd.udev.log_level=0 vt.global_cursor_default=0
  12Desktop Hyprland 12v 0.56.2 12vt 2 12dm SDDM 12Distro Omarchy
12Machine:
  12Type Laptop 12System Microsoft 12product Surface Pro 4 12v 124000000000000000000000D:0B:08F:1C:03P:38
    12serial <superuser required> 12Chassis 12type 9 12serial <superuser required>
  12Mobo Microsoft 12model Surface Pro 4 12serial <superuser required> 12part-nu Surface_Pro_4
    12uuid <superuser required> 12Firmware UEFI 12vendor Microsoft 12v 109.3748.768 12date 05.04.2021
12Battery:
  12ID-1 BAT1 12charge 16 Wh (64.5%) 12condition 24.8/38.2 Wh (65%) 12power 8 W 12volts 7.67 12min 7.5
    12model DYN X910528 12type Li-ion 12serial <filter> 12charging 12status discharging 12cycles 186
12CPU:
  12Info 12model Intel Core i7-6650U 12bits 64 12type MT MCP 12arch Skylake 12gen core 6 12level v3 12note check
    12built 2015 12process Intel 14nm 12family 6 12model-id 0x4E (78) 12stepping 3 12microcode 0xF0
  12Topology 12cpus 1x 12dies 1 12clusters 2 12cores 2 12threads 4 12tpc 2 12smt enabled 12cache 12L1 128 KiB
    12desc d-2x32 KiB; i-2x32 KiB 12L2 512 KiB 12desc 2x256 KiB 12L3 4 MiB 12desc 1x4 MiB
  12Speed (MHz) 12avg 3200 12min/max 400/3400 12scaling 12driver intel_pstate 12governor powersave 12cores
    121 3200 122 3200 123 3200 124 3200 12bogomips 17599
  12Flags-basic avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  12Vulnerabilities
  12Type gather_data_sampling 12status Vulnerable: No microcode
  12Type ghostwrite 12status Not affected
  12Type indirect_target_selection 12status Not affected
  12Type itlb_multihit 12status KVM: Split huge pages
  12Type l1tf 12mitigation PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  12Type mds 12mitigation Clear CPU buffers; SMT vulnerable
  12Type meltdown 12mitigation PTI
  12Type mmio_stale_data 12mitigation Clear CPU buffers; SMT vulnerable
  12Type old_microcode 12status Not affected
  12Type reg_file_data_sampling 12status Not affected
  12Type retbleed 12mitigation IBRS
  12Type spec_rstack_overflow 12status Not affected
  12Type spec_store_bypass 12mitigation Speculative Store Bypass disabled via prctl
  12Type spectre_v1 12mitigation usercopy/swapgs barriers and __user pointer sanitization
  12Type spectre_v2 12mitigation IBRS; IBPB: conditional; STIBP: conditional; RSB filling;
    PBRSB-eIBRS: Not affected; BHI: Not affected
  12Type srbds 12mitigation Microcode
  12Type tsa 12status Not affected
  12Type tsx_async_abort 12mitigation TSX disabled
  12Type vmscape 12mitigation IBPB before exit to userspace
12Graphics:
  12Device-1 Intel Skylake-U GT3 [Iris Graphics 540] 12vendor Microsoft 12driver i915 12v kernel 12arch Gen-9
    12process Intel 14n 12built 2015-16 12ports 12active eDP-1 12empty DP-1, DP-2, HDMI-A-1, HDMI-A-2
    12bus-ID 00:02.0 12chip-ID 8086:1926 12class-ID 0300
  12Display wayland 12server X.org 12v 1.21.1.24 12with Xwayland 12v 24.1.13 12compositor Hyprland 12v 0.56.2
    12driver 12gpu i915 12display-ID 1
  12Monitor-1 eDP-1 12model Samsung 0x3853 12built 2015 12res 2736x1824 12dpi 267 12gamma 1.2
    12size 260x173mm (10.24x6.81") 12diag 312mm (12.3") 12ratio 3:2 12modes 2736x1824
  12API EGL 12Message EGL data requires eglinfo. Check --recommends.
  12Info 12Tools 12x11 xprop
12Audio:
  12Device-1 Intel Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Imaging Unit 12driver ipu3-imgu
    12alternate ipu3_imgu 12bus-ID 00:05.0 12chip-ID 8086:1919 12class-ID 0480
  12Device-2 Intel CSI-2 Host 12driver ipu3-cio2 12alternate ipu3_cio2 12bus-ID 00:14.3 12chip-ID 8086:9d32
    12class-ID 0480
  12Device-3 Intel Sunrise Point-LP HD Audio 12driver snd_hda_intel 12v kernel 12alternate snd_soc_avs
    12bus-ID 00:1f.3 12chip-ID 8086:9d70 12class-ID 0403
  12API ALSA 12v k7.2.3-arch1-3 12status kernel-api 12tools alsactl,alsamixer,amixer
  12Server-1 sndiod 12v N/A 12status off 12tools aucat,midicat,sndioctl
  12Server-2 PipeWire 12v 1.6.8 12status active 12with 121 pipewire-pulse 12status active 122 wireplumber
    12status active 123 pipewire-alsa 12type plugin 124 pw-jack 12type plugin 12tools pactl,pw-cat,pw-cli,wpctl
12Network:
  12Device-1 Marvell 88W8897 [AVASTAR] 802.11ac Wireless 12driver mwifiex_pcie 12v 1.0 12pcie 12gen 1
    12speed 2.5 GT/s 12lanes 1 12bus-ID 02:00.0 12chip-ID 11ab:2b38 12class-ID 0200
  12IF wlp2s0 12state up 12mac <filter>
  12IF-ID-1 tailscale0 12state unknown 12speed -1 12duplex full 12mac N/A
  12Info 12services NetworkManager, systemd-timesyncd, wpa_supplicant
12Bluetooth:
  12Device-1 Marvell Bluetooth and Wireless LAN Composite Device 12driver btusb 12v 0.8 12type USB 12rev 2.0
    12speed 480 Mb/s 12lanes 1 12mode 2.0 12bus-ID 1-5:6 12chip-ID 1286:204c 12class-ID e001 12serial <filter>
  12Report btmgmt 12ID hci0 12rfk-id 0 12state up 12address <filter> 12bt-v 4.2 12lmp-v 8 12status
    12discoverable no 12pairing no 12class-ID 6c010c
12Drives:
  12Local Storage 12total 238.47 GiB 12used 33.69 GiB (14.1%)
  12SMART Message Required tool smartctl not installed. Check --recommends
  12ID-1 /dev/nvme0n1 12maj-min 259:0 12vendor Samsung 12model MZFLV256HCHP-000MV 12size 238.47 GiB
    12block-size 12physical 512 B 12logical 512 B 12speed 31.6 Gb/s 12lanes 4 12tech SSD 12serial <filter>
    12fw-rev BXV75M0Q 12temp 32.9 C 12scheme GPT
12Partition:
  12ID-1 / 12raw-size 236.46 GiB 12size 236.46 GiB (100.00%) 12used 33.54 GiB (14.2%) 12fs btrfs
    12dev /dev/dm-0 12maj-min 253:0 12mapped root
  12ID-2 /boot 12raw-size 2 GiB 12size 2 GiB (99.80%) 12used 152 MiB (7.4%) 12fs vfat 12dev /dev/nvme0n1p1
    12maj-min 259:1
  12ID-3 /home 12raw-size 236.46 GiB 12size 236.46 GiB (100.00%) 12used 33.54 GiB (14.2%) 12fs btrfs
    12dev /dev/dm-0 12maj-min 253:0 12mapped root
  12ID-4 /var/log 12raw-size 236.46 GiB 12size 236.46 GiB (100.00%) 12used 33.54 GiB (14.2%) 12fs btrfs
    12dev /dev/dm-0 12maj-min 253:0 12mapped root
12Swap:
  12Kernel 12swappiness 150 (default 60) 12cache-pressure 50 (default 100) 12zswap no
  12ID-1 swap-1 12type file 12size 15.53 GiB 12used 0 KiB (0.0%) 12priority 0 12file /swap/swapfile
  12ID-2 swap-2 12type zram 12size 15.53 GiB 12used 0 KiB (0.0%) 12priority 100 12comp zstd
    12avail lzo-rle,lzo,lz4,lz4hc,deflate,842 12dev /dev/zram0
12Sensors:
  12System Temperatures 12cpu 52.0 C 12pch 36.0 C 12mobo N/A
  12Fan Speeds (rpm) N/A
12Repos:
  12Packages 12pm pacman 12pkgs 986 12libs 274 12tools yay
  12Active pacman repo servers in /etc/pacman.conf
    121 https: //pkgs.omarchy.org/stable/$arch
    122 https: //pkg.surfacelinux.com/arch/
  12Active pacman repo servers in /etc/pacman.d/mirrorlist
    121 https: //stable-mirror.omarchy.org/$repo/os/$arch
12Info:
  12Memory 12total 16 GiB 12available 15.53 GiB 12used 6.41 GiB (41.3%)
  12Processes 292 12Power 12uptime 3h 30m 12states freeze,mem,disk 12suspend s2idle 12wakeups 0
    12hibernate platform 12avail shutdown, reboot, suspend, test_resume 12image 6.18 GiB
    12services power-profiles-daemon, thermald, upowerd 12Init systemd 12v 261 12default graphical
    12tool systemctl
  12Compilers 12clang 22.1.8 12gcc 16.2.1 12Client shell wrapper 12v 5.3.15-release 12inxi 3.3.41

=========================================
DMESG
=========================================
(skipped - --no-sudo flag used)

=========================================
JOURNALCTL (CURRENT BOOT, WARNINGS+ERRORS)
=========================================
Sep 14 15:09:05 <hostname> kernel: x86/cpu: SGX disabled or unsupported by BIOS.
Sep 14 15:09:05 <hostname> kernel: MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
Sep 14 15:09:05 <hostname> kernel: MMIO Stale Data CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/processor_mmio_stale_data.html for more details.
Sep 14 15:09:05 <hostname> kernel: VMSCAPE: SMT on, STIBP is required for full protection. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/vmscape.html for more details.
Sep 14 15:09:05 <hostname> kernel: virt/tdx: TDX not supported by the host platform
Sep 14 15:09:05 <hostname> kernel: ACPI Warning: GPE type mismatch (level/edge) (20260408/evxface-791)
Sep 14 15:09:05 <hostname> kernel: ACPI: thermal: [Firmware Bug]: No valid trip points!
Sep 14 15:09:05 <hostname> kernel: hpet_acpi_probe: no address or irqs in _CRS
Sep 14 15:09:05 <hostname> kernel: ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
Sep 14 15:09:07 <hostname> kernel: ov8865 i2c-INT347A:00: supply dvdd not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ov8865 i2c-INT347A:00: supply dovdd not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ov8865 i2c-INT347A:00: supply avdd not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ipu3_imgu: module is from the staging directory, the quality is unknown, you have been warned.
Sep 14 15:09:07 <hostname> kernel: ov8865 i2c-INT347A:00: supply dvdd not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ov8865 i2c-INT347A:00: supply dovdd not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ov8865 i2c-INT347A:00: supply avdd not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ov8865 i2c-INT347A:00: supply dvdd not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ov8865 i2c-INT347A:00: supply dovdd not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ov8865 i2c-INT347A:00: supply avdd not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ov5693 i2c-INT33BE:00: supply avdd not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ov5693 i2c-INT33BE:00: supply dovdd not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ov5693 i2c-INT33BE:00: supply dvdd not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ov7251 i2c-INT347E:00: supply vdddo not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ov7251 i2c-INT347E:00: supply vddd not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: ov7251 i2c-INT347E:00: supply vdda not found, using dummy regulator
Sep 14 15:09:07 <hostname> kernel: dw9719 i2c-INT347A:00-VCM: supply vdd not found, using dummy regulator
Sep 14 15:09:09 <hostname> kernel: Bluetooth: hci0: unexpected event for opcode 0x0000
Sep 14 15:09:09 <hostname> kernel: Bluetooth: hci0: unexpected event for opcode 0x0000
Sep 14 15:09:16 <hostname> wpa_supplicant[796]: wlp2s0: nl80211: kernel reports: Registration to specific type not supported
Sep 14 15:09:16 <hostname> wpa_supplicant[796]: wlp2s0: nl80211: kernel reports: multicast RX registrations are not supported
Sep 14 15:09:16 <hostname> NetworkManager[720]: <warn>  [1789412956.0813] device (p2p-dev-wlp2s0): error setting IPv4 forwarding to '0': Resource temporarily unavailable
Sep 14 15:09:16 <hostname> sddm-helper[813]: gkr-pam: no password is available for user
Sep 14 15:09:16 <hostname> dbus-broker-launch[716]: Activation request for 'org.freedesktop.home1' failed: The systemd unit 'dbus-org.freedesktop.home1.service' could not be found.
Sep 14 15:09:16 <hostname> pipewire[880]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Sep 14 15:09:16 <hostname> pipewire[880]: mod.rt: RTKit does not give us MaxRealtimePriority, using 1
Sep 14 15:09:16 <hostname> pipewire[880]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Sep 14 15:09:16 <hostname> pipewire[880]: mod.rt: RTKit does not give us MinNiceLevel, using 0
Sep 14 15:09:16 <hostname> pipewire[880]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Sep 14 15:09:16 <hostname> pipewire[880]: mod.rt: RTKit does not give us RTTimeUSecMax, using -1
Sep 14 15:09:16 <hostname> pipewire-pulse[882]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Sep 14 15:09:16 <hostname> pipewire-pulse[882]: mod.rt: RTKit does not give us MaxRealtimePriority, using 1
Sep 14 15:09:16 <hostname> pipewire-pulse[882]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Sep 14 15:09:16 <hostname> pipewire-pulse[882]: mod.rt: RTKit does not give us MinNiceLevel, using 0
Sep 14 15:09:16 <hostname> pipewire-pulse[882]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Sep 14 15:09:16 <hostname> pipewire-pulse[882]: mod.rt: RTKit does not give us RTTimeUSecMax, using -1
Sep 14 15:09:16 <hostname> sddm-helper[813]: gkr-pam: couldn't unlock the login keyring.
Sep 14 15:09:16 <hostname> wireplumber[881]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Sep 14 15:09:16 <hostname> wireplumber[881]: mod.rt: RTKit does not give us MaxRealtimePriority, using 1
Sep 14 15:09:16 <hostname> wireplumber[881]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Sep 14 15:09:16 <hostname> wireplumber[881]: mod.rt: RTKit does not give us MinNiceLevel, using 0
Sep 14 15:09:16 <hostname> wireplumber[881]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Sep 14 15:09:16 <hostname> wireplumber[881]: mod.rt: RTKit does not give us RTTimeUSecMax, using -1
Sep 14 15:09:17 <hostname> wireplumber[881]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Sep 14 15:09:17 <hostname> wireplumber[881]: mod.rt: RTKit does not give us MaxRealtimePriority, using 1
Sep 14 15:09:17 <hostname> wireplumber[881]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Sep 14 15:09:17 <hostname> wireplumber[881]: mod.rt: RTKit does not give us MinNiceLevel, using 0
Sep 14 15:09:17 <hostname> wireplumber[881]: mod.rt: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Sep 14 15:09:17 <hostname> wireplumber[881]: mod.rt: RTKit does not give us RTTimeUSecMax, using -1
Sep 14 15:09:17 <hostname> wireplumber[881]: default: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Sep 14 15:09:19 <hostname> wpa_supplicant[796]: wlp2s0: nl80211: kernel reports: Registration to specific type not supported
Sep 14 15:09:19 <hostname> wpa_supplicant[796]: wlp2s0: nl80211: kernel reports: multicast RX registrations are not supported
Sep 14 15:09:21 <hostname> dbus-broker[718]: A security policy denied :1.35 to send method call /org/freedesktop/DBus:org.freedesktop.DBus.Monitoring.BecomeMonitor to org.freedesktop.DBus.
Sep 14 15:09:21 <hostname> /usr/lib/xdg-desktop-portal[1123]: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Sep 14 15:09:21 <hostname> /usr/lib/xdg-desktop-portal[1123]: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Sep 14 15:09:21 <hostname> /usr/lib/xdg-desktop-portal[1123]: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Sep 14 15:10:12 <hostname> kernel: warning: `ThreadPoolForeg' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
Sep 14 15:10:19 <hostname> systemd-coredump[3777]: Process 3331 (1password) of user 1000 terminated abnormally without generating a coredump.
Sep 14 15:20:59 <hostname> iio-sensor-proxy[11042]: Buffer '/dev/iio:device3' did not have data within 0.5s
Sep 14 15:21:00 <hostname> iio-sensor-proxy[11042]: Buffer '/dev/iio:device2' did not have data within 0.5s
Sep 14 15:21:10 <hostname> kernel: ipts: loading out-of-tree module taints kernel.
Sep 14 15:24:04 <hostname> sddm-helper-start-wayland[15896]: "The XKEYBOARD keymap compiler (xkbcomp) reports:\n> Warning:          Multiple symbols for level 1/group 1 on key <FK23>\n>                   Using F23, ignoring XF86TouchpadOff\n> Warning:          Symbol map for key <FK23> redefined\n>                   Using last definition for conflicting fields\n> Warning:          Symbol map for key <FK24> redefined\n>                   Using last definition for conflicting fields\n"
Sep 14 15:24:04 <hostname> sddm-helper-start-wayland[15896]: "> Warning:          Could not resolve keysym XF86ElectronicPrivacyScreenOn\n> Warning:          Could not resolve keysym XF86ElectronicPrivacyScreenOff\n> Warning:          Could not resolve keysym XF86ActionOnSelection\n> Warning:          Could not resolve keysym XF86ContextualInsert\n> Warning:          Could not resolve keysym XF86ContextualQuery\n"
Sep 14 15:24:04 <hostname> sddm-helper-start-wayland[15896]: "Errors from xkbcomp are not fatal to the X server\n"
Sep 14 15:24:04 <hostname> sddm-helper-start-wayland[15896]: "The XKEYBOARD keymap compiler (xkbcomp) reports:\n> Warning:          Unsupported maximum keycode 709, clipping.\n>                   X11 cannot support keycodes above 255.\n"
Sep 14 15:24:04 <hostname> sddm-helper-start-wayland[15896]: "> Warning:          Virtual modifier Hyper multiply defined\n>                   Using 0, ignoring 0\n> Warning:          Virtual modifier ScrollLock multiply defined\n"
Sep 14 15:24:04 <hostname> sddm-helper-start-wayland[15896]: ">                   Using 0, ignoring 0\n"
Sep 14 15:24:04 <hostname> sddm-helper-start-wayland[15896]: "Errors from xkbcomp are not fatal to the X server\n"
Sep 14 15:24:05 <hostname> sddm-greeter-qt6[15932]: file:///usr/share/sddm/themes/omarchy/Main.qml:104:11 Parameter "event" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
Sep 14 15:24:07 <hostname> sddm-helper[15975]: gkr-pam: couldn't unlock the login keyring.
Sep 14 15:24:07 <hostname> sddm-helper-start-wayland[15896]: "(EE) failed to read Wayland events: Broken pipe\n"
Sep 14 15:24:07 <hostname> wireplumber[881]: spa.bluez5.midi: org.bluez.GattManager1.RegisterApplication() failed: GDBus.Error:org.bluez.Error.AlreadyExists: Already Exists
Sep 14 15:24:09 <hostname> dbus-broker[718]: A security policy denied :1.155 to send method call /org/freedesktop/DBus:org.freedesktop.DBus.Monitoring.BecomeMonitor to org.freedesktop.DBus.
Sep 14 15:24:09 <hostname> /usr/lib/xdg-desktop-portal[16305]: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Sep 14 15:24:09 <hostname> /usr/lib/xdg-desktop-portal[16305]: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Sep 14 15:24:09 <hostname> /usr/lib/xdg-desktop-portal[16305]: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Sep 14 15:36:02 <hostname> xdg-desktop-portal-gtk[16392]: Backend call failed: Cannot invoke method; proxy is for the well-known name org.freedesktop.ScreenSaver without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Sep 14 15:53:53 <hostname> gvfsd-recent[55529]: Unable to load /home/carlos/.local/share/recently-used.xbel: Failed to open file “/home/carlos/.local/share/recently-used.xbel”: No such file or directory
Sep 14 15:54:36 <hostname> xdg-desktop-portal-gtk[16392]: Unhandled parent window type 
Sep 14 15:54:36 <hostname> xdg-desktop-portal-gtk[16392]: Failed to associate portal window with parent window 
Sep 14 18:16:40 <hostname> localsearch-3[55397]: Could not ask extractor to update: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path “/org/freedesktop/Tracker3/Extract”

=========================================
INSTALLED PACKAGES
=========================================
1password 8.12.36-2 (omarchy)
1password-cli 2.39.0-1 (omarchy)
aether 4.29.8-1 (omarchy)
alacritty 0.17.0-1 (extra)
alsa-utils 1.2.16-1 (extra)
asdcontrol 1:0.6.0-2 (omarchy)
base 3-3 (core)
base-devel 1-2 (core)
bash-completion 2.18.0-1 (extra)
bat 0.26.1-2 (extra)
bluez 5.87-2 (extra)
bluez-tools 0.2.0-6 (extra)
bluez-utils 5.87-2 (extra)
bolt 0.9.11-3 (extra)
brightnessctl 0.5.1-3 (extra)
btop 1.4.7-1 (extra)
btrfs-progs 7.1-1 (core)
chromium 152.0.7977.82-1 (extra)
clang 22.1.8-1 (extra)
cliamp 2.0.1-1 (omarchy)
cmake 4.4.3-2 (extra)
cups 2:2.4.19-1 (extra)
cups-filters 2.0.1-2 (extra)
cups-pk-helper 0.2.7-2 (extra)
ddcutil 2.2.7-1 (extra)
dkms 3.4.3-2 (extra)
docker 1:29.7.2-1 (extra)
docker-buildx 0.37.0-1 (extra)
docker-compose 5.5.1-1 (extra)
dosfstools 4.2-5 (core)
dotnet-runtime 10.0.11.sdk111-1 (extra)
dua-cli 2.44.0-1 (extra)
efibootmgr 18-4 (core)
evince 1:48.4-1 (extra)
exfatprogs 1.4.3-1 (extra)
expac 10-13 (extra)
eza 0.23.5-2 (extra)
fastfetch 2.68.1-1 (extra)
fcitx5 5.1.22-1 (extra)
fcitx5-gtk 5.1.7-1 (extra)
fcitx5-qt 5.1.15-1 (extra)
fd 10.5.0-3 (extra)
ffmpegthumbnailer 2.3.1-1 (extra)
firefox 155.0.1-1 (extra)
foot 1.28.0-1 (extra)
fzf 0.74.3-1 (extra)
git 2.55.0-1 (extra)
glm 1.0.3-1 (extra)
gnome-disk-utility 46.1-3 (extra)
gnome-keyring 1:50.0-1 (extra)
gnome-themes-extra 1:3.28-1 (extra)
gpu-screen-recorder 5.12.3-2 (omarchy)
gpu-screen-recorder 6.1.0-1 (extra)
grim 1.5.0-2 (extra)
grok-bot 0.29.0-1 (omarchy)
gst-plugin-pipewire 1:1.6.8-1 (extra)
gvfs-mtp 1.60.2-4 (extra)
gvfs-nfs 1.60.2-4 (extra)
gvfs-smb 1.60.2-4 (extra)
herdr 0.8.2-1 (omarchy)
hyprland 0.56.2-2 (extra)
hyprland-guiutils 0.2.2-3 (extra)
hyprland-preview-share-picker 0.2.1-1 (omarchy)
hyprpicker 0.4.7-4 (extra)
hyprsunset 0.4.0-3 (extra)
iio-sensor-proxy 3.9-1 (extra)
imagemagick 7.1.2.31-1 (extra)
imv 5.0.1-2 (extra)
inetutils 2.8-1 (core)
inotify-tools 4.25.9.0-1 (extra)
intel-media-driver 26.2.4-1 (extra)
intel-ucode 20260812-1 (extra)
inxi 3.3.41.1-1 (extra)
iptsd 3.1.0-1 (linux-surface)
jq 1.8.2-1 (extra)
kdenlive 26.08.0-1 (extra)
kernel-modules-hook 0.1.7-3 (extra)
lazydocker 0.25.2-1 (extra)
lazygit 0.65.0-1 (extra)
less 1:704-1 (core)
libpulse 17.0+r98+gb096704c0-1 (extra)
libreoffice-fresh 26.8.0-2 (extra)
libvips 8.18.6-1 (extra)
libyaml 0.2.5-3 (extra)
limine 12.8.0-1 (extra)
linux 7.2.3.arch1-3 (core)
linux-firmware 20260810-2 (core)
linux-firmware-marvell 20260810-2 (core)
linux-headers 7.2.3.arch1-3 (core)
llvm 22.1.8-2 (extra)
localsend 1.18.2-1 (omarchy)
lua51 5.1.5-13 (extra)
luarocks 3.13.0-5 (extra)
man-db 2.13.1-2 (core)
mariadb-libs 12.3.3-2 (extra)
meson 1.12.0-1 (extra)
mise-bin 2026.9.5-1 (omarchy)
mkinitcpio 41.1-1 (core)
moonlight-qt 6.1.0-7 (extra)
mpv 1:0.41.0-6 (extra)
mpv-mpris 1.2-2 (extra)
nautilus 50.3.1-1 (extra)
nautilus-python 4.1.0-3 (extra)
networkmanager 1.58.1-1 (extra)
ninja 1.13.2-3 (extra)
noto-fonts 1:2026.09.01-1 (extra)
noto-fonts-cjk 20240730-1 (extra)
noto-fonts-emoji 1:2.051-1 (extra)
nss-mdns 0.15.1-2 (extra)
obsidian 1.13.7-2 (extra)
obs-studio 32.2.2-1 (extra)
omacalc 0.2.2-1 (omarchy)
omacut 0.4.0-1 (omarchy)
omarchy 4.0.3-1 (omarchy)
omarchy-keyring 20251027-1 (omarchy)
omarchy-nvim 2026.8.13-1 (omarchy)
omarchy-settings 4.0.3-1 (omarchy)
omawrite 0.5.0-1 (omarchy)
openai-codex-desktop 26.908.40834-1 (omarchy)
pacman-contrib 1.13.1-1 (extra)
pahole 1:1.31-2 (extra)
pamixer 1.6-4 (extra)
pinta 3.1.2-1 (omarchy)
pinta 3.1.2-2 (extra)
pipewire 1:1.6.8-1 (extra)
pipewire-alsa 1:1.6.8-1 (extra)
pipewire-jack 1:1.6.8-1 (extra)
pipewire-pulse 1:1.6.8-1 (extra)
plocate 1.1.25-1 (extra)
postgresql-libs 18.6-1 (extra)
power-profiles-daemon 0.30-1 (extra)
python-gobject 3.56.3-1 (extra)
python-poetry-core 2.4.1-1 (extra)
qemu-user-static-binfmt 11.1.1-1 (extra)
qrencode 4.1.1-4 (extra)
qt6-imageformats 6.11.2-1 (extra)
quickshell 0.3.1-1 (extra)
ripgrep 15.2.0-1 (extra)
ruby 3.4.10-1 (extra)
scdoc 1.11.5-1 (extra)
sddm 0.21.0-7 (extra)
slurp 1.5.0-2 (extra)
socat 1.8.1.3-1 (extra)
sof-firmware 2025.12.2-1 (extra)
starship 1.26.0-1 (extra)
sublime-text-4 4.4200-1 (omarchy)
sudo 1.9.17.p2-6 (core)
sushi 50.0-1 (extra)
system-config-printer 1.5.18-7 (extra)
tailscale 1.102.3-1 (extra)
tensaku 0.29.0-1 (omarchy)
tesseract 5.5.3-1 (extra)
tesseract-data-eng 2:4.1.0-5 (extra)
thermald 2:2.5.12-1 (extra)
tldr 3.4.4-1 (extra)
tmux 3.7_c-1 (extra)
tobi-try 1.8.1-3 (omarchy)
tree-sitter-cli 0.26.9-1 (extra)
ttf-ia-writer 20181225-1 (omarchy)
ttf-jetbrains-mono-nerd-basic 3.5.1-1 (omarchy)
ttfx 0.3.2-1 (omarchy)
tzupdate 3.1.0-1 (omarchy)
udiskie 2.7.0-2 (extra)
ufw 0.36.2-7 (extra)
ufw-docker 251123-1 (omarchy)
usage 5.1.0-1 (extra)
uwsm 0.26.7-1 (extra)
voxtype-bin 1.0.1-1 (omarchy)
vpl-gpu-rt 26.2.4-1 (extra)
vulkan-intel 1:26.2.2-1 (extra)
whois 5.6.6-1 (extra)
wireless-regdb 2026.05.30-1 (core)
wireplumber 0.5.17-1 (extra)
wl-clipboard 1:2.3.0-1 (extra)
woff2-font-awesome 7.3.1-1 (extra)
words 2.1-9 (extra)
wtype 0.4-2 (extra)
xdg-desktop-portal-gtk 1.15.3-1 (extra)
xdg-desktop-portal-hyprland 1.4.1-2 (extra)
xdg-terminal-exec 0.14.3-1 (omarchy)
xournalpp 1.3.7-1 (extra)
yaru-icon-theme 26.04.5.1ubuntu-1 (omarchy)
yay 13.0.1-1 (omarchy)
yt-dlp 2026.08.19-1 (extra)
zbar 0.23.93-7 (extra)
zoxide 0.10.0-1 (extra)
zram-generator 1.2.1-1 (extra)


Drafted by Claude Opus 5 via Claude Code; reviewed and submitted by the reporter.

cgranier avatar Sep 14 '26 22:09 cgranier

Update: the trigger is X's page holding the motion sensors open (workaround included)

The trigger is narrowed down, and there's a workaround. It looks more like a Chromium generic-sensor problem on this hardware than an Omarchy launcher bug. Omarchy's menu launch is still somehow required, though (see "Still unexplained").

Narrowing (every launch from the Super+Space menu)

Test Result
Same .desktop file pointed at other sites (cgranier.com, google.com, YouTube, Tailscale, Google Photos) Survives
Same file pointed at https://x.com/ Dies
https://x.com/robots.txt (same origin, no page JS) Survives
x.com with a fresh --user-data-dir Dies (9.4 s)
… plus --disable-extensions Dies (4.9 s)
… plus --disable-features=WebGPU,WebRtcPipeWireCamera --force-webrtc-ip-handling-policy=disable_non_proxied_udp --use-fake-device-for-media-stream Dies (13 s)
… plus --disable-features=WebRtcHideLocalIpsWithMdns (the mDNS responder never starts) Dies (8.6 s)

So it isn't the profile, extensions, 1Password, WebGPU, camera or media devices, WebRTC or mDNS. It's something X's page script does.

The trigger: motion sensors

With --enable-logging --v=1, every logged death shows the page opening the device-motion and device-orientation sensor set, which then stays open until the browser vanishes:

services/device/generic_sensor/platform_sensor.cc:33] Platform sensor created. Type ACCELEROMETER.
services/device/generic_sensor/platform_sensor.cc:33] Platform sensor created. Type LINEAR_ACCELERATION.
services/device/generic_sensor/platform_sensor.cc:33] Platform sensor created. Type GYROSCOPE.
services/device/generic_sensor/platform_sensor.cc:33] Platform sensor created. Type RELATIVE_ORIENTATION_EULER_ANGLES.
Run (fresh profile, no extensions, launched from the menu) Sensors Browser
Run 1 created, never released gone 4.0 s later
Run 2 created, never released gone 1.9 s later
Sensors blocked (default_content_setting_values.sensors = 2) created, then all released within ~1 ms survived 7 min (closed manually)
Block removed again created, never released gone 2.2 s later
Block removed, later run created, never released gone 11.8 s later

No core dump, no Crash Reports entry, no FATAL line and no kernel message, as before.

Hardware side (Surface Pro 4)

  • The sensors come from the HID sensor hub over I2C (MSHW0030). It exposes IIO devices gyro_3d, accel_3d, dev_rotation and als.
  • iio-sensor-proxy 3.9 is running. It logged Buffer '/dev/iio:device2' did not have data within 0.5s at boot and polls instead.
  • Chromium reads the sysfs attributes directly: its binary references in_accel_{x,y,z}_raw and in_anglvel_{x,y,z}_raw, and nothing for net.hadess.SensorProxy.
  • After a moment of idle, the first read of in_accel_x_raw blocks for 1.8–3+ s (one read hit a 3 s timeout). Later reads take 4–10 ms. The gyro's first read takes about 40 ms.

Workaround

Block motion sensors for X in Chromium: chrome://settings/content/siteDetails?site=https://x.com → Motion sensors → Block. This stores profile.content_settings.exceptions.sensors["https://x.com:443,*"] = 2.

With that set, X launched from the Super+Space menu stays up. (The global "Don't allow sites to use motion sensors" option also worked in a test profile.)

Still unexplained

  • Why a sensor-reading page kills the browser silently, with no core, no log line and no shutdown path.
  • Why the same X page survived when launched via Super+Shift+X, omarchy-launch-webapp from a terminal, or the menu's exact command run from a terminal. We didn't capture verbose logs for those launches, so it's unknown whether they also kept the sensors open.

If a maintainer or anyone with a Surface or other HID-sensor-hub laptop can reproduce, this may belong upstream with Chromium's generic sensor implementation on Linux.


Drafted by Claude Opus 5 via Claude Code; reviewed and submitted by the reporter.

cgranier avatar Sep 14 '26 23:09 cgranier

Follow-up: sensors alone aren't lethal. The menu launch is still required

My last comment suggested this might be purely a Chromium sensor problem. One more test says otherwise.

The same setup as the fatal runs — https://x.com/, fresh --user-data-dir, --disable-extensions, --enable-logging --v=1, sensors allowed — was launched via omarchy-launch-webapp from a shell instead of the Super+Space menu, with the window kept focused:

08:46:02  castle.js fetched, WebRTC sockets opened, mDNS responder started (same as fatal runs)
08:46:15  Platform sensor created. Type ACCELEROMETER / LINEAR_ACCELERATION / GYROSCOPE / RELATIVE_ORIENTATION_EULER_ANGLES
          (never released)
08:47:14  still alive; closed normally with SIGTERM (75 s total, 59 s with sensors held open)
Launch Sensors held open Result
Super+Space menu (4 verbose-logged runs) yes browser gone 2–12 s after the sensors opened
omarchy-launch-webapp from a shell yes alive 59 s later, closed manually

So the motion sensors are necessary (blocking them for x.com fixes the menu launch) but not sufficient: something about launching from the Quickshell app menu is also required.

The following were already compared between a menu-launched Chromium and a surviving one, and all matched: environment variable names, ignored/blocked signals, RLIMIT_NOFILE, oom_score_adj, stdin/stdout/stderr (/dev/null), cgroup layout and parent (systemd --user).

Running the menu's exact command from a shell (bash -lc "uwsm-app -- gtk-launch 'X.desktop'") also survived.

What the menu launch changes remains unidentified.


Drafted by Claude Opus 5 via Claude Code; reviewed and submitted by the reporter.

cgranier avatar Sep 15 '26 12:09 cgranier

One thing the menu launch does change that isn't in your comparison list: the real-time CPU limit. On my machine everything started from the Super+Space menu has RLIMIT_RTTIME = 0 (hard), while keybinding and terminal launches have "unlimited". It comes from quickshell being a PipeWire client on a system without rtkit; details in #12443. A process with that limit is SIGKILLed by the kernel the moment one of its threads runs with real-time scheduling, with no core dump and no log line, which is what you describe.

I can't tell from here whether Chromium gets a real-time thread on your Surface while the sensors are open, so for your case this is a guess. Two checks would settle it:

grep realtime /proc/$(pgrep -o chromium)/limits          # menu launch vs. Super+Shift+X launch
ps -eLo pid,cls,rtprio,comm | grep -E ' (RR|FF) '         # with x.com open, launched from a terminal

If the first shows 0 only for the menu launch and the second lists a Chromium thread, that's it. prlimit --rttime=0:0 chromium --app=https://x.com/ from a terminal should then die the same way.

kh4rit-bot avatar Sep 18 '26 18:09 kh4rit-bot

Confirmed: it is RLIMIT_RTTIME=0, and Chromium never asks for a real-time thread

Thanks, that was the missing piece. The limit is the cause here too, with one difference from your guess: no Chromium thread ever runs SCHED_FIFO/RR by policy. The kernel boosts the thread that reads the motion sensors to real-time priority through priority inheritance, and that is enough for the RLIMIT_RTTIME watchdog to kill it.

Your two checks

$ grep -i realtime /proc/$(pgrep -x quickshell)/limits
Max realtime priority     0                    0
Max realtime timeout      0                    0                    us

A terminal shell has Max realtime timeout unlimited unlimited. rtkit is not installed.

ps -eLo pid,cls,rtprio,comm | grep -E ' (RR|FF) ' with x.com open never lists a Chromium thread (polled every 250 ms for 60 s). Max realtime priority is 0 everywhere, so Chromium could not get one anyway.

prlimit reproduces it from a terminal (fresh --user-data-dir, sensors allowed):

Launch Result
prlimit --rttime=0:0 chromium --user-data-dir=… --app=https://x.com/ exit status 137 (SIGKILL) after 11.3 s; second run the same
same without prlimit alive at 60 s, closed normally

It reproduces without Chromium. Six bash loops, each reading one sensor file with read -r v < file, 30 s:

Reader prlimit --rttime=0:0 no limit
in_accel_{x,y,z}_raw alive, ~40 reads each alive, ~65 reads each
in_anglvel_{x,y,z}_raw all three SIGKILLed (after 962, 1402 and 2991 reads) alive, ~9300 reads each

Why a plain read counts as real-time. On the Surface Pro 4 the sensors sit behind i2c-hid (i2c_designware.0/i2c-0/i2c-MSHW0030:00), and the i2c bus lock is an rt_mutex. Its interrupt thread irq/86-MSHW0030:00 runs SCHED_FIFO 50. When that thread waits for the bus while a reader holds it, the reader inherits priority 50. Sampling /proc/<pid>/stat of the unlimited readers in a tight loop shows it:

2210790 samples; kernel prio -51 with policy 0 (SCHED_OTHER):
  gyro readers   1515, 1726, 2193 sightings
  accel readers  15, 0, 26 sightings

With a limit of 0, the first scheduler tick that lands inside such a boost sends SIGKILL. That is why it needed X (the only site here that holds the motion sensors open), this hardware, and the menu launch, and why blocking sensors for x.com worked around it.

So this is the same bug as #12443, and it can hit any menu-launched process that holds a lock an RT kernel thread wants, not only programs that request real-time scheduling. With rtkit's 200 ms limit these short boosts should be harmless; I have not tested that.

Omarchy 4.0.4, linux-omarchy 7.2.5-3, Chromium 152.0.7977.82, quickshell 0.3.1, PipeWire 1.6.8.


Drafted by Claude Fable 5.1 via Claude Code; reviewed and submitted by the reporter.

cgranier avatar Sep 18 '26 18:09 cgranier

Your last comment found the cause, and it reproduces on a stock install. I checked on a VM built from the Omarchy ISO (omarchy 4.0.4, no rtkit). The portal reports RTTimeUSecMax 0, so any PipeWire client that starts after it, including the shell after a restart, takes a hard RLIMIT_RTTIME of 0/0. An app launched from the Super+Space apps menu inherits that through Util.execDetached in shell/services/AppLibrary.qml:85 and ran at 0/0. The same app dispatched by Hyprland, which is how a keybinding launches it, ran unlimited. A process that arms a thread CPU-time timer was SIGKILLed (exit 137) at 0/0 and survived at 200000/200000. Nothing on quattro changes this yet: rtkit is in neither package list.

This is the same defect as #12443, which was reported later with other victims (SteamVR, Electron apps).

#12428 fixes it. It adds rtkit to the base packages, and its migration installs rtkit and restarts the portal before the audio services. I ran that migration on the same VM, then restarted the shell the way omarchy update does at the end (bin/omarchy-update-restart). The shell and an app launched from the apps menu both came up with 200000/200000 instead of 0/0. I have linked this issue to that pull request, so it closes when the pull request merges. A shell that is already running keeps its zero until it restarts, so if the update cannot restart it (for example on a locked session), logging out and back in finishes the fix.

One part could not be tested: your trigger is specific to the Surface's i2c sensor hub. A 200 ms budget is what other distributions run with, and it removes the kill on the first boosted tick. The kernel resets the counter only when the thread sleeps and wakes, though, so a reader that is boosted repeatedly without sleeping could still use it up. If you want to check before the merge: sudo pacman -S rtkit, systemctl --user restart xdg-desktop-portal, omarchy-restart-shell, then open X from the menu with motion sensors allowed.

Codex at medium effort reviewed the diagnosis and the pull request. It agreed on the cause, the fix and that this issue is older than #12443, and it raised the point above about the budget accumulating across boosts. Its independence is not guaranteed.

Waiting on the maintainer to decide on #12428. Nothing is needed from you.

omarchybot avatar Oct 12 '26 00:10 omarchybot

Great root-cause work — RLIMIT_RTTIME=0 from the portal/PipeWire path explains the menu-only Chromium death, and omarchybot reproduced on a stock ISO.

Is anyone drafting the fix (raise/clear RLIMIT for app launches, or stop the portal from publishing RTTimeUSecMax 0)? Happy to review a PR when it lands.

jandrusk avatar Oct 13 '26 16:10 jandrusk