[BUG] login screen doesn't load into hyprland when entering correct login
Using Arch: Only way in is to CTRL-SHIFT-F3, login then run Hyprland cmd.
Otherwise I see a black screen for a moment after entering the correct username/password then am returned to log in again.
Hopefully I'm just doing something stupid. Otherwise love the dotfiles, thank you
That seems like a crash, what display manager are you using?
Yeah agreed, using sddm as recommended.
experiencing the same issue, can you please tell me the commands you ran after pressing CTRL-SHIFT-F3 new to linux here
experiencing the same issue, can you please tell me the commands you ran after pressing CTRL-SHIFT-F3 new to linux here
Simply type Hyprland to load into the desktop environment (case sensitive)
That seems like a crash, what display manager are you using?
Is there a way I can potentially debug sddm crashing on login do you know?
If it helps, I'm using a NVIDIA RTX3050Ti
Opted for a slightly more elegant workaround to skip the greeter.
Edited the sddm config via /etc/sddm.conf.d/ uncommented the user bit and added my username, then umcommented session (use hyprland, no capital H) for auto login
Please check the Hyprland Wiki for more information how to setup an NVIDA card. Maybe you can find there the solution. I would say that it's not a Dotfiles issue.
@lizardonsprings I was also getting this issue. On a completely clean install on bare metal I was able to log in for the first time, but when I did a reboot, I get the black screen then taken back to the login page. (NVIDIA 2070 Super)
Here's how I resolved it:
# Remove nvidia-dkms if you already have it (it will be reinstalled)
sudo pacman -R nvidia-dkms
sudo pacman -S linux-headers nvidia-dkms nvidia-utils egl-wayland
create and edit /etc/modprobe.d/nvidia.conf. Add this line to the file:
options nvidia_drm modeset=1 fbdev=1
Open /etc/mkinitcpio.conf and go to/uncomment MODULES and put these modules in:
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
Make sure you have these envs somewhere in your hyprland config:
env = WLR_DRM_NO_ATOMIC,1
env = LIBVA_DRIVER_NAME,nvidia
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = GBM_BACKEND,nvidia-drm
env = __GL_GSYNC_ALLOWED,0
env = __GL_VRR_ALLOWED,0
Regenerate your initramfs:
sudo mkinitcpio -P
Reboot.
Hope this helps.
EDIT: Forgot to mention that I couldn't start in uswm mode (bottom left hand corner of the login screen). I changed that and it worked.
There is also an nvidia environment variation that you could take. https://github.com/mylinuxforwork/dotfiles/blob/main/share/dotfiles/.config/hypr/conf/environments/nvidia.conf