You are not logged in.

#1 2021-06-09 07:05:30

xmkx
Member
Registered: 2021-06-08
Posts: 2

Cannot boot into KDE after NVIDIA driver installation

I had atempt to drivers nvidia installation, but half procedure i restart and now I cannot start Xorg.
My boot process looks like this:
ON first console I have only two lines and after that boot process stops:
https://nc.nl.tab.digital/s/HN3TrMaby8Q5S9Q/preview
If I push Alt+F2 (second terminal) I can log in and try startx but:
https://nc.nl.tab.digital/s/gQYgM6WxdarqoRD/preview

I followed this guide:
https://howto.lintel.in/install-nvidia-arch-linux/
and made three steps:
2.
Blacklist nouveau driver
sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
3.
Add graphics card configuration in Xorg server
/etc/X11/xorg.conf.d/20-nvidia.conf
4.
/etc/mkinitcpio.conf
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
sudo mkinitcpio -P linux

After crash I revert changes:
ad 2. I delete nouveau from blacklist
ad 3. and delete /etc/X11/xorg.conf.d/20-nvidia.conf file
ad 4. I  change module section back:
/etc/mkinitcpio.conf
MODULES=""
sudo mkinitcpio -P linux

What should I do to back to KDE Window manager as before?

Last edited by V1del (2021-06-09 07:07:55)

Offline

#2 2021-06-09 07:17:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,994

Re: Cannot boot into KDE after NVIDIA driver installation

Please don't embed huge images directly

What's supposed to boot on tty1? Post your /var/log/Xorg.0.log as well as

sudo journalctl -b

from a failing boot: https://wiki.archlinux.org/title/List_o … n_services

Offline

#3 2021-06-09 10:23:11

xmkx
Member
Registered: 2021-06-08
Posts: 2

Re: Cannot boot into KDE after NVIDIA driver installation

V1del wrote:

What's supposed to boot on tty1?
Post your /var/log/Xorg.0.log
as well as

sudo journalctl -b

tty1 is main OS with KDE
Xorg.0.log
https://nc.nl.tab.digital/s/p9nCqDad8AT3Cwm
journalctl
https://nc.nl.tab.digital/s/WFs2TniwFMefkYw

Offline

#4 2021-06-09 11:57:22

seth
Member
Registered: 2012-09-03
Posts: 21,101

Re: Cannot boot into KDE after NVIDIA driver installation

[    12.021] (==) Using config file: "/etc/X11/xorg.conf"

Don't generate a config w/ nvidia-settings, remove that file.

[    12.035] (II) NVIDIA dlloader X Driver  465.31  Thu May 13 22:19:15 UTC 2021
[    12.035] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    12.035] (EE) No devices detected.

There's no actual trace of the nvidia GPU in the journal, do you deactivate it, eg. w/ bbswitch?

Online

#5 2021-06-09 12:19:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,994

Re: Cannot boot into KDE after NVIDIA driver installation

And what's your /etc/X11/xorg.conf ? If you are going to follow  the approach you outlined in that tutorial that file should not exist, and even then since you appear to try to use optimus-manager you should not manually create any config file and rather configure optimus-manager correctly.

optimus-manager as a package has a conf that blacklists all relevant modules to handle them on an as configured basis. Decide what you want to do, and if you don't want to use optimus-manager remove it and do a proper xorg config or fix your optimus-manager setup. https://github.com/Askannz/optimus-manager#usage

Last edited by V1del (2021-06-09 12:27:20)

Offline

Board footer

Powered by FluxBB