yang991178 / fluent-reader

Modern desktop RSS reader built with Electron, React, and Fluent UI
https://hyliu.me/fluent-reader/
BSD 3-Clause "New" or "Revised" License
7.79k stars 425 forks source link

Can't open version 1.1.4 in Fedora 38 (Flatpak) #604

Open leodip opened 1 year ago

leodip commented 1 year ago

When I try to open fluentreader in Fedora 38, using flatpak, I get an error.

[leodip@pcsfedora src]$ flatpak run me.hyliu.fluentreader 
[2:1020/175719.955954:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1020/175720.172897:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1020/175720.172912:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[leodip@pcsfedora src]$ 

Fedora 38, version 1.1.4 of fluentreader (flatpak), Gnome 44.5, Wayland.

kvibber commented 11 months ago

I get the same error on Fedora 39 on both Wayland and X11. Using flatseal to add socket=system-bus to Fluent Reader's flatpak config clears up the error.

But that also clears the way to get to the next error, which is different depending on X11 or Wayland.

On X11 I get the following error spamming the console, but Fluent Reader starts up correctly:

[41:1129/181423.156824:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)

On Wayland (both Gnome and KDE), I get the following errors and the executable keeps running, but doesn't open any windows (so it might as well not be running):

[49:1129/181108.600475:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[49:1129/181108.603727:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[49:1129/181108.603905:ERROR:shared_image_factory.cc(926)] CreateSharedImage: could not create backing.
[49:1129/181108.604061:ERROR:shared_image_factory.cc(758)] DestroySharedImage: Could not find shared image mailbox
[49:1129/181108.604378:ERROR:gpu_service_impl.cc(1089)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[2:1129/181108.623277:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=8704
[73:1129/181108.669284:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[85:1129/181108.755964:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[85:1129/181108.757583:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[85:1129/181108.757693:ERROR:shared_image_factory.cc(926)] CreateSharedImage: could not create backing.
[85:1129/181108.757775:ERROR:shared_image_factory.cc(758)] DestroySharedImage: Could not find shared image mailbox
[85:1129/181108.757897:ERROR:gpu_service_impl.cc(1089)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[73:1129/181108.760972:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[2:1129/181108.771024:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=8704
[98:1129/181108.912966:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[98:1129/181108.914563:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[98:1129/181108.914751:ERROR:shared_image_factory.cc(926)] CreateSharedImage: could not create backing.
[98:1129/181108.914865:ERROR:shared_image_factory.cc(758)] DestroySharedImage: Could not find shared image mailbox
[98:1129/181108.914996:ERROR:gpu_service_impl.cc(1089)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[73:1129/181108.918166:ERROR:command_buffer_proxy_impl.cc(319)] GPU state invalid after WaitForGetOffsetInRange.
[2:1129/181108.931780:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=8704
[73:1129/181109.067964:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.