You are not logged in.

#1 2024-05-04 15:47:13

choppystorm
Member
Registered: 2024-05-04
Posts: 3

Problems with nvidia drivers and sddm not working.

I updated my system recently after not updating it in a while and when i rebooted my computer sddm shows a black screen with only a cursor. i can switch to another tty and log in form there, if i try to start my desktop (Hyprland) it says no GPU found in the logs. this is the same for when i try to launch all desktop environments other than kde plasma on Wayland for some reason. the only problem with this is is that Wayland crashes every time i hover over a open window and it closes all of my apps on my desktop. i am kinda new do i don't know any trouble shooting steps to solve this. i also tried looking in the wiki about NVIDIA problems and sddm problems but nothing seamed to work. any help is appreciated. Thanks

Edit: i am on linux-zen with NVIDIA-dkms drivers

Last edited by choppystorm (2024-05-04 15:53:32)

Offline

#2 2024-05-16 09:56:37

rep_movsd
Member
Registered: 2013-08-24
Posts: 148

Re: Problems with nvidia drivers and sddm not working.

Hyprland with nvidia is simply not working properly for most people

There are numerous threads about this.

Offline

#3 2024-05-16 11:01:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,223

Re: Problems with nvidia drivers and sddm not working.

Are your nivdia drivers even loaded properly? Post the links after failing to start SDDM

sudo journalctl -b | curl -F 'file=@-' 0x0.st
cat /var/log/Xorg.0.log | curl -F 'file=@-' 0x0.st 

Offline

#4 2024-05-23 07:22:46

asdfoiua
Member
Registered: 2024-01-07
Posts: 2

Re: Problems with nvidia drivers and sddm not working.

I'm having this exact same problem after updating today. Did you ever find a fix for it?

Offline

#5 2024-06-18 01:31:34

choppystorm
Member
Registered: 2024-05-04
Posts: 3

Re: Problems with nvidia drivers and sddm not working.

V1del wrote:

Are your nivdia drivers even loaded properly? Post the links after failing to start SDDM

sudo journalctl -b | curl -F 'file=@-' 0x0.st
cat /var/log/Xorg.0.log | curl -F 'file=@-' 0x0.st 

here are the outputs of those files.
sorry for the late response, haven't used my computer in a while
http://0x0.st/XTPG.txt
http://0x0.st/XTPU.txt

edit:i changed the config in sddm from xorg to Wayland to see if this would fix it and haven't changed it back. i can add a log again after i switch this
new files
http://0x0.st/XTP7.txt
http://0x0.st/XTPh.txt

Last edited by choppystorm (2024-06-18 01:37:12)

Offline

#6 2024-06-18 13:39:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,223

Re: Problems with nvidia drivers and sddm not working.

Xorg starts correctly, SDDM starts correctly, as soon as you try to load a session things fall apart. Did you configure some environment variables bending your GL vendor paths as part of the session? What output do you get from

printenv

Offline

#7 2024-06-18 23:27:00

ToxinPowe
Member
Registered: 2010-11-26
Posts: 23

Re: Problems with nvidia drivers and sddm not working.

I had a similar problem with  plasma+wayland, check that you have this working and reboot: https://wiki.archlinux.org/title/NVIDIA … de_setting, or check this video for some hints https://www.youtube.com/watch?v=S6HGON_agn4

Offline

#8 2024-06-19 01:35:56

choppystorm
Member
Registered: 2024-05-04
Posts: 3

Re: Problems with nvidia drivers and sddm not working.

V1del wrote:

Xorg starts correctly, SDDM starts correctly, as soon as you try to load a session things fall apart. Did you configure some environment variables bending your GL vendor paths as part of the session? What output do you get from

printenv

here is the output of that command

ENABLE_VKBASALT=1
GBM_BACKEND=nvidia-drm
HOME=/home/sasha
LANG=en_US.UTF-8
LIBVA_DRIVER_NAME=nvidia
LOGNAME=sasha
MAIL=/var/spool/mail/sasha
PATH=/home/sasha/.local/bin:/home/sasha/.sdkman/candidates/java/current/bin:/home/sasha/.sdkman/candidates/gradle/current/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/var/lib/snapd/snap/bin
SHELL=/usr/bin/zsh
USER=sasha
XDG_DATA_DIRS=/home/sasha/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_RUNTIME_DIR=/run/user/1000
__GLX_VENDOR_LIBRARY_NAME=nvidia
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
DISPLAY=:1
GRADLE_HOME=/home/sasha/.sdkman/candidates/gradle/current
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/sasha/.gtkrc-2.0:/home/sasha/.config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/sasha/.gtkrc:/home/sasha/.config/gtkrc
ICEAUTHORITY=/run/user/1000/iceauth_ULfZET
JAVA_HOME=/home/sasha/.sdkman/candidates/java/current
KDE_APPLICATIONS_AS_SCOPE=1
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=6
LESS=-R
LSCOLORS=Gxfxcxdxbxegedabagacad
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.7z=01;31:*.ace=01;31:*.alz=01;31:*.apk=01;31:*.arc=01;31:*.arj=01;31:*.bz=01;31:*.bz2=01;31:*.cab=01;31:*.cpio=01;31:*.crate=01;31:*.deb=01;31:*.drpm=01;31:*.dwm=01;31:*.dz=01;31:*.ear=01;31:*.egg=01;31:*.esd=01;31:*.gz=01;31:*.jar=01;31:*.lha=01;31:*.lrz=01;31:*.lz=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.lzo=01;31:*.pyz=01;31:*.rar=01;31:*.rpm=01;31:*.rz=01;31:*.sar=01;31:*.swm=01;31:*.t7z=01;31:*.tar=01;31:*.taz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tgz=01;31:*.tlz=01;31:*.txz=01;31:*.tz=01;31:*.tzo=01;31:*.tzst=01;31:*.udeb=01;31:*.war=01;31:*.whl=01;31:*.wim=01;31:*.xz=01;31:*.z=01;31:*.zip=01;31:*.zoo=01;31:*.zst=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:
MOTD_SHOWN=pam
OLDPWD=/home/sasha
PAGER=less
PWD=/home/sasha
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_WAYLAND_RECONNECT=1
SDKMAN_CANDIDATES_API=https://api.sdkman.io/2
SDKMAN_CANDIDATES_DIR=/home/sasha/.sdkman/candidates
SDKMAN_DIR=/home/sasha/.sdkman
SDKMAN_PLATFORM=linuxx64
SESSION_MANAGER=local/arch:@/tmp/.ICE-unix/6095,unix/arch:/tmp/.ICE-unix/6095
SSH_AUTH_SOCK=/run/user/1000/gcr/ssh
STARSHIP_SESSION_KEY=1998245191943832
STARSHIP_SHELL=zsh
TERM=xterm-kitty
WAYLAND_DISPLAY=wayland-0
XAUTHORITY=/run/user/1000/xauth_bWZyAw
XDG_CONFIG_DIRS=/home/sasha/.config/kdedefaults:/etc/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_MENU_PREFIX=plasma-
XDG_SEAT=seat0
XDG_SESSION_CLASS=user
XDG_SESSION_ID=2
XDG_SESSION_TYPE=wayland
XDG_VTNR=3
XKB_DEFAULT_LAYOUT=us
XKB_DEFAULT_MODEL=pc105+inet
XKB_DEFAULT_OPTIONS=terminate:ctrl_alt_bksp
ZSH=/home/sasha/.oh-my-zsh
MANAGERPID=5752
INVOCATION_ID=d5235a3c644a47c5ad2e54a3e501a106
JOURNAL_STREAM=9:9017
SYSTEMD_EXEC_PID=6108
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service/memory.pressure
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
KITTY_WINDOW_ID=1
COLORTERM=truecolor
KITTY_PID=7212
KITTY_PUBLIC_KEY=1:ONeXC$pfdQ40UjtQs9=w5R_>}xP@1V=bO&)ehiTt
TERMINFO=/usr/lib/kitty/terminfo
KITTY_INSTALLATION_DIR=/usr/lib/kitty
SHLVL=1
_=/usr/bin/printenv

Last edited by choppystorm (2024-06-19 15:54:41)

Offline

#9 2024-06-19 15:49:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,979

Re: Problems with nvidia drivers and sddm not working.

Please use [code][/code] tags. Edit your post in this regard.

Can you disable SDDM and start hyprland manually?
https://wiki.archlinux.org/title/Hyprland#Starting

ZSH=/home/sasha/.oh-my-zsh

tapptapptappp…

chsh -s /usr/bin/bash

Offline

Board footer

Powered by FluxBB