You are not logged in.

#1 2020-12-22 23:41:33

shox
Member
Registered: 2012-06-20
Posts: 51

X11 not automatically starting after upgrade (blinking cursor)

Hi, after today's upgrade, I rebooted and got a black screen with a blinking cursor after systemd startup.

I was able to workaround the issue by switching tty with CTRL-ALT-F2 and CTRL-ALT-F1.
When coming back on tty1, GDM finally starts.

I'm using
- nvidia 455.45.01-7
- linux 5.9.14.arch1-1
- xorg-server 1.20.10-3

I checked

sudo journalctl -b

and found the following error

déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (--) Log file renamed from "/var/log/Xorg.pid-750.log" to "/var/log/Xorg.0.log"
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: X.Org X Server 1.20.10
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: X Protocol Version 11, Revision 0
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: Build Operating System: Linux Arch Linux
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: Current Operating System: Linux letik-desktop 5.9.14-arch1-1 #1 SMP PREEMPT Sat, 12 Dec 2020 14:37:12 +0000 x86_64
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=e411eacf-2b28-426c-864d-05f97d747079 rw cryptdevice=UUID=d673d7dd-8ed5-4ed8-b763-fbf3bf4271db:cryptroot quiet
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: Build Date: 14 December 2020  12:10:29PM
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:  
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: Current version of pixman: 0.40.0
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         Before reporting problems, check http://wiki.x.org
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         to make sure that you have the latest version.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: Markers: (--) probed, (**) from config file, (==) default setting,
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         (++) from command line, (!!) notice, (II) informational,
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 22 23:20:49 2020
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) No Layout section.  Using the first Screen section.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) No screen section available. Using defaults.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (**) |-->Screen "Default Screen Section" (0)
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (**) |   |-->Monitor "<default monitor>"
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) No monitor specified for screen "Default Screen Section".
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         Using a default monitor configuration.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) Automatically adding devices
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) Automatically enabling devices
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) Automatically adding GPU devices
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) Automatically binding GPU devices
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) Max clients allowed: 256, resource mask: 0x1fffff
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (WW) The directory "/usr/share/fonts/misc" does not exist.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         Entry deleted from font path.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (WW) The directory "/usr/share/fonts/OTF" does not exist.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         Entry deleted from font path.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (WW) The directory "/usr/share/fonts/Type1" does not exist.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         Entry deleted from font path.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (WW) The directory "/usr/share/fonts/100dpi" does not exist.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         Entry deleted from font path.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (WW) The directory "/usr/share/fonts/75dpi" does not exist.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         Entry deleted from font path.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) FontPath set to:
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         /usr/share/fonts/TTF
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) ModulePath set to "/usr/lib/xorg/modules"
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) The server relies on udev to provide the list of input devices.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         If no devices become available, reconfigure udev or disable AutoAddDevices.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) Module ABI versions:
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         X.Org ANSI C Emulation: 0.4
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         X.Org Video Driver: 24.1
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         X.Org XInput driver : 24.1
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         X.Org Server Extension : 10.0
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (++) using VT number 1
déc. 22 23:20:49 letik-desktop bluetoothd[712]: Bluetooth management interface 1.18 initialized
déc. 22 23:20:49 letik-desktop systemd[714]: Reached target Sound Card.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
déc. 22 23:20:49 letik-desktop kernel: iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
déc. 22 23:20:49 letik-desktop kernel: iTCO_wdt: Found a Intel PCH TCO device (Version=6, TCOBASE=0x0400)
déc. 22 23:20:49 letik-desktop kernel: iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
déc. 22 23:20:49 letik-desktop kernel: intel_rapl_common: Found RAPL domain package
déc. 22 23:20:49 letik-desktop kernel: intel_rapl_common: Found RAPL domain core
déc. 22 23:20:49 letik-desktop kernel: intel_rapl_common: Found RAPL domain dram
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (--) PCI:*(1@0:0:0) 10de:1f07:1043:866e rev 161, Mem @ 0xa3000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/131072
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) LoadModule: "glx"
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) Module glx: vendor="X.Org Foundation"
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         compiled for 1.20.10, module version = 1.0.0
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         ABI class: X.Org Server Extension, version 10.0
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) Matched nouveau as autoconfigured driver 0
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) Matched nv as autoconfigured driver 1
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) Matched modesetting as autoconfigured driver 2
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) Matched fbdev as autoconfigured driver 3
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) Matched vesa as autoconfigured driver 4
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (==) Assigned the driver to the xf86ConfigLayout
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) LoadModule: "nouveau"
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (WW) Warning, couldn't open module nouveau
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE) Failed to load module "nouveau" (module does not exist, 0)
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) LoadModule: "nv"
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (WW) Warning, couldn't open module nv
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE) Failed to load module "nv" (module does not exist, 0)
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) LoadModule: "modesetting"
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) Module modesetting: vendor="X.Org Foundation"
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         compiled for 1.20.10, module version = 1.20.10
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         Module class: X.Org Video Driver
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:         ABI class: X.Org Video Driver, version 24.1
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) LoadModule: "fbdev"
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (WW) Warning, couldn't open module fbdev
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE) Failed to load module "fbdev" (module does not exist, 0)
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) LoadModule: "vesa"
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (WW) Warning, couldn't open module vesa
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE) Failed to load module "vesa" (module does not exist, 0)
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) modesetting: Driver for Modesetting Kernel Drivers: kms
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE) open /dev/dri/card0: No such file or directory
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (WW) Falling back to old probe method for modesetting
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE) open /dev/dri/card0: No such file or directory
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE) Screen 0 deleted because of no matching config section.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (II) UnloadModule: "modesetting"
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE) Device(s) detected, but none match those in the config file.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE)
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: Fatal server error:
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE) no screens found(EE)
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE)
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: Please consult the The X.Org Foundation support
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:          at http://wiki.x.org
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]:  for help.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE)
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[750]: (EE) Server terminated with error (1). Closing log file.
déc. 22 23:20:49 letik-desktop /usr/lib/gdm-x-session[748]: Unable to run X server
déc. 22 23:20:49 letik-desktop audit[679]: USER_END pid=679 uid=0 auid=120 ses=1 msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_succeed_if,pam_permit,pam_systemd,pam_env acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=letik-desktop addr=? terminal=/dev/tty1 res=success'
déc. 22 23:20:49 letik-desktop audit[679]: CRED_DISP pid=679 uid=0 auid=120 ses=1 msg='op=PAM:setcred grantors=pam_permit acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=letik-desktop addr=? terminal=/dev/tty1 res=success'
déc. 22 23:20:49 letik-desktop gdm[665]: Gdm: Child process -748 was already dead.
déc. 22 23:20:49 letik-desktop systemd[1]: session-1.scope: Succeeded.
déc. 22 23:20:49 letik-desktop systemd-logind[646]: Session 1 logged out. Waiting for processes to exit.
déc. 22 23:20:49 letik-desktop systemd-logind[646]: Removed session 1.
déc. 22 23:20:49 letik-desktop systemd-udevd[457]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
déc. 22 23:20:49 letik-desktop wpa_supplicant[726]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface.P2PDevice dbus_property=P2PDeviceConfig getter failed
déc. 22 23:20:49 letik-desktop NetworkManager[644]: <info>  [1608675649.5531] device (wlp3s0): supplicant interface state: internal-starting -> disconnected
déc. 22 23:20:49 letik-desktop NetworkManager[644]: <info>  [1608675649.5531] device (wlp3s0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
déc. 22 23:20:49 letik-desktop kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 234
déc. 22 23:20:49 letik-desktop kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
déc. 22 23:20:49 letik-desktop kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  455.45.01  Thu Nov  5 23:03:56 UTC 2020
déc. 22 23:20:49 letik-desktop kernel: Bluetooth: hci0: Broadcom Bluetooth Device
déc. 22 23:20:49 letik-desktop kernel: Bluetooth: hci0: BCM20702A1 (001.002.014) build 1467
déc. 22 23:20:49 letik-desktop kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  455.45.01  Thu Nov  5 22:55:44 UTC 2020
déc. 22 23:20:49 letik-desktop kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
déc. 22 23:20:49 letik-desktop kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
déc. 22 23:20:49 letik-desktop kernel: NET: Registered protocol family 38

It seems that nvidia driver is loaded after GDM which leads to X failing to start. Is that expected ? Are there anyone affected by this issue recently ?

Thanks !

Offline

#2 2020-12-23 00:14:43

loqs
Member
Registered: 2014-03-06
Posts: 12,569

Re: X11 not automatically starting after upgrade (blinking cursor)

https://bugs.archlinux.org/task/69055 / https://bugs.archlinux.org/task/68653 ?
As a work around you could try adding nvidia, nvidia_modeset, nvidia_uvm and nvidia_drm to the initrd.

Offline

#3 2020-12-23 00:21:34

shox
Member
Registered: 2012-06-20
Posts: 51

Re: X11 not automatically starting after upgrade (blinking cursor)

Oh thanks for the fast reply ! I should have checked Archlinux bugs first (:
Glad to see that the issue is being tracked. I'll apply the workaround.
Thanks !

Offline

Board footer

Powered by FluxBB