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

crash on startup: interface 'wl_surface' has no event 2 #294

Closed
cndofx opened this issue Dec 15, 2023 · 5 comments
Closed

crash on startup: interface 'wl_surface' has no event 2 #294

cndofx opened this issue Dec 15, 2023 · 5 comments
Labels
bug Something isn't working
Milestone

Comments

@cndofx
Copy link

cndofx commented Dec 15, 2023

Ludusavi version

v0.21.0

Operating system

Linux

Installation method

Other

Description

arch linux hyprland
I get this error when trying to launch ludusavi. I've tried installing through cargo and cloning and building the repo, both with the same issue.

Logs

interface 'wl_surface' has no event 2
warning: queue 0x7f6cfc000ca0 destroyed while proxies still attached:
zwp_primary_selection_device_v1@35 still attached
zwp_primary_selection_device_manager_v1@28 still attached
wl_data_device@34 still attached
wl_seat@33 still attached
wl_data_device_manager@32 still attached
wl_registry@31 still attached
warning: queue 0x5555568878a0 destroyed while proxies still attached:
zxdg_toplevel_decoration_v1@26 still attached
wl_pointer@25 still attached
wl_surface@24 still attached
wl_shm_pool@21 still attached
xdg_wm_base@20 still attached
wl_surface@19 still attached
wl_output@14 still attached
wl_output@13 still attached
xdg_activation_v1@12 still attached
zwp_text_input_manager_v3@11 still attached
zwp_relative_pointer_manager_v1@10 still attached
zwp_pointer_constraints_v1@9 still attached
zxdg_decoration_manager_v1@8 still attached
wl_seat@7 still attached
wl_subcompositor@6 still attached
wl_compositor@5 still attached
wl_shm@4 still attached
wl_registry@2 still attached

@cndofx cndofx added the bug Something isn't working label Dec 15, 2023
@mtkennerly
Copy link
Owner

Hi! Could you try setting WINIT_UNIX_BACKEND=x11 and/or ICED_BACKEND=tiny-skia in your environment variables? It's hard to say if this is an issue with your graphics drivers or with Ludusavi's graphics libraries, but those options may give you a workaround.

@cndofx
Copy link
Author

cndofx commented Dec 15, 2023

ICED_BACKEND=tiny-skia doesn't seem to work, but WINIT_UNIX_BACKEND=x11 does. I know you said it's hard to say if it's a problem with my drivers or with ludusavi, but does that new info tell you anything?

@mtkennerly
Copy link
Owner

I did some digging, and I think Smithay/client-toolkit#406 may be relevant. I've pushed a bugfix/wayland-startup branch of Ludusavi that updates to a version of smithay-client-toolkit with that fix. Could you try building that branch and let me know if it works?

@cndofx
Copy link
Author

cndofx commented Dec 16, 2023

bugfix/wayland-startup works great

@mtkennerly mtkennerly added this to the v0.22.0 milestone Dec 17, 2023
@mtkennerly
Copy link
Owner

Nice! Thanks for confirming. I'll include that fix in the next release :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants