You are not logged in.

#1 2018-11-19 14:45:45

nattynattynat
Member
Registered: 2018-06-02
Posts: 7

[SOLVED] nvidia-beta xorg Hangs when running `xinit`

Running `xinit` causes the terminal to hang, with the cursor (caret?) not blinking. The computer I am using is an MSI-GF62 8RC, with a Nvidia GTX 1050 Mobile and an Intel core i5 8th gen.

I have installed `nvidia-beta` from the AUR and ran `nvidia-xconfig` (logs of what it produced can be found at the end)

Originally, running `lspci` would hang in a similar way, so I have started it from Grub with the option:

modprobe.blacklist=nouveau

which worked. After I installed `nvidia-beta` it worked regardless of that boot option (I'm assuming this is because now nvidia was being used instead of nouveau and thus no need to blacklist it, however I don't know much about kernel drivers so it's only a guess).

Here are logs:

`lspci -k | grep -A 2 -E "(VGA|3D)"`

00:02.0 VGA compatible controller: Intel Corporation Device 3e9b
	DeviceName: Onboard - Video
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 1221
--
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
	Subsystem: Micro-Star International Co., Ltd. [MSI] GP107M [GeForce GTX 1050 Mobile]
	Kernel driver in use: nvidia

`Xorg.0.log`

[   415.304] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   415.305] 
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[   415.305] Build Operating System: Linux Arch Linux
[   415.305] Current Operating System: Linux msi-al 4.19.2-arch1-1-ARCH #1 SMP PREEMPT Tue Nov 13 21:16:19 UTC 2018 x86_64
[   415.306] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=9a94e6a4-cab4-4623-a6ed-77cbb95a7216 rw quiet
[   415.306] Build Date: 25 October 2018  04:42:32PM
[   415.306]  
[   415.306] Current version of pixman: 0.34.0
[   415.306] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   415.306] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   415.325] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 19 14:38:35 2018
[   415.376] (==) Using config file: "/etc/X11/xorg.conf"
[   415.382] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   415.393] (==) ServerLayout "Layout0"
[   415.393] (**) |-->Screen "Screen0" (0)
[   415.393] (**) |   |-->Monitor "Monitor0"
[   415.394] (**) |   |-->Device "Device0"
[   415.395] (**) |-->Input Device "Keyboard0"
[   415.395] (**) |-->Input Device "Mouse0"
[   415.395] (==) Automatically adding devices
[   415.395] (==) Automatically enabling devices
[   415.395] (==) Automatically adding GPU devices
[   415.395] (==) Automatically binding GPU devices
[   415.395] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   415.413] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[   415.413] 	Entry deleted from font path.
[   415.413] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[   415.413] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   415.413] 	Entry deleted from font path.
[   415.413] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   415.413] 	Entry deleted from font path.
[   415.413] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   415.413] 	Entry deleted from font path.
[   415.425] (==) FontPath set to:
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   415.425] (==) ModulePath set to "/usr/lib/xorg/modules"
[   415.425] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   415.425] (WW) Disabling Keyboard0
[   415.425] (WW) Disabling Mouse0
[   415.425] (II) Module ABI versions:
[   415.425] 	X.Org ANSI C Emulation: 0.4
[   415.425] 	X.Org Video Driver: 24.0
[   415.425] 	X.Org XInput driver : 24.1
[   415.425] 	X.Org Server Extension : 10.0
[   415.427] (++) using VT number 1

[   415.432] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   415.433] (II) xfree86: Adding drm device (/dev/dri/card1)
[   415.435] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 10 paused 0
[   415.435] (II) xfree86: Adding drm device (/dev/dri/card0)
[   415.436] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[   415.439] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   415.439] (**) OutputClass "nvidia" setting /dev/dri/card1 as PrimaryGPU
[   415.441] (--) PCI: (0@0:2:0) 8086:3e9b:1462:1221 rev 0, Mem @ 0xa2000000/16777216, 0x80000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[   415.441] (--) PCI:*(1@0:0:0) 10de:1c8d:1462:1221 rev 161, Mem @ 0xa3000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[   415.441] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   415.441] (II) LoadModule: "glx"
[   415.457] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   415.506] (II) Module glx: vendor="X.Org Foundation"
[   415.506] 	compiled for 1.20.3, module version = 1.0.0
[   415.506] 	ABI class: X.Org Server Extension, version 10.0
[   415.506] (II) LoadModule: "nvidia"
[   415.506] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   415.544] (II) Module nvidia: vendor="NVIDIA Corporation"
[   415.544] 	compiled for 4.0.2, module version = 1.0.0
[   415.544] 	Module class: X.Org Video Driver
[   415.549] (II) NVIDIA dlloader X Driver  415.13  Wed Oct 31 18:52:35 CDT 2018
[   415.549] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   415.550] (II) systemd-logind: releasing fd for 226:1
[   415.555] (II) Loading sub module "fb"
[   415.555] (II) LoadModule: "fb"
[   415.555] (II) Loading /usr/lib/xorg/modules/libfb.so
[   415.563] (II) Module fb: vendor="X.Org Foundation"
[   415.563] 	compiled for 1.20.3, module version = 1.0.0
[   415.563] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   415.563] (II) Loading sub module "wfb"
[   415.563] (II) LoadModule: "wfb"
[   415.563] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   415.567] (II) Module wfb: vendor="X.Org Foundation"
[   415.567] 	compiled for 1.20.3, module version = 1.0.0
[   415.567] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   415.567] (II) Loading sub module "ramdac"
[   415.567] (II) LoadModule: "ramdac"
[   415.567] (II) Module "ramdac" already built-in
[   415.569] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   415.569] (==) NVIDIA(0): RGB weight 888
[   415.569] (==) NVIDIA(0): Default visual is TrueColor
[   415.569] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   415.570] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[   415.570] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   415.570] (**) NVIDIA(0): Enabling 2D acceleration
[   415.570] (II) Loading sub module "glxserver_nvidia"
[   415.570] (II) LoadModule: "glxserver_nvidia"
[   415.570] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   415.908] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   415.908] 	compiled for 4.0.2, module version = 1.0.0
[   415.908] 	Module class: X.Org Server Extension
[   415.915] (II) NVIDIA GLX Module  415.13  Wed Oct 31 18:52:02 CDT 2018
[   418.532] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 (GP107-A) at PCI:1:0:0 (GPU-0)
[   418.532] (--) NVIDIA(0): Memory: 2097152 kBytes
[   418.532] (--) NVIDIA(0): VideoBIOS: 86.07.50.00.0b
[   418.532] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   418.532] (II) NVIDIA(0): Validated MetaModes:
[   418.532] (II) NVIDIA(0):     "NULL"
[   418.532] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[   418.532] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[   418.532] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[   418.532] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[   418.532] (II) NVIDIA:     access.
[   418.536] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   418.536] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   418.536] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   418.536] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   418.536] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   418.536] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   418.536] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   418.536] (II) NVIDIA(0):     Config Options in the README.
[   418.562] (II) NVIDIA(0): Setting mode "NULL"
[   418.569] (==) NVIDIA(0): Disabling shared memory pixmaps
[   418.569] (==) NVIDIA(0): Backing store enabled
[   418.569] (==) NVIDIA(0): Silken mouse disabled
[   418.569] (**) NVIDIA(0): DPMS enabled
[   418.579] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[   418.579] (II) Loading sub module "dri2"
[   418.579] (II) LoadModule: "dri2"
[   418.579] (II) Module "dri2" already built-in
[   418.579] (II) NVIDIA(0): [DRI2] Setup complete
[   418.579] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   418.580] (II) Initializing extension Generic Event Extension
[   418.580] (II) Initializing extension SHAPE
[   418.580] (II) Initializing extension MIT-SHM
[   418.580] (II) Initializing extension XInputExtension
[   418.580] (II) Initializing extension XTEST
[   418.580] (II) Initializing extension BIG-REQUESTS
[   418.580] (II) Initializing extension SYNC
[   418.580] (II) Initializing extension XKEYBOARD
[   418.580] (II) Initializing extension XC-MISC
[   418.580] (II) Initializing extension SECURITY
[   418.580] (II) Initializing extension XFIXES
[   418.580] (II) Initializing extension RENDER
[   418.580] (II) Initializing extension RANDR
[   418.580] (II) Initializing extension COMPOSITE
[   418.580] (II) Initializing extension DAMAGE
[   418.580] (II) Initializing extension MIT-SCREEN-SAVER
[   418.580] (II) Initializing extension DOUBLE-BUFFER
[   418.580] (II) Initializing extension RECORD
[   418.580] (II) Initializing extension DPMS
[   418.580] (II) Initializing extension Present
[   418.580] (II) Initializing extension DRI3
[   418.580] (II) Initializing extension X-Resource
[   418.580] (II) Initializing extension XVideo
[   418.580] (II) Initializing extension XVideo-MotionCompensation
[   418.580] (II) Initializing extension GLX
[   418.580] (II) Initializing extension GLX
[   418.580] (II) Indirect GLX disabled.
[   418.580] (II) GLX: Another vendor is already registered for screen 0
[   418.580] (II) Initializing extension XFree86-VidModeExtension
[   418.580] (II) Initializing extension XFree86-DGA
[   418.580] (II) Initializing extension XFree86-DRI
[   418.580] (II) Initializing extension DRI2
[   418.580] (II) Initializing extension NV-GLX
[   418.580] (II) Initializing extension NV-CONTROL
[   419.058] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[   419.058] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   419.058] (II) LoadModule: "libinput"
[   419.058] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   419.079] (II) Module libinput: vendor="X.Org Foundation"
[   419.079] 	compiled for 1.20.1, module version = 0.28.1
[   419.079] 	Module class: X.Org XInput Driver
[   419.079] 	ABI class: X.Org XInput driver, version 24.1
[   419.079] (II) Using input driver 'libinput' for 'Power Button'
[   419.080] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 31 paused 0
[   419.081] (**) Power Button: always reports core events
[   419.081] (**) Option "Device" "/dev/input/event3"
[   419.081] (**) Option "_source" "server/udev"
[   419.094] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   419.094] (II) event3  - Power Button: device is a keyboard
[   419.094] (II) event3  - Power Button: device removed
[   419.094] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[   419.094] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   419.096] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   419.096] (II) event3  - Power Button: device is a keyboard
[   419.097] (II) config/udev: Adding input device Video Bus (/dev/input/event8)
[   419.097] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   419.097] (II) Using input driver 'libinput' for 'Video Bus'
[   419.098] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 34 paused 0
[   419.098] (**) Video Bus: always reports core events
[   419.098] (**) Option "Device" "/dev/input/event8"
[   419.098] (**) Option "_source" "server/udev"
[   419.100] (II) event8  - Video Bus: is tagged by udev as: Keyboard
[   419.100] (II) event8  - Video Bus: device is a keyboard
[   419.100] (II) event8  - Video Bus: device removed
[   419.100] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9/event8"
[   419.100] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   419.102] (II) event8  - Video Bus: is tagged by udev as: Keyboard
[   419.102] (II) event8  - Video Bus: device is a keyboard
[   419.103] (II) config/udev: Adding input device Video Bus (/dev/input/event9)
[   419.103] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   419.103] (II) Using input driver 'libinput' for 'Video Bus'
[   419.105] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 35 paused 0
[   419.105] (**) Video Bus: always reports core events
[   419.105] (**) Option "Device" "/dev/input/event9"
[   419.105] (**) Option "_source" "server/udev"
[   419.106] (II) event9  - Video Bus: is tagged by udev as: Keyboard
[   419.106] (II) event9  - Video Bus: device is a keyboard
[   419.106] (II) event9  - Video Bus: device removed
[   419.106] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:13/LNXVIDEO:01/input/input10/event9"
[   419.106] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[   419.108] (II) event9  - Video Bus: is tagged by udev as: Keyboard
[   419.108] (II) event9  - Video Bus: device is a keyboard
[   419.109] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[   419.110] (II) No input driver specified, ignoring this device.
[   419.110] (II) This device may have been added with another device file.
[   419.110] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[   419.110] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   419.110] (II) Using input driver 'libinput' for 'Power Button'
[   419.112] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 36 paused 0
[   419.112] (**) Power Button: always reports core events
[   419.112] (**) Option "Device" "/dev/input/event2"
[   419.112] (**) Option "_source" "server/udev"
[   419.113] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   419.113] (II) event2  - Power Button: device is a keyboard
[   419.113] (II) event2  - Power Button: device removed
[   419.114] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event2"
[   419.114] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[   419.115] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   419.115] (II) event2  - Power Button: device is a keyboard
[   419.116] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[   419.116] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   419.116] (II) Using input driver 'libinput' for 'Sleep Button'
[   419.118] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 37 paused 0
[   419.118] (**) Sleep Button: always reports core events
[   419.118] (**) Option "Device" "/dev/input/event1"
[   419.118] (**) Option "_source" "server/udev"
[   419.119] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   419.119] (II) event1  - Sleep Button: device is a keyboard
[   419.119] (II) event1  - Sleep Button: device removed
[   419.119] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[   419.119] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[   419.121] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   419.121] (II) event1  - Sleep Button: device is a keyboard
[   419.123] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event10)
[   419.123] (II) No input driver specified, ignoring this device.
[   419.123] (II) This device may have been added with another device file.
[   419.123] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event11)
[   419.123] (II) No input driver specified, ignoring this device.
[   419.123] (II) This device may have been added with another device file.
[   419.124] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event12)
[   419.124] (II) No input driver specified, ignoring this device.
[   419.124] (II) This device may have been added with another device file.
[   419.124] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event13)
[   419.124] (II) No input driver specified, ignoring this device.
[   419.124] (II) This device may have been added with another device file.
[   419.125] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event14)
[   419.125] (II) No input driver specified, ignoring this device.
[   419.125] (II) This device may have been added with another device file.
[   419.125] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event15)
[   419.125] (II) No input driver specified, ignoring this device.
[   419.125] (II) This device may have been added with another device file.
[   419.126] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event16)
[   419.126] (II) No input driver specified, ignoring this device.
[   419.126] (II) This device may have been added with another device file.
[   419.126] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[   419.126] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   419.126] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[   419.127] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 38 paused 0
[   419.127] (**) AT Translated Set 2 keyboard: always reports core events
[   419.127] (**) Option "Device" "/dev/input/event4"
[   419.127] (**) Option "_source" "server/udev"
[   419.128] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   419.128] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[   419.129] (II) event4  - AT Translated Set 2 keyboard: device removed
[   419.129] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[   419.129] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[   419.130] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   419.130] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[   419.130] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event7)
[   419.130] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[   419.130] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[   419.131] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 39 paused 0
[   419.131] (**) SynPS/2 Synaptics TouchPad: always reports core events
[   419.131] (**) Option "Device" "/dev/input/event7"
[   419.131] (**) Option "_source" "server/udev"
[   419.132] (II) event7  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   419.133] (II) event7  - SynPS/2 Synaptics TouchPad: device is a touchpad
[   419.133] (II) event7  - SynPS/2 Synaptics TouchPad: device removed
[   419.133] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event7"
[   419.133] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 12)
[   419.133] (**) Option "AccelerationScheme" "none"
[   419.133] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[   419.133] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[   419.133] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[   419.134] (II) event7  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   419.135] (II) event7  - SynPS/2 Synaptics TouchPad: device is a touchpad
[   419.135] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[   419.135] (II) No input driver specified, ignoring this device.
[   419.135] (II) This device may have been added with another device file.
[   419.135] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[   419.135] (II) No input driver specified, ignoring this device.
[   419.135] (II) This device may have been added with another device file.
[   419.136] (II) config/udev: Adding input device MSI WMI hotkeys (/dev/input/event6)
[   419.136] (**) MSI WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[   419.136] (II) Using input driver 'libinput' for 'MSI WMI hotkeys'
[   419.136] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 40 paused 0
[   419.137] (**) MSI WMI hotkeys: always reports core events
[   419.137] (**) Option "Device" "/dev/input/event6"
[   419.137] (**) Option "_source" "server/udev"
[   419.137] (II) event6  - MSI WMI hotkeys: is tagged by udev as: Keyboard
[   419.137] (II) event6  - MSI WMI hotkeys: device is a keyboard
[   419.137] (II) event6  - MSI WMI hotkeys: device removed
[   419.137] (**) Option "config_info" "udev:/sys/devices/virtual/input/input8/event6"
[   419.137] (II) XINPUT: Adding extended input device "MSI WMI hotkeys" (type: KEYBOARD, id 13)
[   419.138] (II) event6  - MSI WMI hotkeys: is tagged by udev as: Keyboard
[   419.138] (II) event6  - MSI WMI hotkeys: device is a keyboard
[   431.751] (**) Option "fd" "31"
[   431.779] (II) event3  - Power Button: device removed
[   431.779] (**) Option "fd" "34"
[   431.779] (II) event8  - Video Bus: device removed
[   431.779] (**) Option "fd" "35"
[   431.779] (II) event9  - Video Bus: device removed
[   431.779] (**) Option "fd" "36"
[   431.779] (II) event2  - Power Button: device removed
[   431.779] (**) Option "fd" "37"
[   431.779] (II) event1  - Sleep Button: device removed
[   431.779] (**) Option "fd" "38"
[   431.779] (II) event4  - AT Translated Set 2 keyboard: device removed
[   431.779] (**) Option "fd" "39"
[   431.779] (II) event7  - SynPS/2 Synaptics TouchPad: device removed
[   431.779] (**) Option "fd" "40"
[   431.779] (II) event6  - MSI WMI hotkeys: device removed
[   432.069] (II) UnloadModule: "libinput"
[   432.070] (II) systemd-logind: releasing fd for 13:70
[   432.111] (II) UnloadModule: "libinput"
[   432.111] (II) systemd-logind: releasing fd for 13:71
[   432.169] (II) UnloadModule: "libinput"
[   432.169] (II) systemd-logind: releasing fd for 13:68
[   432.196] (II) UnloadModule: "libinput"
[   432.196] (II) systemd-logind: releasing fd for 13:65
[   432.236] (II) UnloadModule: "libinput"
[   432.236] (II) systemd-logind: releasing fd for 13:66
[   432.269] (II) UnloadModule: "libinput"
[   432.270] (II) systemd-logind: releasing fd for 13:73
[   432.356] (II) UnloadModule: "libinput"
[   432.356] (II) systemd-logind: releasing fd for 13:72
[   432.419] (II) UnloadModule: "libinput"
[   432.419] (II) systemd-logind: releasing fd for 13:67
[   432.514] (II) NVIDIA(GPU-0): Deleting GPU-0
[   432.515] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[   432.515] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[   432.515] (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
[   432.516] (II) Server terminated successfully (0). Closing log file.

`/etc/X11/xorg.conf`

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 415.13

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

`~/.xinitrc`

# export GDK_BACKEND=x11
# exec gnome-session

TERMINAL=konsole
exec i3

If any other logs are needed, please ask.

Does anyone see what's happening and can help? Thank you in advance.

Last edited by nattynattynat (2018-11-19 17:26:54)

Offline

#2 2018-11-19 15:48:29

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

Re: [SOLVED] nvidia-beta xorg Hangs when running `xinit`

Remove that xorg.conf,  then read the following for information on how to make use of your card, as you have an Optimus system which requires some more adjustments: https://wiki.archlinux.org/index.php/NVIDIA_Optimus also that .xinitrc is insufficient, ensure it correctly sets up your session, https://wiki.archlinux.org/index.php/Xinit#xinitrc note the second blue box.

Offline

#3 2018-11-19 17:26:37

nattynattynat
Member
Registered: 2018-06-02
Posts: 7

Re: [SOLVED] nvidia-beta xorg Hangs when running `xinit`

Ah, thanks. I guess they call it Newbie Corner for a reason, hah.

Using `nvidia-xrun` worked. Thank you!

Offline

Board footer

Powered by FluxBB