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

hyprlock crashing for 10 seconds then proceeds to work normally #650

Open
szlifierks opened this issue Jan 17, 2025 · 6 comments
Open

hyprlock crashing for 10 seconds then proceeds to work normally #650

szlifierks opened this issue Jan 17, 2025 · 6 comments

Comments

@szlifierks
Copy link

i use hyprlock as a primary login client and after every system restart it shows me the crash screen for about 10-15 secs before proceeding to work normally

@PaideiaDilemma
Copy link
Collaborator

is this really all I get in terms of debug information?? How does this issue even look like that????

What probably happens is that hyprlock crashes instantly but manages to recover somehow.

Please:

  • How do you launch hyprlock on system start?
  • Try to get some logs (|& tee hyprlock.log is your friend)
  • (optional) if you are able to build it yourself, do that and use coredumpctl to get a backtrace

@szlifierks
Copy link
Author

more specifically i launch it at hyprland start using exec-once and here are some logs i managed to collect, i don't see any errors here though.

[LOG] | got iface: wl_seat v9
[LOG] > Bound to wl_seat v9
[LOG] | got iface: wl_data_device_manager v3
[LOG] | got iface: wl_compositor v6
[LOG] > Bound to wl_compositor v6
[LOG] | got iface: wl_subcompositor v1
[LOG] | got iface: wl_shm v1
[LOG] | got iface: wp_viewporter v1
[LOG] > Bound to wp_viewporter v1
[LOG] | got iface: wp_tearing_control_manager_v1 v1
[LOG] | got iface: wp_fractional_scale_manager_v1 v1
[LOG] > Bound to wp_fractional_scale_manager_v1 v1
[LOG] | got iface: zxdg_output_manager_v1 v3
[LOG] | got iface: wp_cursor_shape_manager_v1 v1
[LOG] > Bound to wp_cursor_shape_manager_v1 v1
[LOG] | got iface: zwp_idle_inhibit_manager_v1 v1
[LOG] | got iface: zwp_relative_pointer_manager_v1 v1
[LOG] | got iface: zxdg_decoration_manager_v1 v1
[LOG] | got iface: wp_alpha_modifier_v1 v1
[LOG] | got iface: zwlr_gamma_control_manager_v1 v1
[LOG] | got iface: ext_foreign_toplevel_list_v1 v1
[LOG] | got iface: zwp_pointer_gestures_v1 v3
[LOG] | got iface: zwlr_foreign_toplevel_manager_v1 v3
[LOG] | got iface: zwp_keyboard_shortcuts_inhibit_manager_v1 v1
[LOG] | got iface: zwp_text_input_manager_v1 v1
[LOG] | got iface: zwp_text_input_manager_v3 v1
[LOG] | got iface: zwp_pointer_constraints_v1 v1
[LOG] | got iface: zwlr_output_power_manager_v1 v1
[LOG] | got iface: xdg_activation_v1 v1
[LOG] | got iface: ext_idle_notifier_v1 v1
[LOG] | got iface: ext_session_lock_manager_v1 v1
[LOG] > Bound to ext_session_lock_manager_v1 v1
[LOG] | got iface: zwp_input_method_manager_v2 v1
[LOG] | got iface: zwp_virtual_keyboard_manager_v1 v1
[LOG] | got iface: zwlr_virtual_pointer_manager_v1 v2
[LOG] | got iface: zwlr_output_manager_v1 v4
[LOG] | got iface: org_kde_kwin_server_decoration_manager v1
[LOG] | got iface: hyprland_focus_grab_manager_v1 v1
[LOG] | got iface: zwp_tablet_manager_v2 v1
[LOG] | got iface: zwlr_layer_shell_v1 v5
[LOG] | got iface: wp_presentation v1
[LOG] | got iface: xdg_wm_base v6
[LOG] | got iface: zwlr_data_control_manager_v1 v2
[LOG] | got iface: zwp_primary_selection_device_manager_v1 v1
[LOG] | got iface: xwayland_shell_v1 v1
[LOG] | got iface: zwlr_screencopy_manager_v1 v3
[LOG] > Bound to zwlr_screencopy_manager_v1 v3
[LOG] | got iface: hyprland_toplevel_export_manager_v1 v2
[LOG] | got iface: hyprland_global_shortcuts_manager_v1 v1
[LOG] | got iface: xdg_dialog_v1 v1
[LOG] | got iface: wp_single_pixel_buffer_manager_v1 v1
[LOG] | got iface: wp_security_context_manager_v1 v1
[LOG] | got iface: hyprland_ctm_control_manager_v1 v1
[LOG] | got iface: wp_drm_lease_device_v1 v1
[LOG] | got iface: wp_linux_drm_syncobj_manager_v1 v1
[LOG] | got iface: wl_drm v2
[LOG] | got iface: zwp_linux_dmabuf_v1 v5
[LOG] > Bound to zwp_linux_dmabuf_v1 v5
[LOG] | got iface: wl_output v4
[LOG] > Bound to wl_output v4
[LOG] Exposed seat name: Hyprland
[LOG] [core] dmabufFeedbackMainDevice
[LOG] output eDP-1 name eDP-1
[LOG] output 51 description Chimei Innolux Corporation 0x14F2 (eDP-1)
[LOG] output 51 make Chimei Innolux Corporation model 0x14F2
[LOG] output 51 done
[LOG] Running on Hyprland
[LOG] Locking session
[LOG] fprint: using device path /net/reactivated/Fprint/Device/0
[LOG] onLockLocked called
[LOG] Got fractional scale: 100.0%
[LOG] Got fractional scale: 100.0%
[LOG] configure with serial 4
[LOG] Configuring surface for logical [Vector2D: x: 1920, y: 1080] and pixel [Vector2D: x: 1920, y: 1080]
[LOG] Got fractional scale: 100.0%
[LOG] fprint: claimed device
[LOG] fprint: started verifying
[LOG] fprint: finger selected: right-middle-finger
[LOG] fprint: handling status verify-match
[LOG] fprint: stopped verification
[LOG] Unlocking session
[LOG] Unlocked, exiting!
[LOG] fprint: released device
[LOG] Reached the end, exiting

@PaideiaDilemma
Copy link
Collaborator

Can you try to reproduce without fingerprint?

@szlifierks
Copy link
Author

I couldn`t reproduce it without fprint

@PaideiaDilemma
Copy link
Collaborator

can you try this patch?

fingerprint_startup_patch.txt

@szlifierks
Copy link
Author

szlifierks commented Jan 17, 2025

Thanks, Ive tried it but couldnt compile "/usr/bin/ld: CMakeFiles/hyprlock.dir/src/core/AnimationManager.cpp.o: undefined reference to symbol '_ZN9Hyprutils9Animation17CAnimationManager8tickDoneEv'
/usr/bin/ld: /usr/lib/libhyprutils.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status" (checked if everything is up to date with pacman and aur)

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

2 participants