You are not logged in.
Hardware
CPU: Intel Core i7-13650HX
GPU: NVIDIA GeForce RTX4060
Software & Drivers
NVIDIA driver: 575.64
Hyprland: 0.49.0
egl-gbm: 1.1.2.1-1
egl-wayland: 4:1.1.19-1
egl-x11: 1.0.2-1
eglexternalplatform: 1.2.1-1
Kernel modules (in /etc/mkinitcpio.conf)
MODULES=(btrfs nvidia nvidia_modeset nvidia_uvm nvidia_drm)
Boot options (in /boot/loader/entries/_linux.conf)
options root=PARTUUID=1b09524d-5fa8-4ca1-aa0e-a4437417204c zswap.enabled=0 rootflags=subvol=@ rw rootfstype=btrfs nvidia_drm.modeset=1
Hyprland NVIDIA env vars
env = LIBVA_DRIVER_NAME,nvidia
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = NVD_BACKEND,direct
env = GBM_BACKEND,nvidia-drm
Problem description
When launching any Electron-based app under Wayland (even via Flatpak), the GPU process repeatedly crashes. Logs:
obsidian --enable-features=UseOzonePlatform --ozone-platform=wayland
2025-06-19 17:09:56 Loading main app package /usr/lib/obsidian/obsidian.asar
2025-06-19 17:09:56 Checking for update using Github
2025-06-19 17:09:56 Success.
2025-06-19 17:09:56 Latest version is 1.8.10
2025-06-19 17:09:56 App is up to date.
[ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[ERROR:native_pixmap_egl_binding.cc(117)] Unable to initialize binding from pixmap
[ERROR:ozone_image_backing.cc(307)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[ERROR:shared_image_manager.cc(256)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[ERROR:gpu_service_impl.cc(1162)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[ERROR:gpu_process_host.cc(981)] GPU process exited unexpectedly: exit_code=8704
... (repeated)
[ERROR:wayland_event_watcher.cc(47)] libwayland: warning: queue destroyed while proxies still attached
After blacklisting the Intel i915 driver or disabling Intel modesetting, Electron apps work but laptop audio stops (I think the Intel driver handles speakers).
Steps already tried
Reinstalling the Electron apps
Switching between NVIDIA proprietary, open-dkms and open-beta drivers
Adjusting GPU priority in Hyprland
Blacklisting Intel driver (i915)
Disabling Intel modesetting
Question
What else can I try to get Electron apps working on Wayland with both NVIDIA and Intel GPUs enabled (so audio remains functional)? Are there specific kernel parameters, Hyprland/NVIDIA configuration tweaks, or patches for EGL/GBM that I’m missing?
I really don't need the iGPU but audio is a pretty big deal for me.
Last edited by m0r4a (2025-06-19 17:29:51)
Offline
Perhaps this?
https://wiki.archlinux.org/title/Waylan … ation_file
Similarly, a forum post on a similar topic - https://bbs.archlinux.org/viewtopic.php … 7#p2223407
Just a computer fanatic finally beginning to etch out of his shell in experience
"The man who chases two rabbits catches none." — Confucius
Offline
I've tried using the flags on the config file, directly when running the apps, as an env var on my .zshrc and on my hyprland config and still no luck
Offline