SDDM login error after Nvidia update

When I get to SDDM I can only log in as root, when I attempt to log in as my normal user account i find in journalctl

Auth: sddm-helper exited successfully
Greeter Stopped.
Auth: sddm-helper exited with 1 //this line is not present when logging in as root

In the past I’ve had black screens when logging in and deleted the session file to fix. This time the screen is not turning to black, my ~/.cache/sessions has been empty, tried renaming xfce4’s cache and config folders (when attempting to log in new ones were NOT made), and I’ve renamed Xauthority and ICEauthority files.

This began after I did a regular update, changed no system files, and installed nothing new since the last update. Timeline wise: 1) updated from tty while logged in, 2) used the PC, 3) rebooted, 4) started a GUI application (among other things), 5) failed to restart the GUI application, 6) immediately rebooted, 7) no more logging in

https://clbin.com/K1XbM
https://clbin.com/p37B7
@ricklinux i have xfce and 1060, saw you mention you had those in another thread

#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

[[ -f ~/.welcome_screen ]] && . ~/.welcome_screen

_set_my_PS1() {
    PS1='[\u@\h \W]\$ '
    if [ "$(whoami)" = "liveuser" ] ; then
        local iso_version="$(grep ^VERSION= /usr/lib/endeavouros-release 2>/dev/null | cut -d '=' -f 2)"
        if [ -n "$iso_version" ] ; then
            local prefix="eos-"
            local iso_info="$prefix$iso_version"
            PS1="[\u@$iso_info \W]\$ "
        fi
    fi
}
_set_my_PS1
unset -f _set_my_PS1

ShowInstallerIsoInfo() {
    local file=/usr/lib/endeavouros-release
    if [ -r $file ] ; then
        cat $file
    else
        echo "Sorry, installer ISO info is not available." >&2
    fi
}


alias ls='ls --color=auto'
alias ll='ls -lav --ignore=..'   # show long listing of all except ".."
alias l='ls -lav --ignore=.?*'   # show long listing but no hidden dotfiles except "."

[[ "$(whoami)" = "root" ]] && return

[[ -z "$FUNCNEST" ]] && export FUNCNEST=100          # limits recursive functions, see 'man bash'

## Use the up and down arrow keys for finding a command in history
## (you can write some initial letters of the command first).
bind '"\e[A":history-search-backward'
bind '"\e[B":history-search-forward'

################################################################################
## Some generally useful functions.
## Consider uncommenting aliases below to start using these functions.


_GeneralCmdCheck() {
    # A helper for functions UpdateArchPackages and UpdateAURPackages.

    echo "$@" >&2
    "$@" || {
        echo "Error: '$*' failed." >&2
        exit 1
    }
}

_CheckInternetConnection() {
    # curl --silent --connect-timeout 8 https://8.8.8.8 >/dev/null
    eos-connection-checker
    local result=$?
    test $result -eq 0 || echo "No internet connection!" >&2
    return $result
}

_CheckArchNews() {
    local conf=/etc/eos-update-notifier.conf

    if [ -z "$CheckArchNewsForYou" ] && [ -r $conf ] ; then
        source $conf
    fi

    if [ "$CheckArchNewsForYou" = "yes" ] ; then
        local news="$(yay -Pw)"
        if [ -n "$news" ] ; then
            echo "Arch news:" >&2
            echo "$news" >&2
            echo "" >&2
            # read -p "Press ENTER to continue (or Ctrl-C to stop): "
        else
            echo "No Arch news." >&2
        fi
    fi
}

UpdateArchPackages() {
    # Updates Arch packages.

    _CheckInternetConnection || return 1

    _CheckArchNews

    #local updates="$(yay -Qu --repo)"
    local updates="$(checkupdates)"
    if [ -n "$updates" ] ; then
        echo "Updates from upstream:" >&2
        echo "$updates" | sed 's|^|    |' >&2
        _GeneralCmdCheck sudo pacman -Syu "$@"
        return 0
    else
        echo "No upstream updates." >&2
        return 1
    fi
}

UpdateAURPackages() {
    # Updates AUR packages.

    _CheckInternetConnection || return 1

    local updates
    if [ -x /usr/bin/yay ] ; then
        updates="$(yay -Qua)"
        if [ -n "$updates" ] ; then
            echo "Updates from AUR:" >&2
            echo "$updates" | sed 's|^|    |' >&2
            _GeneralCmdCheck yay -Syua "$@"
        else
            echo "No AUR updates." >&2
        fi
    else
        echo "Warning: /usr/bin/yay does not exist." >&2
    fi
}

UpdateAllPackages() {
    # Updates all packages in the system.
    # Upstream (i.e. Arch) packages are updated first.
    # If there are Arch updates, you should run
    # this function a second time to update
    # the AUR packages too.

    UpdateArchPackages || UpdateAURPackages
}


_open_files_for_editing() {
    # Open any given document file(s) for editing (or just viewing).
    # Note1: Do not use for executable files!
    # Note2: uses mime bindings, so you may need to use
    #        e.g. a file manager to make some file bindings.

    if [ -x /usr/bin/exo-open ] ; then
        echo "exo-open $*" >&2
        /usr/bin/exo-open "$@" >& /dev/null &
        return
    fi
    if [ -x /usr/bin/xdg-open ] ; then
        for file in "$@" ; do
            echo "xdg-open $file" >&2
            /usr/bin/xdg-open "$file" >& /dev/null &
        done
        return
    fi

    echo "Sorry, none of programs [$progs] is found." >&2
    echo "Tip: install one of packages" >&2
    for prog in $progs ; do
        echo "    $(pacman -Qqo "$prog")" >&2
    done
}

_Pacdiff() {
    local differ pacdiff=/usr/bin/pacdiff

    if [ -n "$(echo q | DIFFPROG=diff $pacdiff)" ] ; then
        for differ in kdiff3 meld diffuse ; do
            if [ -x /usr/bin/$differ ] ; then
                DIFFPROG=$differ su-c_wrapper $pacdiff
                break
            fi
        done
    fi
}

#------------------------------------------------------------

## Aliases for the functions above.
## Uncomment an alias if you want to use it.
##

# alias ef='_open_files_for_editing'     # 'ef' opens given file(s) for editing
# alias pacdiff=_Pacdiff
################################################################################```

~/.bash_profile

[[ -f ~/.bashrc ]] && . ~/.bashrc

What is your issue. I see a lot of info. I don’t know what your bash file is about? I see in your hardware no audio on pulse or pipewire. This chip may need sof-firmware installed.

Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
  chip-ID: 8086:8c20
  Device-2: NVIDIA GP106 High Definition Audio vendor: Micro-Star MSI
  driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:10f1
  Sound Server-1: ALSA v: k5.15.7-zen1-1-zen running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: no
  Sound Server-4: PipeWire v: 0.3.40 running: no

Is this the drive you have installed on? It looks to be getting to be full.

ID-1: / size: 116.32 GiB used: 110.73 GiB (95.2%) fs: ext4 dev: /dev/sdc2

Is it not booting on Nvidia? I see you don’t have the current Nvidia drivers. It should be the 495XX series!
Secondly you don’t have anything in the grub command line for drm booting on Nvidia.

Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Micro-Star MSI
  driver: nvidia v: 470.62.12 bus-ID: 01:00.0 chip-ID: 10de:1c03
  Display: x11 server: X.org 1.21.1.1 compositor: xfwm4 driver:
  loaded: nvidia resolution: <missing: xdpyinfo>
  OpenGL: renderer: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
  v: 4.6.0 NVIDIA 470.62.12 direct render: Yes
Dec 12 11:45:01 jim-ms7818 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux-zen root=UUID=f51d9a53-c1e7-4030-bb84-9e2a5521ae0c rw quiet loglevel=3 nowatchdog lsm=landlock,lockdown,yama,apparmor,bpf

Edit: Are you not able to boot and log into a TTY and update?

You are on the leatest zen kernel so I’m not sure why you have the 470xx nvidia drivers if you’ve updated.

Sorry about that, and thanks for the super detailed reply sir. I am able to use tty2 and I have done at least 2 small upgrades today and the problem persists. Not sure why pulse isn’t working, but that line in the log must have something to do with how I’m logging in as root and should probably be ignored. The issue is near the top, when logging in as normal user after an update it just hangs on the login prompt and the cursor changes to an X, previously I’ve had black screens instead of the login prompt. I have cleared up 20GB that’s gotta be a related issue, thanks. Why can I log in as root and not my regular account after the upgrade(s)?

I did some looking around and it seems 470 is the correct vulkan version of the drivers (https://developer.nvidia.com/vulkan-driver " December 7th, 2021 - Windows 472.85, Linux 470.62.16"), this is kinda where I want to stay because vulkan works better for me. Do I need to turn on drm seeing as I never had to before? Future builds will not have nvidia, too many headaches there.

edit: downloaded a big zip, forgot to unload to a secondary drive, and I thought 6gb was enough to run my system. it was most likely the storage space issue, and I missed it. sorry for the time waster I thought it was sddm’s fault because root was able to log in still.

edit2: this does not change how i feel about nvidia

I’m not so sure about that. Check if sof-firmware is installed.

pacman -Qi sof-firmware

EDit: If audio is working then is okay. But i think this chip uses sof-firmware.

Thank you @ricklinux
image
I’m on my normal account and pulseaudio is all good
Thanks again for all your help, sorry for being a little turd it’s just this seemed a lot like the problem I had weeks ago with xfce4 having a bugged session file (i no longer save them). Except instead of a black screen it just kept the login screen on so I assumed it was sddm/xfce acting up again. big idiot energy :\

What does this show?

inxi -Aa 
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
  chip-ID: 8086:8c20 class-ID: 0403
  Device-2: NVIDIA GP106 High Definition Audio vendor: Micro-Star MSI
  driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:10f1
  class-ID: 0403
  Sound Server-1: ALSA v: k5.15.7-zen1-1-zen running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.40 running: no
1 Like

Looks like audio is fine. Some of the Intel chips require sof-firmware or they don’t work.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.