You are not logged in.

#1 2018-03-05 08:27:57

wushuzh
Member
Registered: 2015-08-19
Posts: 14

[SOLVED] Cannot launch gnome using startx after trying multi montors

Hello All,

My system with single monitor was previously working well but I want to have a try with dual monitors with one nvidia-card.

After some modification, my dual monitor does not conf right and what's wrose: my single monitor gnome cannot launch any more.

Now I want to get back to my previous working single montor first. Please help me.

I have a nvidia card

18:00.0 VGA compatible controller: NVIDIA Corporation G86 [Quadro NVS 290] (rev a1)

I launched nvidia-xconfig to generate a xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 340.106  (buildmeister@swio-display-x64-rhel04-19)  Tue Jan  9 15:06:28 PST 2018

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

Section "Files"
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"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Then I reboot my arch and launch startx

X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.14.12-1-ARCH x86_64 
Current Operating System: Linux zion 4.15.6-1-ARCH #1 SMP PREEMPT Sun Feb 25 12:53:23 UTC 2018 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=8daaf6c2-cef1-4e7e-8871-7cbdb702d12c rw quiet
Build Date: 26 January 2018  10:25:18AM
 
Current version of pixman: 0.34.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar  5 16:23:58 2018
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xinit: connection to X server lost


waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

Here is the content of my .xinitrc

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

#twm &
#xclock -geometry 50x50-1+1 &
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
#exec xterm -geometry 80x66+0+0 -name login

exec gnome-session

I have uncomment twm and xclock xterm lines and comment gnome-session, serveral windows can be launched.

Now the twm and xclock xterm has been commented and I left gnome-session there.

I checked /var/log/Xorg.0.log content as well. But I did not find much useful information.

[   136.050] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[   136.050] X Protocol Version 11, Revision 0
[   136.050] Build Operating System: Linux 4.14.12-1-ARCH x86_64 
[   136.050] Current Operating System: Linux zion 4.15.6-1-ARCH #1 SMP PREEMPT Sun Feb 25 12:53:23 UTC 2018 x86_64
[   136.050] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=8daaf6c2-cef1-4e7e-8871-7cbdb702d12c rw quiet
[   136.050] Build Date: 26 January 2018  10:25:18AM
[   136.050]  
[   136.050] Current version of pixman: 0.34.0
[   136.050] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   136.050] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   136.050] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar  5 16:23:58 2018
[   136.051] (==) Using config file: "/etc/X11/xorg.conf"
[   136.051] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   136.051] (==) ServerLayout "Layout0"
[   136.051] (**) |-->Screen "Screen0" (0)
[   136.051] (**) |   |-->Monitor "Monitor0"
[   136.051] (**) |   |-->Device "Device0"
[   136.051] (**) |-->Input Device "Keyboard0"
[   136.051] (**) |-->Input Device "Mouse0"
[   136.051] (==) Automatically adding devices
[   136.051] (==) Automatically enabling devices
[   136.051] (==) Automatically adding GPU devices
[   136.051] (==) Automatically binding GPU devices
[   136.051] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   136.051] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   136.051] 	Entry deleted from font path.
[   136.051] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   136.051] 	Entry deleted from font path.
[   136.051] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   136.051] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   136.051] 	Entry deleted from font path.
[   136.051] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   136.051] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[   136.051] (==) ModulePath set to "/usr/lib/xorg/modules"
[   136.051] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   136.051] (WW) Disabling Keyboard0
[   136.051] (WW) Disabling Mouse0
[   136.051] (II) Loader magic: 0x558a15593d60
[   136.051] (II) Module ABI versions:
[   136.051] 	X.Org ANSI C Emulation: 0.4
[   136.051] 	X.Org Video Driver: 23.0
[   136.051] 	X.Org XInput driver : 24.1
[   136.051] 	X.Org Server Extension : 10.0
[   136.052] (++) using VT number 1

[   136.052] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   136.054] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   136.054] (II) xfree86: Adding drm device (/dev/dri/card0)
[   136.055] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[   136.056] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   136.056] (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
[   136.057] (--) PCI:*(0:24:0:0) 10de:042f:10de:0492 rev 161, Mem @ 0xf2000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x00001100/128, BIOS @ 0x????????/131072
[   136.057] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   136.057] (II) LoadModule: "glx"
[   136.057] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[   136.067] (II) Module glx: vendor="NVIDIA Corporation"
[   136.067] 	compiled for 4.0.2, module version = 1.0.0
[   136.067] 	Module class: X.Org Server Extension
[   136.067] (II) NVIDIA GLX Module  340.106  Tue Jan  9 14:21:56 PST 2018
[   136.067] (II) LoadModule: "nvidia"
[   136.067] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   136.067] (II) Module nvidia: vendor="NVIDIA Corporation"
[   136.067] 	compiled for 4.0.2, module version = 1.0.0
[   136.067] 	Module class: X.Org Video Driver
[   136.067] (II) NVIDIA dlloader X Driver  340.106  Tue Jan  9 14:01:46 PST 2018
[   136.067] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   136.067] (II) Loading sub module "fb"
[   136.067] (II) LoadModule: "fb"
[   136.067] (II) Loading /usr/lib/xorg/modules/libfb.so
[   136.068] (II) Module fb: vendor="X.Org Foundation"
[   136.068] 	compiled for 1.19.6, module version = 1.0.0
[   136.068] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   136.068] (WW) Unresolved symbol: fbGetGCPrivateKey
[   136.068] (II) Loading sub module "wfb"
[   136.068] (II) LoadModule: "wfb"
[   136.068] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   136.068] (II) Module wfb: vendor="X.Org Foundation"
[   136.068] 	compiled for 1.19.6, module version = 1.0.0
[   136.068] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   136.068] (II) Loading sub module "ramdac"
[   136.068] (II) LoadModule: "ramdac"
[   136.068] (II) Module "ramdac" already built-in
[   136.068] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   136.068] (==) NVIDIA(0): RGB weight 888
[   136.068] (==) NVIDIA(0): Default visual is TrueColor
[   136.068] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   136.068] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[   136.068] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   136.068] (**) NVIDIA(0): Enabling 2D acceleration
[   136.633] (II) NVIDIA(0): Display (HP LA1951 (CRT-0)) does not support NVIDIA 3D Vision
[   136.633] (II) NVIDIA(0):     stereo.
[   136.661] (II) NVIDIA(0): Display (HP LA1951 (CRT-1)) does not support NVIDIA 3D Vision
[   136.661] (II) NVIDIA(0):     stereo.
[   136.661] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[   136.663] (II) NVIDIA(0): NVIDIA GPU Quadro NVS 290 (G86) at PCI:24:0:0 (GPU-0)
[   136.663] (--) NVIDIA(0): Memory: 262144 kBytes
[   136.663] (--) NVIDIA(0): VideoBIOS: 60.86.70.00.12
[   136.663] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   136.667] (--) NVIDIA(0): Valid display device(s) on Quadro NVS 290 at PCI:24:0:0
[   136.667] (--) NVIDIA(0):     HP LA1951 (CRT-0) (boot, connected)
[   136.667] (--) NVIDIA(0):     HP LA1951 (CRT-1) (connected)
[   136.667] (--) NVIDIA(0):     DFP-0
[   136.667] (--) NVIDIA(0):     DFP-1
[   136.667] (--) NVIDIA(GPU-0): HP LA1951 (CRT-0): 400.0 MHz maximum pixel clock
[   136.667] (--) NVIDIA(GPU-0): HP LA1951 (CRT-1): 400.0 MHz maximum pixel clock
[   136.667] (--) NVIDIA(0): DFP-0: Internal TMDS
[   136.667] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   136.667] (--) NVIDIA(0): DFP-1: Internal TMDS
[   136.667] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   136.667] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   136.667] (**) NVIDIA(0):     device HP LA1951 (CRT-0) (Using EDID frequencies has been
[   136.667] (**) NVIDIA(0):     enabled on all display devices.)
[   136.669] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   136.669] (**) NVIDIA(0):     device HP LA1951 (CRT-1) (Using EDID frequencies has been
[   136.669] (**) NVIDIA(0):     enabled on all display devices.)
[   136.670] (==) NVIDIA(0): 
[   136.670] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   136.670] (==) NVIDIA(0):     will be used as the requested mode.
[   136.670] (==) NVIDIA(0): 
[   136.670] (II) NVIDIA(0): Validated MetaModes:
[   136.670] (II) NVIDIA(0):     "CRT-0:nvidia-auto-select,CRT-1:nvidia-auto-select"
[   136.670] (II) NVIDIA(0): Virtual screen size determined to be 2560 x 1024
[   136.696] (--) NVIDIA(0): DPI set to (85, 86); computed from "UseEdidDpi" X config
[   136.696] (--) NVIDIA(0):     option
[   136.696] (--) Depth 24 pixmap format is 32 bpp
[   136.696] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[   136.701] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   136.701] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   136.701] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   136.701] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   136.701] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   136.701] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   136.701] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   136.701] (II) NVIDIA(0):     Config Options in the README.
[   136.706] (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select,CRT-1:nvidia-auto-select"
[   136.868] (==) NVIDIA(0): Disabling shared memory pixmaps
[   136.868] (==) NVIDIA(0): Backing store enabled
[   136.868] (==) NVIDIA(0): Silken mouse enabled
[   136.868] (**) NVIDIA(0): DPMS enabled
[   136.868] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[   136.868] (II) Loading sub module "dri2"
[   136.868] (II) LoadModule: "dri2"
[   136.868] (II) Module "dri2" already built-in
[   136.868] (II) NVIDIA(0): [DRI2] Setup complete
[   136.868] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   136.868] (--) RandR disabled
[   136.870] (II) Initializing extension GLX
[   136.870] (II) Indirect GLX disabled.(II) config/udev: Adding input device Power Button (/dev/input/event1)
[   136.908] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   136.908] (II) LoadModule: "libinput"
[   136.909] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   136.910] (II) Module libinput: vendor="X.Org Foundation"
[   136.910] 	compiled for 1.19.3, module version = 0.26.0
[   136.910] 	Module class: X.Org XInput Driver
[   136.910] 	ABI class: X.Org XInput driver, version 24.1
[   136.910] (II) Using input driver 'libinput' for 'Power Button'
[   136.911] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 36 paused 0
[   136.911] (**) Power Button: always reports core events
[   136.911] (**) Option "Device" "/dev/input/event1"
[   136.911] (**) Option "_source" "server/udev"
[   136.912] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   136.912] (II) event1  - Power Button: device is a keyboard
[   136.912] (II) event1  - Power Button: device removed
[   136.912] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[   136.912] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   136.913] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   136.913] (II) event1  - Power Button: device is a keyboard
[   136.914] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   136.914] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   136.914] (II) Using input driver 'libinput' for 'Power Button'
[   136.915] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 39 paused 0
[   136.915] (**) Power Button: always reports core events
[   136.915] (**) Option "Device" "/dev/input/event0"
[   136.915] (**) Option "_source" "server/udev"
[   136.916] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   136.916] (II) event0  - Power Button: device is a keyboard
[   136.916] (II) event0  - Power Button: device removed
[   136.916] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[   136.916] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[   136.917] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   136.917] (II) event0  - Power Button: device is a keyboard
[   136.917] (II) config/udev: Adding input device GN Netcom A/S Jabra EVOLVE 20 (/dev/input/event2)
[   136.917] (**) GN Netcom A/S Jabra EVOLVE 20: Applying InputClass "libinput keyboard catchall"
[   136.917] (II) Using input driver 'libinput' for 'GN Netcom A/S Jabra EVOLVE 20'
[   136.918] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 40 paused 0
[   136.918] (**) GN Netcom A/S Jabra EVOLVE 20: always reports core events
[   136.918] (**) Option "Device" "/dev/input/event2"
[   136.918] (**) Option "_source" "server/udev"
[   136.919] (II) event2  - GN Netcom A/S Jabra EVOLVE 20: is tagged by udev as: Keyboard
[   136.919] (II) event2  - GN Netcom A/S Jabra EVOLVE 20: device is a keyboard
[   136.919] (II) event2  - GN Netcom A/S Jabra EVOLVE 20: device removed
[   136.919] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.3/0003:0B0E:0301.0001/input/input4/event2"
[   136.919] (II) XINPUT: Adding extended input device "GN Netcom A/S Jabra EVOLVE 20" (type: KEYBOARD, id 8)
[   136.919] (II) event2  - GN Netcom A/S Jabra EVOLVE 20: is tagged by udev as: Keyboard
[   136.919] (II) event2  - GN Netcom A/S Jabra EVOLVE 20: device is a keyboard
[   136.919] (II) config/udev: Adding input device HDA Intel MID Mic (/dev/input/event7)
[   136.919] (II) No input driver specified, ignoring this device.
[   136.920] (II) This device may have been added with another device file.
[   136.920] (II) config/udev: Adding input device HDA Intel MID Line (/dev/input/event8)
[   136.920] (II) No input driver specified, ignoring this device.
[   136.920] (II) This device may have been added with another device file.
[   136.920] (II) config/udev: Adding input device HDA Intel MID Line Out (/dev/input/event9)
[   136.920] (II) No input driver specified, ignoring this device.
[   136.920] (II) This device may have been added with another device file.
[   136.920] (II) config/udev: Adding input device HDA Intel MID Front Headphone (/dev/input/event10)
[   136.920] (II) No input driver specified, ignoring this device.
[   136.920] (II) This device may have been added with another device file.
[   136.921] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event3)
[   136.921] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[   136.921] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[   136.922] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 41 paused 0
[   136.922] (**) Logitech USB Receiver: always reports core events
[   136.922] (**) Option "Device" "/dev/input/event3"
[   136.922] (**) Option "_source" "server/udev"
[   136.922] (II) event3  - Logitech USB Receiver: is tagged by udev as: Keyboard
[   136.922] (II) event3  - Logitech USB Receiver: device is a keyboard
[   136.922] (II) event3  - Logitech USB Receiver: device removed
[   136.922] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7:1.0/0003:046D:C52E.0002/input/input5/event3"
[   136.922] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 9)
[   136.923] (II) event3  - Logitech USB Receiver: is tagged by udev as: Keyboard
[   136.923] (II) event3  - Logitech USB Receiver: device is a keyboard
[   136.923] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event4)
[   136.923] (**) Logitech USB Receiver: Applying InputClass "libinput pointer catchall"
[   136.923] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[   136.923] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[   136.924] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 42 paused 0
[   136.924] (**) Logitech USB Receiver: always reports core events
[   136.924] (**) Option "Device" "/dev/input/event4"
[   136.924] (**) Option "_source" "server/udev"
[   136.925] (II) event4  - Logitech USB Receiver: is tagged by udev as: Keyboard Mouse
[   136.925] (II) event4  - Logitech USB Receiver: device set to 1000 DPI
[   136.925] (II) event4  - Logitech USB Receiver: device is a pointer
[   136.925] (II) event4  - Logitech USB Receiver: device is a keyboard
[   136.925] (II) event4  - Logitech USB Receiver: device removed
[   136.925] (II) libinput: Logitech USB Receiver: needs a virtual subdevice
[   136.925] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7:1.1/0003:046D:C52E.0003/input/input6/event4"
[   136.925] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: MOUSE, id 10)
[   136.925] (**) Option "AccelerationScheme" "none"
[   136.925] (**) Logitech USB Receiver: (accel) selected scheme none/0
[   136.925] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[   136.925] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[   136.925] (II) event4  - Logitech USB Receiver: is tagged by udev as: Keyboard Mouse
[   136.925] (II) event4  - Logitech USB Receiver: device set to 1000 DPI
[   136.925] (II) event4  - Logitech USB Receiver: device is a pointer
[   136.925] (II) event4  - Logitech USB Receiver: device is a keyboard
[   136.925] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse0)
[   136.926] (II) No input driver specified, ignoring this device.
[   136.926] (II) This device may have been added with another device file.
[   136.926] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[   136.926] (II) No input driver specified, ignoring this device.
[   136.926] (II) This device may have been added with another device file.
[   136.926] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event6)
[   136.926] (**) HP WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[   136.926] (II) Using input driver 'libinput' for 'HP WMI hotkeys'
[   136.927] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 43 paused 0
[   136.927] (**) HP WMI hotkeys: always reports core events
[   136.927] (**) Option "Device" "/dev/input/event6"
[   136.927] (**) Option "_source" "server/udev"
[   136.927] (II) event6  - HP WMI hotkeys: is tagged by udev as: Keyboard Switch
[   136.927] (II) event6  - HP WMI hotkeys: device is a keyboard
[   136.927] (II) event6  - HP WMI hotkeys: device removed
[   136.927] (**) Option "config_info" "udev:/sys/devices/virtual/input/input9/event6"
[   136.927] (II) XINPUT: Adding extended input device "HP WMI hotkeys" (type: KEYBOARD, id 11)
[   136.928] (II) event6  - HP WMI hotkeys: is tagged by udev as: Keyboard Switch
[   136.928] (II) event6  - HP WMI hotkeys: device is a keyboard
[   136.930] (**) Logitech USB Receiver: Applying InputClass "libinput pointer catchall"
[   136.930] (**) Logitech USB Receiver: Applying InputClass "libinput keyboard catchall"
[   136.930] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[   136.930] (II) systemd-logind: returning pre-existing fd for /dev/input/event4 13:68
[   136.930] (**) Logitech USB Receiver: always reports core events
[   136.930] (**) Option "Device" "/dev/input/event4"
[   136.930] (**) Option "_source" "_driver/libinput"
[   136.930] (II) libinput: Logitech USB Receiver: is a virtual subdevice
[   136.930] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7/2-1.7:1.1/0003:046D:C52E.0003/input/input6/event4"
[   136.930] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 12)
[   137.242] (**) Option "fd" "36"
[   137.242] (II) event1  - Power Button: device removed
[   137.242] (**) Option "fd" "39"
[   137.242] (II) event0  - Power Button: device removed
[   137.242] (**) Option "fd" "40"
[   137.242] (II) event2  - GN Netcom A/S Jabra EVOLVE 20: device removed
[   137.242] (**) Option "fd" "41"
[   137.242] (II) event3  - Logitech USB Receiver: device removed
[   137.242] (**) Option "fd" "42"
[   137.242] (**) Option "fd" "43"
[   137.242] (II) event6  - HP WMI hotkeys: device removed
[   137.243] (**) Option "fd" "42"
[   137.243] (II) event4  - Logitech USB Receiver: device removed
[   137.244] (II) UnloadModule: "libinput"
[   137.244] (II) systemd-logind: not releasing fd for 13:68, still in use
[   137.244] (II) UnloadModule: "libinput"
[   137.244] (II) systemd-logind: releasing fd for 13:70
[   137.263] (II) UnloadModule: "libinput"
[   137.263] (II) systemd-logind: releasing fd for 13:68
[   137.279] (II) UnloadModule: "libinput"
[   137.279] (II) systemd-logind: releasing fd for 13:67
[   137.291] (II) UnloadModule: "libinput"
[   137.291] (II) systemd-logind: releasing fd for 13:66
[   137.315] (II) UnloadModule: "libinput"
[   137.315] (II) systemd-logind: releasing fd for 13:64
[   137.327] (II) UnloadModule: "libinput"
[   137.327] (II) systemd-logind: releasing fd for 13:65
[   137.827] (II) NVIDIA(GPU-0): Deleting GPU-0
[   137.940] (II) Server terminated successfully (0). Closing log file.

Last edited by wushuzh (2018-03-06 00:43:39)

Offline

#2 2018-03-05 09:13:32

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

Re: [SOLVED] Cannot launch gnome using startx after trying multi montors

The problem is gnome-session, the X11 server is running fine. => Check your journal on why gnome-session (likely gnome-shell) fails.

Offline

#3 2018-03-05 09:39:22

wushuzh
Member
Registered: 2015-08-19
Posts: 14

Re: [SOLVED] Cannot launch gnome using startx after trying multi montors

Hi Seth,

Thanks a lot for your guide.

I am re-launching the startx and get the last few lines from journalctl output.  I am not sure if I am doing it in the expected way ?

Also I previous has a xscreensaver installed and config in .xinitrc file as well. To make the problem isolate, I am delete the conf lines from .xinitrc and erase it (xscreensaver-arch-logo) completely from my system. I am not sure if this is relevant info or not ?

I saw there are some related logs with gnome-session, but I am still not sure how should I continue investigate this ?

-- Logs begin at Sun 2017-11-12 01:09:17 CST, end at Mon 2018-03-05 17:27:33 CST. --
Mar 05 17:22:33 zion NetworkManager[395]: <info>  [1520241753.0295] connectivity: (enp0s25) timed out
Mar 05 17:24:41 zion smbd[495]: [2018/03/05 17:24:41.553365,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
Mar 05 17:24:41 zion smbd[495]:   Unable to open printcap file /etc/printcap for read!
Mar 05 17:25:54 zion systemd[1]: Started Getty on tty2.
Mar 05 17:25:58 zion login[778]: pam_unix(login:session): session opened for user wushuzh by LOGIN(uid=0)
Mar 05 17:25:58 zion systemd-logind[385]: New session c2 of user wushuzh.
Mar 05 17:25:58 zion systemd[1]: Started Session c2 of user wushuzh.
Mar 05 17:25:58 zion login[778]: LOGIN ON tty2 BY wushuzh
Mar 05 17:26:38 zion kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than pnp 00:0a [mem 0x000cea00-0x000e3fff]
Mar 05 17:26:38 zion kernel: caller _nv000788rm+0xe4/0x1c0 [nvidia] mapping multiple BARs
Mar 05 17:26:39 zion at-spi-bus-launcher[645]: dbus-daemon[650]: Activating service name='org.a11y.atspi.Registry' requested by ':1.6' (uid=1000 pid=820 comm="/usr/lib/gnome-session-check-accelerated ")
Mar 05 17:26:39 zion at-spi-bus-launcher[645]: dbus-daemon[650]: Successfully activated service 'org.a11y.atspi.Registry'
Mar 05 17:26:39 zion at-spi-bus-launcher[645]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Mar 05 17:26:39 zion gnome-session-c[820]: GL implementation doesn't support any form of non-power-of-two textures
Mar 05 17:26:39 zion gnome-session-c[827]: GL implementation doesn't support any form of non-power-of-two textures
Mar 05 17:26:39 zion gnome-session[813]: gnome-session-binary[813]: WARNING: software acceleration check failed: Child process exited with code 1
Mar 05 17:26:39 zion gnome-session-binary[813]: WARNING: software acceleration check failed: Child process exited with code 1
Mar 05 17:26:39 zion at-spi-bus-launcher[645]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Mar 05 17:26:39 zion at-spi-bus-launcher[645]:       after 21 requests (19 known processed) with 0 events remaining.
Mar 05 17:26:39 zion unknown[830]: Cannot open display: 
Mar 05 17:26:39 zion gnome-session[813]: Unable to init server: Could not connect: Connection refused
Mar 05 17:27:33 zion NetworkManager[395]: <info>  [1520242053.0291] connectivity: (enp0s25) timed out

Offline

#4 2018-03-05 13:15:35

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

Re: [SOLVED] Cannot launch gnome using startx after trying multi montors

Mar 05 17:26:39 zion gnome-session[813]: gnome-session-binary[813]: WARNING: software acceleration check failed: Child process exited with code 1

https://bbs.archlinux.org/viewtopic.php?id=235021

Remove the nvidia-generated xorg.conf and downgrade libepoxy.

Offline

#5 2018-03-06 00:42:53

wushuzh
Member
Registered: 2015-08-19
Posts: 14

Re: [SOLVED] Cannot launch gnome using startx after trying multi montors

Hello Seth,

After I delete generated conf and downgrade the libepoxy from 1.5.0 to 1.4.3. My gnome can be launched successfully. And my dual monitors is working well automatically. Thanks a lot for this workaround.

I am going to marked my topic as solved.

By the way, I read <<KWin stopped working properly>> https://bbs.archlinux.org/viewtopic.php?id=235021 . I am not able to figure out how I could get the connection between my "software acceleration failure" and JonnyRobbie KWin problem.

If I want to learn more about this issue, would you please give me some links/guides I could do further study on this ? Thanks a lot.



Best regards,
wushuzh

Offline

#6 2018-03-06 08:05:37

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

Re: [SOLVED] Cannot launch gnome using startx after trying multi montors

I am not able to figure out how I could get the connection between my "software acceleration failure" and JonnyRobbie KWin problem.

- You're both on the same, very specific, driver (nvidia 340)
- You both have a failing compositor
- Both compositors use epoxy
- Both compositors have a wrong idea about the used driver

This is nothing I studied or would know how to study. There was a strong pattern and my synapses probably fired like wild ;-)
The issue is probably just a stupid bug in libepoxy (an abstraction for various GL versions) - you could git bisect https://github.com/anholt/libepoxy/commits/master

Offline

Board footer

Powered by FluxBB