You are not logged in.

#1 2014-01-27 08:00:49

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 353

(Solved) X won't start (no screens found)

Hi there!

This is a very nasty problem: X isn't starting any more on my system. I see the boot-messages, the last entry is "Reaching target graphical interface" (or so) and then nothing happens. Strange: when I go to tty2, I can manually startx here.

Xorg.0.log:

[     1.834] 
X.Org X Server 1.15.0
Release Date: 2013-12-27
[     1.834] X Protocol Version 11, Revision 0
[     1.834] Build Operating System: Linux 3.12.5-1-ARCH x86_64 
[     1.834] Current Operating System: Linux aegis 3.12.9-1-ARCH #1 SMP PREEMPT Sun Jan 26 09:01:37 CET 2014 x86_64
[     1.834] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda6 rw resume=/dev/sda5 zswap.enabled=1 nmi_watchdog=0 pcie_aspm=force initrd=../initramfs-linux.img
[     1.834] Build Date: 09 January 2014  08:47:24AM
[     1.834]  
[     1.834] Current version of pixman: 0.32.4
[     1.834] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     1.834] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     1.835] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 27 08:30:12 2014
[     1.836] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     1.836] (==) No Layout section.  Using the first Screen section.
[     1.836] (==) No screen section available. Using defaults.
[     1.836] (**) |-->Screen "Default Screen Section" (0)
[     1.836] (**) |   |-->Monitor "<default monitor>"
[     1.837] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     1.837] (==) Automatically adding devices
[     1.837] (==) Automatically enabling devices
[     1.837] (==) Automatically adding GPU devices
[     1.837] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[     1.838] 	Entry deleted from font path.
[     1.838] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[     1.838] 	Entry deleted from font path.
[     1.838] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[     1.839] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[     1.839] 	Entry deleted from font path.
[     1.839] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[     1.839] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/Type1/
[     1.839] (==) ModulePath set to "/usr/lib/xorg/modules"
[     1.839] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     1.839] (II) Loader magic: 0x804c80
[     1.839] (II) Module ABI versions:
[     1.839] 	X.Org ANSI C Emulation: 0.4
[     1.839] 	X.Org Video Driver: 15.0
[     1.839] 	X.Org XInput driver : 20.0
[     1.839] 	X.Org Server Extension : 8.0
[     1.841] (--) PCI:*(0:1:0:0) 10de:0df4:104d:9089 rev 161, Mem @ 0xf4000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[     1.841] (II) Open ACPI successful (/var/run/acpid.socket)
[     1.841] Initializing built-in extension Generic Event Extension
[     1.841] Initializing built-in extension SHAPE
[     1.841] Initializing built-in extension MIT-SHM
[     1.841] Initializing built-in extension XInputExtension
[     1.841] Initializing built-in extension XTEST
[     1.841] Initializing built-in extension BIG-REQUESTS
[     1.841] Initializing built-in extension SYNC
[     1.841] Initializing built-in extension XKEYBOARD
[     1.841] Initializing built-in extension XC-MISC
[     1.841] Initializing built-in extension SECURITY
[     1.841] Initializing built-in extension XINERAMA
[     1.841] Initializing built-in extension XFIXES
[     1.841] Initializing built-in extension RENDER
[     1.841] Initializing built-in extension RANDR
[     1.841] Initializing built-in extension COMPOSITE
[     1.841] Initializing built-in extension DAMAGE
[     1.841] Initializing built-in extension MIT-SCREEN-SAVER
[     1.841] Initializing built-in extension DOUBLE-BUFFER
[     1.841] Initializing built-in extension RECORD
[     1.841] Initializing built-in extension DPMS
[     1.842] Initializing built-in extension Present
[     1.842] Initializing built-in extension DRI3
[     1.842] Initializing built-in extension X-Resource
[     1.842] Initializing built-in extension XVideo
[     1.842] Initializing built-in extension XVideo-MotionCompensation
[     1.842] Initializing built-in extension XFree86-VidModeExtension
[     1.842] Initializing built-in extension XFree86-DGA
[     1.842] Initializing built-in extension XFree86-DRI
[     1.842] Initializing built-in extension DRI2
[     1.842] (II) LoadModule: "glx"
[     1.845] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     1.938] (II) Module glx: vendor="NVIDIA Corporation"
[     1.938] 	compiled for 4.0.2, module version = 1.0.0
[     1.938] 	Module class: X.Org Server Extension
[     1.938] (II) NVIDIA GLX Module  331.38  Wed Jan  8 19:10:17 PST 2014
[     1.939] Loading extension GLX
[     1.939] (==) Matched nouveau as autoconfigured driver 0
[     1.939] (==) Matched nvidia as autoconfigured driver 1
[     1.939] (==) Matched nv as autoconfigured driver 2
[     1.939] (==) Matched modesetting as autoconfigured driver 3
[     1.939] (==) Matched fbdev as autoconfigured driver 4
[     1.939] (==) Matched vesa as autoconfigured driver 5
[     1.939] (==) Assigned the driver to the xf86ConfigLayout
[     1.939] (II) LoadModule: "nouveau"
[     1.941] (WW) Warning, couldn't open module nouveau
[     1.941] (II) UnloadModule: "nouveau"
[     1.941] (II) Unloading nouveau
[     1.941] (EE) Failed to load module "nouveau" (module does not exist, 0)
[     1.941] (II) LoadModule: "nvidia"
[     1.941] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     1.947] (II) Module nvidia: vendor="NVIDIA Corporation"
[     1.947] 	compiled for 4.0.2, module version = 1.0.0
[     1.947] 	Module class: X.Org Video Driver
[     1.947] (II) LoadModule: "nv"
[     1.948] (WW) Warning, couldn't open module nv
[     1.948] (II) UnloadModule: "nv"
[     1.948] (II) Unloading nv
[     1.948] (EE) Failed to load module "nv" (module does not exist, 0)
[     1.948] (II) LoadModule: "modesetting"
[     1.948] (WW) Warning, couldn't open module modesetting
[     1.948] (II) UnloadModule: "modesetting"
[     1.948] (II) Unloading modesetting
[     1.948] (EE) Failed to load module "modesetting" (module does not exist, 0)
[     1.948] (II) LoadModule: "fbdev"
[     1.948] (WW) Warning, couldn't open module fbdev
[     1.948] (II) UnloadModule: "fbdev"
[     1.948] (II) Unloading fbdev
[     1.948] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     1.948] (II) LoadModule: "vesa"
[     1.948] (WW) Warning, couldn't open module vesa
[     1.948] (II) UnloadModule: "vesa"
[     1.948] (II) Unloading vesa
[     1.948] (EE) Failed to load module "vesa" (module does not exist, 0)
[     1.948] (II) NVIDIA dlloader X Driver  331.38  Wed Jan  8 18:51:00 PST 2014
[     1.948] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     1.949] (++) using VT number 1

[     1.951] (II) Loading sub module "fb"
[     1.951] (II) LoadModule: "fb"
[     1.951] (II) Loading /usr/lib/xorg/modules/libfb.so
[     1.952] (II) Module fb: vendor="X.Org Foundation"
[     1.952] 	compiled for 1.15.0, module version = 1.0.0
[     1.952] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     1.952] (WW) Unresolved symbol: fbGetGCPrivateKey
[     1.952] (II) Loading sub module "wfb"
[     1.952] (II) LoadModule: "wfb"
[     1.952] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     1.953] (II) Module wfb: vendor="X.Org Foundation"
[     1.953] 	compiled for 1.15.0, module version = 1.0.0
[     1.953] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     1.953] (II) Loading sub module "ramdac"
[     1.953] (II) LoadModule: "ramdac"
[     1.954] (II) Module "ramdac" already built-in
[     1.955] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     1.955] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[     1.955] (==) NVIDIA(0): RGB weight 888
[     1.955] (==) NVIDIA(0): Default visual is TrueColor
[     1.955] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[     1.955] (**) NVIDIA(0): Enabling 2D acceleration
[     1.957] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the
[     1.957] (EE) NVIDIA(0):     system's kernel log for additional error messages and
[     1.957] (EE) NVIDIA(0):     consult the NVIDIA README for details.
[     1.957] (EE) NVIDIA(0):  *** Aborting ***
[     1.957] (EE) NVIDIA(0): Failing initialization of X screen 0
[     1.957] (II) UnloadModule: "nvidia"
[     1.957] (II) UnloadSubModule: "wfb"
[     1.957] (II) UnloadSubModule: "fb"
[     1.957] (EE) Screen(s) found, but none have a usable configuration.
[     1.957] (EE) 
Fatal server error:
[     1.957] (EE) no screens found(EE) 
[     1.957] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     1.957] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     1.957] (EE) 
[     1.958] (EE) Server terminated with error (1). Closing log file.

Interesting here are the "Failed to initialize the NVIDIA kernel module." and "no screens found" messages. I don't have a xorg.conf, so the defaults should be used. I've tried to reinstall the nvidia modules, but that doesn't changed something too.

journalctl -b | grep "nvidia":

Jan 27 08:30:13 aegis kernel: [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 0

Google only took me to some pages, but the problem there was always related to bumblebee (I don't have dualgraphics).

Hardware: I'm using a Sony Vaio VPC Notebook with Core i5 and Geforce 540M. The only thing I did was transferring my system from an HDD to an SSD, but that shouldn't affect the graphics.


Some help would be very great.

Last edited by Thorsten Reinbold (2014-01-27 08:28:34)

Offline

#2 2014-01-27 08:08:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: (Solved) X won't start (no screens found)

You're probably running into this: https://bbs.archlinux.org/viewtopic.php?id=173153

Basically your system is loading too fast now and X is trying to start before the module is loaded. Best fix is to add the nvidia module to your initramfs.

Last edited by Scimmia (2014-01-27 08:10:25)

Offline

#3 2014-01-27 08:28:16

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 353

Re: (Solved) X won't start (no screens found)

Many thanks! That was the solution! Everythings fine now. big_smile

Offline

#4 2017-02-27 04:48:36

m33b0
Member
Registered: 2017-02-27
Posts: 10

Re: (Solved) X won't start (no screens found)

Thorsten Reinbold wrote:

Many thanks! That was the solution! Everythings fine now. big_smile

So what exactly was the solution? Because I don't have that directory as I don't use KDE/kdm. The file specified was

# /etc/systemd/system/kdm.service.d/10-wait-for-card.conf

[Unit]
Wants=dev-dri-card0.device
After=dev-dri-card0.device

So where should I put the "10-wait-for-card-conf" file? Sorry for such an old bump. Just having the same problem with no solution.

Offline

#5 2017-02-27 04:52:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: (Solved) X won't start (no screens found)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB