You are not logged in.

#26 2021-11-02 06:59:03

Trevor_B
Member
Registered: 2019-12-28
Posts: 88

Re: [SOLVED] latest update today, broke lightdm xorg login

An idea, but considering my Linux niveau (beginner) maybe stupid

Is it not easier to uninstall the nvidia packages, and before rebooting into a black screen yay the two nvidia-470xx-dkms and nvidia-470xx-utils then do a reboot

Agian I'm a real beginner so maybe this is just dopey

Thanks

Offline

#27 2021-11-02 07:33:00

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Re: [SOLVED] latest update today, broke lightdm xorg login

Yes, that's how it should be done.
But you probably cannot uninstall all modules due to dependencies. That's ok though as these can be replaced by the new packages.

Last edited by Maniaxx (2021-11-02 07:40:57)


sys2064

Offline

#28 2021-11-02 10:01:53

Trevor_B
Member
Registered: 2019-12-28
Posts: 88

Re: [SOLVED] latest update today, broke lightdm xorg login

Boy is this complicated

So I did
sudo pacman -Rsc nvidia

Then did a
yay -S nvidia-470xx-dkms nvidia-470xx-utils libxnvctrl-470xx nvidia-470xx-settings opencl-nvidia-470xx

Answered y when getting question about conflicts, for instance :
looking for conflicting packages...
:: libxnvctrl-470xx and libxnvctrl are in conflict. Remove libxnvctrl? [y/N] y
:: nvidia-470xx-settings and nvidia-settings are in conflict. Remove nvidia-settings? [y/N] y

Packages (4) libxnvctrl-470.74-1 [removal]  nvidia-settings-470.74-1 [removal]
             libxnvctrl-470xx-470.82.00-1  nvidia-470xx-settings-470.82.00-1

There was a message earlier about kernel , but terminal didn't record all lines so don't have it (have changed settings from 1000 lines to 2000 for next time

Rebooted but again back into "Failed to start the Lightdm manager" and am back into my system two days old, as trying to suss out all by telephone and my small Rasberry PC a tad complicated

Ran Timeshift so back up again

Offline

#29 2021-11-02 10:14:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,723

Re: [SOLVED] latest update today, broke lightdm xorg login

For the dkms package to do anything you need to have linux-headers installed, is/was that the case?

Offline

#30 2021-11-02 10:24:14

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Re: [SOLVED] latest update today, broke lightdm xorg login

Make sure you've done a system update to have the latest kernel (5.14.15).

Add 'early loading' as described earlier and fix the pacman hook having the proper package name in the "Target=" line (nvidia-470xx-dkms).

Uninstall the old driver and reinstall the new one. Make sure the initramfs will be rebuild (in last step of driver installation).


sys2064

Offline

#31 2021-11-02 10:24:55

Trevor_B
Member
Registered: 2019-12-28
Posts: 88

Re: [SOLVED] latest update today, broke lightdm xorg login

V1del wrote:

For the dkms package to do anything you need to have linux-headers installed, is/was that the case?

pacman -Q | grep headers
gives me this

linux-api-headers 5.12.3-1

Last edited by Trevor_B (2021-11-02 10:32:35)

Offline

#32 2021-11-02 10:37:05

Trevor_B
Member
Registered: 2019-12-28
Posts: 88

Re: [SOLVED] latest update today, broke lightdm xorg login

Maniaxx wrote:

Make sure you've done a system update to have the latest kernel (5.14.15).

Add 'early loading' as described earlier and fix the pacman hook having the proper package name in the "Target=" line (nvidia-470xx-dkms).

Uninstall the old driver and reinstall the new one. Make sure the initramfs will be rebuild (in last step of driver installation).


Hi, this seem logic but how do I eliminate and what ? from the latest updates that I need to do shown below, OR can I do just a sudo pacman -S linux-5.14.15.arch1-1 on it's own


Packages (38) ca-certificates-mozilla-3.72-1  egl-wayland-1:1.1.9+2+gdaab854-1
              ffmpeg-2:4.4-6  gawk-5.1.1-1  gdal-3.3.1-9
              gtk-update-icon-cache-1:4.4.1-1  libnghttp2-1.46.0-1
              libreoffice-fresh-7.2.2-2  libtg_owt-0.git8.d578c76-1
              libxcvt-0.1.1-1  libxnvctrl-495.44-1  linux-5.14.15.arch1-1
              meson-0.60.0-2  mlt-7.2.0-1  npm-8.1.2-1  nss-3.72-1
              nvidia-495.44-2  nvidia-settings-495.44-1  nvidia-utils-495.44-3
              openmpi-4.1.1-3  perl-path-tiny-0.120-1  poppler-21.11.0-1
              poppler-glib-21.11.0-1  python-gobject-3.42.0-1
              python-idna-3.3-1  re2-1:20211101-1  telegram-desktop-3.1.11-2
              tzdata-2021e-1  v4l-utils-1.22.1-1  vala-0.54.3-1
              xmlsec-1.2.33-1  xorg-server-1.20.13-3
              xorg-server-common-1.20.13-3  xorg-server-devel-1.20.13-3
              xorg-server-xephyr-1.20.13-3  xorg-server-xnest-1.20.13-3
              xorg-server-xvfb-1.20.13-3  xorg-xwayland-21.1.2.901-1

Offline

#33 2021-11-02 10:41:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,723

Re: [SOLVED] latest update today, broke lightdm xorg login

linux-api-headers is not the linux-headers package. From this current state, remove your existing nvidia packages, run a full system update including linux-headers, and reinstall the 470xx set of packages. You should see a post installation hook running building the nvidia kernel module for the 5.14.15 kernel

Offline

#34 2021-11-02 11:17:01

Trevor_B
Member
Registered: 2019-12-28
Posts: 88

Re: [SOLVED] latest update today, broke lightdm xorg login

Okay

deleted nvidia, then a full update. Then did did  yay -S nvidia-470xx-dkms nvidia-470xx-utils libxnvctrl-470xx nvidia-470xx-settings opencl-nvidia-470xx

changed target to TARGET=nvidia-470xx-dkms in nvidia.hook
did a sudo mkinitcpio -p linux and then rebooted

same problem, have I missed something ?
http://ix.io/3DGL  (ran the sudo mkinitcpio -p linux  after this was generated while in tty)

Last edited by Trevor_B (2021-11-02 11:29:48)

Offline

#35 2021-11-02 12:23:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,723

Re: [SOLVED] latest update today, broke lightdm xorg login

You did not install linux-headers, if that is the sequence of operations you did, this is absolutely essential otherwise nvidia470xx-dkms cannot build the kernel module

Last edited by V1del (2021-11-02 12:42:33)

Offline

#36 2021-11-02 13:08:43

Trevor_B
Member
Registered: 2019-12-28
Posts: 88

Re: [SOLVED] latest update today, broke lightdm xorg login

V1del wrote:

You did not install linux-headers, if that is the sequence of operations you did, this is absolutely essential otherwise nvidia470xx-dkms cannot build the kernel module

That did it smile

Firstly again many thanks for your patience especially @V1del and @Maniaxx

For info, I had also tried though I had read it wouldn't work, but some suggested it installing the "nouveau driver", that does not work either with old cards

Here are the exact things that I did, I'm am seeing many other people with the same problem, so hopefully maybe of use to others and save your all some time in answering. Maybe a sticky somewhere, that might be nice

In this order :

1 : sudo pacman -Rsc nvidia (deleting nvidia packages)
2 : sudo pacman -Syu (latest updates)
3 : sudo pacman -S linux-headers
4 : yay -S nvidia-470xx-dkms nvidia-470xx-utils libxnvctrl-470xx nvidia-470xx-settings opencl-nvidia-470xx (answering 'y' to all conflits question, exemple : conflict (nvidia-libgl). Remove nvidia-utils? [y/N]
5 : Change the Target under the TRIGGER menu,  to Target=nvidia-470xx-dkms in the nvidia.hook conf file which is in the /etc/pacman.d/hooks/
6 : sudo mkinitcpio -p linux
Reboot

Offline

Board footer

Powered by FluxBB