No desktop after Manjaro Update

Hi!

Today I run the update on my system and after reboot the Plymouth Boot Screen gets terminated.
I thought, it’s again the NVidia Driver, but that seems to be okay.

Systemctl status sddm tells me the following error: Failed to read display number from pipe.

I type this on my phone, so please excuse me if it’s not in the required format.
Can someone help to find the problem?
What data do you need?

Current kernel is 5.12.2-2

Thanks!

That kernel seems to b e EOL. (End Of Life) That might be the reason for the problem. Especially if you just installed the update without paying attention to the output. (Like I used to do.)

I’m guessing the safest way to continue is to install a working kernel from a chroot environment. Have you done that before?

Thank you for your answer. :+1:
I used Pacman for the update and I guess I also did not paid enough attention to the process.
Usually it works without a problem, that’s why I’m using Manjaro on this work pc.

I have not installed kernels from the shell before.
Is this done with mhwd-kernel command?

Edit: I’m sorry, I typed the wrong number in my first post (small phone screen…)
My currently running kernel is: 5.15.2-2

Other installed kernels are:
Linux510
Linux513
Linux515

Yes, it is with that exact one. And you’ll have to do it from chroot, like I said.

And I recommend using pamac to upgrade and not pacman. Basically because it tends to pick up on more blunders than pacman. (No, I don’t know whether it would’ve worked specifically here.) Nothing wrong with pacman, it’s just that one can miss something more easily with that, whereas pamac is built for Manjaro by Manjaaro.

More information about the mhwd-kernel command
$ mhwd-kernel --help                                                                                                                                                                                                    16 ↵
Usage: mhwd-kernel [option]
-h  --help              Show this help message
-i  --install           Install a new kernel        [kernel(s)] [optional: rmc = remove current kernel]
-l  --list              List all available kernels
-li --listinstalled     List installed kernels
-r  --remove            Remove a kernel             [kernel(s)]

Edit:

Well, version 5.13 is also EOL. So remove it and test again.

Please make sure is the right driver for your GPU

I removed 5.13 now but same error.

The boot screen flickers there times (probably tries to start the WM 3 times) and then stops at the Plymouth message.

Journalctl -p3 -b tells me that Process … Xorg of user 0 dumped core.
and then: Failed to read display number from pipe.

The message appears 3 times. (3 tries)

Edit: I have a Gigabyte RTX 3080 roughly a year old.
Which driver should I use for it?

I installed the 470 Nvidia drivers just to test, but it remains the same error.

I’m guessing you should be fine with the latest one:

mhwd --install video-nvidia

But to make sure, check that your GPU is supported.

:thinking: this in from the chroot environment, right?

I logged in as root. That should be the same as sudo or am I wrong?

a chroot environment is typically done from a Live ISO environment. It’s root, yes, but from a Live environment.

I went back to the new driver.
Nvidia suggest either 470.86 (Production) or 495.44 (new features) for my 3080.

I can see in /etc/X11/mhwd.d/nvidia.conf that I have 495.44 now.

The error remains the same though.

Can I find out somehow why Xorg crashes?

You can try the following:

  1. Log in a root.

  2. Run:

journalctl -p err..alert

to find out if there were any errors with the current boot.

(No, unfortunately I don’t know how to limit it to X.org, or something.)

Edit:

For limiting it, try:

journalctl -p err..alert -u Xorg

(I don’t know if this’ll work, but maybe it does.)

After the message: Process 1301 (Xorg) of user 0 dumped core. there are a lot of “Found Module: …” Messages.

When it comes to: Found Module Xorg with build-id: … there are stack trace messages which are not there under the other modules.

#0 0x… raise (libc.so.6 + 0x3cd22)
#1 0x… abort (libc.so.6 + …)
#2 0x… OSAbort (Xorg + …)
#3 0x… FatalError (Xorg…

Dies this mean that the libc library is causing the problem?

I have absolutely no idea.

You could always try to reinstall Xorg:

pamac reinstall xorg-server

However, I take no responsibility if things go wrong. If, instead, they go right, you’re welcome!

I reanimated my old notebook so I can post logs.
Reinstalling xorg did not helped.
In the Xorg.0.log it looks like that the NVidia Driver works properly.
Could you see something in the log (besides the Xorg crash) what might cause the problem?

[    26.670] (--) Log file renamed from "/var/log/Xorg.pid-1299.log" to "/var/log/Xorg.0.log"
[    26.670] 
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[    26.670] 
X.Org X Server 1.21.1.1
X Protocol Version 11, Revision 0
[    26.671] Current Operating System: Linux whiteknight 5.15.2-2-MANJARO #1 SMP PREEMPT Sat Nov 13 19:25:38 UTC 2021 x86_64
[    26.671] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64 root=UUID=c0858929-7c23-44e1-83c1-72b3b828ce43 rw quiet udev.log_priority=3
[    26.671]  
[    26.671] Current version of pixman: 0.40.0
[    26.671] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    26.671] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    26.671] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec  3 16:54:42 2021
[    26.671] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    26.671] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    26.671] (==) ServerLayout "layout"
[    26.671] (**) |-->Screen "Screen0" (0)
[    26.671] (**) |   |-->Monitor "<default monitor>"
[    26.672] (==) No device specified for screen "Screen0".
	Using the first device section listed.
[    26.672] (**) |   |-->Device "Device0"
[    26.672] (==) No monitor specified for screen "Screen0".
	Using a default monitor configuration.
[    26.672] (==) Automatically adding devices
[    26.672] (==) Automatically enabling devices
[    26.672] (==) Automatically adding GPU devices
[    26.672] (==) Automatically binding GPU devices
[    26.672] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    26.672] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    26.672] 	Entry deleted from font path.
[    26.672] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    26.672] 	Entry deleted from font path.
[    26.672] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    26.672] 	Entry deleted from font path.
[    26.672] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    26.672] 	Entry deleted from font path.
[    26.672] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[    26.672] (==) ModulePath set to "/usr/lib/xorg/modules"
[    26.672] (**) Extension "COMPOSITE" is enabled
[    26.672] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    26.672] (II) Module ABI versions:
[    26.672] 	X.Org ANSI C Emulation: 0.4
[    26.672] 	X.Org Video Driver: 25.2
[    26.672] 	X.Org XInput driver : 24.4
[    26.672] 	X.Org Server Extension : 10.0
[    26.673] (++) using VT number 1

[    26.673] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    26.674] (II) xfree86: Adding drm device (/dev/dri/card0)
[    26.674] (II) Platform probe for /sys/devices/pci0000:00/0000:00:03.1/0000:1d:00.0/drm/card0
[    26.677] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    26.677] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    26.680] (--) PCI:*(29@0:0:0) 10de:2206:1458:403f rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[    26.680] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    26.680] (II) "glx" will be loaded by default.
[    26.680] (II) LoadModule: "vnc"
[    26.680] (II) Loading /usr/lib/xorg/modules/extensions/libvnc.so
[    26.690] (II) Module vnc: vendor="TigerVNC Project"
[    26.690] 	compiled for 1.20.9, module version = 1.0.0
[    26.690] 	Module class: X.Org Server Extension
[    26.690] 	ABI class: X.Org Server Extension, version 10.0
[    26.690] (II) LoadModule: "glx"
[    26.690] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    26.692] (II) Module glx: vendor="X.Org Foundation"
[    26.692] 	compiled for 1.21.1.1, module version = 1.0.0
[    26.692] 	ABI class: X.Org Server Extension, version 10.0
[    26.692] (II) LoadModule: "nvidia"
[    26.692] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    26.692] (II) Module nvidia: vendor="NVIDIA Corporation"
[    26.692] 	compiled for 1.6.99.901, module version = 1.0.0
[    26.692] 	Module class: X.Org Video Driver
[    26.692] (II) NVIDIA dlloader X Driver  495.44  Fri Oct 22 06:11:21 UTC 2021
[    26.693] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    26.693] (II) Loading sub module "fb"
[    26.693] (II) LoadModule: "fb"
[    26.693] (II) Module "fb" already built-in
[    26.693] (II) Loading sub module "wfb"
[    26.693] (II) LoadModule: "wfb"
[    26.693] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    26.693] (II) Module wfb: vendor="X.Org Foundation"
[    26.693] 	compiled for 1.21.1.1, module version = 1.0.0
[    26.693] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    26.693] (II) Loading sub module "ramdac"
[    26.693] (II) LoadModule: "ramdac"
[    26.693] (II) Module "ramdac" already built-in
[    26.694] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Screen0" for depth/fbbpp 24/32
[    26.694] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    26.694] (==) NVIDIA(0): RGB weight 888
[    26.694] (==) NVIDIA(0): Default visual is TrueColor
[    26.694] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    26.694] (**) Option "AllowNVIDIAGpuScreens"
[    26.694] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[    26.694] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[    26.694] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[    26.694] (**) NVIDIA(0): Enabling 2D acceleration
[    26.694] (II) Loading sub module "glxserver_nvidia"
[    26.694] (II) LoadModule: "glxserver_nvidia"
[    26.694] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[    26.703] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    26.703] 	compiled for 1.6.99.901, module version = 1.0.0
[    26.703] 	Module class: X.Org Server Extension
[    26.703] (II) NVIDIA GLX Module  495.44  Fri Oct 22 06:08:29 UTC 2021
[    26.703] (II) NVIDIA: The X server supports PRIME Render Offload.
[    27.304] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:29:0:0
[    27.304] (--) NVIDIA(0):     DFP-0 (boot)
[    27.304] (--) NVIDIA(0):     DFP-1
[    27.304] (--) NVIDIA(0):     DFP-2
[    27.304] (--) NVIDIA(0):     DFP-3
[    27.304] (--) NVIDIA(0):     DFP-4
[    27.304] (--) NVIDIA(0):     DFP-5
[    27.304] (--) NVIDIA(0):     DFP-6
[    27.304] (--) NVIDIA(0):     DFP-7
[    27.304] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce RTX 3080 (GA102-A) at PCI:29:0:0
[    27.304] (II) NVIDIA(0):     (GPU-0)
[    27.304] (--) NVIDIA(0): Memory: 10485760 kBytes
[    27.304] (--) NVIDIA(0): VideoBIOS: 94.02.26.48.31
[    27.304] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    27.305] (--) NVIDIA(GPU-0): LG Electronics LG Ultra HD (DFP-0): connected
[    27.305] (--) NVIDIA(GPU-0): LG Electronics LG Ultra HD (DFP-0): Internal DisplayPort
[    27.305] (--) NVIDIA(GPU-0): LG Electronics LG Ultra HD (DFP-0): 2670.0 MHz maximum pixel clock
[    27.305] (--) NVIDIA(GPU-0): 
[    27.307] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    27.307] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    27.307] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    27.307] (--) NVIDIA(GPU-0): 
[    27.307] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    27.307] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[    27.307] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[    27.307] (--) NVIDIA(GPU-0): 
[    27.307] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    27.307] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[    27.307] (--) NVIDIA(GPU-0): DFP-3: 2670.0 MHz maximum pixel clock
[    27.307] (--) NVIDIA(GPU-0): 
[    27.307] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    27.307] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[    27.307] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[    27.307] (--) NVIDIA(GPU-0): 
[    27.307] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    27.307] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[    27.307] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[    27.307] (--) NVIDIA(GPU-0): 
[    27.307] (--) NVIDIA(GPU-0): DFP-6: disconnected
[    27.307] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[    27.307] (--) NVIDIA(GPU-0): DFP-6: 2670.0 MHz maximum pixel clock
[    27.307] (--) NVIDIA(GPU-0): 
[    27.307] (--) NVIDIA(GPU-0): DFP-7: disconnected
[    27.307] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
[    27.307] (--) NVIDIA(GPU-0): DFP-7: 165.0 MHz maximum pixel clock
[    27.307] (--) NVIDIA(GPU-0): 
[    27.333] (==) NVIDIA(0): 
[    27.333] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    27.333] (==) NVIDIA(0):     will be used as the requested mode.
[    27.333] (==) NVIDIA(0): 
[    27.334] (II) NVIDIA(0): Validated MetaModes:
[    27.334] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
[    27.334] (II) NVIDIA(0): Virtual screen size determined to be 3840 x 2160
[    27.374] (--) NVIDIA(0): DPI set to (162, 161); computed from "UseEdidDpi" X config
[    27.374] (--) NVIDIA(0):     option
[    27.375] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[    27.375] (II) NVIDIA:     access.
[    27.378] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    27.378] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    27.378] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    27.378] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    27.378] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    27.378] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    27.378] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    27.378] (II) NVIDIA(0):     Config Options in the README.
[    27.398] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[    27.514] (==) NVIDIA(0): Disabling shared memory pixmaps
[    27.514] (==) NVIDIA(0): Backing store enabled
[    27.514] (==) NVIDIA(0): Silken mouse enabled
[    27.514] (==) NVIDIA(0): DPMS enabled
[    27.514] (WW) NVIDIA(0): Option "NoLogo" is not used
[    27.514] (WW) NVIDIA(0): Option "UserPasswdVerifier" is not used
[    27.514] (WW) NVIDIA(0): Option "PasswordFile" is not used
[    27.514] (II) Loading sub module "dri2"
[    27.514] (II) LoadModule: "dri2"
[    27.514] (II) Module "dri2" already built-in
[    27.514] (II) NVIDIA(0): [DRI2] Setup complete
[    27.514] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    27.514] (II) Initializing extension Generic Event Extension
[    27.514] (II) Initializing extension SHAPE
[    27.514] (II) Initializing extension MIT-SHM
[    27.515] (II) Initializing extension XInputExtension
[    27.515] (II) Initializing extension XTEST
[    27.515] (II) Initializing extension BIG-REQUESTS
[    27.515] (II) Initializing extension SYNC
[    27.515] (II) Initializing extension XKEYBOARD
[    27.515] (II) Initializing extension XC-MISC
[    27.515] (II) Initializing extension SECURITY
[    27.515] (II) Initializing extension XFIXES
[    27.515] (II) Initializing extension RENDER
[    27.515] (II) Initializing extension RANDR
[    27.515] (II) Initializing extension COMPOSITE
[    27.515] (II) Initializing extension DAMAGE
[    27.515] (II) Initializing extension MIT-SCREEN-SAVER
[    27.516] (II) Initializing extension DOUBLE-BUFFER
[    27.516] (II) Initializing extension RECORD
[    27.516] (II) Initializing extension DPMS
[    27.516] (II) Initializing extension Present
[    27.516] (II) Initializing extension DRI3
[    27.516] (II) Initializing extension X-Resource
[    27.516] (II) Initializing extension XVideo
[    27.516] (II) Initializing extension XVideo-MotionCompensation
[    27.516] (II) Initializing extension GLX
[    27.516] (II) Initializing extension GLX
[    27.516] (II) Indirect GLX disabled.
[    27.516] (II) GLX: Another vendor is already registered for screen 0
[    27.516] (II) Initializing extension XFree86-VidModeExtension
[    27.516] (II) Initializing extension XFree86-DGA
[    27.516] (II) Initializing extension XFree86-DRI
[    27.516] (II) Initializing extension DRI2
[    27.516] (II) Initializing extension VNC
[    27.516] (EE) 
[    27.516] (EE) Backtrace:
[    27.516] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x89) [0x563d90725059]
[    27.516] (EE) 1: /usr/lib/Xorg (0x563d905d5000+0x15ae79) [0x563d9072fe79]
[    27.516] (EE) 2: /usr/lib/libpthread.so.0 (0x7fbc0bf17000+0x13870) [0x7fbc0bf2a870]
[    27.516] (EE) 3: /usr/lib/Xorg (xf86OptionValue+0xb) [0x563d9073c3db]
[    27.516] (EE) 4: /usr/lib/xorg/modules/extensions/libvnc.so (0x7fbc0b39a000+0x34c11) [0x7fbc0b3cec11]
[    27.516] (EE) 5: /usr/lib/Xorg (InitExtensions+0x89) [0x563d9061dd29]
[    27.517] (EE) 6: /usr/lib/Xorg (0x563d905d5000+0x3c35b) [0x563d9061135b]
[    27.517] (EE) 7: /usr/lib/libc.so.6 (__libc_start_main+0xd5) [0x7fbc0bd6db25]
[    27.517] (EE) 8: /usr/lib/Xorg (_start+0x2e) [0x563d9061275e]
[    27.517] (EE) 
[    27.517] (EE) Segmentation fault at address 0x100000011
[    27.517] (EE) 
Fatal server error:
[    27.517] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    27.517] (EE) 
[    27.517] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    27.517] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    27.517] (EE) 
[    27.617] (EE) Server terminated with error (1). Closing log file.

I’m assuming this is said file? If so, then I’ve got absolutely zero (0) idea what it could be.

Finally it works now! :slightly_smiling_face:
In the log the:

[    27.516] (II) GLX: Another vendor is already registered for screen 0

line made me wondering as the crash came after:

[    27.516] (II) Initializing extension VNC

I uninstalled TigerVNC and now it works.
Seems like VNC was blocking the screen before Xorg could start.
It’s interesting though because it worked before the update. I guess the update somehow mixed up the order how the services got started.
Anyway, thanks a lot for the help! :+1:

I love Unix! It’s so logical and the availability of a terminal even when there is a problem, makes life much easier. (Try that with the registry on Windoof :laughing: )