hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.55k stars 821 forks source link

Hyprland crashing on launch with linux kernel 6.11 #6992

Closed srikarboga closed 1 month ago

srikarboga commented 1 month ago

Regression?

Yes

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: Tue Jun 25 12:06:02 2024 Tag: v0.41.2, commits: 4886 flags: (if any) System Information: System name: Linux Node name: fedoraland Release: 6.10.0-64.fc41.x86_64 Version: #1 SMP PREEMPT_DYNAMIC Mon Jul 15 15:28:59 UTC 2024 GPU information: 05:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti] [10de:2486] (rev a1) (prog-if 00 [VGA controller]) os-release: NAME="Fedora Linux" VERSION="41 (Workstation Edition Prerelease)" ID=fedora VERSION_ID=41 VERSION_CODENAME="" PLATFORM_ID="platform:f41" PRETTY_NAME="Fedora Linux 41 (Workstation Edition Prerelease)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:41" DEFAULT_HOSTNAME="fedora" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/" SUPPORT_URL="https://ask.fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=rawhide REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=rawhide SUPPORT_END=2025-05-13 VARIANT="Workstation Edition" VARIANT_ID=workstation plugins: ======Config-Start====== Config File: /home/srikar/.config/hypr/hyprland.conf: Read Succeeded # ####################################################################################### # AUTOGENERATED HYPR CONFIG. # PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, # OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. # ####################################################################################### #autogenerated = 1 # remove this line to remove the warning # This is an example Hyprland config file. # Refer to the wiki for more information. # https://wiki.hyprland.org/Configuring/Configuring-Hyprland/ # Please note not all available settings / options are set here. # For a full list, see the wiki # You can split this configuration into multiple files # Create your files separately and then link them to this file like this: # source = ~/.config/hypr/myColors.conf env = LIBVA_DRIVER_NAME,nvidia env = XDG_SESSION_TYPE,wayland env = GBM_BACKEND,nvidia-drm env = __GLX_VENDOR_LIBRARY_NAME,nvidia cursor{ no_hardware_cursors = true } ################ ### MONITORS ### ################ # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=DP-2,2560x1440@180,0x0,1 monitor=DP-1,1920x1080@240,2560x0,1 ################### ### MY PROGRAMS ### ################### # See https://wiki.hyprland.org/Configuring/Keywords/ # Set programs that you use $terminal = kitty $fileManager = thunar $menu = rofi -show drun -click-to-exit -kb-cancel "Escape,MouseSecondary" ################# ### AUTOSTART ### ################# # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: exec-once = waybar & dunst & hyprpaper exec-once =[workspace 2 silent] $terminal exec-once =[workspace 1] google-chrome exec-once =[silent] Discord #exec-once = hyprctl dispatch focusmonitor DP-2 #exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP #exec-once = nm-applet & # exec-once = waybar & hyprpaper & firefox ############################# ### ENVIRONMENT VARIABLES ### ############################# # See https://wiki.hyprland.org/Configuring/Environment-variables/ env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 ##################### ### LOOK AND FEEL ### ##################### # Refer to https://wiki.hyprland.org/Configuring/Variables/ # https://wiki.hyprland.org/Configuring/Variables/#general general { gaps_in = 2 gaps_out = 6 border_size = 2 # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) # Set to true enable resizing windows by clicking and dragging on borders and gaps resize_on_border = true # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = false layout = dwindle } # https://wiki.hyprland.org/Configuring/Variables/#decoration decoration { rounding = 4 # Change transparency of focused and unfocused windows active_opacity = 1.0 inactive_opacity = 1.0 drop_shadow = true shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) # https://wiki.hyprland.org/Configuring/Variables/#blur blur { enabled = true size = 3 passes = 1 vibrancy = 0.1696 } } # https://wiki.hyprland.org/Configuring/Variables/#animations animations { enabled = true # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more 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 } # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more dwindle { pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # You probably want this } # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more master { new_status = master } # https://wiki.hyprland.org/Configuring/Variables/#misc misc { force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( } ############# ### 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 # -1.0 - 1.0, 0 means no modification. touchpad { natural_scroll = false } } # https://wiki.hyprland.org/Configuring/Variables/#gestures gestures { workspace_swipe = false } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more device { name = epic-mouse-v1 sensitivity = -0.5 } debug { disable_logs = false enable_stdout_logs = true } #################### ### KEYBINDINGSS ### #################### # See https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, $terminal bind = $mainMod, C, killactive, bind = $mainMod, M, exit, bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, pkill rofi || $menu bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # Switch workspaces with mainMod + [0-9] 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 # Move active window to a workspace with mainMod + SHIFT + [0-9] 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 # Example special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow ############################## ### WINDOWS AND WORKSPACES ### ############################## # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules # Example windowrule v1 # windowrule = float, ^(kitty)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. windowrule = workspace 3 silent, discord workspace = 1, monitor:DP-2, default:true workspace = 3, monitor:DP-2, default:true workspace = 5, monitor:DP-2, default:true workspace = 7, monitor:DP-2, default:true workspace = 9, monitor:DP-2, default:true workspace = 2, monitor:DP-1, default:true workspace = 4, monitor:DP-1, default:true workspace = 6, monitor:DP-1, default:true workspace = 8, monitor:DP-1, default:true workspace = 10, monitor:DP-1, default:true ======Config-End======== ```

Description

Hyprland crashes when launched with 6.11 linux kernel, booting back into 6.10 kernel allows hyprland to launch again.

How to reproduce

Update to the latest linux kernel and try to launch hyprland.

Crash reports, logs, images, videos

hyprlandCrashReport237.txt

ikalco commented 1 month ago

try on git and if doesnt work then give a debug log of git with AQ_TRACE=1 HYPRLAND_TRACE=1 Hyprland

Romaixn commented 1 month ago

I have the same bug, after updating can't login in my session anymore (in another DE it's work)

DADA30000 commented 1 month ago

what do you mean 6.11, I've heard about 6.10 only recently 💀

romanstingler commented 1 month ago

@DADA30000 just look at the log Release: 6.11.0-0.rc0.20240719git720261cfc732.7.fc41.x86_64 There are people out there to test software as soon as possible to catch bugs, so that normal folks isn't suffering too much

srikarboga commented 1 month ago

try on git and if doesnt work then give a debug log of git with AQ_TRACE=1 HYPRLAND_TRACE=1 Hyprland

hyprland-git package does not crash but launches with artifacting issues.

romanstingler commented 1 month ago

try on git and if doesnt work then give a debug log of git with AQ_TRACE=1 HYPRLAND_TRACE=1 Hyprland

hyprland-git package does not crash but launches with artifacting issues.

like https://github.com/hyprwm/Hyprland/issues/6994 or like that? https://github.com/hyprwm/Hyprland/issues/6830

srikarboga commented 1 month ago

Neither, moving the mouse completely lags and shows random white dots where the mouse path would be and then a second later the mouse properly appears in the spot where it was moved to. If I move the mouse very quickly back and forth there is a lot of white and black dots where the mouse path would be and then after I stop moving it gets fixed after a second. I've attached a recording of the issue from my phone.

https://github.com/user-attachments/assets/f0d9f41f-ee4d-445e-a92a-ff4985a6cdb5

ikalco commented 1 month ago

uuuuh can you try on 6.10 to make sure it isnt the kernel if it still happens then post a video with debug:damage_blink (btw dont if epilepsy) set to true and also the hyprland.log

srikarboga commented 1 month ago

Both hyprland and hyprland-git work fine on 6.10, just checked.

ikalco commented 1 month ago

its probably a kernel bug then i would keep this issue open until 6.11 is mainline and recheck then, just in case

vaxerski commented 1 month ago

as long as the kernel is not mainline, and it doesnt happen to many people, I'd consider this a non-issue

romanstingler commented 1 month ago

are you using by any chance the 560 nvidia driver? this one is currently toast

izmyname commented 1 month ago

as long as the kernel is not mainline, and it doesnt happen to many people, I'd consider this a non-issue

Prolly, makes sense to close, for now? If Hyprland isn't gonna work when 6.11 is mainline, we'll hear about that.

romanstingler commented 1 month ago

today is my last day of the business trip, I can test in the evening CEST, I am already on 6.11 but on Tag: v0.41.2-48-gf642fb97, commits: 4934 for now

romanstingler commented 1 month ago

I just came home, recompiled aquamarine-git, hyprutils-git and hyprland-git from AUR and I can start hyprland with 6.11 and executing hyprland from the tty. Your logs seem to have an issue with the detection of your gpu driver / gpu, can you try to use your cpu internal GPU if you have any?

maybe related to https://github.com/hyprwm/Hyprland/issues/6053 ?

~ ❯ uname -a                                                                                                                                                                                                  21:29
Linux roman 6.11.0-rc1-2-cachyos-rc #1 SMP PREEMPT_DYNAMIC Wed, 31 Jul 2024 05:40:55 +0000 x86_64 GNU/Linux
~ ❯ yay -Q | grep hypr                                                                                                                       21:08
hyprcursor-git 0.1.9.r9.g4493a972-1
hypridle-git 0.1.2.r10.ge5366d34-1
hyprland-git 0.41.2.r146.54896827-1
hyprlang-git 0.5.2.r8.gadbefbf4-1
hyprlock-git 0.4.1.r3.gcf0e975f-1
hyprutils-git 0.2.1.r0.g5dcbbc1e-1
hyprwayland-scanner-git 0.4.0.r4.ga048a6cb-1
~ ❯ inxi -G                                                                                                                                  21:08
Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] driver: i915 v: kernel
  Device-2: NVIDIA GP107GLM [Quadro P620] driver: nvidia v: 555.58.02
  Device-3: Chicony Integrated Camera driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.1
    compositor: Hyprland v: 0.41.2-146-g54896827 driver: X: loaded: intel,nvidia
    unloaded: modesetting,nouveau dri: i965 gpu: i915 resolution:
    1: 5120x2880~60Hz 2: 3840x2160~60Hz
  API: EGL v: 1.5 drivers: iris,nvidia,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.1.4-arch1.3
    renderer: Mesa Intel UHD Graphics (CML GT2)
  API: Vulkan v: 1.3.285 drivers: nvidia,intel surfaces: xcb,xlib,wayland
~ ❯ hyprctl version                                                                                                                   2.202s 21:09
Hyprland, built from branch main at commit 548968279926a73d7ff19a9a185c977c50d56756  (internal: some minor fd/socket cleanups and make logging thread safe (7123)).
Date: Wed Jul 31 21:00:14 2024
Tag: v0.41.2-146-g54896827, commits: 5032

flags: (if any)
srikarboga commented 1 month ago

Closing , I stopped using the 6.11 kernel so I cant test the issue anymore.