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.22k stars 801 forks source link

[Arch] [Nvidia] Hyprland not launching after updating to linux-zen kernel 6.9 #6273

Closed ARKye03 closed 2 months ago

ARKye03 commented 2 months ago

System Info and Version

System/Version info ```sh Hyprland, built from branch main at commit a60c7283e677ed81a466d1c0c864c8a05e192cac (xwayland: verify new xsurf is valid in prop reads). Date: Wed May 29 03:34:25 2024 Tag: v0.40.0-144-ga60c7283, commits: 4750 flags: (if any) System Information: System name: Linux Node name: archyalinux Release: 6.8.9-zen1-2-zen Version: #1 ZEN SMP PREEMPT_DYNAMIC Tue, 07 May 2024 22:06:02 +0000 GPU information: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106 [Geforce RTX 3050] [10de:2507] (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/archkye/.config/hypr/hyprland.conf: Read Succeeded # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=, 1920x1080, 0x0, 1 monitor=Unknown-1,disable # Env vars source = ~/.config/hypr/env.conf # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us kb_variant = kb_model = kb_options = kb_rules = follow_mouse = 1 touchpad { natural_scroll = false } sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_in = 5 gaps_out = 5 border_size = 2 col.active_border = rgba(8839efee) rgba(d20f39ee) 45deg col.inactive_border = rgba(595959aa) layout = dwindle } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 10 blur { enabled = true new_optimizations = true size = 5 passes = 4 } drop_shadow = true shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) } animations { enabled = true # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more bezier = myBezier, 0.05, 0.9, 0.1, 1.05 animation = windows, 1, 4, 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, 2, default } dwindle { pseudotile = true preserve_split = true } master { new_is_master = true } 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 } #KeyBinds source = ~/.config/hypr/binds.conf #WholeWorldHere source = ~/.config/hypr/windowrules.conf #Autostart source = ~/.config/hypr/startup.conf Config File: /home/archkye/.config/hypr/env.conf: Read Succeeded env = LIBVA_DRIVER_NAME,nvidia env = XDG_SESSION_TYPE,wayland env = GBM_BACKEND,nvidia-drm env = __GLX_VENDOR_LIBRARY_NAME,nvidia # env = WLR_NO_HARDWARE_CURSORS,1 env = QT_QPA_PLATFORM,wayland env = WLR_RENDERER_ALLOW_SOFTWARE=1 env = GDK_BACKEND,wayland env = WARP_ENABLE_WAYLAND,1 env = ELECTRON_OZONE_PLATFORM_HINT,wayland Config File: /home/archkye/.config/hypr/binds.conf: Read Succeeded $mainMod = SUPER # App binds # Terms bind=$mainMod, Return, exec, /usr/bin/warp-terminal bind=$mainMod CTRL, Return, exec, /usr/bin/alacritty bind=$mainMod SHIFT, Return, exec, kitty #Browser bind=$mainMod, W, exec, /usr/bin/brave --enable-features=UseOzonePlatform --ozone-platform=wayland --use-gl=desktop --disable-features=UseChromeOSDirectVideoDecoder --enable-features=VaapiVideoDecoder # Utils #bindr= Super,Super_L, exec, ~/.config/rofi/launchers/type-3/launcher.sh bindr= Super,Super_L, exec, /usr/bin/ags -t applauncher bind= $mainMod, V, exec, /home/archkye/.dotfiles/scripts/toggle_vpn.sh bind= $mainMod, X, exec, ~/.config/rofi/powermenu/type-4/powermenu.sh bind= $mainMod, M, exec, /usr/bin/alacritty --class floatcritty -e /usr/bin/ncmpcpp -c /home/archkye/.ncmpcpp/config bind= $mainMod, E, exec, /usr/bin/thunar bind= $mainMod, Print, exec, /home/archkye/.dotfiles/scripts/gss.sh region bind= $mainMod, S, exec, /home/archkye/.dotfiles/scripts/gss.sh window bind=, Print, exec, /home/archkye/.dotfiles/scripts/gss.sh full bind= $mainMod, Q, exec, /home/archkye/.dotfiles/scripts/gss.sh aspect_visualizer bind= $mainMod, P, exec, /usr/bin/hyprpicker -a bind= $mainMod, L, exec, /usr/bin/hyprlock bind= $mainMod, U, exec, /home/archkye/.dotfiles/scripts/WBG.sh next bind= $mainMod SHIFT, U, exec, /home/archkye/.dotfiles/scripts/WBG.sh prev bind= $mainMod, B, exec, /opt/microsoft/msedge/microsoft-edge --profile-directory=Default --app-id=hpgfdmhandgfpmaeglgcipnkmjepighl "--app-url=https://www.bing.com/search?toWww=1&redig=4BC86B9EF6E64CBEB46913C33D1FBEC4&q=Bing+AI&showconv=1" #AGS bind=CTRL SHIFT, R, exec, ags -q; ags # Restart ags bind=CTRL SHIFT, G, exec, ags -t Chat bind=$mainMod, Z, exec, ags -t cliphist #WindowControl bind= $mainMod, C, killactive, bind= $mainMod, J, pseudo, bind= $mainMod, K, togglesplit, bind= $mainMod SHIFT, Q, exit, bind= $mainMod, F, fullscreen, bind= $mainMod, Space, togglefloating, #Volume Keys binde=, XF86AudioRaiseVolume, exec, /usr/bin/wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+ binde=, XF86AudioLowerVolume, exec, /usr/bin/wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bind=, XF86AudioPlay, exec, /usr/bin/mpc toggle bind=, XF86AudioNext, exec, /usr/bin/mpc next bind=, XF86AudioPrev, exec, /usr/bin/mpc prev bind=, XF86audiostop, exec, /usr/bin/mpc stop # 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 # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 bind = $mainMod CTRL, right, workspace, e+1 bind = $mainMod CTRL, left, workspace, e-1 bind = $mainMod ALT, right, movetoworkspace, r+1 bind = $mainMod ALT, left, movetoworkspace, r-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # sets repeatable binds for resizing the active window binde=$mainMod SHIFT, right, resizeactive,10 0 binde=$mainMod SHIFT, left, resizeactive,-10 0 binde=$mainMod SHIFT, up, resizeactive,0 -10 binde=$mainMod SHIFT, down, resizeactive,0 10 # sets repeatable binds for resizing the active window binde=$mainMod ALT SHIFT, right, moveactive,10 0 binde=$mainMod ALT SHIFT, left, moveactive,-10 0 binde=$mainMod ALT SHIFT, up, moveactive,0 -10 binde=$mainMod ALT SHIFT, down, moveactive,0 10 bind=$mainMod, TAB, workspace, previous bind=$mainMod, GRAVE, togglespecialworkspace, bind=$mainMod SHIFT, GRAVE, movetoworkspace, special bind=CTRL SHIFT, T, pin, Config File: /home/archkye/.config/hypr/windowrules.conf: Read Succeeded windowrule=opacity 0.92 0.85,thunar #Where to open #--------1 #indowrule = workspace 1, ^(.*Alacritty.*)$ #--------2 #--------Brave windowrule = workspace 2, ^(.*brave-browser.*)$ #----Brave_PIP windowrulev2 = float,title:(Picture in picture) windowrulev2 = size 600 350,title:(Picture in picture) windowrulev2 = move 1310 720,title:(Picture in picture) windowrulev2 = pin,title:(Picture in picture) #----Brave_Save_File windowrulev2 = float,class:(brave),title:(Save File) windowrulev2 = size 715 570,class:(brave),title:(Save File) windowrulev2 = move 710 160,class:(brave),title:(Save File) #--------Firefox #windowrule = workspace 2, ^(.*firefox.*)$ #windowrulev2 = float,class:(firefox),title:(Picture-in-Picture) #windowrulev2 = size 600 350,class:(firefox),title:(Picture-in-Picture) #windowrulev2 = move 1290 700,class:(firefox),title:(Picture-in-Picture) #--------3 windowrule = workspace 3, ^(.*code-url-handler.*)$ windowrule = workspace 3, ^(.*dev.zed.Zed.*)$ #--------4 windowrule = workspace 4, ^(.*thunar.*)$ windowrulev2= size 400 150,class:(thunar),title:(Create New Folder) windowrulev2= move 485 350,class:(thunar),title:(Create New Folder) #--------5 #--------6 windowrule = workspace 6, ^(.*org.telegram.desktop.*)$ windowrule = workspace 6, ^(.*discord.*)$ #--------7 windowrule = workspace 7, ^(.*Player.*)$ windowrule = workspace 7, ^(.*vlc.*)$ windowrule = workspace 7, ^(.*com.github.neithern.g4music.*)$ #--------8 #--------9 windowrule = workspace 9, ^(.*Waydroid.*)$ #--------10 windowrule = workspace 9, ^(.*steam.*)$ #--------Tile windowrule=tile,^(dev.warp.Warp)$ #-------Floatcritty windowrule=float,^(floatcritty)$ windowrule=size 900 600,^(floatcritty)$ windowrule=move 510 50,^(floatcritty)$ windowrule=pin,^(floatcritty)$ windowrule=animation slide,^(floatcritty)$ #--------Floating windowrule=float,^(com.github.neithern.g4music)$ windowrulev2 = float,class:(thunar),title:(File Operation Progress) windowrulev2 = float,class:(Player),title:(Player) windowrule=float,^(engrampa)$ #--------NoBlur #windowrule=noblur,^(dev.warp.Warp)$ windowrule=noblur,^(vlc)$ windowrule=noblur,^(brave-browser)$ #--------Kitty windowrule=noblur,^(kitty)$ windowrule=float,^(kitty) windowrule=size 900 520,^(kitty) windowrule=move 230 160,^(kitty) #--------MSEdge windowrulev2 = workspace 6,class:(msedge-_hnpfjngllnobngcgfapefoaidbinmjnm-Default),title:(WhatsApp Web) windowrulev2 = tile,class:(msedge-_hnpfjngllnobngcgfapefoaidbinmjnm-Default),title:(WhatsApp Web) #---BingGPT windowrulev2 = size 606 1007 ,class:(Microsoft-edge),title:(BingGPT) windowrulev2 = move 1314 52,class:(Microsoft-edge),title:(BingGPT) windowrulev2 = animation slide,class:(Microsoft-edge),title:(BingGPT) layerrule = blur,bar-0 layerrule = blur,rofi layerrule = animation ,Chat layerrule = animation ,SideDash layerrule = animation ,applauncher Config File: /home/archkye/.config/hypr/startup.conf: Read Succeeded #Autostart exec-once=/home/archkye/backgrounds/WBG.sh random exec-once=/usr/bin/dbus-update-activation-environment --all exec-once=/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh exec-once=/usr/bin/hyprctl setcursor "Colloid Cursors" exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # exec-once=/usr/bin/mpd /home/archkye/.mpd/mpd.conf # Init via systemd exec-once=/usr/bin/nm-applet exec-once=/usr/bin/copyq --start-server exec-once=/usr/bin/ags exec-once=/usr/bin/nwg-dock-hyprland -d -nolauncher exec-once=/usr/bin/hypridle exec-once=/usr/bin/wl-clip-persist --clipboard regular ======Config-End======== ```

Bug or Regression?

Bug

Description

Note, with "extra/hyprland 0.40.0-1" from arch repo happened the same. It's simple, I updated the kernel from linux-zen 6.8.9.zen1-2 to linux-zen 6.9.2.zen1-1, and linux-firmware too. Now Hyprland won't launch due to classic c "segmentation fault (core dumped)": hyprlandLog.txt

How to reproduce

Install Hyrpland, for extra or AUR, use kernel 6.9 zen, with updated firmware(probably), use nvidia(probably) with proprietary drivers. And that should return the error, however we know how this is, this might just be my case. Note: I rolled back to linux-zen 6.8.9, with the linux-firmware up-to-date, and Hyprland works(git version now)

Crash reports, logs, images, videos

Same log as above: hyprlandLog.txt

vaxerski commented 2 months ago

tempted to close as nvidia, but try git

ARKye03 commented 2 months ago

tempted to close as nvidia, but try git

If you look to system info you will notice than I'm using the git version

troylusty commented 2 months ago

I'm not sure if this is the exact same issue I was having but it seems similar from what I remember. Putting env = WLR_DRM_DEVICES,/dev/dri/card1 in my Hyprland config or exporting the variable in your bashrc/zshrc fixed the issue for me.

vaxerski commented 2 months ago

my bad. Closing as this is a typical nvidia issue then, good luck. I would help if I knew how.

ARKye03 commented 2 months ago

my bad. Closing as this is a typical nvidia issue then, good luck. I would help if I knew how.

I understand your position but it's not a fact that is an nvidia issue, anyway, thanks for the help!

I going to wait for next updates to see if it get fixed.