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 #6021

Closed
Styunlen opened this issue May 11, 2024 · 4 comments
Closed

Hyprland crashes on startup #6021

Styunlen opened this issue May 11, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Styunlen
Copy link

Hyprland Version

System/Version info
<Paste the output of the command here>

I can't run the command "hyprctl systeminfo". This sysinfo was picked from log file.

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

GPU:
00:02.0 VGA compatible controller [0300]: Intel Corporation Meteor Lake-P [Intel Arc Graphics] [8086:7d55] (rev 08) (prog-if 00 [VGA controller])

os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

My devices:
CPU: Intel Ultra 7 155H(22) @ 4.5GHz
GPU: Intel Arc Graphics
kernal: 6.8.9-arch1-2

Bug or Regression?

Bug

Description

I installed hyprland from building the souce.
And I was firstly installed a new arch system into my laptop, after then I installed hyprland. When I finished this, I type Hyprland to start it, then it crashes with logs below.
I tried to use root to start it, it worked. I can't figure out why I can't use my own account to start it without errors.

How to reproduce

Build from source and start directly after newly install the arch

Crash reports, logs, images, videos


Hyprland Crash Report

Oops

Hyprland received signal 6(ABRT)
Version: b6a7fb9
Tag: v0.40.0-61-gb6a7fb9e

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

GPU:
00:02.0 VGA compatible controller [0300]: Intel Corporation Meteor Lake-P [Intel Arc Graphics] [8086:7d55] (rev 08) (prog-if 00 [VGA controller])

os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
Backtrace:
# | Hyprland(_Z12getBacktracev+0x46) [0x5da36b37b356]
getBacktrace()
??:?
#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xa85) [0x5da36b2e3855]
CrashReporter::createAndSaveCrash(int)
??:?
#2 | Hyprland(_Z25handleUnrecoverableSignali+0x5c) [0x5da36b264acc]
handleUnrecoverableSignal(int)
??:?
#3 | /usr/lib/libc.so.6(+0x3cae0) [0x7f5b83650ae0]
??
??:0
#4 | /usr/lib/libc.so.6(+0x94e44) [0x7f5b836a8e44]
??
??:0
#5 | /usr/lib/libc.so.6(gsignal+0x20) [0x7f5b83650a30]
??
??:0
#6 | /usr/lib/libc.so.6(abort+0xdf) [0x7f5b836384c3]
??
??:0
#7 | /usr/lib/libstdc++.so.6(+0x97b0c) [0x7f5b83897b0c]
??
??:0
#8 | /usr/lib/libstdc++.so.6(+0xadf1a) [0x7f5b838adf1a]
??
??:0
#9 | /usr/lib/libstdc++.so.6(_ZSt10unexpectedv+0) [0x7f5b8389750a]
??
??:0
#1 | /usr/lib/libstdc++.so.6(+0xae1d6) [0x7f5b838ae1d6]
??
??:0
#11 | Hyprland(+0x11e4e4) [0x5da36b1d34e4]
throwError(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) [clone .cold]
MiscFunctions.cpp:?
#12 | Hyprland(_ZN11CCompositor10initServerEv+0x44b) [0x5da36b275f0b]
CCompositor::initServer()
??:?
#13 | Hyprland(main+0xa25) [0x5da36b228925]
main
??:?
#14 | /usr/lib/libc.so.6(+0x25c88) [0x7f5b83639c88]
??
??:0
#15 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x7f5b83639d4c]
??
??:0
#16 | Hyprland(_start+0x25) [0x5da36b264955]
_start
??:?

Log tail:
[LOG] Release: 6.8.9-arch1-2
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000

[LOG] GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation Meteor Lake-P [Intel Arc Graphics] [8086:7d55] (rev 08) (prog-if 00 [VGA controller])

[LOG] os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

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

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

[LOG]
Current splash: Take on me, take me on...

[LOG] Creating the EventLoopManager!
[LOG] Creating the HookSystem!
[LOG] Creating the ProtocolManager!
[LOG] [TearingControl] Registered global
[LOG] [FractionalScale] Registered global
[LOG] [XDGOutput] Registered global
[LOG] [CursorShape] Registered global
[LOG] [IdleInhibit] Registered global
[LOG] [RelativePointer] Registered global
[LOG] [XDGDecoration] Registered global
[LOG] [AlphaModifier] Registered global
[LOG] [GammaControl] Registered global
[LOG] [ForeignToplevel] Registered global
[LOG] [PointerGestures] Registered global
[LOG] [ForeignToplevelWlr] Registered global
[LOG] [ShortcutsInhibit] Registered global
[LOG] [TextInputV3] Registered global
[LOG] [PointerConstraints] Registered global
[LOG] [OutputPower] Registered global
[LOG] [XDGActivation] Registered global
[LOG] [IdleNotify] Registered global
[LOG] [SessionLock] Registered global
[LOG] [IMEv2] Registered global
[LOG] [VirtualKeyboard] Registered global
[LOG] [VirtualPointer] Registered global
[LOG] [OutputManagement] Registered global
[LOG] [ServerDecorationKDE] Registered global
[LOG] [FocusGrab] Registered global
[LOG] [TabletV2] Registered global
[LOG] [LayerShell] Registered global
[LOG] [Presentation] Registered global
[LOG] ToplevelExportManager started successfully!
[LOG] TextInputV1Manager started successfully!
[LOG] GlobalShortcutsManager started successfully!
[LOG] ScreencopyProtocolManager started successfully!
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 21.11µs. Estimated average calc time: 0.00µs.
[LOG] Creating the ConfigManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 11.57µs. Estimated average calc time: 0.00µs.
[LOG] Using config: /home/styunlen/.config/hypr/hyprland.conf
[INFO] !!!!HEY YOU, YES YOU!!!!: further logs to stdout / logfile are disabled by default. BEFORE SENDING THIS LOG, ENABLE THEM. Use debug:disable_logs = false to do so: https://wiki.hyprland.org/Configuring/Variables/#debug
[LOG] Creating the CHyprError!
[LOG] Creating the LayoutManager!
[LOG] Creating the TokenManager!
[LOG] [hookSystem] New hook event registered: preConfigReload
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 6.24µs. Estimated average calc time: 0.00µs.
[LOG] Using config: /home/styunlen/.config/hypr/hyprland.conf
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 5.61µs. Estimated average calc time: 0.00µs.
[LOG] Disabling stdout logs! Check the log for further logs.
[LOG] Creating the PointerManager!
[libseat] [libseat/backend/logind.c:317] Could not activate session: Permission denied
[libseat] [libseat/libseat.c:79] No backend was able to open a seat
[backend/session/session.c:83] Unable to create seat: Function not implemented
[backend/session/session.c:248] Failed to load session backend
[backend/backend.c:79] Failed to start a session
[backend/backend.c:407] Failed to start a DRM session
[CRITICAL] m_sWLRBackend was NULL! This usually means wlroots could not find a GPU or enountered some issues.
[CRITICAL] Critical error thrown: wlr_backend_autocreate() failed!

@Styunlen Styunlen added the bug Something isn't working label May 11, 2024
@Agent00Ming
Copy link
Contributor

[libseat] [libseat/backend/logind.c:317] Could not activate session: Permission denied
[libseat] [libseat/libseat.c:79] No backend was able to open a seat

seatd or logind not configured properly/present

@Styunlen
Copy link
Author

[libseat] [libseat/backend/logind.c:317] Could not activate session: Permission denied
[libseat] [libseat/libseat.c:79] No backend was able to open a seat

seatd or logind not configured properly/present

I just followed the docs to install seatd by yay

@Agent00Ming
Copy link
Contributor

export LIBSEAT_BACKEND=logind ?

@Styunlen
Copy link
Author

export LIBSEAT_BACKEND=logind ?

I know the reason. Only the tty session's owner can start hyprland. Others is not permitted. I logged with root then su to my account. My fault QAQ.

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