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
21.41k stars 898 forks source link

Black Screen on eDP-1 After Aquamarine Update in Hyprland with AMD/NVIDIA Hybrid GPU Setup #8308

Open ottersome opened 4 days ago

ottersome commented 4 days ago

Already reported ? *

Regression?

Yes

System Info and Version

System/Version info ```sh Hyprland, built from branch main at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: 2024-06-25 Tag: v0.41.2, commits: 918d8340afd652b011b937d29d5eea0be08467f5 flags: (if any) System Information: System name: Linux Node name: trashcan Release: 6.11.2 Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri Oct 4 14:38:57 UTC 2024 GPU information: 64:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] [10de:28e0] (rev a1) (prog-if 00 [VGA controller]) os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.05.20241006.ecbc1ca" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos IMAGE_ID="" IMAGE_VERSION="" LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.05 (Uakari)" SUPPORT_END="2024-12-31" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.05 (Uakari)" VERSION_CODENAME=uakari VERSION_ID="24.05" plugins: ======Config-Start====== Config File: /home/ottersome/.config/hypr/hyprland.conf: Read Succeeded # _ _ _ _ # | | | |_ _ _ __ _ __| | __ _ _ __ __| | # | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` | # | _ | |_| | |_) | | | | (_| | | | | (_| | # |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_| # |___/|_| # # ----------------------------------------------------- # IMPORTANT: Don't overwrite ML4W configuration. # Create your own custom configuration variation instead. # https://github.com/mylinuxforwork/dotfiles/wiki/Configuration-Variations # # NVIDIA # env = LIBVA_DRIVER_NAME,nvidia # env = XDG_SESSION_TYPE,wayland # env = GDM_BACKEND,nvdia-drm # env = __GLX_VENDOR_LIBRARY_NAME,nvidia # env = AQ_DRM_DEVICES,/dev/dri/card1 env = WLR_DRM_DEVICES,/dev/dri/card1 # env = WLR_DRM_DEVICES,/dev/dri/by-path/pci-0000\:65\:00.0-card # # ----------------------------------------------------- # Monitor # ----------------------------------------------------- source = ~/.config/hypr/conf/monitor.conf # ----------------------------------------------------- # Autostart # ----------------------------------------------------- source = ~/.config/hypr/conf/autostart.conf # ## ----------------------------------------------------- ## Cursor ## ----------------------------------------------------- #source = ~/.config/hypr/conf/cursor.conf # ## ----------------------------------------------------- ## Environment ## ----------------------------------------------------- source = ~/.config/hypr/conf/environment.conf # ## ----------------------------------------------------- ## Keyboard ## ----------------------------------------------------- #source = ~/.config/hypr/conf/keyboard.conf # ## ----------------------------------------------------- ## Load pywal color file ## ----------------------------------------------------- # source = ~/.cache/wal/colors-hyprland.conf # ## ----------------------------------------------------- ## Load configuration files ## ----------------------------------------------------- source = ~/.config/hypr/conf/window.conf source = ~/.config/hypr/conf/decoration.conf source = ~/.config/hypr/conf/layout.conf source = ~/.config/hypr/conf/misc.conf source = ~/.config/hypr/conf/keybinding.conf source = ~/.config/hypr/conf/windowrule.conf # ## ----------------------------------------------------- ## Animation ## ----------------------------------------------------- source = ~/.config/hypr/conf/animation.conf # ## ----------------------------------------------------- ## Custom ## ----------------------------------------------------- #source = ~/.config/hypr/conf/custom.conf # ## ----------------------------------------------------- ## ML4W Configuration ## ----------------------------------------------------- #source = ~/.config/hypr/conf/ml4w.conf # ## ----------------------------------------------------- ## Environment for xdg-desktop-portal-hyprland ## ----------------------------------------------------- #exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP Config File: /home/ottersome/.config/hypr/conf/monitor.conf: Read Succeeded source = ~/.config/hypr/conf/monitors/2560x1600.conf Config File: /home/ottersome/.config/hypr/conf/monitors/2560x1600.conf: Read Succeeded # ----------------------------------------------------- # Monitor Setup # name: "2560x1440" # ----------------------------------------------------- monitor=eDP-1,2560x1600@240.00Hz,0x0,1.25 # unscale XWayland xwayland { force_zero_scaling = true } # toolkit-specific scale env = GDK_SCALE,2 env = XCURSOR_SIZE,32 Config File: /home/ottersome/.config/hypr/conf/autostart.conf: Read Succeeded # ----------------------------------------------------- # Autostart # ----------------------------------------------------- # # Initialize waypaper # exec-once = waypaper --restore exec-once = hyprpaper -c ~/.config/hypr/hyprpaper.conf # # Launch Waybar exec-once = waybar # XDG For Default Browser exec-once = xdg-settings get default-url-scheme-handler # For Clipboard exec-once = wl-paste --type text --watch cliphist store # Stores only text data exec-once = wl-paste --type image --watch cliphist store # Stores only image data # For stuff inside tmux to understand that we are runnign Hyprland # For example: hyrpctl and wl-clip exec-once = tmux setenv -g HYPRLAND_INSTANCE_SIGNATURE "$HYPRLAND_INSTANCE_SIGNATURE" ### Old Stuff # # Setup XDG for screen sharing # # TODO: # exec-once = ~/.config/hypr/scripts/xdg.sh # # # Start Polkit # # Test Polkit pkexec --user username alacritty # # TODO: # exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # # # Load Dunst Notification Manager # exec-once = dunst # # # Load GTK settings # # TODO: # exec-once = ~/.config/hypr/scripts/gtk.sh # # # Using hypridle to start hyprlock # exec-once = hypridle # # # Load cliphist history # exec-once = wl-paste --watch cliphist store # # # Autostart ML4W App # exec-once = ~/.config/hypr/scripts/ml4w-autostart.sh # # # Start ewww daemon # #exec-once = ags & # # # # # Start autostart cleanup # exec-once = ~/.config/hypr/scripts/cleanup.sh # # # Load configuration from ML4W Hyprland Settings App # exec = ~/.config/ml4w-hyprland-settings/hyprctl.sh Config File: /home/ottersome/.config/hypr/conf/environment.conf: Read Succeeded source = ~/.config/hypr/conf/environments/default.conf Config File: /home/ottersome/.config/hypr/conf/environments/default.conf: Read Succeeded # ----------------------------------------------------- # Environment Variables # name: "Default" # ----------------------------------------------------- env = XDG_CURRENT_DESKTOP, Hyprland env = XDG_SESSION_TYPE, wayland env = XDG_SESSION_DESKTOP, Hyprland exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP Config File: /home/ottersome/.config/hypr/conf/window.conf: Read Succeeded source = ~/.config/hypr/conf/windows/default.conf Config File: /home/ottersome/.config/hypr/conf/windows/default.conf: Read Succeeded # ----------------------------------------------------- # General window layout and colors # name: "Default" # ----------------------------------------------------- general { gaps_in = 10 gaps_out = 20 border_size = 2 col.active_border = rgba(8fbcbbff) col.inactive_border =rgba(00A3C555) layout = dwindle resize_on_border = true } Config File: /home/ottersome/.config/hypr/conf/decoration.conf: Read Succeeded source = ~/.config/hypr/conf/decorations/default.conf Config File: /home/ottersome/.config/hypr/conf/decorations/default.conf: Read Succeeded # ----------------------------------------------------- # General window decoration # name: "Default" # ----------------------------------------------------- # decoration { rounding = 9 blur { enabled = true size = 6 passes = 2 new_optimizations = on ignore_opacity = true xray = true noise=0.1 contrast=1 # blurls = waybar } active_opacity = 1.0 inactive_opacity = 0.8 fullscreen_opacity = 1.0 drop_shadow = true shadow_range = 30 shadow_render_power = 3 col.shadow = 0x66000000 } group{ groupbar{ enabled = true col.active = rgba(39605Fff) col.inactive = rgba(3b4252ff) text_color = rgba(B0B0B0FF) gradients=true font_family=JetBrainsMonoNerdFont } col.border_active = rgba(8fbcbbff) col.border_inactive = rgba(3b4252ff) } Config File: /home/ottersome/.config/hypr/conf/layout.conf: Read Succeeded source = ~/.config/hypr/conf/layouts/default.conf Config File: /home/ottersome/.config/hypr/conf/layouts/default.conf: Read Succeeded # ----------------------------------------------------- # Layouts # ----------------------------------------------------- dwindle { pseudotile = true preserve_split = true force_split = 2 } master { # Commented out due to compatibility reasons # new_status = master } gestures { workspace_swipe = true } binds { workspace_back_and_forth = true allow_workspace_cycles = true pass_mouse_when_bound = false } Config File: /home/ottersome/.config/hypr/conf/misc.conf: Read Succeeded # ----------------------------------------------------- # Misc settings # ----------------------------------------------------- misc { disable_hyprland_logo = true disable_splash_rendering = true } Config File: /home/ottersome/.config/hypr/conf/keybinding.conf: Read Succeeded source = ~/.config/hypr/conf/keybindings/default.conf Config File: /home/ottersome/.config/hypr/conf/keybindings/default.conf: Read Succeeded # ----------------------------------------------------- # Key bindings # name: "Default" # ----------------------------------------------------- # SUPER KEY $mainMod = SUPER $HYPRSCRIPTS = ~/.config/hypr/scripts $SCRIPTS = ~/.config/ml4w/scripts # Applications bind = $mainMod, RETURN, exec, kitty bind = $mainMod, B, exec, zen bind = $mainMod, X, exec, thunar #bind = $mainMod CTRL, E, exec, ~/.config/ml4w/settings/emojipicker.sh # Open the emoji picker #bind = $mainMod CTRL, C, exec, ~/.config/ml4w/settings/calculator.sh # Open the calculator # Windows bind = $mainMod SHIFT, Q, killactive # Kill active window bind = $mainMod, F, fullscreen # Set active window to fullscreen # bind = $mainMod, D, exec, wofi --show=run # Set active window to fullscreen bind = $mainMod, D, exec, rofi -show drun -show-icons # Set active window to fullscreen bind = $mainMod, R, exec, rofi -show file-browser-extended -file-browser-depth 4 -file-browser-dir ~/onedrive/ResearchPapers -file-browser-cmd sioyek -theme-str "window {width: 50%;}" bind = $mainMod, G, exec, rofi -show file-browser-extended -file-browser-depth 3 -file-browser-dir ~/onedrive/Books/Literature -file-browser-cmd sioyek -theme-str "window {width: 50%;}" bind = $mainMod, T, exec, rofi -show file-browser-extended -file-browser-depth 3 -file-browser-dir ~/onedrive/Books/Academic -file-browser-cmd sioyek -theme-str "window {width: 50%;}" bind = $mainMod Shift, E, exec, rofi -show emoji "window {width: 50%;}" bind = $mainMod, SPACE, togglefloating # Toggle active windows into floating mode #bind = $mainMod SHIFT, T, exec, $HYPRSCRIPTS/toggleallfloat.sh # Toggle all windows into floating mode bind = $mainMod, P, togglesplit # Toggle split bind = $mainMod, H, movefocus, l # Move focus left bind = $mainMod, L, movefocus, r # Move focus right bind = $mainMod, K, movefocus, u # Move focus up bind = $mainMod, J, movefocus, d # Move focus down bindm = $mainMod, mouse:272, movewindow # Move window with the mouse bindm = $mainMod, mouse:273, resizewindow # Resize window with the mouse bind = $mainMod CTRL, L, resizeactive, 100 0 # Increase window width with keyboard bind = $mainMod CTRL, H, resizeactive, -100 0 # Reduce window width with keyboard bind = $mainMod CTRL, J, resizeactive, 0 100 # Increase window height with keyboard bind = $mainMod CTRL, K, resizeactive, 0 -100 # Reduce window height with keyboard bind = $mainMod, W, togglegroup # Toggle window group bind = $mainMod SHIFT, W, moveoutofgroup # Toggle window group bind = $mainMod, Q, changegroupactive, b # Toggle window group bind = $mainMod, E, changegroupactive, f # Toggle window group bind = $mainMod Shift, J, movewindoworgroup, d bind = $mainMod Shift, H, movewindoworgroup, l bind = $mainMod Shift, L, movewindoworgroup, r bind = $mainMod Shift, K, movewindoworgroup, u # For OBS: bind = SUPER, F10, pass, ^(com\.obsproject\.Studio)$ bind = SUPER, F8, pass, ^(com\.obsproject\.Studio)$ # Actions #bind = $mainMod SHIFT, A, exec, $HYPRSCRIPTS/toggle-animations.sh # Toggle animations bind = $mainMod, z, exec, hyprshot --freeze --mode=region --raw --clipboard-only | swappy -f - bind = $mainMod SHIFT, S, exec, $HYPRSCRIPTS/screenshot.sh # Take a screenshot bind = $mainMod, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy #bind = $mainMod CTRL, Q, exec, wlogout # Start wlogout #bind = $mainMod SHIFT, W, exec, waypaper --random # Change the wallpaper #bind = $mainMod CTRL, W, exec, waypaper # Open wallpaper selector #bind = $mainMod ALT, W, exec, $HYPRSCRIPTS/wallpaper-automation.sh # Start random wallpaper script #bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i # Open application launcher #bind = $mainMod CTRL, K, exec, $HYPRSCRIPTS/keybindings.sh # Show keybindings #bind = $mainMod SHIFT, B, exec, ~/.config/waybar/launch.sh # Reload waybar #bind = $mainMod CTRL, B, exec, ~/.config/waybar/toggle.sh # Toggle waybar #bind = $mainMod SHIFT, R, exec, $HYPRSCRIPTS/loadconfig.sh # Reload hyprland config #bind = $mainMod, V, exec, $SCRIPTS/cliphist.sh # Open clipboard manager #bind = $mainMod CTRL, T, exec, ~/.config/waybar/themeswitcher.sh # Open waybar theme switcher #bind = $mainMod CTRL, S, exec, ~/.config/ml4w/apps/ML4W_Dotfiles_Settings-x86_64.AppImage # Open ML4W Dotfiles Settings app #bind = $mainMod SHIFT, H, exec, $HYPRSCRIPTS/hyprshade.sh # Toggle screenshader bind = $mainMod ALT, G, exec, $HYPRSCRIPTS/gamemode.sh # Toggle game mode #bind = $mainMod, Z, exec, missioncenter # Open Mission Center # Workspaces bind = $mainMod, 1, workspace,1 # Open workspace 1 bind = $mainMod, 2, workspace,2 # Open workspace 2 bind = $mainMod, 3, workspace,3 # Open workspace 3 bind = $mainMod, 4, workspace,4 # Open workspace 4 bind = $mainMod, 5, workspace,5 # Open workspace 5 bind = $mainMod, 6, workspace,6 # Open workspace 6 bind = $mainMod, 7, workspace,7 # Open workspace 7 bind = $mainMod, 8, workspace,8 # Open workspace 8 bind = $mainMod, 9, workspace,9 # Open workspace 9 bind = $mainMod, 0, workspace,10 # Open workspace 10 bind = $mainMod SHIFT, 1, movetoworkspace,1 # Move active window to workspace 1 bind = $mainMod SHIFT, 2, movetoworkspace,2 # Move active window to workspace 2 bind = $mainMod SHIFT, 3, movetoworkspace,3 # Move active window to workspace 3 bind = $mainMod SHIFT, 4, movetoworkspace,4 # Move active window to workspace 4 bind = $mainMod SHIFT, 5, movetoworkspace,5 # Move active window to workspace 5 bind = $mainMod SHIFT, 6, movetoworkspace,6 # Move active window to workspace 6 bind = $mainMod SHIFT, 7, movetoworkspace,7 # Move active window to workspace 7 bind = $mainMod SHIFT, 8, movetoworkspace,8 # Move active window to workspace 8 bind = $mainMod SHIFT, 9, movetoworkspace,9 # Move active window to workspace 9 bind = $mainMod SHIFT, 0, movetoworkspace,10 # Move active window to workspace 10 bind = $mainMod Shift, C, movetoworkspace, special bind = $mainMod , C, togglespecialworkspace, special bind = $mainMod, Tab, workspace, m+1 # Open next workspace bind = $mainMod SHIFT, Tab, workspace, m-1 # Open previous workspace bind = $mainMod SHIFT, M, exec, pkill Hyprland # #bind = $mainMod CTRL, 1, exec, $HYPRSCRIPTS/moveTo.sh 1 # Move all windows to workspace 1 #bind = $mainMod CTRL, 2, exec, $HYPRSCRIPTS/moveTo.sh 2 # Move all windows to workspace 2 #bind = $mainMod CTRL, 3, exec, $HYPRSCRIPTS/moveTo.sh 3 # Move all windows to workspace 3 #bind = $mainMod CTRL, 4, exec, $HYPRSCRIPTS/moveTo.sh 4 # Move all windows to workspace 4 #bind = $mainMod CTRL, 5, exec, $HYPRSCRIPTS/moveTo.sh 5 # Move all windows to workspace 5 #bind = $mainMod CTRL, 6, exec, $HYPRSCRIPTS/moveTo.sh 6 # Move all windows to workspace 6 #bind = $mainMod CTRL, 7, exec, $HYPRSCRIPTS/moveTo.sh 7 # Move all windows to workspace 7 #bind = $mainMod CTRL, 8, exec, $HYPRSCRIPTS/moveTo.sh 8 # Move all windows to workspace 8 #bind = $mainMod CTRL, 9, exec, $HYPRSCRIPTS/moveTo.sh 9 # Move all windows to workspace 9 #bind = $mainMod CTRL, 0, exec, $HYPRSCRIPTS/moveTo.sh 10 # Move all windows to workspace 10 bind = $mainMod, mouse_down, workspace, e+1 # Open next workspace bind = $mainMod, mouse_up, workspace, e-1 # Open previous workspace bind = $mainMod CTRL, down, workspace, empty # Open the next empty workspace # Passthrough SUPER KEY to Virtual Machine # bind = $mainMod, P, submap, passthru # Passthrough SUPER key to virtual machine # submap = passthru # bind = SUPER, Escape, submap, reset # Get SUPER key back from virtual machine # submap = reset # Fn keys bind = , XF86MonBrightnessUp, exec, brightnessctl -d amdgpu_bl1 -q s +10% # Increase brightness by 10% bind = , XF86MonBrightnessDown, exec, brightnessctl -d amdgpu_bl1 -q s 10%- # Reduce brightness by 10% bind = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ # Increase volume by 5% bind = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- # Reduce volume by 5% bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle # Toggle mute bind = , XF86AudioPlay, exec, playerctl play-pause # Audio play pause bind = , XF86AudioPause, exec, playerctl pause # Audio pause bind = , XF86AudioNext, exec, playerctl next # Audio next bind = , XF86AudioPrev, exec, playerctl previous # Audio previous bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle # Toggle microphone #bind = , XF86Calculator, exec, ~/.config/ml4w/settings/calculator.sh # Open calculator #bind = , XF86Lock, exec, hyprlock # Open screenlock #bind = , XF86Tools, exec, alacritty --class dotfiles-floating -e ~/.config/ml4w/apps/ML4W_Dotfiles_Settings-x86_64.AppImage # Open ML4W Dotfiles Settings app bind = , code:238, exec, brightnessctl -d smc::kbd_backlight s +10 bind = , code:237, exec, brightnessctl -d smc::kbd_backlight s 10- Config File: /home/ottersome/.config/hypr/conf/windowrule.conf: Read Succeeded source = ~/.config/hypr/conf/windowrules/default.conf Config File: /home/ottersome/.config/hypr/conf/windowrules/default.conf: Read Succeeded # ----------------------------------------------------- # Window rules # ----------------------------------------------------- windowrule = tile,^(Microsoft-edge)$ windowrule = tile,^(Brave-browser)$ windowrule = tile,^(Chromium)$ windowrule = float,^(pavucontrol)$ windowrule = float,^(blueman-manager-wrapped)$ windowrule = float,^(blueman-manager)$ windowrule = float,^(nm-connection-editor)$ windowrule = float,^(qalculate-gtk)$ windowrule = float,^(matplotlib)$ windowrule = float,^(feh)$ windowrulev2 = opacity 0.85 override 0.85 override, title:^(zsh)$ windowrulev2 = opacity 0.85 override 0.85 override, title:^(tmux)$ # Browser Picture in Picture windowrulev2 = float, title:^(Picture-in-Picture)$ windowrulev2 = pin, title:^(Picture-in-Picture)$ windowrulev2 = move 69.5% 4%, title:^(Picture-in-Picture)$ Config File: /home/ottersome/.config/hypr/conf/animation.conf: Read Succeeded source = ~/.config/hypr/conf/animations/animations-high.conf Config File: /home/ottersome/.config/hypr/conf/animations/animations-high.conf: Read Succeeded # ----------------------------------------------------- # Animations # name: "High" # ----------------------------------------------------- animations { enabled = true bezier = wind, 0.05, 0.9, 0.1, 1.05 bezier = winIn, 0.1, 1.1, 0.1, 1.1 bezier = winOut, 0.3, -0.3, 0, 1 bezier = liner, 1, 1, 1, 1 animation = windows, 1, 6, wind, slide animation = windowsIn, 1, 6, winIn, slide animation = windowsOut, 1, 5, winOut, slide animation = windowsMove, 1, 5, wind, slide animation = border, 1, 1, liner animation = borderangle, 1, 30, liner, loop animation = fade, 1, 10, default animation = workspaces, 1, 5, wind } ======Config-End======== ```

Description

After introducing aquamarine in commit 016da234, my computer displays a black screen on eDP-1 as soon as Hyprland launches, though it renders normally on DP-2. Hyprland itself remains responsive, with no noticeable errors.

Sanity checks performed:

My best lead on the cause may relate to Laptop GPU order reversed from normal causes boot_vga/drm issues and KWin’s specific approach to the problem. TL;DR: The PCI bus order places the dGPU before the iGPU on my specific laptop model, causing confusion in many WMs, like Cosmic and KWin.

Additionally, I’ve noticed increased logging of NVIDIA references when launching Hyprland instances since aquamarine’s introduction.

I've attached the bisection file (hypr_bisection.log), as well as text files for the output of ./build/Hyprland &> (compiled_commit).txt and any accompanying crash report.

How to reproduce

  1. Use Asus ZephyrusGA605WV
  2. git clone --no-checkout https://github.com/hyprwm/Hyprland
  3. git checkout 016da234
  4. git submodule update --init --recursive
  5. nix develop
  6. make all
  7. AQ_DRM_DEVICES=/dev/dri/card1 where card1 corresponds to amd gpu.
  8. ./build/Hyrpland
  9. Enjoy black screen on laptop monitor.

Crash reports, logs, images, videos

016da234d0e852de3ef20eb2e89ac58d2a85f6e7.txt hyprlandCrashReport205751.txt 077494ee85c8fa4c6ae74ad8d749feea826294d2.txt hyprlandCrashReport192884.txt 04b40ea2ec85dd1d74ff18edc046a233b65024ac.txt hypr_bisection.log

romanstingler commented 4 days ago

have you tried setting AQ_NO_MODIFIERS=1

ottersome commented 4 days ago

Update:

  1. For some reason when I compile from source the config is pointing at ~/.config/hypr/hyprlandd.conf (noticed the double d). Meaning that it was not actually reading my env = AQ_DRM_DEVICES,/dev/dri/card1. After copying my ~/.config/hypr/hyprland.conf to the double dd variant. This yields an actual crash citing some permissions and MESA errrors. 016da234d0e852de3ef20eb2e89ac58d2a85f6e7_conf.txt. And the accompanying crash report hyprlandCrashReport131669.txt.

  2. I tried AQ_NO_MODIFIERS=1. Same exact behavior: 016da234d0e852de3ef20eb2e89ac58d2a85f6e7_conf_amdgpu_nomodifiers.txt

ikalco commented 4 days ago

For some reason when I compile from source the config is pointing at ~/.config/hypr/hyprlandd.conf

when you build in debug mode Hyprland will used hyprlandd.log, if you build in release mode it will use hyprland.log

This yields an actual crash citing some permissions and MESA errrors. 016da234d0e852de3ef20eb2e89ac58d2a85f6e7_conf.txt.

logs are kinda weird, but it seems like you have outdated or the wrong gpu drivers

as a sanity check can you make sure other compositors still currently work? (sway, plasma wayland, GNOME wayland) you can also try completely reinstalling all drivers and then redoing everything in https://wiki.hyprland.org/Nvidia/ it could also be a bios flag, something related to disabling AMD gpu or only using iGPU for power reasons

ottersome commented 4 days ago

The NVIDIA drivers are version 560.31.02, while the AMDGPU driver is included with Linux, currently at version 6.11.2. To my understanding, these are fairly recent versions, and I don't believe the NVIDIA drivers should play any significant role here. I've explicitly set Aquamarine to utilize the integrated graphics, but upon reviewing the logs, it seems that the NVIDIA GPU is still somehow being considered. I have managed to successfully launch Hyprland (pre-0.42) by blacklisting the NVIDIA drivers and relying solely on the AMD integrated GPU.

Plasma works, but unless the NVIDIA drivers are blacklisted, it always defaults to the dGPU. Reports from others suggest this is true for other DEs/WM as well. I am confident this is a quirk specific to my device. For reference, similar issues are discussed in Weird ordering of PCI bus, KWin’s response, Gnomes heuristic for gpu selection. One of Hyprland's most attractive feature for me was that it allowed me to bypass this automatic selection by allowing me to select the gpu of preference via AQ_DRM_DEVICES/WLR_DRM_DEVICES.

BIOS is set to hybrid. And that worked pre-0.42.

By the way, I have a new set of logs after changing the compilation back to make all. However, this doesn’t seem to fully explain the difference in logs: hyprlandCrashReport125433.txt.