Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element window not showing up #382

Closed
Guanran928 opened this issue Jul 12, 2023 · 6 comments
Closed

Element window not showing up #382

Guanran928 opened this issue Jul 12, 2023 · 6 comments

Comments

@Guanran928
Copy link

Guanran928 commented Jul 12, 2023

System info:
https://linux-hardware.org/?probe=c0af461776
(Arch Linux, nVidia + Intel hybrid laptop, Wayland)

What happened:

  1. I tried running element with flatpak run im.riot.Riot --proxy-server=127.0.0.1:7890
  2. No window showed up except the tray icon.

(I am using a proxy server because Matrix is banned at where I live)

Logs (flatpak run ... > element.log):
element.log

The Element package provided by my distribution is working well.

@Heus-Sueh
Copy link

same here

@Guanran928
Copy link
Author

Solved: Disable Wayland Window System (socket=wayland) in flatpak.

@pieterdd
Copy link

pieterdd commented Feb 7, 2024

This solved it for me, thanks. Does the Flatpak distribution control the default value of this setting? If so it might be possible to make it work out of the box.

@Guanran928
Copy link
Author

@pieterdd I think you can, see here.

@pieterdd
Copy link

pieterdd commented Feb 8, 2024

The X version works for me. In the meantime, I'll share some logs here if it helps debug:

❯ flatpak run im.riot.Riot
[3:0208/172155.259389: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
/home/pieter/.var/app/im.riot.Riot/config/Element exists: yes
/home/pieter/.var/app/im.riot.Riot/config/Riot exists: no
LaunchProcess: failed to execvp:
xdg-settings
[3:0208/172156.083567: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
[3:0208/172156.083665: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
Starting auto update with base URL: https://packages.element.io/desktop/update/
Auto update not supported on this platform
Fetching translation json for locale: en_EN
Changing application language to en
Fetching translation json for locale: en
Resetting the UI components after locale change
Resetting the UI components after locale change
[3:0208/172156.239932:ERROR:browser_main_loop.cc(276)] Gtk: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
[47:0208/172156.248609:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.248778:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.248913:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.249033:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.249156:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.249276:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.249398:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.249480:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[47:0208/172156.249573:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.249689:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.249828:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.249948:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.250072:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.250216:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.250340:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[47:0208/172156.250432:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[47:0208/172156.250488:ERROR:shared_image_factory.cc(962)] CreateSharedImage: could not create backing.
[47:0208/172156.250544:ERROR:shared_image_factory.cc(766)] DestroySharedImage: Could not find shared image mailbox
[47:0208/172156.250643:ERROR:gpu_service_impl.cc(1105)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[3:0208/172156.272780:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=8704
[74:0208/172156.291343:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[92:0208/172156.375761:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.375928:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.376057:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.376193:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.376322:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.376450:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.376578:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.376667:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[92:0208/172156.376772:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.376907:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.377030:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.377152:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.377279:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.377405:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.377529:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[92:0208/172156.377616:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[92:0208/172156.377671:ERROR:shared_image_factory.cc(962)] CreateSharedImage: could not create backing.
[92:0208/172156.377733:ERROR:shared_image_factory.cc(766)] DestroySharedImage: Could not find shared image mailbox
[92:0208/172156.377824:ERROR:gpu_service_impl.cc(1105)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[74:0208/172156.383252:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[3:0208/172156.399029:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=8704
[110:0208/172156.487027:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.487192:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.487330:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.487454:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.487575:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.487697:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.487830:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.487923:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[110:0208/172156.488027:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.488149:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.488276:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.488410:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.488533:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.488655:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.488779:ERROR:gbm_wrapper.cc(75)] Failed to get fd for plane.: No such file or directory (2)
[110:0208/172156.488876:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[110:0208/172156.488934:ERROR:shared_image_factory.cc(962)] CreateSharedImage: could not create backing.
[110:0208/172156.488993:ERROR:shared_image_factory.cc(766)] DestroySharedImage: Could not find shared image mailbox
[110:0208/172156.489090:ERROR:gpu_service_impl.cc(1105)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.
[3:0208/172156.508923:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=8704
[74:0208/172156.585201:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
Changing application language to en
Fetching translation json for locale: en
Resetting the UI components after locale change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants