You are not logged in.

#1 2022-06-29 18:10:05

Pickinanameainteasy
Member
Registered: 2022-06-29
Posts: 1

Xorg server crashing after interrupting full system upgrade.

I stupidly powered off my machine during a paru -Syu and now i can't boot into my GUI.

First thing that happened was when i rebooted after completing normal disk check it displayed a black screen with this message:

[FAILED] Failed to load: Light Display Manager

At first i thought this was no big deal I'll just restart lightdm so i ssh into the machine and ran:

sudo systemctl restart lightdm

But it resulted in a failure. I tried disabling and enabling,  stopping and starting,  etc to no avail.

So my next move was to change display managers. I uninstalled lightdm and installed sddm and enabled and started it. It loaded fine and said it has detected logind. I figured i was in the clear.

I reboot and instead of the failed error message it just does the disk check and then the accursed blinking underscore.

Ssh again. And attempted to start x11vnc at which point it doesn't work. Now typically this happens when i haven't logged into the greeter and therefore Xorg isn't running. So i tried 'startx' which fails and tells me to check the log. Here is the log:

[ 57280.381]
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[ 57280.381] Current Operating System: Linux arch-pc 5.18.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 25 Jun 2022 20:22:01 +0000 x86_64
[ 57280.381] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=54152417-cd99-4d8c-8a0a-a2e7f1886007 rw loglevel=3 quiet
[ 57280.381]
[ 57280.381] Current version of pixman: 0.40.0
[ 57280.381]    Before reporting problems, check [url]http://wiki.x.org[/url]
        to make sure that you have the latest version.
[ 57280.381] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 57280.381] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 29 11:54:10 2022
[ 57280.381] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 57280.381] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 57280.382] (==) No Layout section.  Using the first Screen section.
[ 57280.382] (**) |-->Screen "Screen0" (0)
[ 57280.382] (**) |   |-->Monitor "<default monitor>"
[ 57280.382] (==) No monitor specified for screen "Screen0".
        Using a default monitor configuration.
[ 57280.382] (==) Automatically adding devices
[ 57280.382] (==) Automatically enabling devices
[ 57280.382] (==) Automatically adding GPU devices
[ 57280.382] (==) Automatically binding GPU devices
[ 57280.382] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 57280.382] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 57280.382]    Entry deleted from font path.
[ 57280.382] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 57280.382]    Entry deleted from font path.
[ 57280.382] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 57280.382]    Entry deleted from font path.
[ 57280.382] (==) FontPath set to:
        /usr/share/fonts/misc,
        /usr/share/fonts/100dpi,
        /usr/share/fonts/75dpi
[ 57280.382] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 57280.382] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 57280.382] (II) Module ABI versions:
[ 57280.382]    X.Org ANSI C Emulation: 0.4
[ 57280.382]    X.Org Video Driver: 25.2
[ 57280.382]    X.Org XInput driver : 24.4
[ 57280.382]    X.Org Server Extension : 10.0
[ 57280.384] (--) using VT number 2
[ 57280.384] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 57280.386] (--) PCI:*(0@0:13:0) 10de:03d0:103c:2a6c rev 162, Mem @ 0xfb000000/16777216, 0xe0000000/268435456, 0xfc000000/16777216, BIOS @ 0x????????/131072
[ 57280.386] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 57280.386] (II) "glx" will be loaded by default.
[ 57280.386] (II) LoadModule: "vnc"
[ 57280.386] (WW) Warning, couldn't open module vnc
[ 57280.386] (EE) Failed to load module "vnc" (module does not exist, 0)
[ 57280.386] (II) LoadModule: "glx"
[ 57280.386] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 57280.388] (II) Module glx: vendor="X.Org Foundation"
[ 57280.388]    compiled for 1.21.1.3, module version = 1.0.0
[ 57280.388]    ABI class: X.Org Server Extension, version 10.0
[ 57280.388] (==) Matched nouveau as autoconfigured driver 0
[ 57280.388] (==) Matched nv as autoconfigured driver 1
[ 57280.388] (==) Matched modesetting as autoconfigured driver 2
[ 57280.388] (==) Matched fbdev as autoconfigured driver 3
[ 57280.388] (==) Matched vesa as autoconfigured driver 4
[ 57280.388] (==) Assigned the driver to the xf86ConfigLayout
[ 57280.388] (II) LoadModule: "nouveau"
[ 57280.389] (WW) Warning, couldn't open module nouveau
[ 57280.389] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 57280.389] (II) LoadModule: "nv"
[ 57280.389] (WW) Warning, couldn't open module nv
[ 57280.389] (EE) Failed to load module "nv" (module does not exist, 0)
[ 57280.389] (II) LoadModule: "modesetting"
[ 57280.389] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 57280.389] (II) Module modesetting: vendor="X.Org Foundation"
[ 57280.389]    compiled for 1.21.1.3, module version = 1.21.1
[ 57280.389]    Module class: X.Org Video Driver
[ 57280.389]    ABI class: X.Org Video Driver, version 25.2
[ 57280.389] (II) LoadModule: "fbdev"
[ 57280.390] (WW) Warning, couldn't open module fbdev
[ 57280.390] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 57280.390] (II) LoadModule: "vesa"
[ 57280.390] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 57280.390] (II) Module vesa: vendor="X.Org Foundation"
[ 57280.390]    compiled for 1.21.1.3, module version = 2.5.0
[ 57280.390]    Module class: X.Org Video Driver
[ 57280.390]    ABI class: X.Org Video Driver, version 25.2
[ 57280.390] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 57280.390] (II) VESA: driver for VESA chipsets: vesa
[ 57280.395] (EE) open /dev/dri/card0: No such file or directory
[ 57280.395] (WW) Falling back to old probe method for modesetting
[ 57280.395] (EE) open /dev/dri/card0: No such file or directory
[ 57280.395] vesa: Refusing to run, Framebuffer or dri device present
[ 57280.395] (EE) Screen 0 deleted because of no matching config section.
[ 57280.395] (II) UnloadModule: "modesetting"
[ 57280.395] (EE) Device(s) detected, but none match those in the config file.
[ 57280.395] (EE)
Fatal server error:
[ 57280.395] (EE) no screens found(EE)
[ 57280.395] (EE)
Please consult the The X.Org Foundation support
         at [url]http://wiki.x.org[/url]
 for help.
[ 57280.395] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 57280.395] (EE)
[ 57280.406] (EE) Server terminated with error (1). Closing log file.

I've tried reinstalling xorg,  reinstalling nvidia drivers,  i ran 'paru -Qk' and saw no missing files,  I've tried 'mkinitcpio -p linux,  I've tried downgrading the kernel,  none of these things worked.

Here's a little more info about my setup:

linux 5.18.7.arch1-1
nvidia 515.48.07-13
nvidia-utils 515.48.07-2

I really don't want to do a reinstall so if anyone can help it would be much appreciated.

Last edited by Pickinanameainteasy (2022-06-29 21:38:26)

Offline

#2 2022-06-29 19:45:27

Irets
Member
Registered: 2019-02-01
Posts: 143

Re: Xorg server crashing after interrupting full system upgrade.

I can see at least one option going forward, which would be to consult your pacman.log and reinstall the package(s) of which's install process got interrupted.
Mount /boot/ and so on, if required when chrooting.

EDIT:
Although this has the side-effect of marking all those packages as "explicitly installed".
I haven't dabbled with pacman in a bit, so maybe the manual for it might have some answers for that.

EDIT2:
I was right.

 --asdeps <package>

    Mark a package as non-explicitly installed; in other words, set their install reason to be installed as a dependency.

--asexplicit <package>

    Mark a package as explicitly installed; in other words, set their install reason to be explicitly installed. This is useful if you want to keep a package installed even when it was initially installed as a dependency of another package.

Last edited by Irets (2022-06-29 19:56:46)

Offline

#3 2022-06-29 20:01:29

seth
Member
Registered: 2012-09-03
Posts: 51,191

Re: Xorg server crashing after interrupting full system upgrade.

Boot the multi-user.target (1st link below) and run a full system update.
If that doesn't work (pacman broken), see https://wiki.archlinux.org/title/Pacman … an_upgrade

Then

LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'

to check for broken packages.

If  you encounter unresolvable errors (mtree missing etc.) check the pacman wiki page about them and an doubt ask back.

You're booting the current kernel, but the nvidia driver isn't even considered and there's no drm device, what suggests that the nvidia packages are broken or not updated (yet still blacklisting nouveau)

Also please edit your post and wrap the xorg log in code tags, https://bbs.archlinux.org/help.php#bbcode

Offline

Board footer

Powered by FluxBB