bruno: Flatpak won't start, hangs in the background

I have checked the following:

  • I use the newest version of bruno.
  • I’ve searched existing issues and found nothing related to my issue.

Describe the bug

Flatpak won’t start, it just hangs in the background. Tried uninstalling, repairing but it does not work. Bruno version: v1.28.0 (latest), branch: stable, installation: system

I am on: Linux fedora 6.10.9-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Sep 8 17:23:55 UTC 2024 x86_64 GNU/Linux Tried other 20 flatpak apps, they work fine.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

This is the log output when running: flatpak run -vv com.usebruno.Bruno bruno_error.txt

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 19 (3 by maintainers)

Most upvoted comments

Hey @janhohenheim, @jericirenej, thank you for reporting this issue. There might be a problem with the Flatpak Electron packages and Wayland 42 on Fedora Linux. This issue should be thoroughly investigated before implementing a fix.

We will work on it and update our findings in this thread. In the meantime, please use the direct .AppImage or apply @hschletz’s fix: /var/lib/flatpak/app/com.usebruno.Bruno/current/active/files/extra/bruno/bruno.

If anyone discovers something, please share it here

For me the bruno flatpak also doesn’t start anymore on Fedora 41 Gnome with Wayland.

$ flatpak run com.usebruno.Bruno    
[3:1211/093309.669406:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
Preferences file is located at: /home/kim/.var/app/com.usebruno.Bruno/config/bruno/preferences.json
[3:1211/093310.223890:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
[3:1211/093310.223926:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Datei oder Verzeichnis nicht gefunden
[3:1211/093310.339367:ERROR:wayland_event_watcher.cc(43)] libwayland: [destroyed object]: error 7: failed to import supplied dmabufs: Could not bind the given EGLImage to a CoglTexture2D

@deron-dev, thanks for the response. We will add this as our suggested workaround in the documentation for now, until we fix this.

Actually @Pragadesh-45, falling back to x11 is the only consistent workaround.

bruno --ozone-platform=x11

Running the above seems to reset something that makes the AppImage work without any args. After running the above then exiting bruno, if I run either of the below:

bruno
bruno --disable-gpu --disable-software-rasterizer

Bruno’s GUI will open. However, if I close the GUI and repeat one of the above two, the GUI does not appear.

When repeating

bruno --disable-gpu --disable-software-rasterizer

no errors appear, but, as said, the GUI does not open.

❯ ./bruno_2.7.0_x86_64_linux.AppImage --disable-gpu --disable-software-rasterizer
Preferences file is located at: /home/deron/.config/bruno/preferences.json
12:46:27.384 › AutoUpdater configured.
12:46:27.386 › Checking for update
12:46:29.435 › Update for version 2.7.0 is not available (latest version: 2.7.0, downgrade is disallowed).

*In commands, bruno stands in for bruno_2.7.0_x86_64_linux.AppImage

@Pragadesh-45, both of your suggestions:

./bruno_2.7.0_x86_64_linux.AppImage --disable-gpu --disable-software-rasterizer

and

./bruno_2.7.0_x86_64_linux.AppImage --ozone-platform=x11

work. Thanks for your help and the insights!

The latest flatpak from Flathub I can get to work is v1.23.1 (5e2b300b). The release after that – v1.24.0 (331e4780) --, does not work.

Updated flatpak version to latest 2.7.0 and it’s opening fine now.

The flatpak (v2.7.0) hangs for me as well, but neither the AppImage nor @hschletz’s fix work on my machine.

AppImage output
❯ ./bruno_2.7.0_x86_64_linux.AppImage
Preferences file is located at: /home/deron/.config/bruno/preferences.json
[19722:0703/144634.810530:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[19722:0703/144634.810558:ERROR:select_file_dialog_linux_portal.cc(294)] Failed to read portal version property
14:46:35.024 › AutoUpdater configured.
14:46:35.026 › Checking for update
[19809:0703/144635.146260:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[19809:0703/144635.146307:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[19809:0703/144635.146336:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[19809:0703/144635.146364:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[19809:0703/144635.146389:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[19809:0703/144635.146448:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[19722:0703/144635.152590:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
[19902:0703/144635.308475:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[19902:0703/144635.308513:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[19902:0703/144635.308537:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[19902:0703/144635.308559:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[19902:0703/144635.308581:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[19902:0703/144635.308615:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[19722:0703/144635.313672:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
[19977:0703/144635.436710:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[19977:0703/144635.436748:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[19977:0703/144635.436771:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[19977:0703/144635.436796:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[19977:0703/144635.436827:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[19977:0703/144635.436860:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[19722:0703/144635.441198:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
14:46:36.322 › Update for version 2.7.0 is not available (latest version: 2.7.0, downgrade is disallowed).
binary (from flatpak files) output
❯ /var/lib/flatpak/app/com.usebruno.Bruno/current/active/files/extra/bruno/bruno
Preferences file is located at: /home/deron/.config/bruno/preferences.json
[16104:0703/144125.594729:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[16104:0703/144125.594751:ERROR:select_file_dialog_linux_portal.cc(294)] Failed to read portal version property
14:41:25.645 › AutoUpdater configured.
14:41:25.646 › APPIMAGE env is not defined, current application is not an AppImage
[16166:0703/144125.737809:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[16166:0703/144125.737868:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[16166:0703/144125.737892:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[16166:0703/144125.737915:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[16166:0703/144125.737936:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Tr
ying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[16166:0703/144125.737965:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[16104:0703/144125.743074:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
[16265:0703/144125.868306:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[16265:0703/144125.868351:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[16265:0703/144125.868373:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[16265:0703/144125.868395:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[16265:0703/144125.868413:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[16265:0703/144125.868447:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[16104:0703/144125.872965:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704
[16335:0703/144125.995023:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
[16335:0703/144125.995059:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[16335:0703/144125.995082:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[16335:0703/144125.995105:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[16335:0703/144125.995127:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[16335:0703/144125.995161:ERROR:gpu_service_impl.cc(1161)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[16104:0703/144125.999946:ERROR:gpu_process_host.cc(982)] GPU process exited unexpectedly: exit_code=8704

System Info:

OS: Artix Linux x86_64 
Kernel: 6.14.9-artix1-1 
Resolution: 3840x2160 
WM: sway 
Theme: Artix-dark [GTK2/3] 
Icons: matefaenzadark [GTK2/3] 
GPU: AMD ATI 18:00.0 Raphael 
GPU: AMD ATI Radeon RX 7600/7600 XT/7600M XT/7600S/7700S / PRO W7600 

Just started happening to me on latest Bazzite (42.20250621), which is basically Fedora 42 with Wayland. Kernel 6.14.6-109.bazzite.fc42.x86_64.

Mentioned workaround and AppImage work, I’ll just the AppImage for now until issue is fixed.

Same here with Fedora 42 + Wayland

Same problem here even with the bus permissions set. The error messages are gone, but still no window. Running /var/lib/flatpak/app/com.usebruno.Bruno/current/active/files/extra/bruno/bruno directly works.

Other applications I tested work fine.

I read a lot about electron apps showing this behaviour under Wayland, but found no clue how to solve the problem.

Same thing is happening to me on Fedora 42 with Wayland. Running it via Flatpak hangs with various errors that are more or less similar to what others have posted- Running it directly works without problems