You are not logged in.

#1 2017-12-14 08:11:44

alex_hmn
Member
Registered: 2014-10-01
Posts: 25

[SOLVED] X server hangs forever on start

Hello everybody!

So, straight to the point. We've got this new PC with asus rog zenith extreme motherboard, AMD threadripper 1950 CPU and 3x Titan Xp GPUs.
For a few days we were struggling in order to install Arch Linux on this machine, but still no result.

May be there is something obvious we are missing?

Some details:
I'm trying to install Arch Linux with i3 and everything looks normal (I mean system detects all the devices correctly (apparently) and installs nvidia drivers without any errors) until the moment of startx command which hangs and nothing more. We have tried a number of xorg.conf file options and variations but found no differences.

But the thing is that Ubuntu 17 installs and works quite fine when Antergos (with gnome) (as far as I understand - some Arch based distributive) as well fails to start X.
What are the differences between their ways to start X?

We have even tried to save xorg.conf from nvidia-settings on Ubuntu and then use this config on Arch, but, of course, this didn't work.

Any suggestions?

As always, thank you for your attention!

Last edited by alex_hmn (2017-12-14 15:22:31)

Offline

#2 2017-12-14 08:13:21

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

Re: [SOLVED] X server hangs forever on start

Post a log. And your xinitrc.


Not an installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-12-14 09:38:22

alex_hmn
Member
Registered: 2014-10-01
Posts: 25

Re: [SOLVED] X server hangs forever on start

My .xinitrc is copied from another machine (working, single GPU)

setterm -blank 0
xset s off
xset -dpms
xset -b

export LC_ALL=en_US.utf8

exec i3

config.fish

if status --is-login
  if test -z "$DISPLAY" -a $XDG_VTNR = 1
    exec startx -- -keeptty
  end
end

and here is Xorg.0.log

[    18.286] 
X.Org X Server 1.19.5
Release Date: 2017-10-12
[    18.286] X Protocol Version 11, Revision 0
[    18.286] Build Operating System: Linux 4.9.54-1-lts x86_64 
[    18.286] Current Operating System: Linux archlinux 4.14.5-1-ARCH #1 SMP PREEMPT Sun Dec 10 14:50:30 UTC 2017 x86_64
[    18.286] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=3802ff96-e81c-41d4-99b9-d48e69a9bab2 rw quiet
[    18.286] Build Date: 12 October 2017  09:59:53PM
[    18.286]  
[    18.286] Current version of pixman: 0.34.0
[    18.286] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    18.286] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    18.287] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 14 12:27:44 2017
[    18.287] (==) Using config file: "/etc/X11/xorg.conf"
[    18.287] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    18.288] (==) ServerLayout "Layout0"
[    18.288] (**) |-->Screen "Screen0" (0)
[    18.288] (**) |   |-->Monitor "Monitor0"
[    18.288] (**) |   |-->Device "Device0"
[    18.288] (**) |-->Input Device "Keyboard0"
[    18.288] (**) |-->Input Device "Mouse0"
[    18.288] (**) Option "Xinerama" "0"
[    18.288] (==) Automatically adding devices
[    18.288] (==) Automatically enabling devices
[    18.288] (==) Automatically adding GPU devices
[    18.288] (==) Automatically binding GPU devices
[    18.288] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    18.289] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    18.289] 	Entry deleted from font path.
[    18.289] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    18.289] 	Entry deleted from font path.
[    18.289] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    18.289] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    18.289] 	Entry deleted from font path.
[    18.289] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    18.289] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[    18.289] (==) ModulePath set to "/usr/lib/xorg/modules"
[    18.289] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    18.289] (WW) Disabling Keyboard0
[    18.289] (WW) Disabling Mouse0
[    18.289] (II) Loader magic: 0x55f302ec5d60
[    18.289] (II) Module ABI versions:
[    18.289] 	X.Org ANSI C Emulation: 0.4
[    18.289] 	X.Org Video Driver: 23.0
[    18.289] 	X.Org XInput driver : 24.1
[    18.289] 	X.Org Server Extension : 10.0
[    18.290] (++) using VT number 1

[    18.291] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    18.292] (II) xfree86: Adding drm device (/dev/dri/card0)
[    18.292] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[    18.292] (II) xfree86: Adding drm device (/dev/dri/card1)
[    18.292] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 12 paused 0
[    18.293] (II) xfree86: Adding drm device (/dev/dri/card2)
[    18.293] (II) systemd-logind: got fd for /dev/dri/card2 226:2 fd 13 paused 0
[    18.296] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[    18.296] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[    18.296] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/nvidia/xorg,/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[    18.296] (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
[    18.298] (--) PCI:*(0:7:0:0) 10de:1b02:10de:11df rev 161, Mem @ 0xee000000/16777216, 0xfce0000000/268435456, 0xfcf0000000/33554432, I/O @ 0x00006000/128, BIOS @ 0x????????/524288
[    18.298] (--) PCI: (0:66:0:0) 10de:1b02:10de:11df rev 161, Mem @ 0xea000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[    18.298] (--) PCI: (0:67:0:0) 10de:1b02:10de:11df rev 161, Mem @ 0xe8000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/131072
[    18.298] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    18.298] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    18.298] (II) LoadModule: "dbe"
[    18.298] (II) Module "dbe" already built-in
[    18.298] (II) LoadModule: "extmod"
[    18.298] (II) Module "extmod" already built-in
[    18.298] (II) LoadModule: "glx"
[    18.299] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[    18.311] (II) Module glx: vendor="NVIDIA Corporation"
[    18.311] 	compiled for 4.0.2, module version = 1.0.0
[    18.311] 	Module class: X.Org Server Extension
[    18.311] (II) NVIDIA GLX Module  387.34  Tue Nov 21 02:04:31 PST 2017
[    18.311] (II) LoadModule: "nvidia"
[    18.312] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    18.314] (II) Module nvidia: vendor="NVIDIA Corporation"
[    18.314] 	compiled for 4.0.2, module version = 1.0.0
[    18.314] 	Module class: X.Org Video Driver
[    18.314] (II) NVIDIA dlloader X Driver  387.34  Tue Nov 21 01:38:22 PST 2017
[    18.314] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    18.314] (II) systemd-logind: releasing fd for 226:0
[    18.315] (II) Loading sub module "fb"
[    18.315] (II) LoadModule: "fb"
[    18.315] (II) Loading /usr/lib/xorg/modules/libfb.so
[    18.315] (II) Module fb: vendor="X.Org Foundation"
[    18.315] 	compiled for 1.19.5, module version = 1.0.0
[    18.315] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    18.315] (II) Loading sub module "wfb"
[    18.315] (II) LoadModule: "wfb"
[    18.315] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    18.316] (II) Module wfb: vendor="X.Org Foundation"
[    18.316] 	compiled for 1.19.5, module version = 1.0.0
[    18.316] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    18.316] (II) Loading sub module "ramdac"
[    18.316] (II) LoadModule: "ramdac"
[    18.316] (II) Module "ramdac" already built-in
[    18.316] (II) systemd-logind: releasing fd for 226:1
[    18.317] (II) systemd-logind: releasing fd for 226:2
[    18.317] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    18.317] (==) NVIDIA(0): RGB weight 888
[    18.317] (==) NVIDIA(0): Default visual is TrueColor
[    18.317] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    18.317] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[    18.317] (**) NVIDIA(0): Option "Stereo" "0"
[    18.317] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-0"
[    18.317] (**) NVIDIA(0): Option "SLI" "Off"
[    18.317] (**) NVIDIA(0): Option "MultiGPU" "Off"
[    18.317] (**) NVIDIA(0): Option "BaseMosaic" "off"
[    18.317] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[    18.317] (**) NVIDIA(0): Stereo disabled by request
[    18.317] (**) NVIDIA(0): NVIDIA SLI disabled.
[    18.317] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[    18.317] (**) NVIDIA(0): Option "MetaModes" "nvidia-auto-select +0+0"
[    18.317] (**) NVIDIA(0): Enabling 2D acceleration
[    18.319] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:7:0:0
[    18.319] (--) NVIDIA(0):     DFP-0
[    18.319] (--) NVIDIA(0):     DFP-1
[    18.319] (--) NVIDIA(0):     DFP-2
[    18.319] (--) NVIDIA(0):     DFP-3
[    18.319] (--) NVIDIA(0):     DFP-4
[    18.319] (--) NVIDIA(0):     DFP-5
[    18.319] (--) NVIDIA(0):     DFP-6
[    18.320] (II) NVIDIA(0): NVIDIA GPU TITAN Xp (GP102-A) at PCI:7:0:0 (GPU-0)
[    18.320] (--) NVIDIA(0): Memory: 12582912 kBytes
[    18.320] (--) NVIDIA(0): VideoBIOS: 86.02.3d.00.01
[    18.320] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    18.321] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    18.321] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[    18.321] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[    18.321] (--) NVIDIA(GPU-0): 
[    18.321] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    18.321] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[    18.321] (--) NVIDIA(GPU-0): DFP-1: 1440.0 MHz maximum pixel clock
[    18.321] (--) NVIDIA(GPU-0): 
[    18.321] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    18.321] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[    18.321] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[    18.321] (--) NVIDIA(GPU-0): 
[    18.321] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    18.321] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[    18.321] (--) NVIDIA(GPU-0): DFP-3: 1440.0 MHz maximum pixel clock
[    18.321] (--) NVIDIA(GPU-0): 
[    18.321] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    18.321] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[    18.321] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[    18.321] (--) NVIDIA(GPU-0): 
[    18.321] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    18.321] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[    18.321] (--) NVIDIA(GPU-0): DFP-5: 1440.0 MHz maximum pixel clock
[    18.321] (--) NVIDIA(GPU-0): 
[    18.321] (--) NVIDIA(GPU-0): DFP-6: disconnected
[    18.321] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[    18.321] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[    18.321] (--) NVIDIA(GPU-0): 
[    18.321] (WW) NVIDIA(0): No valid modes for "nvidia-auto-select+0+0"; removing.
[    18.321] (WW) NVIDIA(0): 
[    18.321] (WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
[    18.321] (WW) NVIDIA(0):     "nvidia-auto-select".
[    18.321] (WW) NVIDIA(0): 
[    18.321] (--) NVIDIA(0): No enabled display devices found; starting anyway because
[    18.321] (--) NVIDIA(0):     AllowEmptyInitialConfiguration is enabled
[    18.321] (II) NVIDIA(0): Validated MetaModes:
[    18.321] (II) NVIDIA(0):     "NULL"
[    18.321] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[    18.321] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[    18.321] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[    18.321] (--) Depth 24 pixmap format is 32 bpp
[    18.323] (--) NVIDIA(0): Valid display device(s) on GPU-1 at PCI:66:0:0
[    18.323] (--) NVIDIA(0):     DFP-0
[    18.323] (--) NVIDIA(0):     DFP-1
[    18.323] (--) NVIDIA(0):     DFP-2
[    18.323] (--) NVIDIA(0):     DFP-3
[    18.323] (--) NVIDIA(0):     DFP-4
[    18.323] (--) NVIDIA(0):     DFP-5
[    18.323] (--) NVIDIA(0):     DFP-6
[    18.324] (--) NVIDIA(GPU-1): DFP-0: disconnected
[    18.324] (--) NVIDIA(GPU-1): DFP-0: Internal TMDS
[    18.324] (--) NVIDIA(GPU-1): DFP-0: 165.0 MHz maximum pixel clock
[    18.324] (--) NVIDIA(GPU-1): 
[    18.324] (--) NVIDIA(GPU-1): DFP-1: disconnected
[    18.324] (--) NVIDIA(GPU-1): DFP-1: Internal DisplayPort
[    18.324] (--) NVIDIA(GPU-1): DFP-1: 1440.0 MHz maximum pixel clock
[    18.324] (--) NVIDIA(GPU-1): 
[    18.324] (--) NVIDIA(GPU-1): DFP-2: disconnected
[    18.324] (--) NVIDIA(GPU-1): DFP-2: Internal TMDS
[    18.324] (--) NVIDIA(GPU-1): DFP-2: 165.0 MHz maximum pixel clock
[    18.324] (--) NVIDIA(GPU-1): 
[    18.324] (--) NVIDIA(GPU-1): DFP-3: disconnected
[    18.324] (--) NVIDIA(GPU-1): DFP-3: Internal DisplayPort
[    18.324] (--) NVIDIA(GPU-1): DFP-3: 1440.0 MHz maximum pixel clock
[    18.324] (--) NVIDIA(GPU-1): 
[    18.324] (--) NVIDIA(GPU-1): DFP-4: disconnected
[    18.324] (--) NVIDIA(GPU-1): DFP-4: Internal TMDS
[    18.324] (--) NVIDIA(GPU-1): DFP-4: 165.0 MHz maximum pixel clock
[    18.324] (--) NVIDIA(GPU-1): 
[    18.324] (--) NVIDIA(GPU-1): DFP-5: disconnected
[    18.324] (--) NVIDIA(GPU-1): DFP-5: Internal DisplayPort
[    18.324] (--) NVIDIA(GPU-1): DFP-5: 1440.0 MHz maximum pixel clock
[    18.324] (--) NVIDIA(GPU-1): 
[    18.325] (--) NVIDIA(GPU-1): DFP-6: disconnected
[    18.325] (--) NVIDIA(GPU-1): DFP-6: Internal TMDS
[    18.325] (--) NVIDIA(GPU-1): DFP-6: 165.0 MHz maximum pixel clock
[    18.325] (--) NVIDIA(GPU-1): 
[    18.350] (II) NVIDIA(GPU-1): NVIDIA GPU TITAN Xp (GP102-A) at PCI:66:0:0 (GPU-1)
[    18.350] (--) NVIDIA(GPU-1): Memory: 12582912 kBytes
[    18.350] (--) NVIDIA(GPU-1): VideoBIOS: 86.02.3d.00.01
[    18.350] (II) NVIDIA(GPU-1): Detected PCI Express Link width: 16X
[    18.352] (--) NVIDIA(0): Valid display device(s) on GPU-2 at PCI:67:0:0
[    18.352] (--) NVIDIA(0):     DFP-0 (boot)
[    18.352] (--) NVIDIA(0):     DFP-1
[    18.352] (--) NVIDIA(0):     DFP-2
[    18.352] (--) NVIDIA(0):     DFP-3
[    18.352] (--) NVIDIA(0):     DFP-4
[    18.352] (--) NVIDIA(0):     DFP-5
[    18.352] (--) NVIDIA(0):     DFP-6
[    18.387] (--) NVIDIA(GPU-2): Ancor Communications Inc ASUS VX239 (DFP-0): connected
[    18.387] (--) NVIDIA(GPU-2): Ancor Communications Inc ASUS VX239 (DFP-0): Internal TMDS
[    18.387] (--) NVIDIA(GPU-2): Ancor Communications Inc ASUS VX239 (DFP-0): 600.0 MHz maximum pixel clock
[    18.387] (--) NVIDIA(GPU-2): 
[    18.387] (--) NVIDIA(GPU-2): DFP-1: disconnected
[    18.387] (--) NVIDIA(GPU-2): DFP-1: Internal DisplayPort
[    18.387] (--) NVIDIA(GPU-2): DFP-1: 1440.0 MHz maximum pixel clock
[    18.387] (--) NVIDIA(GPU-2): 
[    18.387] (--) NVIDIA(GPU-2): DFP-2: disconnected
[    18.387] (--) NVIDIA(GPU-2): DFP-2: Internal TMDS
[    18.387] (--) NVIDIA(GPU-2): DFP-2: 165.0 MHz maximum pixel clock
[    18.387] (--) NVIDIA(GPU-2): 
[    18.387] (--) NVIDIA(GPU-2): DFP-3: disconnected
[    18.388] (--) NVIDIA(GPU-2): DFP-3: Internal DisplayPort
[    18.388] (--) NVIDIA(GPU-2): DFP-3: 1440.0 MHz maximum pixel clock
[    18.388] (--) NVIDIA(GPU-2): 
[    18.388] (--) NVIDIA(GPU-2): DFP-4: disconnected
[    18.388] (--) NVIDIA(GPU-2): DFP-4: Internal TMDS
[    18.388] (--) NVIDIA(GPU-2): DFP-4: 165.0 MHz maximum pixel clock
[    18.388] (--) NVIDIA(GPU-2): 
[    18.388] (--) NVIDIA(GPU-2): DFP-5: disconnected
[    18.388] (--) NVIDIA(GPU-2): DFP-5: Internal DisplayPort
[    18.388] (--) NVIDIA(GPU-2): DFP-5: 1440.0 MHz maximum pixel clock
[    18.388] (--) NVIDIA(GPU-2): 
[    18.388] (--) NVIDIA(GPU-2): DFP-6: disconnected
[    18.388] (--) NVIDIA(GPU-2): DFP-6: Internal TMDS
[    18.388] (--) NVIDIA(GPU-2): DFP-6: 165.0 MHz maximum pixel clock
[    18.388] (--) NVIDIA(GPU-2): 
[    18.688] (II) NVIDIA(GPU-2): NVIDIA GPU TITAN Xp (GP102-A) at PCI:67:0:0 (GPU-2)
[    18.688] (--) NVIDIA(GPU-2): Memory: 12582912 kBytes
[    18.688] (--) NVIDIA(GPU-2): VideoBIOS: 86.02.3d.00.01
[    18.688] (II) NVIDIA(GPU-2): Detected PCI Express Link width: 16X
[    18.691] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[    18.691] (II) NVIDIA:     access.
[    18.705] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    18.705] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    18.705] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    18.705] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    18.705] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    18.705] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    18.705] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    18.705] (II) NVIDIA(0):     Config Options in the README.
[    18.712] (II) NVIDIA(0): Setting mode "NULL"
[    18.720] (==) NVIDIA(0): Disabling shared memory pixmaps
[    18.720] (==) NVIDIA(0): Backing store enabled
[    18.720] (==) NVIDIA(0): Silken mouse enabled
[    18.720] (**) NVIDIA(0): DPMS enabled
[    18.720] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[    18.720] (II) Loading sub module "dri2"
[    18.720] (II) LoadModule: "dri2"
[    18.720] (II) Module "dri2" already built-in
[    18.720] (II) NVIDIA(0): [DRI2] Setup complete
[    18.720] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    18.721] (--) RandR disabled
[    18.723] (II) Initializing extension GLX
[    18.723] (II) Indirect GLX disabled.
[    18.765] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[    18.765] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    18.765] (II) LoadModule: "libinput"
[    18.766] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    18.768] (II) Module libinput: vendor="X.Org Foundation"
[    18.768] 	compiled for 1.19.3, module version = 0.26.0
[    18.768] 	Module class: X.Org XInput Driver
[    18.768] 	ABI class: X.Org XInput driver, version 24.1
[    18.768] (II) Using input driver 'libinput' for 'Power Button'
[    18.769] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 48 paused 0
[    18.769] (**) Power Button: always reports core events
[    18.769] (**) Option "Device" "/dev/input/event4"
[    18.769] (**) Option "_source" "server/udev"
[    18.769] (II) event4  - (II) Power Button: (II) is tagged by udev as: Keyboard
[    18.769] (II) event4  - (II) Power Button: (II) device is a keyboard
[    18.769] (II) event4  - (II) Power Button: (II) device removed
[    18.769] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
[    18.769] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    18.769] (II) event4  - (II) Power Button: (II) is tagged by udev as: Keyboard
[    18.769] (II) event4  - (II) Power Button: (II) device is a keyboard
[    18.770] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    18.770] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    18.770] (II) Using input driver 'libinput' for 'Power Button'
[    18.770] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 51 paused 0
[    18.770] (**) Power Button: always reports core events
[    18.770] (**) Option "Device" "/dev/input/event3"
[    18.770] (**) Option "_source" "server/udev"
[    18.770] (II) event3  - (II) Power Button: (II) is tagged by udev as: Keyboard
[    18.771] (II) event3  - (II) Power Button: (II) device is a keyboard
[    18.771] (II) event3  - (II) Power Button: (II) device removed
[    18.771] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3/event3"
[    18.771] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    18.771] (II) event3  - (II) Power Button: (II) is tagged by udev as: Keyboard
[    18.771] (II) event3  - (II) Power Button: (II) device is a keyboard
[    18.771] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event14)
[    18.771] (II) No input driver specified, ignoring this device.
[    18.771] (II) This device may have been added with another device file.
[    18.772] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event15)
[    18.772] (II) No input driver specified, ignoring this device.
[    18.772] (II) This device may have been added with another device file.
[    18.772] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event16)
[    18.772] (II) No input driver specified, ignoring this device.
[    18.772] (II) This device may have been added with another device file.
[    18.772] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event17)
[    18.772] (II) No input driver specified, ignoring this device.
[    18.772] (II) This device may have been added with another device file.
[    18.772] (II) config/udev: Adding input device HD-Audio Generic Line Out Front (/dev/input/event10)
[    18.772] (II) No input driver specified, ignoring this device.
[    18.772] (II) This device may have been added with another device file.
[    18.772] (II) config/udev: Adding input device HD-Audio Generic Line Out Surround (/dev/input/event11)
[    18.772] (II) No input driver specified, ignoring this device.
[    18.772] (II) This device may have been added with another device file.
[    18.773] (II) config/udev: Adding input device HD-Audio Generic Line Out CLFE (/dev/input/event12)
[    18.773] (II) No input driver specified, ignoring this device.
[    18.773] (II) This device may have been added with another device file.
[    18.773] (II) config/udev: Adding input device HD-Audio Generic Front Headphone (/dev/input/event13)
[    18.773] (II) No input driver specified, ignoring this device.
[    18.773] (II) This device may have been added with another device file.
[    18.773] (II) config/udev: Adding input device HD-Audio Generic Front Mic (/dev/input/event7)
[    18.773] (II) No input driver specified, ignoring this device.
[    18.773] (II) This device may have been added with another device file.
[    18.773] (II) config/udev: Adding input device HD-Audio Generic Rear Mic (/dev/input/event8)
[    18.773] (II) No input driver specified, ignoring this device.
[    18.773] (II) This device may have been added with another device file.
[    18.774] (II) config/udev: Adding input device HD-Audio Generic Line (/dev/input/event9)
[    18.774] (II) No input driver specified, ignoring this device.
[    18.774] (II) This device may have been added with another device file.
[    18.774] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event22)
[    18.774] (II) No input driver specified, ignoring this device.
[    18.774] (II) This device may have been added with another device file.
[    18.774] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event23)
[    18.774] (II) No input driver specified, ignoring this device.
[    18.774] (II) This device may have been added with another device file.
[    18.774] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event24)
[    18.774] (II) No input driver specified, ignoring this device.
[    18.774] (II) This device may have been added with another device file.
[    18.774] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event25)
[    18.774] (II) No input driver specified, ignoring this device.
[    18.775] (II) This device may have been added with another device file.
[    18.775] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event18)
[    18.775] (II) No input driver specified, ignoring this device.
[    18.775] (II) This device may have been added with another device file.
[    18.775] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event19)
[    18.775] (II) No input driver specified, ignoring this device.
[    18.775] (II) This device may have been added with another device file.
[    18.775] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event20)
[    18.775] (II) No input driver specified, ignoring this device.
[    18.775] (II) This device may have been added with another device file.
[    18.775] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event21)
[    18.775] (II) No input driver specified, ignoring this device.
[    18.775] (II) This device may have been added with another device file.
[    18.776] (II) config/udev: Adding input device Microsoft  Microsoft Basic Optical Mouse v2.0  (/dev/input/event0)
[    18.776] (**) Microsoft  Microsoft Basic Optical Mouse v2.0 : Applying InputClass "libinput pointer catchall"
[    18.776] (II) Using input driver 'libinput' for 'Microsoft  Microsoft Basic Optical Mouse v2.0 '
[    18.833] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 52 paused 0
[    18.833] (**) Microsoft  Microsoft Basic Optical Mouse v2.0 : always reports core events
[    18.833] (**) Option "Device" "/dev/input/event0"
[    18.833] (**) Option "_source" "server/udev"
[    18.834] (II) event0  - (II) Microsoft  Microsoft Basic Optical Mouse v2.0 : (II) is tagged by udev as: Mouse
[    18.834] (II) event0  - (II) Microsoft  Microsoft Basic Optical Mouse v2.0 : (II) device is a pointer
[    18.834] (II) event0  - (II) Microsoft  Microsoft Basic Optical Mouse v2.0 : (II) device removed
[    18.834] (**) Option "config_info" "udev:/sys/devices/pci0000:40/0000:40:07.1/0000:44:00.3/usb7/7-3/7-3:1.0/0003:045E:00CB.0001/input/input0/event0"
[    18.834] (II) XINPUT: Adding extended input device "Microsoft  Microsoft Basic Optical Mouse v2.0 " (type: MOUSE, id 8)
[    18.834] (**) Option "AccelerationScheme" "none"
[    18.834] (**) Microsoft  Microsoft Basic Optical Mouse v2.0 : (accel) selected scheme none/0
[    18.834] (**) Microsoft  Microsoft Basic Optical Mouse v2.0 : (accel) acceleration factor: 2.000
[    18.834] (**) Microsoft  Microsoft Basic Optical Mouse v2.0 : (accel) acceleration threshold: 4
[    18.834] (II) event0  - (II) Microsoft  Microsoft Basic Optical Mouse v2.0 : (II) is tagged by udev as: Mouse
[    18.834] (II) event0  - (II) Microsoft  Microsoft Basic Optical Mouse v2.0 : (II) device is a pointer
[    18.834] (II) config/udev: Adding input device Microsoft  Microsoft Basic Optical Mouse v2.0  (/dev/input/mouse0)
[    18.834] (II) No input driver specified, ignoring this device.
[    18.834] (II) This device may have been added with another device file.
[    18.835] (II) config/udev: Adding input device BTC  USB Keyboard (/dev/input/event1)
[    18.835] (**) BTC  USB Keyboard: Applying InputClass "libinput keyboard catchall"
[    18.835] (II) Using input driver 'libinput' for 'BTC  USB Keyboard'
[    18.836] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 53 paused 0
[    18.836] (**) BTC  USB Keyboard: always reports core events
[    18.836] (**) Option "Device" "/dev/input/event1"
[    18.836] (**) Option "_source" "server/udev"
[    18.836] (II) event1  - (II) BTC  USB Keyboard: (II) is tagged by udev as: Keyboard
[    18.836] (II) event1  - (II) BTC  USB Keyboard: (II) device is a keyboard
[    18.836] (II) event1  - (II) BTC  USB Keyboard: (II) device removed
[    18.836] (**) Option "config_info" "udev:/sys/devices/pci0000:40/0000:40:07.1/0000:44:00.3/usb7/7-4/7-4:1.0/0003:046E:6000.0003/input/input1/event1"
[    18.836] (II) XINPUT: Adding extended input device "BTC  USB Keyboard" (type: KEYBOARD, id 9)
[    18.837] (II) event1  - (II) BTC  USB Keyboard: (II) is tagged by udev as: Keyboard
[    18.837] (II) event1  - (II) BTC  USB Keyboard: (II) device is a keyboard
[    18.837] (II) config/udev: Adding input device BTC  USB Keyboard (/dev/input/event2)
[    18.837] (**) BTC  USB Keyboard: Applying InputClass "libinput keyboard catchall"
[    18.837] (II) Using input driver 'libinput' for 'BTC  USB Keyboard'
[    18.838] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 54 paused 0
[    18.838] (**) BTC  USB Keyboard: always reports core events
[    18.838] (**) Option "Device" "/dev/input/event2"
[    18.838] (**) Option "_source" "server/udev"
[    18.838] (II) event2  - (II) BTC  USB Keyboard: (II) is tagged by udev as: Keyboard
[    18.838] (II) event2  - (II) BTC  USB Keyboard: (II) device is a keyboard
[    18.838] (II) event2  - (II) BTC  USB Keyboard: (II) device removed
[    18.838] (II) libinput: BTC  USB Keyboard: needs a virtual subdevice
[    18.838] (**) Option "config_info" "udev:/sys/devices/pci0000:40/0000:40:07.1/0000:44:00.3/usb7/7-4/7-4:1.1/0003:046E:6000.0004/input/input2/event2"
[    18.838] (II) XINPUT: Adding extended input device "BTC  USB Keyboard" (type: MOUSE, id 10)
[    18.838] (**) Option "AccelerationScheme" "none"
[    18.838] (**) BTC  USB Keyboard: (accel) selected scheme none/0
[    18.838] (**) BTC  USB Keyboard: (accel) acceleration factor: 2.000
[    18.838] (**) BTC  USB Keyboard: (accel) acceleration threshold: 4
[    18.839] (II) event2  - (II) BTC  USB Keyboard: (II) is tagged by udev as: Keyboard
[    18.839] (II) event2  - (II) BTC  USB Keyboard: (II) device is a keyboard
[    18.839] (II) config/udev: Adding input device Eee PC WMI hotkeys (/dev/input/event6)
[    18.839] (**) Eee PC WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[    18.839] (II) Using input driver 'libinput' for 'Eee PC WMI hotkeys'
[    18.840] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 55 paused 0
[    18.840] (**) Eee PC WMI hotkeys: always reports core events
[    18.840] (**) Option "Device" "/dev/input/event6"
[    18.840] (**) Option "_source" "server/udev"
[    18.840] (II) event6  - (II) Eee PC WMI hotkeys: (II) is tagged by udev as: Keyboard
[    18.840] (II) event6  - (II) Eee PC WMI hotkeys: (II) device is a keyboard
[    18.840] (II) event6  - (II) Eee PC WMI hotkeys: (II) device removed
[    18.840] (**) Option "config_info" "udev:/sys/devices/platform/eeepc-wmi/input/input6/event6"
[    18.840] (II) XINPUT: Adding extended input device "Eee PC WMI hotkeys" (type: KEYBOARD, id 11)
[    18.840] (II) event6  - (II) Eee PC WMI hotkeys: (II) is tagged by udev as: Keyboard
[    18.840] (II) event6  - (II) Eee PC WMI hotkeys: (II) device is a keyboard
[    18.841] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[    18.841] (II) No input driver specified, ignoring this device.
[    18.841] (II) This device may have been added with another device file.
[    18.843] (**) BTC  USB Keyboard: Applying InputClass "libinput keyboard catchall"
[    18.843] (II) Using input driver 'libinput' for 'BTC  USB Keyboard'
[    18.843] (II) systemd-logind: returning pre-existing fd for /dev/input/event2 13:66
[    18.843] (**) BTC  USB Keyboard: always reports core events
[    18.843] (**) Option "Device" "/dev/input/event2"
[    18.843] (**) Option "_source" "_driver/libinput"
[    18.843] (II) libinput: BTC  USB Keyboard: is a virtual subdevice
[    18.843] (**) Option "config_info" "udev:/sys/devices/pci0000:40/0000:40:07.1/0000:44:00.3/usb7/7-4/7-4:1.1/0003:046E:6000.0004/input/input2/event2"
[    18.843] (II) XINPUT: Adding extended input device "BTC  USB Keyboard" (type: KEYBOARD, id 12)
[    42.024] (**) Option "fd" "48"
[    42.024] (II) event4  - (II) Power Button: (II) device removed
[    42.024] (**) Option "fd" "51"
[    42.024] (II) event3  - (II) Power Button: (II) device removed
[    42.024] (**) Option "fd" "52"
[    42.024] (II) event0  - (II) Microsoft  Microsoft Basic Optical Mouse v2.0 : (II) device removed
[    42.024] (**) Option "fd" "53"
[    42.024] (II) event1  - (II) BTC  USB Keyboard: (II) device removed
[    42.024] (**) Option "fd" "54"
[    42.024] (**) Option "fd" "55"
[    42.024] (II) event6  - (II) Eee PC WMI hotkeys: (II) device removed
[    42.024] (**) Option "fd" "54"
[    42.024] (II) event2  - (II) BTC  USB Keyboard: (II) device removed
[    42.076] (II) systemd-logind: got pause for 13:70
[    42.076] (II) systemd-logind: got pause for 13:68
[    42.076] (II) systemd-logind: got pause for 13:65
[    42.076] (II) systemd-logind: got pause for 13:64
[    42.076] (II) systemd-logind: got pause for 13:66
[    42.076] (II) systemd-logind: got pause for 13:67

The problem is connected to multiple GPU since with only one card turned on everything works fine.

Offline

#4 2017-12-14 09:49:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] X server hangs forever on start

What are the contents of that /etc/X11/xorg.conf ? If this is nvidia-xconfig generated remove it. If the error is still reproducible create a xorg.conf and defining which of your cards is the one where the display is connected to e.g.  https://bbs.archlinux.org/viewtopic.php … 8#p1736468

Also, that .xinitrc is incomplete and has a potential for further issues, make sure that it follows the template defined in https://wiki.archlinux.org/index.php/Xinit#xinitrc (especially note the second blue box in that section)

Last edited by V1del (2017-12-14 09:50:13)

Offline

#5 2017-12-14 10:40:29

alex_hmn
Member
Registered: 2014-10-01
Posts: 25

Re: [SOLVED] X server hangs forever on start

I've tried a number of variants of xorg.conf including MultiGPU BusID... Also I've tried to remove this file completely and to reduce it to Device section.
The only thing that have an effect - setting Screen to Device1 (or 2) instead of Device0. In that case log reports error, that it failed to find screens on Device 1 (or 2).

Offline

#6 2017-12-14 12:38:18

alex_hmn
Member
Registered: 2014-10-01
Posts: 25

Re: [SOLVED] X server hangs forever on start

I've installed additionally xorg-server-devel and now problem changed:

(EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.

Offline

#7 2017-12-14 12:44:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] X server hangs forever on start

alex_hmn wrote:

I've installed additionally xorg-server-devel and now problem changed:

(EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.

That's impossible, nothing in that package would change anything in that regard.

Once again, post your config files (and a complete log).

Last edited by V1del (2017-12-14 12:46:37)

Offline

#8 2017-12-14 12:52:07

alex_hmn
Member
Registered: 2014-10-01
Posts: 25

Re: [SOLVED] X server hangs forever on start

xorg.conf (from /etc/X11)

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 387.34  (builduser@felixonmars2)  Thu Nov 30 18:02:52 CST 2017

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
#    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc ASUS VX239"
    HorizSync       24.0 - 83.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "TITAN Xp"
    BusID          "PCI:7:0:0"
    Option         "PrimaryGPU" "yes"
#    Option         "ConnectedMonitor" "CRT"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "TITAN Xp"
    BusID          "PCI:42:0:0"
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "TITAN Xp"
    BusID          "PCI:43:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
#    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "AllowEmptyInitialConfiguration" "Off"
    Option         "metamodes" "nvidia-auto-select"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

10-nvidia-drm-outputclass.conf (from /usr/share/X11/xorg.conf.d/)

Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
#    Option "AllowEmptyInitialConfiguration"
#    Option "PrimaryGPU" "yes"
    ModulePath "/usr/lib/nvidia/xorg"
EndSection

Xorg.0.log (from /var/log)

[  2726.628] 
X.Org X Server 1.19.5
Release Date: 2017-10-12
[  2726.630] X Protocol Version 11, Revision 0
[  2726.630] Build Operating System: Linux 4.9.54-1-lts x86_64 
[  2726.631] Current Operating System: Linux archlinux 4.14.5-1-ARCH #1 SMP PREEMPT Sun Dec 10 14:50:30 UTC 2017 x86_64
[  2726.631] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=3802ff96-e81c-41d4-99b9-d48e69a9bab2 rw quiet nomodeset
[  2726.633] Build Date: 12 October 2017  09:59:53PM
[  2726.634]  
[  2726.634] Current version of pixman: 0.34.0
[  2726.636] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2726.636] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2726.638] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 14 15:45:34 2017
[  2726.639] (==) Using config file: "/etc/X11/xorg.conf"
[  2726.640] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2726.640] (==) ServerLayout "Layout0"
[  2726.640] (**) |-->Screen "Screen0" (0)
[  2726.640] (**) |   |-->Monitor "Monitor0"
[  2726.640] (**) |   |-->Device "Device0"
[  2726.640] (**) |   |-->GPUDevice "Device1"
[  2726.640] (**) |   |-->GPUDevice "Device2"
[  2726.640] (**) |-->Input Device "Keyboard0"
[  2726.640] (**) |-->Input Device "Mouse0"
[  2726.640] (==) Automatically adding devices
[  2726.640] (==) Automatically enabling devices
[  2726.640] (==) Automatically adding GPU devices
[  2726.640] (==) Automatically binding GPU devices
[  2726.640] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2726.640] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  2726.640] 	Entry deleted from font path.
[  2726.640] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[  2726.640] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2726.640] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  2726.640] (WW) Disabling Keyboard0
[  2726.640] (WW) Disabling Mouse0
[  2726.640] (II) Loader magic: 0x560b5bb0ed60
[  2726.640] (II) Module ABI versions:
[  2726.640] 	X.Org ANSI C Emulation: 0.4
[  2726.640] 	X.Org Video Driver: 23.0
[  2726.640] 	X.Org XInput driver : 24.1
[  2726.640] 	X.Org Server Extension : 10.0
[  2726.640] (++) using VT number 1

[  2726.641] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c9
[  2726.642] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2726.642] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[  2726.643] (II) xfree86: Adding drm device (/dev/dri/card1)
[  2726.643] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 12 paused 0
[  2726.643] (II) xfree86: Adding drm device (/dev/dri/card2)
[  2726.643] (II) systemd-logind: got fd for /dev/dri/card2 226:2 fd 13 paused 0
[  2726.646] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[  2726.646] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[  2726.646] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/nvidia/xorg,/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[  2726.648] (--) PCI: (0:7:0:0) 10de:1b02:10de:11df rev 161, Mem @ 0xee000000/16777216, 0xfce0000000/268435456, 0xfcf0000000/33554432, I/O @ 0x00006000/128, BIOS @ 0x????????/524288
[  2726.648] (--) PCI: (0:66:0:0) 10de:1b02:10de:11df rev 161, Mem @ 0xea000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[  2726.648] (--) PCI:*(0:67:0:0) 10de:1b02:10de:11df rev 161, Mem @ 0xe8000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[  2726.649] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2726.649] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  2726.649] (II) LoadModule: "dbe"
[  2726.649] (II) Module "dbe" already built-in
[  2726.649] (II) LoadModule: "extmod"
[  2726.649] (II) Module "extmod" already built-in
[  2726.649] (II) LoadModule: "glx"
[  2726.649] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[  2726.652] (II) Module glx: vendor="NVIDIA Corporation"
[  2726.652] 	compiled for 4.0.2, module version = 1.0.0
[  2726.652] 	Module class: X.Org Server Extension
[  2726.652] (II) NVIDIA GLX Module  387.34  Tue Nov 21 02:04:31 PST 2017
[  2726.652] (II) LoadModule: "nvidia"
[  2726.652] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  2726.652] (II) Module nvidia: vendor="NVIDIA Corporation"
[  2726.652] 	compiled for 4.0.2, module version = 1.0.0
[  2726.652] 	Module class: X.Org Video Driver
[  2726.652] (II) NVIDIA dlloader X Driver  387.34  Tue Nov 21 01:38:22 PST 2017
[  2726.652] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  2726.652] (II) systemd-logind: releasing fd for 226:0
[  2726.653] (II) Loading sub module "fb"
[  2726.653] (II) LoadModule: "fb"
[  2726.653] (II) Loading /usr/lib/xorg/modules/libfb.so
[  2726.653] (II) Module fb: vendor="X.Org Foundation"
[  2726.653] 	compiled for 1.19.5, module version = 1.0.0
[  2726.653] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2726.653] (II) Loading sub module "wfb"
[  2726.653] (II) LoadModule: "wfb"
[  2726.653] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  2726.653] (II) Module wfb: vendor="X.Org Foundation"
[  2726.653] 	compiled for 1.19.5, module version = 1.0.0
[  2726.653] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2726.653] (II) Loading sub module "ramdac"
[  2726.653] (II) LoadModule: "ramdac"
[  2726.653] (II) Module "ramdac" already built-in
[  2726.653] (II) systemd-logind: releasing fd for 226:1
[  2726.654] (II) systemd-logind: releasing fd for 226:2
[  2726.654] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[  2726.654] (==) NVIDIA(0): RGB weight 888
[  2726.654] (==) NVIDIA(0): Default visual is TrueColor
[  2726.654] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  2726.654] (**) NVIDIA(0): Option "Stereo" "0"
[  2726.654] (**) NVIDIA(0): Option "SLI" "Off"
[  2726.654] (**) NVIDIA(0): Option "MultiGPU" "Off"
[  2726.654] (**) NVIDIA(0): Option "BaseMosaic" "off"
[  2726.654] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration" "Off"
[  2726.654] (**) NVIDIA(0): Stereo disabled by request
[  2726.654] (**) NVIDIA(0): NVIDIA SLI disabled.
[  2726.654] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[  2726.654] (**) NVIDIA(0): Option "MetaModes" "nvidia-auto-select"
[  2726.654] (**) NVIDIA(0): Enabling 2D acceleration
[  2726.656] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:7:0:0
[  2726.656] (--) NVIDIA(0):     DFP-0
[  2726.656] (--) NVIDIA(0):     DFP-1
[  2726.656] (--) NVIDIA(0):     DFP-2
[  2726.656] (--) NVIDIA(0):     DFP-3
[  2726.656] (--) NVIDIA(0):     DFP-4
[  2726.656] (--) NVIDIA(0):     DFP-5
[  2726.656] (--) NVIDIA(0):     DFP-6
[  2726.660] (II) NVIDIA(0): NVIDIA GPU TITAN Xp (GP102-A) at PCI:7:0:0 (GPU-0)
[  2726.660] (--) NVIDIA(0): Memory: 12582912 kBytes
[  2726.660] (--) NVIDIA(0): VideoBIOS: 86.02.3d.00.01
[  2726.660] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  2726.660] (--) NVIDIA(GPU-0): DFP-0: disconnected
[  2726.660] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[  2726.660] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[  2726.660] (--) NVIDIA(GPU-0): 
[  2726.660] (--) NVIDIA(GPU-0): DFP-1: disconnected
[  2726.660] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[  2726.660] (--) NVIDIA(GPU-0): DFP-1: 1440.0 MHz maximum pixel clock
[  2726.660] (--) NVIDIA(GPU-0): 
[  2726.660] (--) NVIDIA(GPU-0): DFP-2: disconnected
[  2726.660] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[  2726.660] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[  2726.660] (--) NVIDIA(GPU-0): 
[  2726.660] (--) NVIDIA(GPU-0): DFP-3: disconnected
[  2726.660] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[  2726.660] (--) NVIDIA(GPU-0): DFP-3: 1440.0 MHz maximum pixel clock
[  2726.660] (--) NVIDIA(GPU-0): 
[  2726.661] (--) NVIDIA(GPU-0): DFP-4: disconnected
[  2726.661] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[  2726.661] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[  2726.661] (--) NVIDIA(GPU-0): 
[  2726.661] (--) NVIDIA(GPU-0): DFP-5: disconnected
[  2726.661] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[  2726.661] (--) NVIDIA(GPU-0): DFP-5: 1440.0 MHz maximum pixel clock
[  2726.661] (--) NVIDIA(GPU-0): 
[  2726.661] (--) NVIDIA(GPU-0): DFP-6: disconnected
[  2726.661] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[  2726.661] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[  2726.661] (--) NVIDIA(GPU-0): 
[  2726.661] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0. 
[  2726.661] (EE) NVIDIA(0):     Set AllowEmptyInitialConfiguration if you want the server
[  2726.661] (EE) NVIDIA(0):     to start anyway
[  2726.661] (EE) NVIDIA(0): Failing initialization of X screen 0
[  2726.704] (II) UnloadModule: "nvidia"
[  2726.704] (II) UnloadSubModule: "wfb"
[  2726.704] (II) UnloadSubModule: "fb"
[  2726.704] (EE) Screen(s) found, but none have a usable configuration.
[  2726.704] (EE) 
Fatal server error:
[  2726.704] (EE) no screens found(EE) 
[  2726.704] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  2726.704] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2726.704] (EE) 
[  2726.705] (EE) Server terminated with error (1). Closing log file.

Offline

#9 2017-12-14 13:50:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: [SOLVED] X server hangs forever on start

[  2726.661] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0. 
[  2726.661] (EE) NVIDIA(0):     Set AllowEmptyInitialConfiguration if you want the server
[  2726.661] (EE) NVIDIA(0):     to start anyway
[  2726.661] (EE) NVIDIA(0): Failing initialization of X screen 0

No SLI nor BaseMosaic and the single GPU (Device1) linked in the autogenerated (and manipulated?!) config has no monitor attached.
Maybe start elaborating on your desired setup and your available output devices (monitors)

Offline

#10 2017-12-14 14:04:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] X server hangs forever on start

Replace your entire /etc/X11/xorg.conf with

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:67:0:0"
EndSection

and retry and FWIW uncomment the two lines in the system provided  /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf again...

Last edited by V1del (2017-12-14 14:17:50)

Offline

#11 2017-12-14 14:58:59

alex_hmn
Member
Registered: 2014-10-01
Posts: 25

Re: [SOLVED] X server hangs forever on start

Thank you for everybody!

Commenting out most of the content of both files helped!

Final working xorg.conf looks now like

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 387.34  (buildmeister@swio-display-x64-rhel04-15)  Tue Nov 21 03:31:45 PST 2017

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 387.34  (builduser@felixonmars2)  Thu Nov 30 18:02:52 CST 2017

Section "ServerLayout"

#    Option         "Xinerama" "0"
    Identifier     "Layout0"
    Screen       0 "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
#    VendorName     "Unknown"
#    ModelName      "Ancor Communications Inc ASUS VX239"
#    HorizSync       24.0 - 83.0
#    VertRefresh     50.0 - 75.0
#    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
#    VendorName     "NVIDIA Corporation"
#    BoardName      "TITAN Xp"
#    BusID          "PCI:07:0:0"
EndSection

#Section "Device"
#    Identifier     "Device1"
#    Driver         "nvidia"
#    VendorName     "NVIDIA Corporation"
#    BoardName      "TITAN Xp"
#    BusID          "PCI:42:0:0"
#EndSection

#Section "Device"
#    Identifier     "Device2"
#    Driver         "nvidia"
#    VendorName     "NVIDIA Corporation"
#    BoardName      "TITAN Xp"
#    BusID          "PCI:43:0:0"
#EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
#    DefaultDepth    24
#    Option         "Stereo" "0"
#    Option         "nvidiaXineramaInfoOrder" "DFP-0"
#    Option         "AllowEmptyInitialConfiguration" "Off"
#    Option         "metamodes" "nvidia-auto-select"
#    Option         "SLI" "Off"
#    Option         "MultiGPU" "Off"
#    Option         "BaseMosaic" "off"
#    Option         "PrimaryGPU" "yes"
#    Option         "ConnectedMonitor" "CRT"
#    SubSection     "Display"
#        Depth       24
#    EndSubSection
EndSection

and the second file (from /usr/share...)

Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
#    Option "AllowEmptyInitialConfiguration"
#    Option "PrimaryGPU" "yes"
    ModulePath "/usr/lib/nvidia/xorg"
EndSection

Offline

#12 2017-12-14 15:15:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] X server hangs forever on start

Yeah this is why I told you to remove the nvidia-xconfig generated config file, it very seldolmy creates a correct configuration. the method I mentioned will work around the potential issue if you keep the file from /usr/share as is (this file might get overwritten with the default again on update, so be weary of that)

If this is solved, please edit the title of your initial post and append [SOLVED] or similar

Offline

Board footer

Powered by FluxBB