LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 05-23-2024, 08:38 AM   #1
progCan
LQ Newbie
 
Registered: Nov 2023
Location: the chair in front of my computer, i live there.
Distribution: Debian 12 With KDE Plasma 5.27.5 (raspberry pi os with KDE Plasma on my raspberry pi 5)
Posts: 7

Rep: Reputation: 0
[Arch Linux Hyprland (wayland)] SDDM and proprietary nvidia drivers stopped working.


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.

Last edited by progCan; 05-26-2024 at 04:10 AM. Reason: fixed sddm
 
Old 05-23-2024, 10:19 AM   #2
Fearless Fred
Member
 
Registered: Jan 2022
Location: UK
Distribution: Mabox - Manjaro/Arch
Posts: 60

Rep: Reputation: 37
If you change drivers from nvidia to nouveau, it will (or should have) changed the grub boot parameters which is probably why SDDM is now having issues maybe it will be trying to use the now removed NVidia drivers?

rebuild your grub config, and it should work as expected.
 
Old 05-23-2024, 12:28 PM   #3
progCan
LQ Newbie
 
Registered: Nov 2023
Location: the chair in front of my computer, i live there.
Distribution: Debian 12 With KDE Plasma 5.27.5 (raspberry pi os with KDE Plasma on my raspberry pi 5)
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Fearless Fred View Post
If you change drivers from nvidia to nouveau, it will (or should have) changed the grub boot parameters which is probably why SDDM is now having issues maybe it will be trying to use the now removed NVidia drivers?

rebuild your grub config, and it should work as expected.
if you mean "sudo update-grub" i already did that.
 
Old 05-23-2024, 03:47 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,930
Blog Entries: 45

Rep: Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160
Moderator Response

Moved: This thread is more suitable in <Arch> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Arch Linux Installer Now Supports Hyprland WM, Limine Bootloader LXer Syndicated Linux News 0 08-01-2023 06:33 PM
[SOLVED] SDDM has only 1 screen and non-SDDM has both screens. Why? kevinbenko Linux - Newbie 4 12-17-2022 07:27 AM
sddm not starting / Auth: sddm-helper exited with 6 (or 11) wael_h Slackware 2 07-11-2021 12:02 PM
Distro with Wayland support on NVIDIA proprietary drivers? 273 Linux - Hardware 2 04-28-2017 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 04:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration