You are not logged in.

#1 2020-12-02 20:01:23

sawrz
Member
Registered: 2020-12-02
Posts: 11

[Solved] Xorg Server fails with Kernel Switch

Hi,
I run into a weird issue that is probably because of an oversight of me. However, I'm not able to figure it out on my own, so maybe somebody here is kind enough to help me find a solution smile

I installed Arch with the default kernel. However, now I would like to switch to the Zen-Kernel, but my login manager (LightDM) crashes constantly using Zen. If I switch back to the default Kernel, everything works fine.

I installed the new Kernel via

sudo pacman -S linux-zen

I tried to switch Kernel, but LightDM crashes (tty7 has a black screen, and the cursor blinks forever). Since I use lightdm-webkit2-greeter, I thought it could be the culprit. So I switched to lightdm-gtk-greeter but still the same problem. Maybe it's something about the Zen-Kernel, so I installed the LTS-Kernel and chose it in Grub. The issue persists. Perhaps, some headers are missing, so I ran

sudo pacman -S  linux-zen-headers

Still no progress.

Since I ran an Nvidia Graphics card and read that driver version 390 (quite a while ago) caused weird issues, I completely removed my Nvidia driver. Still nothing. So, I dug into the log files and found the following difference between the working log (default Linux kernel) and the one running zen in Xorg.0.log:

[     5.476] (II) xfree86: Adding drm device (/dev/dri/card0)

misses completely with the Zen Kernel. Furthermore, it exits with

[     4.723] (EE) open /dev/dri/card0: No such file or directory
[     4.723] (WW) Falling back to old probe method for modesetting
[     4.723] (EE) open /dev/dri/card0: No such file or directory
[     4.723] (EE) Screen 0 deleted because of no matching config section.
[     4.723] (II) UnloadModule: "modesetting"
[     4.723] (EE) Device(s) detected, but none match those in the config file.
[     4.723] (EE)
Fatal server error:
[     4.723] (EE) no screens found(EE)
[     4.723] (EE)
Please consult the The X.Org Foundation support
         at [url]http://wiki.x.org[/url]
 for help.
[     4.723] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     4.723] (EE)
[     4.725] (EE) Server terminated with error (1). Closing log file.

At this point, I have no clue what I do wrong. Maybe you could help me here.

Here are my complete LightDM and Xorg-Server logs:

Xorg.0.log:

[     4.401] 
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[     4.401] Build Operating System: Linux Arch Linux
[     4.401] Current Operating System: Linux blastoise 5.9.11-zen2-1-zen #1 ZEN SMP PREEMPT Sat, 28 Nov 2020 02:08:52 +0000 x86_64
[     4.401] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=0ca5f316-1e05-4ab4-bfa0-97058a127687 rw loglevel=3 quiet
[     4.401] Build Date: 01 December 2020  07:51:57PM
[     4.401]  
[     4.401] Current version of pixman: 0.40.0
[     4.401]     Before reporting problems, check [url]http://wiki.x.org[/url]
    to make sure that you have the latest version.
[     4.401] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     4.401] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec  2 20:18:01 2020
[     4.402] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     4.402] (==) No Layout section.  Using the first Screen section.
[     4.402] (==) No screen section available. Using defaults.
[     4.402] (**) |-->Screen "Default Screen Section" (0)
[     4.402] (**) |   |-->Monitor "<default monitor>"
[     4.402] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[     4.402] (==) Automatically adding devices
[     4.402] (==) Automatically enabling devices
[     4.402] (==) Automatically adding GPU devices
[     4.402] (==) Automatically binding GPU devices
[     4.402] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     4.402] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     4.402]     Entry deleted from font path.
[     4.402] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[     4.402]     Entry deleted from font path.
[     4.402]     (Run 'mkfontdir' on "/usr/share/fonts/TTF").
[     4.402] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     4.402]     Entry deleted from font path.
[     4.402] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/Type1".
[     4.402]     Entry deleted from font path.
[     4.402]     (Run 'mkfontdir' on "/usr/share/fonts/Type1").
[     4.402] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[     4.402]     Entry deleted from font path.
[     4.402] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[     4.402]     Entry deleted from font path.
[     4.402] (==) FontPath set to:
    
[     4.402] (==) ModulePath set to "/usr/lib/xorg/modules"
[     4.402] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[     4.402] (II) Module ABI versions:
[     4.402]     X.Org ANSI C Emulation: 0.4
[     4.402]     X.Org Video Driver: 24.1
[     4.402]     X.Org XInput driver : 24.1
[     4.402]     X.Org Server Extension : 10.0
[     4.402] (++) using VT number 7

[     4.402] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     4.404] (--) PCI:*(1@0:0:0) 10de:1e81:1462:c724 rev 161, Mem @ 0x54000000/16777216, 0x40000000/268435456, 0x52000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/131072
[     4.404] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     4.404] (II) LoadModule: "glx"
[     4.404] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     4.405] (II) Module glx: vendor="X.Org Foundation"
[     4.405]     compiled for 1.20.10, module version = 1.0.0
[     4.405]     ABI class: X.Org Server Extension, version 10.0
[     4.405] (==) Matched nouveau as autoconfigured driver 0
[     4.405] (==) Matched nv as autoconfigured driver 1
[     4.405] (==) Matched modesetting as autoconfigured driver 2
[     4.405] (==) Matched fbdev as autoconfigured driver 3
[     4.405] (==) Matched vesa as autoconfigured driver 4
[     4.405] (==) Assigned the driver to the xf86ConfigLayout
[     4.405] (II) LoadModule: "nouveau"
[     4.405] (WW) Warning, couldn't open module nouveau
[     4.405] (EE) Failed to load module "nouveau" (module does not exist, 0)
[     4.405] (II) LoadModule: "nv"
[     4.405] (WW) Warning, couldn't open module nv
[     4.405] (EE) Failed to load module "nv" (module does not exist, 0)
[     4.405] (II) LoadModule: "modesetting"
[     4.405] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     4.405] (II) Module modesetting: vendor="X.Org Foundation"
[     4.405]     compiled for 1.20.10, module version = 1.20.10
[     4.405]     Module class: X.Org Video Driver
[     4.405]     ABI class: X.Org Video Driver, version 24.1
[     4.405] (II) LoadModule: "fbdev"
[     4.405] (WW) Warning, couldn't open module fbdev
[     4.405] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     4.405] (II) LoadModule: "vesa"
[     4.405] (WW) Warning, couldn't open module vesa
[     4.405] (EE) Failed to load module "vesa" (module does not exist, 0)
[     4.405] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     4.723] (EE) open /dev/dri/card0: No such file or directory
[     4.723] (WW) Falling back to old probe method for modesetting
[     4.723] (EE) open /dev/dri/card0: No such file or directory
[     4.723] (EE) Screen 0 deleted because of no matching config section.
[     4.723] (II) UnloadModule: "modesetting"
[     4.723] (EE) Device(s) detected, but none match those in the config file.
[     4.723] (EE) 
Fatal server error:
[     4.723] (EE) no screens found(EE) 
[     4.723] (EE) 
Please consult the The X.Org Foundation support 
     at [url]http://wiki.x.org[/url]
 for help. 
[     4.723] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     4.723] (EE) 
[     4.725] (EE) Server terminated with error (1). Closing log file.

lightdm.log

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=544
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.00s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.00s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.00s] DEBUG: XServer 0: Launching X Server
[+0.00s] DEBUG: Launching process 552: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.00s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.00s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.00s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.00s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.33s] DEBUG: Process 552 exited with return value 1
[+0.33s] DEBUG: XServer 0: X server stopped
[+0.33s] DEBUG: Releasing VT 7
[+0.33s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+0.33s] DEBUG: Seat seat0: Display server stopped
[+0.33s] DEBUG: Seat seat0: Stopping session
[+0.33s] DEBUG: Seat seat0: Session stopped
[+0.33s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.33s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.33s] DEBUG: Seat seat0: Stopping
[+0.33s] DEBUG: Seat seat0: Stopped
[+0.33s] DEBUG: Required seat has stopped
[+0.33s] DEBUG: Stopping display manager
[+0.33s] DEBUG: Display manager stopped
[+0.33s] DEBUG: Stopping daemon
[+0.33s] DEBUG: Exiting with return value 1

seat0-greeter.log
EMPTY

x-0.log

X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux blastoise 5.9.11-zen2-1-zen #1 ZEN SMP PREEMPT Sat, 28 Nov 2020 02:08:52 +0000 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=0ca5f316-1e05-4ab4-bfa0-97058a127687 rw loglevel=3 quiet
Build Date: 01 December 2020  07:51:57PM
 
Current version of pixman: 0.40.0
    Before reporting problems, check [url]http://wiki.x.org[/url]
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec  2 20:18:01 2020
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 
Please consult the The X.Org Foundation support 
     at [url]http://wiki.x.org[/url]
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.

Thank you in advance!

Best,
Sandro

Last edited by sawrz (2020-12-03 11:33:09)

Offline

#2 2020-12-02 20:18:22

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,642

Re: [Solved] Xorg Server fails with Kernel Switch

Welcome to the forums.  Please edit your post to use BBCode code tags around shell output and file contents.
https://bbs.archlinux.org/help.php#bbcode


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2020-12-02 20:43:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: [Solved] Xorg Server fails with Kernel Switch

I'd gather the problem has absolutely nothing to do with lightdm.  You can confirm this by trying startx/xinit.  The problem would then be your graphics drivers (or lack-thereof).  You mentioned you had nvidia, but that's built for the stock kernel.  There is an nvdiia-lts for use with the lts kernel, or there is nvidia-dkms which can be used with any kernel - and this is what you'll want.  Obviously, just removing the nvidia driver will do no good (as you have seen).

This is covered in the wiki:
https://wiki.archlinux.org/index.php/NV … tom_kernel

Last edited by Trilby (2020-12-02 20:44:36)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2020-12-02 22:10:49

sawrz
Member
Registered: 2020-12-02
Posts: 11

Re: [Solved] Xorg Server fails with Kernel Switch

ewaller wrote:

Welcome to the forums.  Please edit your post to use BBCode code tags around shell output and file contents.
https://bbs.archlinux.org/help.php#bbcode

Thank you! I edited my post, so it's better to read smile

Offline

#5 2020-12-02 22:13:18

sawrz
Member
Registered: 2020-12-02
Posts: 11

Re: [Solved] Xorg Server fails with Kernel Switch

Trilby wrote:

I'd gather the problem has absolutely nothing to do with lightdm.  You can confirm this by trying startx/xinit.  The problem would then be your graphics drivers (or lack-thereof).  You mentioned you had nvidia, but that's built for the stock kernel.  There is an nvdiia-lts for use with the lts kernel, or there is nvidia-dkms which can be used with any kernel - and this is what you'll want.  Obviously, just removing the nvidia driver will do no good (as you have seen).

This is covered in the wiki:
https://wiki.archlinux.org/index.php/NV … tom_kernel

Thank you so much! It solved my issue and I learned something new. My assumption that every repository kernel would run without the Nvidia driver was obviously wrong.

Offline

Board footer

Powered by FluxBB