Scoria

Troubleshooting

It will not start

On Linux, nothing happens or it exits immediately. GPUI loads its Wayland, X11, Vulkan and GL libraries at run time. If they are not on the loader path, it dies early.

  • On NixOS: run it through the repository's shell.nix (nix-shell, then cargo run or the binary), or use nix-ld. A downloaded binary needs those libraries like any other dynamically linked program.
  • Elsewhere: install your distribution's Vulkan driver package (mesa-vulkan-drivers, vulkan-radeon, nvidia-utils, as applicable), libxcb, libxkbcommon and the ALSA library (libasound, which the audio recorder and player link).
  • Check the terminal output. Start it from a terminal rather than a launcher — GPUI's failures are printed, not shown in a dialog.

On macOS, "cannot be opened because the developer cannot be verified". It is not notarized. Try to open it, then choose Open Anyway under System Settings › Privacy & Security. On older versions of macOS, right-click › Open also works. From a terminal, use xattr -dr com.apple.quarantine /Applications/Scoria.app, or the path where you put the app.

On Windows, SmartScreen blocks it. It is not code signed. More info › Run anyway.

It crashes on an NVIDIA GPU. If you built from source without --locked, you may have resolved a newer gpui from crates.io, which is stale and crashes on NVIDIA. Rebuild with cargo build --release --locked.

Note

The Windows and macOS builds are run on real hardware, but for a fraction of the hours Linux gets. If one of them fails to start, that is worth an issue — include the terminal output.

Nothing renders bold

The pinned GPUI cannot select weights out of a variable font. With a single-file variable font — Noto Sans's one NotoSans.ttf for every weight is the usual culprit — every weight shapes as regular.

Set a font with real static Bold faces under Settings › Appearance, or in appearance.json:

json
{
  "textFontFamily": "Liberation Sans",
  "interfaceFontFamily": "Liberation Sans"
}

The default font, Inter, is bundled as separate static faces for exactly this reason, so clearing the font setting works too. So does any family with separate Regular and Bold files.

A formula shows its source in red

The formula did not parse. Scoria typesets math with a KaTeX-compatible engine, and Obsidian with MathJax; the two agree on nearly all of what people write, but a MathJax-only command (\require, a \newcommand defined in another formula, a few AMS extensions) is a parse error here, and a parse error is shown the way MathJax shows one — the source, in red. A formula that is red in Obsidian too simply has a typo. See tables, code and math.

HTML or a remote image does not show

Common HTML tags render; <iframe>, <form> and other tags Scoria has no drawing for show as source. A remote image that is a paragraph of its own loads over HTTP or HTTPS, so its host sees the request. If the request fails or the file is over 64 MB, the image's alt text shows instead. In a heading or a table cell a remote image stays a link. See what differs.

A .base file does not open

A .base opens as a table, cards, list or kanban, and a .canvas in a canvas view. Check that the file opens in Obsidian. If it opens there and not in Scoria, that is a bug worth reporting with the file. Formats covers both.

Almost always two notes sharing a basename. Obsidian's resolution order is not "nearest first", and Scoria matches it:

  1. A file at the vault root wins.
  2. Then a file in the linking note's own folder.
  3. Then the shortest path.
  4. Then path order.

So [[Zed]] in Long/Way/Down/C.md goes to Zed.md at the root, not to the sibling. To force a specific file, write more of the path: [[Long/Way/Down/Zed]].

If Scoria and Obsidian disagree about where a link goes, that is a bug — please report it with the two paths and the link text.

A note looks different from Obsidian

Check what differs first — math, HTML, remote images and Mermaid's small gaps are all known.

If it is none of those, it is a parser bug and a valuable one. The useful report is the smallest note that shows it, plus what Obsidian renders. The project keeps a 1,009-note corpus of Obsidian's own output as a test ratchet, and a reproducing note gets added to it.

I cannot change a setting

Most rows do write — see Settings — and that includes the three fonts, the accent color, the theme and the CSS snippets. Some rows only show a value: among them the vault name and folder, Language, Override config folder, some options of plugins Scoria does not have, and the pinned commands under Command palette. Change the pins in Obsidian.

A row that writes but changes nothing you can see is a different thing, and the row says so itself: "not in Scoria yet" means Scoria does not act on it, and "on restart" means it is read at startup: the window frame style and, on Linux, the custom app icon (which only X11 shows). Themes and fonts change while the app runs.

A file changed and I did not change it

Take this seriously and please report it, after checking it against everything Scoria writes.

The best way to see what happened, and the reason to keep a vault in git: git diff. A diff showing a change you did not make is a bug report that needs almost no words.

Two things that are expected and can look surprising:

  • A rename rewrote links in many notes. Either alwaysUpdateLinks is on, or you chose Just once or Always update when Scoria asked. It is off by default; Always update turns it on. Turn off Automatically update internal links in either app and Scoria asks first. The rules are in managing notes.
  • Line endings or a BOM look different in a tool. They should not be: Scoria restores both as it found them. If a tool reports otherwise, that is a bug — say so.

Editing feels laggy in a huge note

Start Scoria with the environment variable SCORIA_DEBUG_STATUS=1 and watch the status bar while you type: it then shows the parse time, the span count and the shaping time. Typing itself never waits on the parser (it runs on a background thread), but the decorations — syntax highlighting, Live Preview's hidden markers — refresh only after a reparse, which on a 50,000-line note is about a quarter of a second.

Also: make sure you are running a release build. A debug build also parses in the background, but without optimization, so the decorations lag further behind.

Incremental reparse of just the edited block is the planned fix. See performance.

Search found nothing I expected

Precedence. The implicit AND binds tighter than OR, so a b OR c means (a AND b) OR c. Parenthesise what you meant, and use the explain output to see how your query was read. The whole grammar is in search syntax.

Also note that tag:#project matches child tags like #project/scoria — a parent matches its children.

My community plugins are listed but do nothing

They are listed from community-plugins.json and their manifests, and they are not executed. Obsidian plugins are JavaScript against an Electron app; Scoria is a native binary. This is permanent — see tier 4.

Reporting a bug

GitHub issues or git.ragtux.com. What helps:

  • Your platform, and whether you built from source or downloaded a release.
  • The smallest note or vault that shows it. A three-line note beats a description.
  • What Obsidian does with the same file, if the bug is a difference.
  • Terminal output, if it crashed or would not start.
  • git diff, if a file changed unexpectedly.

Next

Source: sites/scoria/content/docs/reference/troubleshooting.md