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 Frequently and Randomly #9056

Open
4 of 6 tasks
Jaimss opened this issue Jan 13, 2025 · 2 comments
Open
4 of 6 tasks

Hyprland Crashes Frequently and Randomly #9056

Jaimss opened this issue Jan 13, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Jaimss
Copy link

Jaimss commented Jan 13, 2025

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

I don't know, I started using Hyprland only recently

System Info and Hyprland Version

System/Version info
Hyprland 0.46.2 built from branch  at commit 0bd541f2fd902dbfa04c3ea2ccf679395e316887  (version: bump to 0.46.2).
Date: Thu Dec 19 19:26:47 2024
Tag: v0.46.2, commits: 5566
built against:
 aquamarine 0.7.0
 hyprlang 0.6.0
 hyprutils 0.3.3
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


flags set:
debug


System Information:
System name: Linux
Node name: archlinux
Release: 6.6.70-1-lts
Version: #1 SMP PREEMPT_DYNAMIC Thu, 09 Jan 2025 13:22:24 +0000


GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation CometLake-H GT2 [UHD Graphics] [8086:9bc4] (rev 05) (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


plugins:
	unknown: not runtime

Description

Hyprland is crashing in a couple scenarios

  • Immediately after launching from tty1 (just running Hyprland)
  • Moving between workspaces
  • Saving files
  • other general use
    I have also noticed these issues if I attempt to us uwsm to start Hyprland, but currently I am just trying to get the base Hyprland working. I will worry about uwsm later.

Some Relevant Nvidia Configs and Other Info

/etc/modprobe.d/nvidia.conf

options nvidia_drm modeset=1 fbdev=1

mkinitcpio.conf.txt
Output of pacman -Q: pacmanQ.txt

/etc/udev/rules.d/80-nvidia-pm.rules and /etc/modprobe.d/nvidia-pm.conf are both empty.

The main error seems to be issues with graphics cards. Any advice would be helpful to fix this

How to reproduce

  1. I am using a Dell XPS 15 9500. It has an Nvidia 1650 Ti Mobile and an Intel card. I am using nvidia-open-dkms . I am not sure which part of my entire setup is the problem but ... all that would have to be matched I'd think to reproduce consistently.
  2. Run Hyprland from tty1
  3. It crashes and the laptop restarts bringing me back to grub.

Attach not paste

  • I understand that all text files must be attached, and not pasted directly. If not respected, this issue will likely get closed as spam

Checklist of files to include below

  • Hyprland config - hyprctl systeminfo -c (always include)
  • Crash report (always include in case of crash)
  • Video (always include in case of a visual bug)
  • Logs (might contain useful info such as errors)

Additional info & File uploads

$XDG_RUNTIME_DIR/hypr logs -- These do not exist on my system. I have no folder called hypr after restart, and every crash the system restarts (it does not crash me to tty). The logs do exist during the session (for example if I run hyprland in tty2 and then view logs in tty1). Crash reports also rarely show up. The one attached below did, but I almost never get one after a crash (again probably because my system just powers off so it isn't able to save the file maybe?)

crashReport.txt
hyprland.conf.txt

I can't get the hyprctl systeminfo -c output since I can't launch Hyprland long enough to execute that command.

lspci -k -d ::03xx

00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
	Subsystem: Dell Device 097d
	Kernel driver in use: i915
	Kernel modules: i915
01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Ti Mobile] (rev a1)
	Subsystem: Dell Device 097d
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
@Jaimss Jaimss added the bug Something isn't working label Jan 13, 2025
@Jaimss
Copy link
Author

Jaimss commented Jan 13, 2025

hyprctlsysinfo.txt
Actually did manage to get hyprctl systeminfo -c to run before a crash. If it adds any info

Was also able to shut down that session smoothly. I launched with Hyprland 2>&1 > hypr.log. The output of that file is
hypr21log.txt. There are multiple errors in the log (that didn't cause crashes but may still be relevant)

@vaxerski
Copy link
Member

the crash report you shared is likely from missing / broken video drivers, I don't know anything about other crashes as you didnt provide a crash report for those

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