Crash on Asahi linux fedora remix / Raspberry PI / arm64 - Rendering is broken on aarch64 machines with 16K pages

Remove ~/.config/obsidian and re-add all vaults temporary solved the issues.

Before, any action triggers the WebFrame (like zoom-in/zoom-out, switch from other windows to Obsidian) all makes it crashed.

System: Raspberry Pi 5 – Raspberry Pi OS 64-bit (aarch64)
Page size: Likely 16K (default on Raspberry Pi OS)
Obsidian version: 1.8.10
Install method: Official AppImage from Obsidian Releases
Issue: Immediate crash after launch without any special flags
Log: Multiple gbm_wrapper.cc and gl_surface_presentation_helper.cc errors, followed by segmentation fault
Fix: Launching with the flag --js-flags="--nodecommit_pooled_pages" prevents crash
Stability: No crash after several minutes of use (tested with vault open and basic navigation)
Suggestion: This flag may need to be enabled automatically on Electron apps running on 16K page ARM64 systems

SYSTEM INFO:
Obsidian version: v1.8.10
Installer version: v1.8.10
Operating system: #1 SMP PREEMPT_DYNAMIC Wed Apr 16 12:06:15 UTC 2025 6.14.2-401.asahi.fc42.aarch64+16k
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

For those looking for a quick fix while we wait for upstream fixes:

sudo flatpak update --commit=e0197f03485a10176f5926dbf00fc21a3f9785edf6ad171bbe9b2161638f3d6f md.obsidian.Obsidian

That downgrades to 1.8.7 which does not have this regression.

@covalent Would you have time to test a workaround for Obsidian on aarch64? This appears to be a common enough issue that it may as well have a workaround included in the launcher script:

$ flatpak install --user https://dl.flathub.org/build-repo/203289/md.obsidian.Obsidian.flatpakref
$ flatpak run --user md.obsidian.Obsidian//test

Hey all, I have added --js-flags to the Obisidian flatpak. It should improve stability for ARM users:

$ flatpak remote-info --log flathub md.obsidian.Obsidian

Obsidian - Markdown-based knowledge base

        ID: md.obsidian.Obsidian
       Ref: app/md.obsidian.Obsidian/x86_64/stable
      Arch: x86_64
    Branch: stable
   Version: 1.8.10
   License: LicenseRef-proprietary=https://obsidian.md/eula
Collection: org.flathub.Stable
  Download: 203.8 MB
 Installed: 651.7 MB
   Runtime: org.freedesktop.Platform/x86_64/24.08
       Sdk: org.freedesktop.Sdk/x86_64/24.08

    Commit: f92117d1892a33d7138b9b3f40692041347544947b23c94c42f479625508445b
    Parent: 6afaf0547bb75926a177e5fcdab9af24d83272a754ac78a33b0dbca348e464c7
   Subject: Add --js-flags for improving stability on ARM (#454) (65a14f6a6e5c)
      Date: 2025-08-16 01:27:16 +0000

Let me know if there are any issues!

Version 1.9.10 ships with a new version of electron. It should fix this problem.

You have to download and reinstall Obsidian from the website to make sure you are running the latest electron version.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.