Hyprland: Crash report

Hyprland Version

hyprland doesn’t start at all, the commit hash is very recent

Bug or Regression?

Bug

Description

Segfaulted on startup, happens with default config as well.

How to reproduce

https://GitHub.com/RGBCube/NixOSConfiguration

from here it’s machines/enka/hyprland/default.nix, it has the raw configuration file

Crash reports, logs, images, videos

--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
I tried so hard, and got so far...

Hyprland received signal 6 (Aborted)

Version: 88b47dfa833db2d230a2d6e6bbbf92c69afbdc28
Tag: 

System info:
	System name: Linux
	Node name: enka
	Release: 6.1.60
	Version: #1-NixOS SMP PREEMPT_DYNAMIC Wed Oct 25 10:03:17 UTC 2023

GPU:
	00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07) (prog-if 00 [VGA controller])


os-release:
	BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
	BUILD_ID="23.11.20231102.fa804ed"
	DOCUMENTATION_URL="https://nixos.org/learn.html"
	HOME_URL="https://nixos.org/"
	ID=nixos
	LOGO="nix-snowflake"
	NAME=NixOS
	PRETTY_NAME="NixOS 23.11 (Tapir)"
	SUPPORT_URL="https://nixos.org/community.html"
	VERSION="23.11 (Tapir)"
	VERSION_CODENAME=tapir
	VERSION_ID="23.11"
	


Backtrace:
	#0 | /etc/profiles/per-user/nixos/bin/Hyprland(_Z12getBacktracev+0x48) [0x564288]
		_Z12getBacktracev
		??:?
	#1 | /etc/profiles/per-user/nixos/bin/Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x59f) [0x51f5ff]
		_ZN13CrashReporter18createAndSaveCrashEi
		??:?
	#2 | /etc/profiles/per-user/nixos/bin/Hyprland(_Z25handleUnrecoverableSignali+0x3f) [0x497d8f]
		_Z25handleUnrecoverableSignali
		??:?
	#3 | /nix/store/gqghjch4p1s69sv4mcjksb2kb65rwqjy-glibc-2.38-23/lib/libc.so.6(+0x3da70) [0x7f1862d75a70]
		??
		??:0
	#4 | /nix/store/gqghjch4p1s69sv4mcjksb2kb65rwqjy-glibc-2.38-23/lib/libc.so.6(+0x8cd7c) [0x7f1862dc4d7c]
		??
		??:0
	#5 | /nix/store/gqghjch4p1s69sv4mcjksb2kb65rwqjy-glibc-2.38-23/lib/libc.so.6(raise+0x16) [0x7f1862d759c6]
		??
		??:0
	#6 | /nix/store/gqghjch4p1s69sv4mcjksb2kb65rwqjy-glibc-2.38-23/lib/libc.so.6(abort+0xd7) [0x7f1862d5e8fa]
		??
		??:0
	#7 | /nix/store/a2wqdxzjd68qaki5gx2a28f9p8pny6fh-gcc-13.2.0-lib/lib/libstdc++.so.6(+0xacc0b) [0x7f18630acc0b]
		??
		??:0
	#8 | /nix/store/a2wqdxzjd68qaki5gx2a28f9p8pny6fh-gcc-13.2.0-lib/lib/libstdc++.so.6(+0xbc21a) [0x7f18630bc21a]
		??
		??:0
	#9 | /nix/store/a2wqdxzjd68qaki5gx2a28f9p8pny6fh-gcc-13.2.0-lib/lib/libstdc++.so.6(+0xbc285) [0x7f18630bc285]
		??
		??:0
	#10 | /nix/store/a2wqdxzjd68qaki5gx2a28f9p8pny6fh-gcc-13.2.0-lib/lib/libstdc++.so.6(+0xbc4d7) [0x7f18630bc4d7]
		??
		??:0
	#11 | /etc/profiles/per-user/nixos/bin/Hyprland() [0x45e856]
		_Z10throwErrorRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.cold
		??:?
	#12 | /etc/profiles/per-user/nixos/bin/Hyprland(_ZN11CCompositor10initServerEv+0x6cd) [0x4acd7d]
		_ZN11CCompositor10initServerEv
		??:?
	#13 | /etc/profiles/per-user/nixos/bin/Hyprland(main+0x760) [0x484650]
		main
		??:?
	#14 | /nix/store/gqghjch4p1s69sv4mcjksb2kb65rwqjy-glibc-2.38-23/lib/libc.so.6(+0x27fce) [0x7f1862d5ffce]
		??
		??:0
	#15 | /nix/store/gqghjch4p1s69sv4mcjksb2kb65rwqjy-glibc-2.38-23/lib/libc.so.6(__libc_start_main+0x89) [0x7f1862d60089]
		??
		??:0
	#16 | /etc/profiles/per-user/nixos/bin/Hyprland(_start+0x25) [0x497bf5]
		_start
		??:?


Log tail:
00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07) (prog-if 00 [VGA controller])


[LOG] os-release:
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="23.11.20231102.fa804ed"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 23.11 (Tapir)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="23.11 (Tapir)"
VERSION_CODENAME=tapir
VERSION_ID="23.11"

[LOG] ========================



[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/


[LOG] 
Current splash: Wir sind schon sehr lang zusammen...


[LOG] Creating the HookSystem!
[LOG] Creating the KeybindManager!
[LOG] [hookSystem] New hook event registered: configReloaded
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 58.85µs. Estimated average calc time: 0.06µs.
[LOG] Creating the ConfigManager!
[LOG] Creating the CHyprError!
[LOG] [hookSystem] New hook event registered: focusedMon
[LOG] [hookSystem] New hook event registered: preRender
[LOG] Creating the LayoutManager!
[LOG] [hookSystem] New hook event registered: preConfigReload
[LOG] Reloading the config!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 16.23µs. Estimated average calc time: 0.06µs.
[LOG] Using config: /home/nixos/.config/hypr/hyprland.conf
[LOG] Registered dynamic var "$active_color" -> 0xD79921
[LOG] Registered dynamic var "$inactive_color" -> 0x928374
[LOG] Disabling stdout logs! Check the log for further logs.
[wlr] [render/egl.c:209] EGL_EXT_platform_base not supported
[wlr] [render/egl.c:524] Failed to create EGL context
[wlr] [render/gles2/renderer.c:804] Could not initialize EGL
[CRITICAL] m_sWLRRenderer was NULL!
[CRITICAL] Critical error thrown: wlr_gles2_renderer_create_with_drm_fd() failed!

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 26 (15 by maintainers)

Most upvoted comments

Hyprland does not require that, but wlr requires that to create device.

this is a driver issue, not a hyprland one

I think it’s a driver issue with me since I have not enabled hardware.enableAllFirmware or hardware.enableRedistrubutableFirmware

The laptop is at school, so I’ll test tommorow