JaKooLit / Fedora-Hyprland

For automated installation of Hyprland on Fedora 38, 39 & 40 or any Fedora based distros
GNU General Public License v3.0
833 stars 65 forks source link

[Bug]: Short description of the issue #119

Closed lbattaglioli2000 closed 3 weeks ago

lbattaglioli2000 commented 3 weeks ago

Bug Report

Before submitting report

It appears like all apps and dependencies have been installed correctly. The Hyprland command crashes when I try to run it.

Description

[Provide a clear and concise description of the bug.]

Steps to Reproduce

  1. Fresh install of Fedora 40
  2. Ensure everything is up to date, and rebooted
  3. Clone repository, chmod +x install.sh, and ran install script.

Expected Behavior

The Hyprland command should run, however it crashes.

Actual Behavior

The installer seemed to work fine, it looks like everything was installed correctly, however when I try to run Hyprland via the terminal, it crashes.

Screenshots

image image

Environment

Additional Information

I'm running a Nvidia GPU, and it seems like that could be the source of the problem. I'm super new to Linux, so this is all very unfamiliar to me. Happy to provide additional information, logs, screenshots, etc. if needed.

I've attached the Hyprland Crash Report below as well:

--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
Sorry, didn't mean to...

Hyprland received signal 6(ABRT)
Version: 9a09eac79b85c846e3a865a9078a3f8ff65a9259
Tag: v0.42.0
Date: Wed Aug 7 19:17:10 2024
Flags:

System info:
    System name: Linux
    Node name: localhost-live.lan
    Release: 6.10.4-200.fc40.x86_64
    Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 11 15:32:50 UTC 2024

GPU:
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD106 [GeForce RTX 4060 Ti] [10de:2803] (rev a1) (prog-if 00 [VGA controller])

os-release:
    NAME="Fedora Linux"
    VERSION="40 (Workstation Edition)"
    ID=fedora
    VERSION_ID=40
    VERSION_CODENAME=""
    PLATFORM_ID="platform:f40"
    PRETTY_NAME="Fedora Linux 40 (Workstation Edition)"
    ANSI_COLOR="0;38;2;60;110;180"
    LOGO=fedora-logo-icon
    CPE_NAME="cpe:/o:fedoraproject:fedora:40"
    DEFAULT_HOSTNAME="fedora"
    HOME_URL="https://fedoraproject.org/"
    DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"
    SUPPORT_URL="https://ask.fedoraproject.org/"
    BUG_REPORT_URL="https://bugzilla.redhat.com/"
    REDHAT_BUGZILLA_PRODUCT="Fedora"
    REDHAT_BUGZILLA_PRODUCT_VERSION=40
    REDHAT_SUPPORT_PRODUCT="Fedora"
    REDHAT_SUPPORT_PRODUCT_VERSION=40
    SUPPORT_END=2025-05-13
    VARIANT="Workstation Edition"
    VARIANT_ID=workstation
Backtrace:
    # | Hyprland(_Z12getBacktracev+0x60) [0x55d1c91171a0]
        getBacktrace()
        ??:?
    #1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xaa2) [0x55d1c90a9fb2]
        CrashReporter::createAndSaveCrash(int)
        ??:?
    #2 | Hyprland(_Z25handleUnrecoverableSignali+0x68) [0x55d1c9048448]
        handleUnrecoverableSignal(int)
        ??:?
    #3 | /lib64/libc.so.6(+0x40d00) [0x7f811c16bd00]
        ??
        ??:0
    #4 | /lib64/libc.so.6(+0x99664) [0x7f811c1c4664]
        ??
        ??:0
    #5 | /lib64/libc.so.6(gsignal+0x1e) [0x7f811c16bc4e]
        ??
        ??:0
    #6 | /lib64/libc.so.6(abort+0xdf) [0x7f811c153902]
        ??
        ??:0
    #7 | /lib64/libstdc++.so.6(+0xa5da9) [0x7f811c4a5da9]
        ??
        ??:0
    #8 | /lib64/libstdc++.so.6(+0xb7c4c) [0x7f811c4b7c4c]
        ??
        ??:0
    #9 | /lib64/libstdc++.so.6(_ZSt10unexpectedv+0) [0x7f811c4a5951]
        ??
        ??:0
    #1 | /lib64/libstdc++.so.6(+0xb7ed8) [0x7f811c4b7ed8]
        ??
        ??:0
    #11 | Hyprland(+0xbb666) [0x55d1c8f83666]
        ??
        ??:0
    #12 | Hyprland(_ZN11CCompositor10initServerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x73b) [0x55d1c904952b]
        CCompositor::initServer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int)
        ??:?
    #13 | Hyprland(main+0x9c0) [0x55d1c8fe3e70]
        main
        ??:?
    #14 | /lib64/libc.so.6(+0x2a088) [0x7f811c155088]
        ??
        ??:0
    #15 | /lib64/libc.so.6(__libc_start_main+0x8b) [0x7f811c15514b]
        ??
        ??:0
    #16 | Hyprland(_start+0x25) [0x55d1c9013aa5]
        _start
        ??:?

Log tail:

[WARN] Warning: you're using an NVIDIA GPU. Make sure you follow the instructions on the wiki if anything is amiss.

[LOG] os-release:
NAME="Fedora Linux"
VERSION="40 (Workstation Edition)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora Linux 40 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=40
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=40
SUPPORT_END=2025-05-13
VARIANT="Workstation Edition"
VARIANT_ID=workstation

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

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

[LOG] 
Current splash: Segmentation fault (core dumped)

[LOG] Old rlimit: soft -> 1024, hard -> 524288
[LOG] New rlimit: soft -> 524288, hard -> 524288
[LOG] Creating the EventLoopManager!
[LOG] Creating the HookSystem!
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 12.28µs. Estimated average calc time: 0.02µs.
[LOG] Creating the ConfigManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 6.86µs. Estimated average calc time: 0.02µs.
[LOG] Using config: /home/lbattaglioli/.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.60µs. Estimated average calc time: 0.02µs.
[LOG] Using config: /home/lbattaglioli/.config/hypr/hyprland.conf
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 6.89µs. Estimated average calc time: 0.03µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 5.49µs. Estimated average calc time: 0.02µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 5.50µs. Estimated average calc time: 0.02µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 5.47µs. Estimated average calc time: 0.02µs.
[LOG] Disabling stdout logs! Check the log for further logs.
[LOG] Creating the PointerManager!
[LOG] Creating the EventManager!
[LOG] [AQ] Creating an Aquamarine backend!
[LOG] [AQ] [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
[LOG] [AQ] [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
[ERR] [AQ] [libseat] [libseat/backend/logind.c:349] Could not take control of session: Device or resource busy
[LOG] [AQ] [libseat] [libseat/libseat.c:76] Backend 'logind' failed to open seat, skipping
[ERR] [AQ] [libseat] [libseat/libseat.c:79] No backend was able to open a seat
[ERR] [AQ] libseat: failed to open a seat
[ERR] [AQ] Failed to open a session
[ERR] [AQ] DRM Backend failed
[LOG] [AQ] Starting the Aquamarine backend!
[LOG] [AQ] Starting the Wayland backend!
[LOG] [AQ] Got registry at 0x55d1ce10c520
[LOG] [AQ] Output WAYLAND-1: initialized
[CRITICAL] m_pAqBackend couldn't start! This usually means aquamarine could not find a GPU or encountered some issues. Make sure you're running either on a tty or on a Wayland session, NOT an X11 one.
[CRITICAL] Critical error thrown: CBackend::create() failed!

show output of inxi -CGIsSMnr install package inxi if not exist

show output here

System:
  Host: localhost-live.lan Kernel: 6.10.4-200.fc40.x86_64 arch: x86_64
    bits: 64
  Desktop: GNOME v: 46.4 Distro: Fedora Linux 40 (Workstation Edition)
Machine:
  Type: Desktop System: iBUYPOWER product: 13th Gen Intel(R) Core(TM)
    i7-13700F v: N/A serial: <superuser required>
  Mobo: ASRock model: B760M-C serial: <superuser required> UEFI: American
    Megatrends LLC. v: 1.19 date: 02/17/2023
CPU:
  Info: 16-core (8-mt/8-st) model: 13th Gen Intel Core i7-13700F bits: 64
    type: MST AMCP cache: L2: 24 MiB
  Speed (MHz): avg: 825 min/max: 800/5100:5200:4100 cores: 1: 800 2: 800
    3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 1100
    13: 1100 14: 800 15: 800 16: 800 17: 800 18: 800 19: 800 20: 800 21: 800
    22: 800 23: 800 24: 800
Graphics:
  Device-1: NVIDIA AD106 [GeForce RTX 4060 Ti] driver: nvidia v: 555.58.02
  Display: wayland server: X.Org v: 24.1.2 with: Xwayland v: 24.1.2
    compositor: gnome-shell driver: gpu: nvidia,nvidia-nvswitch
    resolution: 3440x1440~60Hz
  API: OpenGL v: 4.6.0 vendor: nvidia v: 555.58.02 renderer: NVIDIA GeForce
    RTX 4060 Ti/PCIe/SSE2
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: 9c:6b:00:1e:8b:86
  Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
  IF: wlp6s0 state: up mac: 72:98:76:a5:67:fe
Sensors:
  System Temperatures: cpu: 28.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  No active dnf repos in: /etc/dnf/dnf.conf
  Active yum repos in: /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:erikreider:SwayNotificationCenter.repo
    1: copr:copr.fedorainfracloud.org:erikreider:SwayNotificationCenter ~ https://download.copr.fedorainfracloud.org/results/erikreider/SwayNotificationCenter/fedora-$releasever-$basearch/
  Active yum repos in: /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:phracek:PyCharm.repo
    1: copr:copr.fedorainfracloud.org:phracek:PyCharm ~ https://download.copr.fedorainfracloud.org/results/phracek/PyCharm/fedora-$releasever-$basearch/
  Active yum repos in: /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:solopasha:hyprland.repo
    1: copr:copr.fedorainfracloud.org:solopasha:hyprland ~ https://download.copr.fedorainfracloud.org/results/solopasha/hyprland/fedora-$releasever-$basearch/
  Active yum repos in: /etc/yum.repos.d/fedora-cisco-openh264.repo
    1: fedora-cisco-openh264 ~ https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-$releasever&arch=$basearch
  No active yum repos in: /etc/yum.repos.d/fedora-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/fedora-updates.repo
    1: updates ~ https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/fedora.repo
    1: fedora ~ https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/google-chrome.repo
    1: google-chrome ~ https://dl.google.com/linux/chrome/rpm/stable/x86_64
  No active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/rpmfusion-free-updates.repo
    1: rpmfusion-free-updates ~ https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-free.repo
    1: rpmfusion-free ~ https://mirrors.rpmfusion.org/metalink?repo=free-fedora-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo
    1: rpmfusion-nonfree-nvidia-driver ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-nvidia-driver-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-steam.repo
    1: rpmfusion-nonfree-steam ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-steam-$releasever&arch=$basearch
  No active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree-updates.repo
    1: rpmfusion-nonfree-updates ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-$releasever&arch=$basearch
  Active yum repos in: /etc/yum.repos.d/rpmfusion-nonfree.repo
    1: rpmfusion-nonfree ~ https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-$releasever&arch=$basearch
Info:
  Memory: total: 32 GiB note: est. available: 31.05 GiB used: 3.06 GiB (9.8%)
  Processes: 483 Uptime: 1h 14m Shell: Zsh inxi: 3.3.34
JaKooLit commented 3 weeks ago

it seems you are trying to ran Hyprland from a Gnome environment

Kindly log in from GDM or login manager

https://raw.githubusercontent.com/JaKooLit/screenshots/main/FAQ/Login-GDM.png

if hyprland still crashing even logging in, try this

https://github.com/JaKooLit/Fedora-Hyprland?tab=readme-ov-file#-some-known-issues-for-nvidia

lbattaglioli2000 commented 3 weeks ago

Oh wow I feel so silly. That worked perfectly. Thank you 🙏🏼 On Aug 18, 2024, at 3:56 AM, Ja.KooLit @.***> wrote: it seems you are trying to ran Hyprland from a Gnome environment Kindly log in from GDM or login manager https://raw.githubusercontent.com/JaKooLit/screenshots/main/FAQ/Login-GDM.png if hyprland still crashing even logging in, try this https://github.com/JaKooLit/Fedora-Hyprland?tab=readme-ov-file#-some-known-issues-for-nvidia

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>