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

Hyprland crashes on startup #5964

Closed
hershko opened this issue May 9, 2024 · 8 comments
Closed

Hyprland crashes on startup #5964

hershko opened this issue May 9, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@hershko
Copy link

hershko commented May 9, 2024

Hyprland Version

Latest version (v0.40.0-37-gd7aed240).

Bug or Regression?

Bug

Description

Hyprland crashes on startup.

How to reproduce

I installed the latest Hyprland on my machine (desktop PC, Nvidia 970, two external monitors). It crashes on startup.

Adding "cursor { no_hardware_cursors = true }" to the config file allows Hypeland to load. Got the suggestion to do so from the very helpful Hyprland Discord server, where people also suggested I open an issue so it can be fixed.

Crash reports, logs, images, videos


Hyprland Crash Report

I don't feel so good...

Hyprland received signal 11(SEGV)
Version: d7aed24
Tag: v0.40.0-37-gd7aed240

System info:
System name: Linux
Node name: machine-endeavour
Release: 6.8.9-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000

GPU:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204 [GeForce GTX 970] [10de:13c2] (rev a1) (prog-if 00 [VGA controller])

os-release:
NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/general-system/endeavouros-installation"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"
Backtrace:
# | Hyprland(_Z12getBacktracev+0x61) [0x5f8733b3fa41]
getBacktrace()
??:?
#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x189e) [0x5f8733acdbde]
CrashReporter::createAndSaveCrash(int)
??:?
#2 | Hyprland(_Z25handleUnrecoverableSignali+0x6d) [0x5f8733a6735d]
handleUnrecoverableSignal(int)
??:?
#3 | /usr/lib/libc.so.6(+0x3cae0) [0x7800a1b65ae0]
??
??:0
#4 | Hyprland(_ZN15CPointerManager18transformedHotspotE14CSharedPointerI8CMonitorE+0x6a) [0x5f8733bb3d8a]
CPointerManager::transformedHotspot(CSharedPointer)
??:?
#5 | Hyprland(_ZN15CPointerManager17setHWCursorBufferE14CSharedPointerINS_20SMonitorPointerStateEEP10wlr_buffer+0x98) [0x5f8733bb3fd8]
CPointerManager::setHWCursorBuffer(CSharedPointerCPointerManager::SMonitorPointerState, wlr_buffer*)
??:?
#6 | Hyprland(_ZN15CPointerManager21attemptHardwareCursorE14CSharedPointerINS_20SMonitorPointerStateEE+0x1fa) [0x5f8733bb5f0a]
CPointerManager::attemptHardwareCursor(CSharedPointerCPointerManager::SMonitorPointerState)
??:?
#7 | Hyprland(_ZN15CPointerManager19updateCursorBackendEv+0x1cc) [0x5f8733bb66dc]
CPointerManager::updateCursorBackend()
??:?
#8 | Hyprland(_ZN15CPointerManager21onMonitorLayoutChangeEv+0xf8) [0x5f8733bb80d8]
CPointerManager::onMonitorLayoutChange()
??:?
#9 | Hyprland(+0x28343b) [0x5f8733bb943b]
CPointerManager::damageCursor(CSharedPointer)
??:?
#1 | Hyprland(_ZN21CStaticSignalListener4emitESt3any+0x66) [0x5f8733b43766]
CStaticSignalListener::emit(std::any)
??:?
#11 | Hyprland(_ZN7CSignal4emitESt3any+0x16d) [0x5f8733b47c3d]
CSignal::emit(std::any)
??:?
#12 | Hyprland(_ZN13CHyprRenderer16applyMonitorRuleEP8CMonitorP12SMonitorRuleb+0xc68) [0x5f8733c4dce8]
CHyprRenderer::applyMonitorRule(CMonitor*, SMonitorRule*, bool)
??:?
#13 | Hyprland(_ZN8CMonitor9onConnectEb+0xdaf) [0x5f8733b417ef]
CMonitor::onConnect(bool)
??:?
#14 | Hyprland(_ZN6Events18listener_newOutputEP11wl_listenerPv+0x2a0) [0x5f8733b283d0]
Events::listener_newOutput(wl_listener*, void*)
??:?
#15 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7800a26c701e]
??
??:0
#16 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7800a26c701e]
??
??:0
#17 | Hyprland(scan_drm_connectors+0x40c) [0x5f8733c6677c]
scan_drm_connectors
??:?
#18 | Hyprland(+0x330b8b) [0x5f8733c66b8b]
scan_drm_connectors
??:?
#19 | Hyprland(+0x3359cd) [0x5f8733c6b9cd]
handle_x11_configure_notify
??:?
#2 | Hyprland(_ZN11CCompositor15startCompositorEv+0x55a) [0x5f8733a6caca]
CCompositor::startCompositor()
??:?
#21 | Hyprland(main+0x88a) [0x5f8733a1798a]
main
??:?
#22 | /usr/lib/libc.so.6(+0x25c88) [0x7800a1b4ec88]
??
??:0
#23 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x7800a1b4ed4c]
??
??:0
#24 | Hyprland(_start+0x25) [0x5f8733a41185]
_start
??:?

Log tail:
[LOG] Attached pointer razer-razer-blackwidow-lite-keyboard-1 to global
[LOG] Applied config to mouse logitech-usb-optical-mouse, sens 0.00
[LOG] Applied config to mouse razer-razer-blackwidow-lite-keyboard-1, sens 0.00
[LOG] New mouse created, pointer WLR: 5f87362c7330
[LOG] Attached a mouse with name Razer Razer BlackWidow Lite
[LOG] Registered signal for owner 5f8736318300: 5f8736317f90 -> 5f8736318600 (owner: CMouse)
[LOG] Registered signal for owner 5f8736318300: 5f8736317fb8 -> 5f8736318668 (owner: CMouse)
[LOG] Registered signal for owner 5f8736318300: 5f8736317fc8 -> 5f87363186d0 (owner: CMouse)
[LOG] Registered signal for owner 5f8736318300: 5f8736317fd8 -> 5f8736318738 (owner: CMouse)
[LOG] Registered signal for owner 5f8736318300: 5f8736317fe8 -> 5f87363187a0 (owner: CMouse)
[LOG] Registered signal for owner 5f8736318300: 5f8736317ff8 -> 5f8736318808 (owner: CMouse)
[LOG] Registered signal for owner 5f8736318300: 5f8736318008 -> 5f8736318870 (owner: CMouse)
[LOG] Registered signal for owner 5f8736318300: 5f8736318028 -> 5f87363188d8 (owner: CMouse)
[LOG] Registered signal for owner 5f8736318300: 5f8736318018 -> 5f8736318940 (owner: CMouse)
[LOG] Registered signal for owner 5f8736318300: 5f8736318038 -> 5f87363189a8 (owner: CMouse)
[LOG] Registered signal for owner 5f8736318300: 5f8736318058 -> 5f8736318a10 (owner: CMouse)
[LOG] Registered signal for owner 5f8736318300: 5f8736318048 -> 5f8736318a78 (owner: CMouse)
[LOG] Registered signal for owner 5f8736318300: 5f8736318068 -> 5f8736318ae0 (owner: CMouse)
[LOG] Registered signal for owner 5f8736318300: 5f8736318078 -> 5f8736318b48 (owner: CMouse)
[LOG] New mouse has libinput sens 0.00 (0.00) with accel profile 2 (2)
[LOG] Attached pointer razer-razer-blackwidow-lite-1 to global
[LOG] Applied config to mouse logitech-usb-optical-mouse, sens 0.00
[LOG] Applied config to mouse razer-razer-blackwidow-lite-keyboard-1, sens 0.00
[LOG] Applied config to mouse razer-razer-blackwidow-lite-1, sens 0.00
[LOG] New mouse created, pointer WLR: 5f8736317f80
[LOG] Attached a keyboard with name Eee PC WMI hotkeys
[LOG] Registered signal for owner 5f87363190c0: 5f8736318bd8 -> 5f87363192e8 (owner: CKeyboard)
[LOG] Registered signal for owner 5f87363190c0: 5f8736318cf8 -> 5f8736319350 (owner: CKeyboard)
[LOG] Registered signal for owner 5f87363190c0: 5f8736318d18 -> 5f8736319420 (owner: CKeyboard)
[LOG] Registered signal for owner 5f87363190c0: 5f8736318d08 -> 5f87363193b8 (owner: CKeyboard)
[LOG] Registered signal for owner 5f87363190c0: 5f8736318d28 -> 5f8736319488 (owner: CKeyboard)
[LOG] ApplyConfigToKeyboard for "eee-pc-wmi-hotkeys", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: )
[LOG] Updating keyboard 5f87363190c0's translation state from an active index 0
[LOG] Set the keyboard layout to us and variant to for keyboard "eee-pc-wmi-hotkeys"
[LOG] New keyboard created, pointers Hypr: 5f87363190c0 and WLR: 5f8736318bc8
[LOG] Registered signal for owner 5f873637df30: 5f873638ffa8 -> 5f873637e440 (owner: )
[LOG] Registered signal for owner 5f873637df30: 5f8736390038 -> 5f873637e4a8 (owner: )
[LOG] Registered signal for owner 5f873637df30: 5f8736390028 -> 5f873637e510 (owner: )
[LOG] Registered signal for owner 5f873637df30: 5f873638ffb8 -> 5f873637e578 (owner: )
[LOG] Registered signal for owner 5f873637df30: 5f873638ffc8 -> 5f873637e5e0 (owner: )
[LOG] Registered signal for owner 5f873637df30: 5f873638ffe8 -> 5f873637e648 (owner: )
[LOG] Registered signal for owner 5f873637df30: 5f8736390008 -> 5f873637e6b0 (owner: )
[WARN] No rule found for HDMI-A-1, trying to use the first.
[LOG] Applying monitor rule for HDMI-A-1
[LOG] Setting preferred mode for HDMI-A-1
[LOG] output HDMI-A-1 succeeded basic test on format DRM_FORMAT_XRGB8888
[LOG] Monitor HDMI-A-1 -> destroyed all render data
[LOG] arrangeMonitors: 1 to arrange
[LOG] arrangeMonitors: HDMI-A-1 auto [-1, -1]
[LOG] arrangeMonitors: HDMI-A-1 xwayland [0, 0]
[LOG] Monitor HDMI-A-1 data dump: res 2560x1440@59.95Hz, scale 1.00, transform 0, pos 0x0, 10b 0

@hershko hershko added the bug Something isn't working label May 9, 2024
@gksudolol
Copy link

I'm also experiencing this since d7aed24

(nvidia, gentoo, etc..)

hyprlandCrashReport2002.txt

@wxlyyy
Copy link

wxlyyy commented May 9, 2024

This issue occurs when using nvidia, but intel will be fine

@aarrayy
Copy link

aarrayy commented May 9, 2024

This issue occurs when using nvidia, but intel will be fine

it also happens on my case and i'm using an AMD GPU

@Agent00Ming
Copy link
Contributor

Yeah, looks like this bug slipped in one of the later revisions of #5902, can't exactly catch all the bugs when like 3 testers show up. Anyways, I can reproduce the crash when muxed to nvidia:
hyprlandCrashReport4359.txt
hyprland_debug_trace_wlr.log

@vaxerski
Copy link
Member

vaxerski commented May 9, 2024

should be fixed, lmk

@gksudolol
Copy link

can confirm

@Agent00Ming
Copy link
Contributor

Fixed on my end

@vaxerski vaxerski closed this as completed May 9, 2024
@aarrayy
Copy link

aarrayy commented May 9, 2024

Sorry for being late but yep, also fixed for me yupii

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

6 participants