Apps that do not natively support Wayland protocol are displayed through XWayland compatibility layer on Wayland systems. Wayland protocol support fractional scaling of windows while rendering (users with unusual DPI setups need it), but XWayland (as X11) doesn’t. On Sway, this causes XWayland apps to be rendered in the 1x scale and then stretched (as images) to the needed scale, and it introduces some ugly artifacts like blur.
Since the latest Electron runs natively on Wayland, upgrading to it should clear fix the blur bug.
- Run Obsidian under Linux with Sway WM
- Set fractional scaling for one of your outputs, put e.g.
output … scale 1.5in Sway config
- Start Obsidian
Clean and crisp picture.
The window is displayed blurred.
- Operating system: Arch Linux
- Obsidian version:
Examples of how Obsidian looks with the blur (1.5× fractional scaling) and without it (1× scaling) on Sway: