Obsidian doesn't launch in wayland mode on KDE multimonitor setup

Steps to reproduce

  • be on a multi monitor setup on a kde wayland session (I am not sure if there should be different scaling options for both the monitors, but I do since its necessary as one of the screens is smaller than the other one)
  • download obsidian appimage v1.8.4 for linux
  • mark it as executable using chmod +x
  • in the terminal, launch it in wayland mode using these flags: --enable-features=UseOzonePlatform --ozone-platform=wayland
  • I get some errors which are given below

Did you follow the troubleshooting guide? [Y/N]

Yes, I followed the steps

Expected result

Obsidian launches in wayland with crisp sharp text

Actual result

  • I get the following errors:
./Obsidian-1.8.4.AppImage --enable-features=UseOzonePlatform --ozone-platform=wayland
2025-02-09 14:16:19 Loading main app package /tmp/.mount_ObsidiMMJlf4/resources/obsidian.asar
Ignored: Error: ENOENT: no such file or directory, unlink '/home/kunal/.config/obsidian/be692dee6c1763a5.json'
2025-02-09 14:16:20 Checking for update using Github
2025-02-09 14:16:20 Success.
2025-02-09 14:16:20 Latest version is 1.8.4
2025-02-09 14:16:20 App is up to date.
[7811:0209/194620.830566:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
[7811:0209/194620.833064:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[7811:0209/194620.833329:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[7811:0209/194620.833558:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[7811:0209/194620.833724:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[7811:0209/194620.833937:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[7730:0209/194620.850855:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
[7871:0209/194621.384868:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
[7871:0209/194621.385098:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[7871:0209/194621.385265:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[7871:0209/194621.385382:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[7871:0209/194621.385457:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[7871:0209/194621.385597:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[7730:0209/194621.397818:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
[7911:0209/194621.839019:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
[7911:0209/194621.839190:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[7911:0209/194621.839280:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[7911:0209/194621.839471:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[7911:0209/194621.839617:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[7911:0209/194621.839782:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[7730:0209/194621.852887:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
  • Also, obsidian launches, but has a blank window

image

Environment

SYSTEM INFO:
	Obsidian version: v1.8.4
	Installer version: v1.8.4
	Operating system: #1 SMP PREEMPT_DYNAMIC Sat, 08 Feb 2025 18:54:55 +0000 6.13.2-arch1-1
	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

Please note that I launched the obsidian app from the appimage without any additional flags to get this debug info. Launching without flags launches it in xwayland mode which gives blurry text on wayland with multiple monitors having different fractional scaling


Additional information

  • I found out from the developer tools (in the xwayland mode) that the appimage uses electron version “33.3.2”. My system electron version 33.4.0 which is installed from arch linux repos launches fine on wayland with multiple monitors.
  • Obsidian launches fine when I turn off one of my monitors on the wayland session when run using the same flags as above that is ./Obsidian-1.8.4.AppImage --enable-features=UseOzonePlatform --ozone-platform=wayland, although I still get some errors
2025-02-09 14:30:14 Loading main app package /tmp/.mount_ObsidiiF05mb/resources/obsidian.asar
2025-02-09 14:30:15 Checking for update using Github
2025-02-09 14:30:16 Success.
2025-02-09 14:30:16 Latest version is 1.8.4
2025-02-09 14:30:16 App is up to date.
[10879:0209/200016.558378:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
[10879:0209/200016.561541:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[10879:0209/200016.561701:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[10879:0209/200016.561824:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[10879:0209/200016.561916:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[10879:0209/200016.562083:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[10794:0209/200016.578244:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
[10972:0209/200017.168781:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
[10972:0209/200017.168910:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[10896:0209/200017.169025:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[10972:0209/200017.169001:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[10972:0209/200017.169206:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[10972:0209/200017.169297:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[10972:0209/200017.169390:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[10794:0209/200017.181620:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
[11010:0209/200017.699861:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003003
[11010:0209/200017.700089:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[11010:0209/200017.700202:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[11010:0209/200017.700346:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[11010:0209/200017.700445:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[11010:0209/200017.700631:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[10794:0209/200017.713460:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
[11056:0209/200019.379989:ERROR:gles2_cmd_decoder_passthrough.cc(1053)] [GroupMarkerNotSet(crbug.com/242999)!:A0A01C00A4030000]Automatic fallback to software WebGL has been deprecated. Please use the --enable-unsafe-swiftshader flag to opt in to lower security guarantees for trusted content.
[11056:0209/200019.384933:ERROR:gles2_cmd_decoder_passthrough.cc(1053)] [GroupMarkerNotSet(crbug.com/242999)!:A0A01C00A4030000]Automatic fallback to software WebGL has been deprecated. Please use the --enable-unsafe-swiftshader flag to opt in to lower security guarantees for trusted content.
[10794:0209/200022.186425:ERROR:wayland_event_watcher.cc(47)] libwayland: warning: queue 0x21ec007305c0 destroyed while proxies still attached:

[10794:0209/200022.186557:ERROR:wayland_event_watcher.cc(47)] libwayland:   wl_shm_pool#49 still attached

After closing it, it refuses to launch again with the same flags even when a single monitor is on.

  • I am on a laptop with the following specs

Operating System: Garuda Linux
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: HP
Product Name: OMEN by HP Gaming Laptop 16-xd0xxx

  • Garuda linux is a distro based on arch linux

Update: This no longer works either, it fails to launch with a single monitor even on a fresh boot

Update: Obsidian version 1.7.7 works with the above flags and launches correctly with both monitors on

We’ll see if we get more reports about this.

Update: Obsidian 1.7.7 doesn’t work either now

It’s possible that this hasn’t anything to do neither with one or two monitors nor with 1.7.7 or 1.8.3.
It’s possible that this is a problem specific to your system

I’ll keep this thread open for now, maybe some other user bumps into this.

Actually i do get the same as of today on a KDE/wayland installation.

$ obsidian
2025-02-12 16:20:44 Loading updated app package /home/me/.config/obsidian/obsidian-1.8.5.asar
2025-02-12 16:20:45 Checking for update using Github
2025-02-12 16:20:45 Success.
2025-02-12 16:20:45 Latest version is 1.8.5 (insider)
2025-02-12 16:20:45 App is up to date.
[17546:0212/172045.117930:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[17546:0212/172045.117959:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[17546:0212/172045.117977:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[17546:0212/172045.117992:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[17546:0212/172045.118004:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[17546:0212/172045.118027:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[17464:0212/172045.121054:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
[17560:0212/172045.167249:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[17624:0212/172045.172171:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[17624:0212/172045.172202:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[17624:0212/172045.172243:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[17624:0212/172045.172284:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[17624:0212/172045.172305:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[17624:0212/172045.172354:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[17464:0212/172045.175204:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
[17682:0212/172045.224213:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[17682:0212/172045.224244:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[17682:0212/172045.224257:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[17682:0212/172045.224272:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[17682:0212/172045.224285:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[17682:0212/172045.224318:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[17560:0212/172045.225860:ERROR:command_buffer_proxy_impl.cc(324)] GPU state invalid after WaitForGetOffsetInRange.
[17464:0212/172045.226846:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
Operating System: Arch Linux 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 7900 XTX

But it seems these errors are not even it…

When i right click the “broken” icon in the taskbar and click “open new window” or simply start another obsidian session from command line, the vault selector shows up fine.

If i close the first instance then and keep the second running and starting yet another instance, i can successfully access my main vault just fine…