Hyprland login failed

IIRC, for Nvidia GPU , chroot, install hyprland-nvidia or hyprland-nvidia-git,
set env vars

export LIBVA_DRIVER_NAME=nvidia
export XDG_SESSION_TYPE=wayland
export GBM_BACKEND=nvidia-drm
export GBM_BACKEND=nvidia_drm
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export WLR_NO_HARDWARE_CURSORS=1
export WLR_DRM_NO_ATOMIC=1

For Garuda theme install after reboot garuda-hyprland-settings.

sudo cp /etc/default/grub /etc/default/grub.bak && sudo sed '/^GRUB_CMDLINE_LINUX_DEFAULT=/s/"$/ nvidia-drm.modeset=1 "/g' -i /etc/default/grub && sudo update-grub
4 Likes