[SOLVED] Xorg server crashing on boot "Failing initialization of X screen 0"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
UPDATE: The cause of this issue is not the fault of Ubuntu or the xorg-server. This crash occurs when the system RAM is experiencing problems. I have managed to fix this issue by readjusting one of my RAM chips.
-------
Ubuntu version: Ubuntu 18.04 LTS
I have recently been having a problem with my desktop completely locking up (no input is accepted) after a few minutes of usage. Every time I restarted my PC, the time it took to freeze got shorter and shorter until GDM just refused to load on startup (I couldn't even login). I Eventually got stuck on the screen where it shows services starting with their status with the last item being "[ OK ] Started GNOME Display Manager".
I started having this problem just a few days ago. Prior to these freezing issues my installation was working perfectly, buttery smooth. The only major thing that I did that may be causing this issue is my Oculus Rift that I left plugged into my PC.
After leaving my PC on the services screen all night, it actually unfroze and displayed a stack trace. Unfortunately, I don't have that stack trace. However, I have posted the Xorg.0.log below which may be relevant.
Since, I have been able to recover my PC from the freezing issues. After the services screen disappeared and a stack trace displayed, I was able to access a terminal session with Ctrl+Alt+F2 and run the command "sudo apt purge nvidia*".
*******
/var/log/Xorg.0.log
*******
[ 1165.010] (--) Log file renamed from "/var/log/
[ 1165.011]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[ 1165.011] X Protocol Version 11, Revision 0
[ 1165.011] Build Operating System: Linux 4.4.0-119-generic x86_64 Ubuntu
[ 1165.011] Current Operating System: Linux austin-Z87-DS3H 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64
[ 1165.011] Kernel command line: BOOT_IMAGE=
[ 1165.011] Build Date: 13 April 2018 08:07:36PM
[ 1165.011] xorg-server 2:1.19.6-1ubuntu4 (For technical support please see http://
[ 1165.011] Current version of pixman: 0.34.0
[ 1165.011] Before reporting problems, check http://
to make sure that you have the latest version.
[ 1165.011] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1165.011] (==) Log file: "/var/log/
[ 1165.011] (==) Using system config directory "/usr/share/
[ 1165.011] (==) No Layout section. Using the first Screen section.
[ 1165.011] (==) No screen section available. Using defaults.
[ 1165.011] (**) |-->Screen "Default Screen Section" (0)
[ 1165.011] (**) | |-->Monitor "<default monitor>"
[ 1165.011] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1165.011] (==) Automatically adding devices
[ 1165.011] (==) Automatically enabling devices
[ 1165.011] (==) Automatically adding GPU devices
[ 1165.011] (==) Automatically binding GPU devices
[ 1165.011] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1165.011] (WW) The directory "/usr/share/
[ 1165.011] Entry deleted from font path.
[ 1165.011] (WW) The directory "/usr/share/
[ 1165.011] Entry deleted from font path.
[ 1165.011] (WW) The directory "/usr/share/
[ 1165.011] Entry deleted from font path.
[ 1165.011] (WW) The directory "/usr/share/
[ 1165.011] Entry deleted from font path.
[ 1165.011] (WW) The directory "/usr/share/
[ 1165.011] Entry deleted from font path.
[ 1165.011] (==) FontPath set to:
/usr/share/
/usr/share/
built-ins
[ 1165.011] (==) ModulePath set to "/usr/lib/
[ 1165.011] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1165.011] (II) Loader magic: 0x5632520ad020
[ 1165.011] (II) Module ABI versions:
[ 1165.011] X.Org ANSI C Emulation: 0.4
[ 1165.011] X.Org Video Driver: 23.0
[ 1165.011] X.Org XInput driver : 24.1
[ 1165.011] X.Org Server Extension : 10.0
[ 1165.012] (++) using VT number 1
[ 1165.013] (II) systemd-logind: took control of session /org/freedeskto
[ 1165.014] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 1165.014] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 12 paused 0
[ 1165.014] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1165.014] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[ 1165.015] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/
[ 1165.016] (--) PCI: (0:0:2:0) 8086:0412:1458:d000 rev 6, Mem @ 0xf7400000/4194304, 0xd0000000/
[ 1165.016] (--) PCI:*(0:1:0:0) 10de:1b81:1458:3773 rev 161, Mem @ 0xf6000000/
[ 1165.016] (II) LoadModule: "glx"
[ 1165.016] (II) Loading /usr/lib/
[ 1165.019] (II) Module glx: vendor="NVIDIA Corporation"
[ 1165.019] compiled for 4.0.2, module version = 1.0.0
[ 1165.019] Module class: X.Org Server Extension
[ 1165.019] (II) NVIDIA GLX Module 390.48 Wed Mar 21 23:42:56 PDT 2018
[ 1165.019] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[ 1165.019] loading driver: nvidia
[ 1165.019] (==) Matched nvidia as autoconfigured driver 0
[ 1165.019] (==) Matched nouveau as autoconfigured driver 1
[ 1165.019] (==) Matched nouveau as autoconfigured driver 2
[ 1165.019] (==) Matched modesetting as autoconfigured driver 3
[ 1165.019] (==) Matched fbdev as autoconfigured driver 4
[ 1165.019] (==) Matched vesa as autoconfigured driver 5
[ 1165.019] (==) Assigned the driver to the xf86ConfigLayout
[ 1165.019] (II) LoadModule: "nvidia"
[ 1165.019] (II) Loading /usr/lib/
[ 1165.019] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 1165.019] compiled for 4.0.2, module version = 1.0.0
[ 1165.019] Module class: X.Org Video Driver
[ 1165.019] (II) LoadModule: "nouveau"
[ 1165.020] (II) Loading /usr/lib/
[ 1165.020] (II) Module nouveau: vendor="X.Org Foundation"
[ 1165.020] compiled for 1.19.3, module version = 1.0.15
[ 1165.020] Module class: X.Org Video Driver
[ 1165.020] ABI class: X.Org Video Driver, version 23.0
[ 1165.020] (II) LoadModule: "modesetting"
[ 1165.020] (II) Loading /usr/lib/
[ 1165.020] (II) Module modesetting: vendor="X.Org Foundation"
[ 1165.020] compiled for 1.19.6, module version = 1.19.6
[ 1165.020] Module class: X.Org Video Driver
[ 1165.020] ABI class: X.Org Video Driver, version 23.0
[ 1165.020] (II) LoadModule: "fbdev"
[ 1165.020] (II) Loading /usr/lib/
[ 1165.020] (II) Module fbdev: vendor="X.Org Foundation"
[ 1165.020] compiled for 1.19.3, module version = 0.4.4
[ 1165.020] Module class: X.Org Video Driver
[ 1165.020] ABI class: X.Org Video Driver, version 23.0
[ 1165.020] (II) LoadModule: "vesa"
[ 1165.020] (II) Loading /usr/lib/
[ 1165.020] (II) Module vesa: vendor="X.Org Foundation"
[ 1165.020] compiled for 1.19.3, module version = 2.3.4
[ 1165.020] Module class: X.Org Video Driver
[ 1165.020] ABI class: X.Org Video Driver, version 23.0
[ 1165.020] (II) NVIDIA dlloader X Driver 390.48 Wed Mar 21 23:18:15 PDT 2018
[ 1165.020] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 1165.020] (II) NOUVEAU driver Date: Fri Apr 21 14:41:17 2017 -0400
[ 1165.020] (II) NOUVEAU driver for NVIDIA chipset families :
[ 1165.020] RIVA TNT (NV04)
[ 1165.020] RIVA TNT2 (NV05)
[ 1165.020] GeForce 256 (NV10)
[ 1165.020] GeForce 2 (NV11, NV15)
[ 1165.020] GeForce 4MX (NV17, NV18)
[ 1165.020] GeForce 3 (NV20)
[ 1165.020] GeForce 4Ti (NV25, NV28)
[ 1165.020] GeForce FX (NV3x)
[ 1165.020] GeForce 6 (NV4x)
[ 1165.020] GeForce 7 (G7x)
[ 1165.020] GeForce 8 (G8x)
[ 1165.020] GeForce GTX 200 (NVA0)
[ 1165.020] GeForce GTX 400 (NVC0)
[ 1165.020] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 1165.020] (II) FBDEV: driver for framebuffer: fbdev
[ 1165.020] (II) VESA: driver for VESA chipsets: vesa
[ 1165.021] (II) systemd-logind: releasing fd for 226:1
[ 1165.021] (II) Loading sub module "fb"
[ 1165.021] (II) LoadModule: "fb"
[ 1165.021] (II) Loading /usr/lib/
[ 1165.021] (II) Module fb: vendor="X.Org Foundation"
[ 1165.021] compiled for 1.19.6, module version = 1.0.0
[ 1165.021] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1165.021] (II) Loading sub module "wfb"
[ 1165.021] (II) LoadModule: "wfb"
[ 1165.021] (II) Loading /usr/lib/
[ 1165.021] (II) Module wfb: vendor="X.Org Foundation"
[ 1165.021] compiled for 1.19.6, module version = 1.0.0
[ 1165.021] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1165.021] (II) Loading sub module "ramdac"
[ 1165.021] (II) LoadModule: "ramdac"
[ 1165.021] (II) Module "ramdac" already built-in
[ 1165.022] (WW) Falling back to old probe method for modesetting
[ 1165.022] (WW) Falling back to old probe method for fbdev
[ 1165.022] (II) Loading sub module "fbdevhw"
[ 1165.022] (II) LoadModule: "fbdevhw"
[ 1165.022] (II) Loading /usr/lib/
[ 1165.022] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 1165.022] compiled for 1.19.6, module version = 0.0.2
[ 1165.022] ABI class: X.Org Video Driver, version 23.0
[ 1165.022] (WW) Falling back to old probe method for vesa
[ 1165.022] (II) modeset(G0): using drv /dev/dri/card0
[ 1165.022] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 1165.022] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 1165.022] (==) NVIDIA(0): RGB weight 888
[ 1165.022] (==) NVIDIA(0): Default visual is TrueColor
[ 1165.022] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 1165.022] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[ 1165.022] (**) NVIDIA(0): Option "AllowEmptyInit
[ 1165.022] (**) NVIDIA(0): Enabling 2D acceleration
[ 1169.020] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ 1169.020] (EE) NVIDIA(GPU-0): check your system's kernel log for additional error
[ 1169.020] (EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the
[ 1169.020] (EE) NVIDIA(GPU-0): README for additional information.
[ 1169.020] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[ 1169.020] (EE) NVIDIA(0): Failing initialization of X screen 0
[ 1169.020] (II) UnloadModule: "nvidia"
[ 1169.020] (II) UnloadSubModule: "wfb"
[ 1169.020] (II) UnloadSubModule: "fb"
[ 1169.020] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[ 1169.020] (==) modeset(G0): RGB weight 888
[ 1169.020] (==) modeset(G0): Default visual is TrueColor
[ 1169.020] (II) Loading sub module "glamoregl"
[ 1169.020] (II) LoadModule: "glamoregl"
[ 1169.020] (II) Loading /usr/lib/
[ 1169.023] (II) Module glamoregl: vendor="X.Org Foundation"
[ 1169.023] compiled for 1.19.6, module version = 1.0.0
[ 1169.023] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1169.023] (II) glamor: OpenGL accelerated X.org driver based.
[ 1169.031] (II) glamor: EGL version 1.4 (DRI2):
[ 1169.035] (II) modeset(G0): glamor initialized
[ 1169.039] (II) modeset(G0): Output VGA-1-1 has no monitor section
[ 1169.048] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[ 1169.056] (II) modeset(G0): Output HDMI-1-2 has no monitor section
[ 1169.060] (II) modeset(G0): EDID for output VGA-1-1
[ 1169.069] (II) modeset(G0): EDID for output HDMI-1-1
[ 1169.078] (II) modeset(G0): EDID for output HDMI-1-2
[ 1169.078] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[ 1169.078] (==) modeset(G0): DPI set to (96, 96)
[ 1169.078] (II) Loading sub module "fb"
[ 1169.078] (II) LoadModule: "fb"
[ 1169.078] (II) Loading /usr/lib/
[ 1169.078] (II) Module fb: vendor="X.Org Foundation"
[ 1169.078] compiled for 1.19.6, module version = 1.0.0
[ 1169.078] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1169.078] (EE) Screen(s) found, but none have a usable configuration.
[ 1169.078] (EE)
Fatal server error:
[ 1169.078] (EE) no screens found(EE)
[ 1169.078] (EE)
Please consult the The X.Org Foundation support
at http://
for help.
[ 1169.078] (EE) Please also check the log file at "/var/log/
[ 1169.078] (EE)
[ 1169.086] (EE) Server terminated with error (1). Closing log file.
affects: | apport (Ubuntu) → ubuntu |
description: | updated |
summary: |
- Xorg server crashing on boot "Failing initialization of X screen 0" + [SOLVED] Xorg server crashing on boot "Failing initialization of X + screen 0" |
This looks like bug 1543192, which happens mostly for NVIDIA users, but also other users occasionally.