You are not logged in.

#1 2020-01-25 07:23:00

Ifnister
Member
Registered: 2017-06-20
Posts: 15

[Solved] Xorg hangs when it starts on nvidia graphics card

I have a laptop with intel (integrated) graphics and a nvidia card, but I am unable to start Xorg using the nvidia graphics card.

I have tried with the following file in /etc/X11/xorg.conf.d:

Section "Device"
    Identifier  "nvidiagpu1" 
    Driver      "nvidia"
    BusID       "1:0:0"
EndSection

What happens when I launch startx from the tty is that a few lines appear (the usual stuff when Xorg is starting) and then the screen is blocked; it hangs after the text lines without a black screen, the text is still there but I can not type anymore. I can change to another tty and check the output of nvidia-smi and I find that the Xorg server is running on the nvidia graphics card. If I try to change again to the original tty where I started Xorg, then nothing changes on the screen but it is locked and I can not do anything.

I have also tried using the file provided by nvidia-xconfig, but the same thing happens.

When the previous file is not there Xorg starts on the integrated graphics and I have a working nvidia graphics card that I have used to do machine learning, for example.

Any ideas? I remember being able to do this on this laptop.

Output of lspci | grep -i nvidia

01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)

Xorg log file after starting it and closing it on the nvidia graphics card

[   324.450] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   324.450] 
X.Org X Server 1.20.7
X Protocol Version 11, Revision 0
[   324.450] Build Operating System: Linux Arch Linux
[   324.450] Current Operating System: Linux laptop 5.4.14-arch1-1 #1 SMP PREEMPT Thu, 23 Jan 2020 10:07:05 +0000 x86_64
[   324.450] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a8c8477a-8afd-420b-9c85-3cf7cdf5178b rw quiet
[   324.450] Build Date: 14 January 2020  07:13:52AM
[   324.450]  
[   324.450] Current version of pixman: 0.38.4
[   324.450] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   324.450] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   324.451] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 25 07:56:09 2020
[   324.451] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   324.451] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   324.451] (==) No Layout section.  Using the first Screen section.
[   324.451] (==) No screen section available. Using defaults.
[   324.451] (**) |-->Screen "Default Screen Section" (0)
[   324.451] (**) |   |-->Monitor "<default monitor>"
[   324.451] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   324.451] (**) |   |-->Device "nvidiagpu1"
[   324.451] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   324.451] (==) Automatically adding devices
[   324.451] (==) Automatically enabling devices
[   324.451] (==) Automatically adding GPU devices
[   324.451] (==) Automatically binding GPU devices
[   324.451] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   324.451] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   324.451] 	Entry deleted from font path.
[   324.451] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   324.451] (==) ModulePath set to "/usr/lib/xorg/modules"
[   324.451] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   324.451] (II) Module ABI versions:
[   324.451] 	X.Org ANSI C Emulation: 0.4
[   324.451] 	X.Org Video Driver: 24.1
[   324.451] 	X.Org XInput driver : 24.1
[   324.451] 	X.Org Server Extension : 10.0
[   324.452] (++) using VT number 1

[   324.453] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   324.454] (II) xfree86: Adding drm device (/dev/dri/card1)
[   324.454] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 10 paused 0
[   324.454] (II) xfree86: Adding drm device (/dev/dri/card0)
[   324.455] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[   324.456] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   324.457] (--) PCI:*(0@0:2:0) 8086:591b:1028:07be rev 4, Mem @ 0xeb000000/16777216, 0x80000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[   324.457] (--) PCI: (1@0:0:0) 10de:1c8d:1028:07be rev 161, Mem @ 0xec000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[   324.457] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   324.457] (II) LoadModule: "glx"
[   324.457] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   324.459] (II) Module glx: vendor="X.Org Foundation"
[   324.459] 	compiled for 1.20.7, module version = 1.0.0
[   324.459] 	ABI class: X.Org Server Extension, version 10.0
[   324.459] (II) LoadModule: "nvidia"
[   324.459] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   324.459] (II) Module nvidia: vendor="NVIDIA Corporation"
[   324.459] 	compiled for 1.6.99.901, module version = 1.0.0
[   324.459] 	Module class: X.Org Video Driver
[   324.459] (II) NVIDIA dlloader X Driver  440.44  Sun Dec  8 03:38:31 UTC 2019
[   324.459] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   324.459] (II) systemd-logind: releasing fd for 226:1
[   324.460] (II) Loading sub module "fb"
[   324.460] (II) LoadModule: "fb"
[   324.460] (II) Loading /usr/lib/xorg/modules/libfb.so
[   324.460] (II) Module fb: vendor="X.Org Foundation"
[   324.460] 	compiled for 1.20.7, module version = 1.0.0
[   324.460] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   324.460] (II) Loading sub module "wfb"
[   324.460] (II) LoadModule: "wfb"
[   324.460] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   324.460] (II) Module wfb: vendor="X.Org Foundation"
[   324.460] 	compiled for 1.20.7, module version = 1.0.0
[   324.460] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   324.460] (II) Loading sub module "ramdac"
[   324.460] (II) LoadModule: "ramdac"
[   324.460] (II) Module "ramdac" already built-in
[   324.460] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   324.460] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   324.460] (==) NVIDIA(0): RGB weight 888
[   324.460] (==) NVIDIA(0): Default visual is TrueColor
[   324.460] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   324.461] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[   324.461] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   324.461] (**) NVIDIA(0): Enabling 2D acceleration
[   324.461] (II) Loading sub module "glxserver_nvidia"
[   324.461] (II) LoadModule: "glxserver_nvidia"
[   324.461] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   324.786] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   324.786] 	compiled for 1.6.99.901, module version = 1.0.0
[   324.786] 	Module class: X.Org Server Extension
[   324.789] (II) NVIDIA GLX Module  440.44  Sun Dec  8 03:36:07 UTC 2019
[   324.807] (II) NVIDIA: The X server supports PRIME Render Offload.
[   325.019] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 (GP107-A) at PCI:1:0:0 (GPU-0)
[   325.019] (--) NVIDIA(0): Memory: 4194304 kBytes
[   325.019] (--) NVIDIA(0): VideoBIOS: 86.07.3e.00.1c
[   325.019] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   325.019] (II) NVIDIA(0): Validated MetaModes:
[   325.019] (II) NVIDIA(0):     "NULL"
[   325.019] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[   325.019] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[   325.019] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[   325.019] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[   325.019] (II) NVIDIA:     access.
[   325.023] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   325.023] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   325.023] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   325.023] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   325.023] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   325.023] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   325.023] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   325.023] (II) NVIDIA(0):     Config Options in the README.
[   325.048] (II) NVIDIA(0): Setting mode "NULL"
[   325.052] (==) NVIDIA(0): Disabling shared memory pixmaps
[   325.052] (==) NVIDIA(0): Backing store enabled
[   325.052] (==) NVIDIA(0): Silken mouse disabled
[   325.053] (==) NVIDIA(0): DPMS enabled
[   325.053] (II) Loading sub module "dri2"
[   325.053] (II) LoadModule: "dri2"
[   325.053] (II) Module "dri2" already built-in
[   325.053] (II) NVIDIA(0): [DRI2] Setup complete
[   325.053] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   325.053] (II) Initializing extension Generic Event Extension
[   325.053] (II) Initializing extension SHAPE
[   325.053] (II) Initializing extension MIT-SHM
[   325.053] (II) Initializing extension XInputExtension
[   325.053] (II) Initializing extension XTEST
[   325.053] (II) Initializing extension BIG-REQUESTS
[   325.053] (II) Initializing extension SYNC
[   325.053] (II) Initializing extension XKEYBOARD
[   325.053] (II) Initializing extension XC-MISC
[   325.053] (II) Initializing extension SECURITY
[   325.053] (II) Initializing extension XFIXES
[   325.053] (II) Initializing extension RENDER
[   325.053] (II) Initializing extension RANDR
[   325.053] (II) Initializing extension COMPOSITE
[   325.053] (II) Initializing extension DAMAGE
[   325.053] (II) Initializing extension MIT-SCREEN-SAVER
[   325.053] (II) Initializing extension DOUBLE-BUFFER
[   325.053] (II) Initializing extension RECORD
[   325.053] (II) Initializing extension DPMS
[   325.053] (II) Initializing extension Present
[   325.053] (II) Initializing extension DRI3
[   325.053] (II) Initializing extension X-Resource
[   325.053] (II) Initializing extension XVideo
[   325.053] (II) Initializing extension XVideo-MotionCompensation
[   325.053] (II) Initializing extension GLX
[   325.053] (II) Initializing extension GLX
[   325.053] (II) Indirect GLX disabled.
[   325.053] (II) GLX: Another vendor is already registered for screen 0
[   325.053] (II) Initializing extension XFree86-VidModeExtension
[   325.053] (II) Initializing extension XFree86-DGA
[   325.053] (II) Initializing extension XFree86-DRI
[   325.053] (II) Initializing extension DRI2
[   325.053] (II) Initializing extension NV-GLX
[   325.053] (II) Initializing extension NV-CONTROL
[   325.199] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[   325.199] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   325.199] (II) LoadModule: "libinput"
[   325.199] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   325.201] (II) Module libinput: vendor="X.Org Foundation"
[   325.201] 	compiled for 1.20.5, module version = 0.29.0
[   325.201] 	Module class: X.Org XInput Driver
[   325.201] 	ABI class: X.Org XInput driver, version 24.1
[   325.201] (II) Using input driver 'libinput' for 'Power Button'
[   325.203] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 32 paused 0
[   325.203] (**) Power Button: always reports core events
[   325.203] (**) Option "Device" "/dev/input/event3"
[   325.203] (**) Option "_source" "server/udev"
[   325.205] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   325.205] (II) event3  - Power Button: device is a keyboard
[   325.205] (II) event3  - Power Button: device removed
[   325.205] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[   325.205] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   325.207] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   325.207] (II) event3  - Power Button: device is a keyboard
[   325.208] (II) config/udev: Adding input device Video Bus (/dev/input/event12)
[   325.208] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   325.208] (II) Using input driver 'libinput' for 'Video Bus'
[   325.209] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 35 paused 0
[   325.209] (**) Video Bus: always reports core events
[   325.209] (**) Option "Device" "/dev/input/event12"
[   325.209] (**) Option "_source" "server/udev"
[   325.210] (II) event12 - Video Bus: is tagged by udev as: Keyboard
[   325.210] (II) event12 - Video Bus: device is a keyboard
[   325.210] (II) event12 - Video Bus: device removed
[   325.210] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input18/event12"
[   325.210] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   325.212] (II) event12 - Video Bus: is tagged by udev as: Keyboard
[   325.212] (II) event12 - Video Bus: device is a keyboard
[   325.213] (II) config/udev: Adding input device Video Bus (/dev/input/event13)
[   325.213] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   325.213] (II) Using input driver 'libinput' for 'Video Bus'
[   325.214] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 36 paused 0
[   325.214] (**) Video Bus: always reports core events
[   325.214] (**) Option "Device" "/dev/input/event13"
[   325.214] (**) Option "_source" "server/udev"
[   325.216] (II) event13 - Video Bus: is tagged by udev as: Keyboard
[   325.216] (II) event13 - Video Bus: device is a keyboard
[   325.216] (II) event13 - Video Bus: device removed
[   325.216] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0a/LNXVIDEO:01/input/input19/event13"
[   325.216] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[   325.218] (II) event13 - Video Bus: is tagged by udev as: Keyboard
[   325.218] (II) event13 - Video Bus: device is a keyboard
[   325.219] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   325.219] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   325.219] (II) Using input driver 'libinput' for 'Power Button'
[   325.220] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 37 paused 0
[   325.220] (**) Power Button: always reports core events
[   325.220] (**) Option "Device" "/dev/input/event1"
[   325.220] (**) Option "_source" "server/udev"
[   325.222] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   325.222] (II) event1  - Power Button: device is a keyboard
[   325.222] (II) event1  - Power Button: device removed
[   325.222] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[   325.222] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[   325.223] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   325.223] (II) event1  - Power Button: device is a keyboard
[   325.224] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[   325.224] (II) No input driver specified, ignoring this device.
[   325.224] (II) This device may have been added with another device file.
[   325.225] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[   325.225] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   325.225] (II) Using input driver 'libinput' for 'Sleep Button'
[   325.226] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 38 paused 0
[   325.226] (**) Sleep Button: always reports core events
[   325.226] (**) Option "Device" "/dev/input/event2"
[   325.226] (**) Option "_source" "server/udev"
[   325.227] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[   325.227] (II) event2  - Sleep Button: device is a keyboard
[   325.228] (II) event2  - Sleep Button: device removed
[   325.228] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[   325.228] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[   325.229] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[   325.229] (II) event2  - Sleep Button: device is a keyboard
[   325.231] (II) config/udev: Adding input device Integrated_Webcam_HD: Integrate (/dev/input/event9)
[   325.231] (**) Integrated_Webcam_HD: Integrate: Applying InputClass "libinput keyboard catchall"
[   325.231] (II) Using input driver 'libinput' for 'Integrated_Webcam_HD: Integrate'
[   325.232] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 39 paused 0
[   325.232] (**) Integrated_Webcam_HD: Integrate: always reports core events
[   325.232] (**) Option "Device" "/dev/input/event9"
[   325.232] (**) Option "_source" "server/udev"
[   325.234] (II) event9  - Integrated_Webcam_HD: Integrate: is tagged by udev as: Keyboard
[   325.234] (II) event9  - Integrated_Webcam_HD: Integrate: device is a keyboard
[   325.234] (II) event9  - Integrated_Webcam_HD: Integrate: device removed
[   325.234] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/input/input14/event9"
[   325.234] (II) XINPUT: Adding extended input device "Integrated_Webcam_HD: Integrate" (type: KEYBOARD, id 11)
[   325.236] (II) event9  - Integrated_Webcam_HD: Integrate: is tagged by udev as: Keyboard
[   325.236] (II) event9  - Integrated_Webcam_HD: Integrate: device is a keyboard
[   325.237] (II) config/udev: Adding input device DLL07BE:01 06CB:7A13 Mouse (/dev/input/event10)
[   325.238] (**) DLL07BE:01 06CB:7A13 Mouse: Applying InputClass "libinput pointer catchall"
[   325.238] (II) Using input driver 'libinput' for 'DLL07BE:01 06CB:7A13 Mouse'
[   325.239] (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 40 paused 0
[   325.239] (**) DLL07BE:01 06CB:7A13 Mouse: always reports core events
[   325.239] (**) Option "Device" "/dev/input/event10"
[   325.239] (**) Option "_source" "server/udev"
[   325.241] (II) event10 - DLL07BE:01 06CB:7A13 Mouse: is tagged by udev as: Mouse
[   325.241] (II) event10 - DLL07BE:01 06CB:7A13 Mouse: device is a pointer
[   325.241] (II) event10 - DLL07BE:01 06CB:7A13 Mouse: device removed
[   325.241] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DLL07BE:01/0018:06CB:7A13.0001/input/input15/event10"
[   325.241] (II) XINPUT: Adding extended input device "DLL07BE:01 06CB:7A13 Mouse" (type: MOUSE, id 12)
[   325.242] (**) Option "AccelerationScheme" "none"
[   325.242] (**) DLL07BE:01 06CB:7A13 Mouse: (accel) selected scheme none/0
[   325.242] (**) DLL07BE:01 06CB:7A13 Mouse: (accel) acceleration factor: 2.000
[   325.242] (**) DLL07BE:01 06CB:7A13 Mouse: (accel) acceleration threshold: 4
[   325.244] (II) event10 - DLL07BE:01 06CB:7A13 Mouse: is tagged by udev as: Mouse
[   325.244] (II) event10 - DLL07BE:01 06CB:7A13 Mouse: device is a pointer
[   325.245] (II) config/udev: Adding input device DLL07BE:01 06CB:7A13 Mouse (/dev/input/mouse0)
[   325.245] (II) No input driver specified, ignoring this device.
[   325.245] (II) This device may have been added with another device file.
[   325.246] (II) config/udev: Adding input device DLL07BE:01 06CB:7A13 Touchpad (/dev/input/event11)
[   325.246] (**) DLL07BE:01 06CB:7A13 Touchpad: Applying InputClass "libinput touchpad catchall"
[   325.246] (**) DLL07BE:01 06CB:7A13 Touchpad: Applying InputClass "devname"
[   325.246] (II) Using input driver 'libinput' for 'DLL07BE:01 06CB:7A13 Touchpad'
[   325.247] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 41 paused 0
[   325.247] (**) DLL07BE:01 06CB:7A13 Touchpad: always reports core events
[   325.247] (**) Option "Device" "/dev/input/event11"
[   325.247] (**) Option "_source" "server/udev"
[   325.249] (II) event11 - DLL07BE:01 06CB:7A13 Touchpad: is tagged by udev as: Touchpad
[   325.250] (II) event11 - DLL07BE:01 06CB:7A13 Touchpad: device is a touchpad
[   325.250] (II) event11 - DLL07BE:01 06CB:7A13 Touchpad: device removed
[   325.250] (**) Option "Tapping" "on"
[   325.250] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DLL07BE:01/0018:06CB:7A13.0001/input/input16/event11"
[   325.250] (II) XINPUT: Adding extended input device "DLL07BE:01 06CB:7A13 Touchpad" (type: TOUCHPAD, id 13)
[   325.251] (**) Option "AccelerationScheme" "none"
[   325.251] (**) DLL07BE:01 06CB:7A13 Touchpad: (accel) selected scheme none/0
[   325.251] (**) DLL07BE:01 06CB:7A13 Touchpad: (accel) acceleration factor: 2.000
[   325.251] (**) DLL07BE:01 06CB:7A13 Touchpad: (accel) acceleration threshold: 4
[   325.253] (II) event11 - DLL07BE:01 06CB:7A13 Touchpad: is tagged by udev as: Touchpad
[   325.254] (II) event11 - DLL07BE:01 06CB:7A13 Touchpad: device is a touchpad
[   325.255] (II) config/udev: Adding input device DLL07BE:01 06CB:7A13 Touchpad (/dev/input/mouse1)
[   325.255] (**) DLL07BE:01 06CB:7A13 Touchpad: Applying InputClass "devname"
[   325.255] (II) Using input driver 'libinput' for 'DLL07BE:01 06CB:7A13 Touchpad'
[   325.255] (**) DLL07BE:01 06CB:7A13 Touchpad: always reports core events
[   325.255] (**) Option "Device" "/dev/input/mouse1"
[   325.255] (**) Option "_source" "server/udev"
[   325.305] (II) mouse1  - failed to create input device '/dev/input/mouse1'.
[   325.305] (EE) libinput: DLL07BE:01 06CB:7A13 Touchpad: Failed to create a device for /dev/input/mouse1
[   325.305] (EE) PreInit returned 2 for "DLL07BE:01 06CB:7A13 Touchpad"
[   325.305] (II) UnloadModule: "libinput"
[   325.305] (II) config/udev: Adding input device HDA Intel PCH Headphone Mic (/dev/input/event14)
[   325.306] (II) No input driver specified, ignoring this device.
[   325.306] (II) This device may have been added with another device file.
[   325.306] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event15)
[   325.306] (II) No input driver specified, ignoring this device.
[   325.306] (II) This device may have been added with another device file.
[   325.306] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event16)
[   325.306] (II) No input driver specified, ignoring this device.
[   325.306] (II) This device may have been added with another device file.
[   325.307] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event17)
[   325.307] (II) No input driver specified, ignoring this device.
[   325.307] (II) This device may have been added with another device file.
[   325.307] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event18)
[   325.307] (II) No input driver specified, ignoring this device.
[   325.307] (II) This device may have been added with another device file.
[   325.307] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event19)
[   325.307] (II) No input driver specified, ignoring this device.
[   325.307] (II) This device may have been added with another device file.
[   325.308] (II) config/udev: Adding input device Intel HID events (/dev/input/event5)
[   325.308] (**) Intel HID events: Applying InputClass "libinput keyboard catchall"
[   325.308] (II) Using input driver 'libinput' for 'Intel HID events'
[   325.309] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 42 paused 0
[   325.309] (**) Intel HID events: always reports core events
[   325.309] (**) Option "Device" "/dev/input/event5"
[   325.309] (**) Option "_source" "server/udev"
[   325.310] (II) event5  - Intel HID events: is tagged by udev as: Keyboard
[   325.310] (II) event5  - Intel HID events: device is a keyboard
[   325.310] (II) event5  - Intel HID events: device removed
[   325.310] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input6/event5"
[   325.310] (II) XINPUT: Adding extended input device "Intel HID events" (type: KEYBOARD, id 14)
[   325.311] (II) event5  - Intel HID events: is tagged by udev as: Keyboard
[   325.311] (II) event5  - Intel HID events: device is a keyboard
[   325.312] (II) config/udev: Adding input device Intel HID 5 button array (/dev/input/event6)
[   325.312] (**) Intel HID 5 button array: Applying InputClass "libinput keyboard catchall"
[   325.312] (II) Using input driver 'libinput' for 'Intel HID 5 button array'
[   325.313] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 43 paused 0
[   325.313] (**) Intel HID 5 button array: always reports core events
[   325.313] (**) Option "Device" "/dev/input/event6"
[   325.313] (**) Option "_source" "server/udev"
[   325.314] (II) event6  - Intel HID 5 button array: is tagged by udev as: Keyboard
[   325.314] (II) event6  - Intel HID 5 button array: device is a keyboard
[   325.314] (II) event6  - Intel HID 5 button array: device removed
[   325.314] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input7/event6"
[   325.314] (II) XINPUT: Adding extended input device "Intel HID 5 button array" (type: KEYBOARD, id 15)
[   325.316] (II) event6  - Intel HID 5 button array: is tagged by udev as: Keyboard
[   325.316] (II) event6  - Intel HID 5 button array: device is a keyboard
[   325.317] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event8)
[   325.317] (**) Dell WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[   325.317] (II) Using input driver 'libinput' for 'Dell WMI hotkeys'
[   325.318] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 44 paused 0
[   325.318] (**) Dell WMI hotkeys: always reports core events
[   325.318] (**) Option "Device" "/dev/input/event8"
[   325.319] (**) Option "_source" "server/udev"
[   325.321] (II) event8  - Dell WMI hotkeys: is tagged by udev as: Keyboard
[   325.321] (II) event8  - Dell WMI hotkeys: device is a keyboard
[   325.321] (II) event8  - Dell WMI hotkeys: device removed
[   325.321] (**) Option "config_info" "udev:/sys/devices/platform/PNP0C14:03/wmi_bus/wmi_bus-PNP0C14:03/9DBB5994-A997-11DA-B012-B622A1EF5492/input/input10/event8"
[   325.321] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 16)
[   325.324] (II) event8  - Dell WMI hotkeys: is tagged by udev as: Keyboard
[   325.324] (II) event8  - Dell WMI hotkeys: device is a keyboard
[   325.326] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[   325.326] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   325.326] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[   325.327] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 45 paused 0
[   325.327] (**) AT Translated Set 2 keyboard: always reports core events
[   325.327] (**) Option "Device" "/dev/input/event4"
[   325.327] (**) Option "_source" "server/udev"
[   325.329] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   325.329] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[   325.331] (II) event4  - AT Translated Set 2 keyboard: device removed
[   325.331] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[   325.331] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 17)
[   325.333] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   325.333] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[   325.336] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[   325.336] (II) No input driver specified, ignoring this device.
[   325.336] (II) This device may have been added with another device file.
[   329.753] (**) Option "fd" "32"
[   329.753] (II) event3  - Power Button: device removed
[   329.753] (**) Option "fd" "35"
[   329.753] (II) event12 - Video Bus: device removed
[   329.753] (**) Option "fd" "36"
[   329.753] (II) event13 - Video Bus: device removed
[   329.753] (**) Option "fd" "37"
[   329.753] (II) event1  - Power Button: device removed
[   329.753] (**) Option "fd" "38"
[   329.753] (II) event2  - Sleep Button: device removed
[   329.753] (**) Option "fd" "39"
[   329.753] (II) event9  - Integrated_Webcam_HD: Integrate: device removed
[   329.753] (**) Option "fd" "40"
[   329.753] (II) event10 - DLL07BE:01 06CB:7A13 Mouse: device removed
[   329.754] (**) Option "fd" "41"
[   329.754] (II) event11 - DLL07BE:01 06CB:7A13 Touchpad: device removed
[   329.754] (**) Option "fd" "42"
[   329.754] (II) event5  - Intel HID events: device removed
[   329.754] (**) Option "fd" "43"
[   329.754] (II) event6  - Intel HID 5 button array: device removed
[   329.754] (**) Option "fd" "44"
[   329.754] (II) event8  - Dell WMI hotkeys: device removed
[   329.754] (**) Option "fd" "45"
[   329.754] (II) event4  - AT Translated Set 2 keyboard: device removed
[   329.851] (II) systemd-logind: got pause for 13:65
[   329.851] (II) systemd-logind: got pause for 13:67
[   329.851] (II) systemd-logind: got pause for 13:66
[   329.852] (II) systemd-logind: got pause for 13:76
[   329.852] (II) systemd-logind: got pause for 13:73
[   329.852] (II) systemd-logind: got pause for 13:75
[   329.852] (II) systemd-logind: got pause for 13:70
[   329.852] (II) systemd-logind: got pause for 13:68
[   329.852] (II) systemd-logind: got pause for 13:69
[   329.852] (II) systemd-logind: got pause for 13:77
[   329.852] (II) systemd-logind: got pause for 13:72
[   329.852] (II) systemd-logind: got pause for 226:0
[   329.852] (II) systemd-logind: got pause for 13:74
[   414.242] (II) UnloadModule: "libinput"
[   414.242] (II) systemd-logind: releasing fd for 13:68
[   414.283] (II) UnloadModule: "libinput"
[   414.283] (II) systemd-logind: releasing fd for 13:72
[   414.359] (II) UnloadModule: "libinput"
[   414.359] (II) systemd-logind: releasing fd for 13:70
[   414.386] (II) UnloadModule: "libinput"
[   414.386] (II) systemd-logind: releasing fd for 13:69
[   414.426] (II) UnloadModule: "libinput"
[   414.426] (II) systemd-logind: releasing fd for 13:75
[   414.466] (II) UnloadModule: "libinput"
[   414.466] (II) systemd-logind: releasing fd for 13:74
[   414.519] (II) UnloadModule: "libinput"
[   414.519] (II) systemd-logind: releasing fd for 13:73
[   414.586] (II) UnloadModule: "libinput"
[   414.586] (II) systemd-logind: releasing fd for 13:66
[   414.612] (II) UnloadModule: "libinput"
[   414.613] (II) systemd-logind: releasing fd for 13:65
[   414.639] (II) UnloadModule: "libinput"
[   414.639] (II) systemd-logind: releasing fd for 13:77
[   414.706] (II) UnloadModule: "libinput"
[   414.706] (II) systemd-logind: releasing fd for 13:76
[   414.760] (II) UnloadModule: "libinput"
[   414.760] (II) systemd-logind: releasing fd for 13:67
[   414.823] (II) NVIDIA(GPU-0): Deleting GPU-0
[   414.874] (II) Server terminated successfully (0). Closing log file.

File ~/.xinitrc (I have tried uncommenting the lines in the first commented block, but it still hangs)

#!/bin/sh

#xrandr --setprovideroutputsource modesetting NVIDIA-0
#xrandr --auto
#xrandr --output eDP1 

userresources=$HOME/.Xresources
# usermodmap=$HOME/.Xmodmaprc
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

if [ -f ~/.xprofile ]; then
     . ~/.xprofile
fi

exec i3

Last edited by Ifnister (2020-01-25 08:50:13)

Offline

#2 2020-01-25 08:25:22

seth
Member
Registered: 2012-09-03
Posts: 51,213

Offline

#3 2020-01-25 08:49:54

Ifnister
Member
Registered: 2017-06-20
Posts: 15

Re: [Solved] Xorg hangs when it starts on nvidia graphics card

That was it! Many thanks
Although I remember I used to be able to load Xorg on nvidia without that file some time ago

Offline

Board footer

Powered by FluxBB