You are not logged in.

#1 2018-07-22 23:15:54

retogenes
Member
Registered: 2016-01-21
Posts: 33

[SOLVED] Boot stops (X does not load) after upgrade

I am no longer able to boot my x86-64 arch with nvidia video card. In the last session, I did two things:

- Installed intel-ucode (but did not follow with grub-mkconfig -o /boot/grub/grub.cfg, as I should have done https://wiki.archlinux.org/index.php/microcode)
- performed a full upgrade with pacman -Syu

Now the system stops during the boot process. No error, it just stops.

What I tried:
- Booting with an arch USB and arch-chroot
- Changed the mirrorlist to downgrade every package to a date where my system worked fine (7th of July)
- Removed intel-ucode (did not work), and then reinstalled it again but this time followed with grub-mkconfig -o /boot/grub/grub.cfg (did not work either)
- Installed linux-lts kernel (also stops during boot with no errors)

Any idea?

Last edited by retogenes (2018-07-27 22:00:22)

Offline

#2 2018-07-22 23:19:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Boot stops (X does not load) after upgrade

Post the journal of a failed boot.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-07-23 00:00:57

retogenes
Member
Registered: 2016-01-21
Posts: 33

Re: [SOLVED] Boot stops (X does not load) after upgrade

I pasted a complete journal for a failed boot here: https://pastebin.com/mSpbpFMg

Offline

#4 2018-07-23 00:07:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Boot stops (X does not load) after upgrade

So the system boots fine, but GDM is failing:

Jul 22 23:55:53 pcname gdm-launch-environment][583]: pam_systemd(gdm-launch-environment:session): Failed to create session: Start job for unit user-120.slice failed with 'canceled'

Please update your thread title to reflect your actual issue: https://wiki.archlinux.org/index.php/Co … ow_to_post

And then search for one of the many threads on GDM.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2018-07-23 16:41:02

Skunky
Member
Registered: 2018-01-25
Posts: 231

Re: [SOLVED] Boot stops (X does not load) after upgrade

Sorry i don't understand what do you mean with boot stops, you mean black screen/pc freeze?

Offline

#6 2018-07-23 16:44:53

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] Boot stops (X does not load) after upgrade

Offline

#7 2018-07-23 21:00:44

retogenes
Member
Registered: 2016-01-21
Posts: 33

Re: [SOLVED] Boot stops (X does not load) after upgrade

Thank you, Anarchist and loqs, we might be onto something, but I am still in trouble. I disabled Wayland in /etc/gdm/custom.conf, and now, even if the boot still stops, I can now change to a tty.

I tried further downgrading to the versions mentioned in the link (for systemd, etc)... still stops
I removed gdm and installed lightdm, still stops.
I removed lightdm, and now I can reach the login (in text mode). I attach a journalctl for the boot: https://ptpb.pw/EXCr
I tried to start gnome through "initx", it fails with the following error log: https://ptpb.pw/mTeE

Last edited by retogenes (2018-07-23 21:19:24)

Offline

#8 2018-07-23 21:38:08

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] Boot stops (X does not load) after upgrade

What is the output of `lspci | grep -e 3D -e VGA`
Edit:
Also the output of `pacman -Qs nvidia`

Last edited by loqs (2018-07-23 21:40:42)

Offline

#9 2018-07-23 21:43:18

retogenes
Member
Registered: 2016-01-21
Posts: 33

Re: [SOLVED] Boot stops (X does not load) after upgrade

> lspci | grep -e 3D -e VGA

01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)

> pacman -Qs nvidia

local/cuda 9.2.88.1-2
    NVIDIA's GPU programming toolkit
local/cudnn 7.1.4-1
    NVIDIA CUDA Deep Neural Network library
local/lib32-nvidia-utils 396.24-2
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.1.1+3+ga21bf7a-1
    Nvidia VDPAU library
local/libxnvctrl 396.24-1
    NVIDIA NV-CONTROL X extension
local/nvidia 396.24-13
    NVIDIA drivers for linux
local/nvidia-settings 396.24-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 396.24-2
    NVIDIA drivers utilities
local/opencl-nvidia 396.24-2
    OpenCL implemention for NVIDIA
local/pycuda-headers 2017.1.1-6
    Python wrapper for Nvidia CUDA
local/python-pycuda 2017.1.1-6
    Python wrapper for Nvidia CUDA

Last edited by retogenes (2018-07-23 21:44:39)

Offline

#10 2018-07-23 22:02:58

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] Boot stops (X does not load) after upgrade

You have installed nvidia but not nvidia-lts however the running kernel is linux-lts.  So there is no available nvidia module for that kernel,  but the nouveau module is blacklisted by the nvidia package so that will not be used.
This leaves X with no working DDX causing it to exit with a Fatal server error.  Either remove the nvidia packages,  install nvidia-lts or if you want an unaccelerated X server install xf86-video-vesa.

Offline

#11 2018-07-23 22:18:35

retogenes
Member
Registered: 2016-01-21
Posts: 33

Re: [SOLVED] Boot stops (X does not load) after upgrade

Thank you, loqs! I can now boot with linux kernel!

Installing nvidia-lts was not enough to boot with lts kernel, though... I wonder what I am missing

Offline

#12 2018-07-23 22:30:33

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] Boot stops (X does not load) after upgrade

Please post an updated dmesg and Xorg.log from linux-lts now that nvidia-lts is installed.

Offline

#13 2018-07-27 21:59:37

retogenes
Member
Registered: 2016-01-21
Posts: 33

Re: [SOLVED] Boot stops (X does not load) after upgrade

Thank you, everything was solved. To sum up:

- gdm was not working during boot after an update
- My problems were solved by disabling Wayland in /etc/gdm/custom.conf
- After installing the necessary nvidia drivers, it also works with the lts-linux kernels

Offline

Board footer

Powered by FluxBB