Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Hyprland seems to randomly crash

Open PotatoSlayer56 opened this issue 1 year ago • 12 comments

Bug or Regression?

Bug

System Info and Version

System/Version info
Hyprland, built from branch  at commit ea2501d4556f84d3de86a4ae2f4b22a474555b9f  (props: bump version to 0.41.0).
Date: Mon Jun 10 14:23:06 2024
Tag: v0.41.0, commits: 4794

flags: (if any)


System Information:
System name: Linux
Node name: arch
Release: 6.9.3-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107 [GeForce RTX 4060] [10de:2882] (rev a1) (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:

======Config-Start======


Config File: /home/josh/.config/hypr/hyprland.conf: Read Succeeded
###############
### SOURCES ###
###############



################
### MONITORS ###
################

monitor=,preferred,auto,auto


###################
### MY PROGRAMS ###
###################

$terminal = kitty
$fileManager = pcmanfm
$menu = wofi --show drun
$browser = firefox


#################
### AUTOSTART ###
#################

exec = hyprpaper

exec-once = python3 /home/josh/.config/hypr/scripts/wallpaper+colours.pyw
exec-once = waybar

#############################
### ENVIRONMENT VARIABLES ###
#############################

env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

debug:disable_logs = false


#####################
### LOOK AND FEEL ###
#####################

general { 
    gaps_in = 5
    gaps_out = 7

    border_size = 2

    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    resize_on_border = false 

    allow_tearing = false

    layout = dwindle
}

decoration {
    rounding = 10

    active_opacity = 1.0
    inactive_opacity = 1.0

    drop_shadow = true
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(1a1a1aee)

    blur {
        enabled = true
        size = 3
        passes = 1
        
        vibrancy = 0.1696
    }
}

animations {
    enabled = true

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

dwindle {
    pseudotile = true
    preserve_split = true
}

master {
    new_is_master = true
}

misc { 
    force_default_wallpaper = -1 
    disable_hyprland_logo = false 
}


#############
### INPUT ###
#############

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options =
    kb_rules =

    follow_mouse = 1

    sensitivity = -0.5 # -1.0 - 1.0, 0 means no modification.

    touchpad {
        natural_scroll = false
    }
}

gestures {
    workspace_swipe = false
}

device {
    name = epic-mouse-v1
    sensitivity = -0.5
}


####################
### KEYBINDINGS  ###
####################

$mainMod = SUPER

bind = $mainMod, Z, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, F, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, B, exec, $browser

bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

bind = $mainMod, mouse_up, workspace, e+1
bind = $mainMod, mouse_down, workspace, e-1

bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow


##############################
### WINDOWS AND WORKSPACES ###
##############################

windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.

Description

Just crashes hyprland and sends me back to login

How to reproduce

No idea sorry

Crash reports, logs, images, videos

hyprlandlog.txt

PotatoSlayer56 avatar Jun 15 '24 02:06 PotatoSlayer56

please send the crash report

MightyPlaza avatar Jun 15 '24 10:06 MightyPlaza

The same thing has happened to me since the last version, it is also accompanied (in my case) that the mouse disappears randomly in certain interactions.

I also have to add that I feel the crashes are caused by starting new windows in Firefox, about ~40% seems to be because of that.

Tom5521 avatar Jun 16 '24 18:06 Tom5521

and yet you still do not post anything useful like a crash report or a debug stacktrace like asked for one comment above.

vaxerski avatar Jun 16 '24 21:06 vaxerski

Finally, it happened to me again, I have no exact way to replicate this, so I got these logs out of pure luck

hyprland-crash-report.txt

I couldn't get them before because I cleared the cache for several reasons, but what matters is that I have the logs back.

Adding a little more information: It seems to be something "intermittent" since before the crash it usually takes a few minutes or hours for it to happen but once that crash happens it no longer lets me use hyprland correctly, when I try to log in again after the first crash it won't last even 10 seconds before it happens again, which is only "fixed" by rebooting.

Tom5521 avatar Jun 17 '24 01:06 Tom5521

this is a nouveau bug.

vaxerski avatar Jun 17 '24 09:06 vaxerski

Although it is a nouveau bug, it only happens in hyprland.

Tom5521 avatar Jun 17 '24 17:06 Tom5521

still, I am not a nouveau dev and thus can't tell you anything about what happened or what went wrong. Report it to nouveau, and if they point out what I did wrong, I may be able to fix it. It doesn't happen on amd either.

vaxerski avatar Jun 17 '24 22:06 vaxerski

Ok, anyway thanks for the help, I will look for a solution elsewhere.

Tom5521 avatar Jun 18 '24 00:06 Tom5521

Sorry I added this so late i forgot to check the thread but here is my crash report hyprlandCrashReport39282.txt

PotatoSlayer56 avatar Jun 19 '24 09:06 PotatoSlayer56

It seems that we have the same bugs, or at least in both our cases it is related to nouveau

Tom5521 avatar Jun 19 '24 13:06 Tom5521

report to nouveau then

vaxerski avatar Jun 19 '24 16:06 vaxerski

Having the same issue as you guys. Here's where to submit nouveau bug reports: Nouveau Gitlab

M3chanism avatar Jul 23 '24 06:07 M3chanism

i have a similar issue but instead my mouse input crashes

birdguy-cs avatar Mar 30 '25 02:03 birdguy-cs

Hello there!

This issue has been closed, as we are moving from issues to discussions. More about this can be found here and in #9854.

Firstly, please make sure this issue is still relevant in latest Hyprland. If so, we ask you to open a discussion (please read the discussion guidelines first, in the pinned post)

Thank you for your understanding!

vaxerski avatar Apr 05 '25 19:04 vaxerski