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 nixos/hyprland "interface 'wl_surface' has no event" #7350

Closed
b3nb5n opened this issue Nov 9, 2023 · 6 comments
Closed

Crash on nixos/hyprland "interface 'wl_surface' has no event" #7350

b3nb5n opened this issue Nov 9, 2023 · 6 comments

Comments

@b3nb5n
Copy link

b3nb5n commented Nov 9, 2023

crashes immediately on startup. i have it installed through home manager, but it has the same error when launching from a nix shell. looks the same as #7083

OS: Linux/NixOS 23.05, Wayland, Hyprland v0.32.0
Version: 0.12.0

Logs

alacritty -vv --print-events

Created log file at "/tmp/Alacritty-283339.log"
[0.000002790s] [INFO ] [alacritty] Welcome to Alacritty
[0.000042260s] [INFO ] [alacritty] Version 0.12.0
[0.000046990s] [INFO ] [alacritty] Running on Wayland
[0.000210719s] [INFO ] [alacritty] Configuration files loaded from:
                                     "/home/ben/.config/alacritty/alacritty.yml"
                                     "/nix/store/iplzi7kigqp9qpy21vkj24749afnbam8-stylix/base16-stylix.yml"
[0.000367019s] [INFO ] [alacritty] winit event: NewEvents(Init)
[0.000377559s] [INFO ] [alacritty] winit event: Resumed
[0.022448081s] [INFO ] [alacritty] Using EGL 1.5
[0.030892680s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold, load_flags: NO_BITMAP | TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }
[0.034132694s] [INFO ] [alacritty] Window scale factor: 1
[0.034992010s] [DEBUG] [alacritty] Loading "DejaVu Sans Mono" font
[0.035271039s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Book, load_flags: NO_BITMAP | TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }
[0.035606387s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold, load_flags: NO_BITMAP | TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }
[0.035909456s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Oblique, load_flags: NO_BITMAP | TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }
[0.036229854s] [DEBUG] [crossfont] Loaded Face Face { ft_face: Font Face: Bold Oblique, load_flags: NO_BITMAP | TARGET_LIGHT, render_mode: "Lcd", lcd_filter: 1 }
[0.039195980s] [INFO ] [alacritty] Running on AMD Radeon RX 6600 XT (navi23, LLVM 15.0.7, DRM 3.49, 6.1.61)
[0.039212610s] [INFO ] [alacritty] Using OpenGL 3.3 renderer
[0.044294555s] [DEBUG] [alacritty] Filling glyph cache with common glyphs
[0.048005567s] [INFO ] [alacritty] Cell size: 10 x 19
[0.048020397s] [INFO ] [alacritty] Padding: 0 x 0
[0.048027917s] [INFO ] [alacritty] Width: 800, Height: 600
[0.048045957s] [INFO ] [alacritty] PTY dimensions: 31 x 80
[0.049891738s] [INFO ] [alacritty] Initialisation complete
[0.049939517s] [INFO ] [alacritty] winit event: NewEvents(Poll)
[0.049950247s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(94047725296080)), event: ScaleFactorChanged { scale_factor: 1.0, new_inner_size: PhysicalSize { width: 800, height: 600 } } }
[0.059209322s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(94047725296080)), event: Resized(PhysicalSize { width: 800, height: 600 }) }
[0.059224922s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(94047725296080)), event: Focused(false) }
[0.059232102s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(94047725296080)), event: Ime(Enabled) }
[0.059239882s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.059249702s] [INFO ] [alacritty] winit event: RedrawRequested(WindowId(WindowId(94047725296080)))
[0.059257852s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.060089408s] [INFO ] [alacritty] Font size changed to Size(24) with scale factor of 1
[0.060101308s] [INFO ] [alacritty] Cell size: 10 x 19
[0.060112698s] [DEBUG] [alacritty_terminal] Term::resize dimensions unchanged
[0.063484012s] [INFO ] [alacritty] Padding: 0 x 0
[0.063499412s] [INFO ] [alacritty] Width: 800, Height: 600
[0.075716502s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 33506, tv_nsec: 861224710 }, requested_resume: None })
[0.075737112s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(94047725296080))), payload: Terminal(Title(ben@bnixdsk: ~/.flake)) })
[0.075746592s] [INFO ] [alacritty] winit event: UserEvent(Event { window_id: Some(WindowId(WindowId(94047725296080))), payload: Terminal(Wakeup) })
[0.075753332s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.075758782s] [INFO ] [alacritty] winit event: RedrawEventsCleared
[0.076187400s] [INFO ] [alacritty] winit event: NewEvents(WaitCancelled { start: Instant { tv_sec: 33506, tv_nsec: 861696108 }, requested_resume: None })
[0.076198280s] [INFO ] [alacritty] winit event: MainEventsCleared
[0.076213340s] [INFO ] [alacritty] winit event: RedrawRequested(WindowId(WindowId(94047725296080)))
[0.076219190s] [INFO ] [alacritty] winit event: RedrawEventsCleared
interface 'wl_surface' has no event 2
[0.077119325s] [INFO ] [alacritty] winit event: LoopDestroyed
warning: queue 0x7f8db0000ca0 destroyed while proxies still attached:
  zwp_primary_selection_offer_v1@4278190082 still attached
  zwp_primary_selection_offer_v1@4278190081 still attached
  wl_data_offer@4278190080 still attached
  zwp_primary_selection_device_v1@25 still attached
  zwp_primary_selection_device_manager_v1@21 still attached
  wl_data_device@24 still attached
  wl_seat@23 still attached
  wl_data_device_manager@22 still attached
  wl_registry@20 still attached
warning: queue 0x558931270db0 destroyed while proxies still attached:
  xdg_wm_base@34 still attached
  wl_output@15 still attached
  wp_fractional_scale_manager_v1@14 still attached
  xdg_activation_v1@13 still attached
  zwp_text_input_manager_v3@12 still attached
  zwp_relative_pointer_manager_v1@11 still attached
  zwp_pointer_constraints_v1@10 still attached
  zxdg_decoration_manager_v1@9 still attached
  wl_seat@8 still attached
  wp_viewporter@7 still attached
  wl_subcompositor@6 still attached
  wl_compositor@5 still attached
  wl_shm@4 still attached
  wl_registry@2 still attached
warning: queue 0x5589312974b0 destroyed while proxies still attached:
  wl_callback@43 still attached
  wl_surface@31 still attached
[0.084818388s] [INFO ] [alacritty] Goodbye
Deleted log file at "/tmp/Alacritty-283339.log"
Error: "Event loop terminated with code: 1"
@kchibisov
Copy link
Member

update to 0.12.3

@b3nb5n
Copy link
Author

b3nb5n commented Nov 9, 2023

dont know how i didnt notice. thanks for the quick response.

@rileyrg
Copy link

rileyrg commented Jan 18, 2024

debian trixie update today. alacritty freezes on start. interface 'wl_surface' has no event 2.
Just added this for completeness in case anyone else looking --verison 0.12.2. Ill try from source.

@pielgrzym
Copy link

pielgrzym commented Jan 18, 2024

Anywhere we can get a deb with alacritty that fixes this blunder?

Nevermind, don't trust the debian package maintainer, better build this from source than be sorry.

@kchibisov
Copy link
Member

Well, debian is working on updating to 0.13.1. I remember asking them to include 0.12.3, but not sure whether it got propagated properly due to how they build stuff.

Maybe it got kind of lost, but yeah, it's a bit complicated.

@pielgrzym
Copy link

pielgrzym commented Jan 18, 2024

Thanks for clarification. I tought that even on Testing people at least run the stuff, but I guess I was wrong ;) anyways, forgot alacritty is in rust (and rust I love), so already built the latest version and it rocks!

EDIT: Was surprised how fast it builds :)

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

No branches or pull requests

4 participants