So, recently, SDDM and the proprietary nvidia drivers stopped working with my arch linux hyprland setup. I am currently using nouveau and logging in and running hyprland manually (through the "Hyprland" command). It's obvious why running hyprland manually is an inconvenience but even more importantly, nouveau does not support cuda, which means i can't run blender and local ai like ollama (and that kinda wastes the power of my high end pc.). This happened after i tried
this option in the hyprland wiki. I know that i am not really supposed to do this anyways, but the flickering with xwayland got very very annoying (which is an issue of it's own, but if you know any solutions for that, it will be very appriciated. I can barely use GIMP, Krita, chocolate doom and other software with the proprietary nvidia drivers). I emptied /etc/modprobe.d/nvidia.conf, and tried adding "options nvidia NVreg_RegistryDwords=''" in it, neither worked. sddm stopped working a little after i installed nouveau (it might not be related to nouveau tho). I couldn't install weston (libgusb wasn't found in any of the mirrors, which is a dependecy of weston), so that is probably why sddm is not working. I looked everywhere to solve this issue. It seems almost nobody tried that nuclear method, and while
there are people having the sddm problem, i still couldn't solve it.
here is neofetch --off
Code:
OS: Arch Linux x86_64
Host: MS-7D99 2.0
Kernel: 6.9.1-arch1-1
Uptime: 19 mins
Packages: 2226 (pacman)
Shell: zsh 5.9
Resolution: 1920x1080
DE: Hyprland
Theme: Catppuccin-Mocha-Standard-Sapphire-Dark [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: kitty
CPU: Intel i9-14900KF (32) @ 5.700GHz
GPU: NVIDIA GeForce RTX 4060
Memory: 3614MiB / 64146MiB
here is /usr/lib/sddm/sddm.conf.d/default.conf
Code:
[Autologin]
Relogin=false
Session=
User=
[General]
DisplayServer=wayland
GreeterEnvironment=
HaltCommand=/usr/bin/systemctl poweroff
InputMethod=
Namespaces=
Numlock=none
RebootCommand=/usr/bin/systemctl reboot
[Theme]
Current=catppuccin-mocha
CursorSize=
CursorTheme=
DisableAvatarsTreshold=7
EnableAvatars=true
FacesDir=/usr/share/sddm/faces
Font=
ThemeDir=/usr/share/sddm/themes
[Users]
DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin
HideShells=
HideUsers=
MaximumUid=60513
MinimumUid=1000
RememberLastSession=true
RememberLastUser=true
ReuseSession=true
[Wayland]
CompositorCommand=weston --shell=kiosk
EnableHiDPI=true
SessionCommand=/usr/share/sddm/scripts/wayland-session
SessionDir=/usr/local/share/wayland-sessions,/usr/share/wayland-sessions
SessionLogFile=.local/share/sddm/wayland-session.log
[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
EnableHiDPI=true
ServerArguments=-nolisten tcp
ServerPath=/usr/bin/X
SessionCommand=/usr/share/sddm/scripts/Xsession
SessionDir=/usr/local/share/xsessions,/usr/share/xsessions
SessionLogFile=.local/share/sddm/xorg-session.log
XephyrPath=/usr/bin/Xephyr
EDIT: fixed the sddm problem, i regenerated the pacman mirrorlist and installed weston and it worked. my mirrorlist was probably broken. i still could not solve the nvidia driver problem though.