[SOLVED] OpenRC, System Update, then Reboot: Machine Only Boots to Console 13 February 2022, 15:07:44 Hello, this is my first post here. Ive been using arch Linux for 2 years, and switched over to Artix recently. I'm not a power user, just a hobbyist who hates windows spyware. After I did an update and reboot after the update, my machine will not boot to the normal login screen for Plasma. My system is up to date, and the only error I see is during the start up console screen that flashes all the things that are starting. I can't scroll up to see what failed because it goes so fast. I thought I saw it was nvidia so I deleted all my nvidia packages and reinstalled them with pacman, still not fixed. Then I tried deleting and reinstalling Plasma with pacman, not fixed. I tried installing xfce and no fix. I tried using the Intramfs fallback Artix option in the bootup, and I'm all out of ideas now. Do any of you guys know what's going on here? I have normal function in my terminal, and the sddm service is working fine according to rc-service or openrc, whatever command would tell me if its running. Quote Selected Last Edit: 14 February 2022, 22:35:09 by nous
Re: OpenRC, System Update, then Reboot: Machine Only Boots to Console Reply #1 – 13 February 2022, 16:30:36 If you don't have a graphical login screen at boot (which is a responsibility of your display manager, sddm), then either your DM (sddm) or X.Org are not working properly. The only way that issues can be debugged is by looking at logs. /var/log contains a number of logs, the most relevant of which would be Xorg.0.log and sddm.log. Quote Selected
Re: OpenRC, System Update, then Reboot: Machine Only Boots to Console Reply #2 – 13 February 2022, 17:22:12 Most likely a problem with nvidia, see if the nvidia module is loaded: lsmod | grep nvidiaIf not, you need to re-install the relevant package or better use the -dkms version (e.g. nvidia-dkms, if your card is recent enough). Quote Selected
Re: OpenRC, System Update, then Reboot: Machine Only Boots to Console Reply #3 – 13 February 2022, 17:29:35 `lsmod | grep nvidia` = i2c_nvidia_gpu 16384 0I tried downloading the nvidia-dkms package, openrc-utils, and the nvidia settings fresh and it didn't work eitherI just scrolled through the logs and nothing stood out, I saw a lot of success messages and I didn't see any failures. I tried SSHing into my desktop with the problems from my working Artix laptop and I cant get in to copy the logs to send you. Any suggestions? Thanks for your reply by the way Also my GPU is a RTX 2080 Super, and I have a AMD Ryzen 7 3700X, with 16gb RAM Quote Selected
Re: OpenRC, System Update, then Reboot: Machine Only Boots to Console Reply #4 – 13 February 2022, 17:38:49 Trying to install nvidia-dkms ouputs thisfile: /usr/lib/libXNVCtrl.so.0.0.0 is empty, not checked.file: /usr/lib/libXNVCtrl.so.0 is empty, not checked.file: /usr/lib/libnvidia-gtk3.so.510.47.03 is empty not checkedfile: /usr/lib/libXNVCtrl.so. is empty, not checked.Then it failed to load modules from /lib/modules/5.16.7-artix1-1/extramodules/nvidia-* (wildcard, too many to type) Quote Selected
Re: OpenRC, System Update, then Reboot: Machine Only Boots to Console Reply #5 – 13 February 2022, 17:49:35 You're making progress. Find which packages own those files, e.g.Code: [Select]$ pacman -Qo /usr/lib/libXNVCtrl.so.0.0.0and remove them. You may need to use -Rdd. Then re-install them.If this fails, remove all nvidia-related packages (pacman -Qq | grep nvidia) and re-install, starting with nvidia-dkms (it will pull nvidia-utils with it). Quote Selected
Re: OpenRC, System Update, then Reboot: Machine Only Boots to Console Reply #6 – 13 February 2022, 18:05:43 I did the pacman -Qo command you said, and the ouput was nothing owns that file destination, then I used the flags pacman -Rscn to delete all nvidia packages and then i used pacman to install the nvidia-dkms package you said. There were some 'failed to load symbols' errors but I restarted the computer to see if it works. It doesn't work Im still booting right into the console Quote Selected
Re: OpenRC, System Update, then Reboot: Machine Only Boots to Console Reply #7 – 13 February 2022, 18:16:38 Quote from: Blue1 – on 13 February 2022, 18:05:43I did the pacman -Qo command you said, and the ouput was nothing owns that file destinationThat means they were leftovers from an aborted/broken update or a crash. You may safely remove themQuote from: Blue1 – on 13 February 2022, 18:05:43, then I used the flags pacman -Rscn to delete all nvidia packages and then i used pacman to install the nvidia-dkms package you said. There were some 'failed to load symbols' errors but I restarted the computer to see if it works. It doesn't work Im still booting right into the consoleSDDM/Xorg won't start until the nvidia module is correctly loaded, i.e. the nvidia(-dkms) package is correctly installed. What's your running kernel? uname -a and pacman -Q|grep linux -- also, is the system fully updated? The 'failed to load symbols' error is not a good indication. If all else fails, remove nvidia-dkms and install nvidia as your card is more than recent enough and supported. Both nvidia and linux packages must be the latest, or the module won't load. Quote Selected
Re: OpenRC, System Update, then Reboot: Machine Only Boots to Console Reply #8 – 13 February 2022, 20:16:01 Hello, sorry for the delay I was at Mass. There are leftover packages, huh? I will try doing a `rm -rf` of the file youre taking about and then redownloading just the nvidia package. Everything is up to date. Before I did the last update following the reboot which my complaint is about I had my computer running for about 5 days before the reboot. Sudo pacman -Syu says everything is updated, and Yay -Syu say everything is updated.My system info is this:OS: Artix x86_64Kernel: 5.16.7-artix1-1The results were downloading nvidia with pacman shows nvidia-drm.ko.xz exists in file system along with modeset, peermem, uvm, and plainly nvidia.ko.xz, they all exist in the file system. When I try doing the nvidia-dkms it results in failed to load sumbols from lib/modules/artix/extramodules.nvidia-*modeset,peermem,drm,uvm. Quote Selected
Re: OpenRC, System Update, then Reboot: Machine Only Boots to Console Reply #9 – 13 February 2022, 20:20:14 Ok, with nvidia installed (not dkms) is the module loaded? If not, try modprobe nvidia and report what happens in console and dmesg. Quote Selected
Re: OpenRC, System Update, then Reboot: Machine Only Boots to Console Reply #10 – 13 February 2022, 23:30:48 What I did was did sudo pacman -Qs nvidia to see my nvidia packages. Even though I tried uninstalling nvidia-dkms before it stayed behind. I had error messages about conflicting files in the /extramodules/ nvidia place. I did a sudo rm -rf of those conflicting files, did a successful delete of nvidia-dkms afterwards, and I did a successful install of nvidia (Standard). I also did an update (pacman -Syu) afterwards which was Lirc.THIS WAS THE SOLUTION.All hail sudo rm -rf until things work. Quote Selected