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
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