You are not logged in.

#1 2020-06-12 20:03:15

Vesdii
Member
Registered: 2020-06-06
Posts: 11

startx hangs on something and freezes computer

When running startx, the initial tty output prints but then does absolutely nothing and renders ALL keys on my keyboard completely useless. I have tried every single key combination suggested online, no keys do anything, and I am forced to press the power button every time. It still logs though, so hopefully you guys can give me a hint as to what is happening here, because I've been at this for weeks.

This is on a ThinkPad T440s. My lspci output states my VGA device is "Intel Corporation Haswell-ULT Integrated Graphics Controller", so I installed xf86-video-intel. Take note how at timestamp 873.424, this is when it stalls, and you can see I waited exactly 30 seconds before pressing the power button to confirm that's what caused the continuation of logging. I am not running as root, but doing so causes the same freezing.

[   872.994] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   872.998] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[   873.007] Build Operating System: Linux Arch Linux
[   873.009] Current Operating System: Linux archdii 5.6.15-arch1-1 #1 SMP PREEMPT Wed, 27 May 2020 23:42:26 +0000 x86_64
[   873.009] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=d42cbafc-d2f1-4155-8d7b-19363b6513a7 rw loglevel=3 quiet
[   873.011] Build Date: 05 May 2020  05:08:17AM
[   873.012]  
[   873.014] Current version of pixman: 0.40.0
[   873.016] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   873.016] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   873.021] (==) Log file: "/home/ves/.local/share/xorg/Xorg.0.log", Time: Fri Jun  5 23:41:04 2020
[   873.113] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   873.125] (==) No Layout section.  Using the first Screen section.
[   873.125] (==) No screen section available. Using defaults.
[   873.125] (**) |-->Screen "Default Screen Section" (0)
[   873.125] (**) |   |-->Monitor "<default monitor>"
[   873.126] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   873.126] (==) Automatically adding devices
[   873.126] (==) Automatically enabling devices
[   873.126] (==) Automatically adding GPU devices
[   873.126] (==) Automatically binding GPU devices
[   873.126] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   873.144] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   873.144] 	Entry deleted from font path.
[   873.144] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   873.144] 	Entry deleted from font path.
[   873.144] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   873.144] 	Entry deleted from font path.
[   873.172] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   873.172] (==) ModulePath set to "/usr/lib/xorg/modules"
[   873.173] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   873.173] (II) Module ABI versions:
[   873.173] 	X.Org ANSI C Emulation: 0.4
[   873.173] 	X.Org Video Driver: 24.1
[   873.173] 	X.Org XInput driver : 24.1
[   873.173] 	X.Org Server Extension : 10.0
[   873.174] (++) using VT number 1

[   873.177] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   873.179] (II) xfree86: Adding drm device (/dev/dri/card0)
[   873.180] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[   873.185] (--) PCI:*(0@0:2:0) 8086:0a16:17aa:220c rev 11, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[   873.185] (II) Open ACPI successful (/var/run/acpid.socket)
[   873.185] (II) LoadModule: "glx"
[   873.276] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   873.341] (II) Module glx: vendor="X.Org Foundation"
[   873.341] 	compiled for 1.20.8, module version = 1.0.0
[   873.341] 	ABI class: X.Org Server Extension, version 10.0
[   873.341] (==) Matched intel as autoconfigured driver 0
[   873.341] (==) Matched modesetting as autoconfigured driver 1
[   873.341] (==) Matched fbdev as autoconfigured driver 2
[   873.341] (==) Matched vesa as autoconfigured driver 3
[   873.341] (==) Assigned the driver to the xf86ConfigLayout
[   873.341] (II) LoadModule: "intel"
[   873.341] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   873.393] (II) Module intel: vendor="X.Org Foundation"
[   873.393] 	compiled for 1.20.8, module version = 2.99.917
[   873.393] 	Module class: X.Org Video Driver
[   873.393] 	ABI class: X.Org Video Driver, version 24.1
[   873.393] (II) LoadModule: "modesetting"
[   873.393] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   873.410] (II) Module modesetting: vendor="X.Org Foundation"
[   873.410] 	compiled for 1.20.8, module version = 1.20.8
[   873.410] 	Module class: X.Org Video Driver
[   873.410] 	ABI class: X.Org Video Driver, version 24.1
[   873.410] (II) LoadModule: "fbdev"
[   873.410] (WW) Warning, couldn't open module fbdev
[   873.410] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   873.410] (II) LoadModule: "vesa"
[   873.410] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   873.423] (II) Module vesa: vendor="X.Org Foundation"
[   873.423] 	compiled for 1.20.8, module version = 2.4.0
[   873.423] 	Module class: X.Org Video Driver
[   873.423] 	ABI class: X.Org Video Driver, version 24.1
[   873.423] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   873.424] (II) intel: Driver for Intel(R) HD Graphics
[   873.424] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   873.424] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   873.424] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   873.424] (II) VESA: driver for VESA chipsets: vesa
[   903.352] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   903.360] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20200114
[   903.360] (II) intel(0): SNA compiled from 2.99.917-908-g7181c5a4
[   903.378] (WW) Falling back to old probe method for modesetting
[   903.378] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   903.385] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4400
[   903.385] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 2 threads
[   903.385] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   903.385] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   903.385] (==) intel(0): RGB weight 888
[   903.385] (==) intel(0): Default visual is TrueColor
[   903.438] (II) intel(0): Output eDP1 has no monitor section
[   903.439] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[   903.439] (II) intel(0): Enabled output eDP1
[   903.440] (II) intel(0): Output DP1 has no monitor section
[   903.440] (II) intel(0): Enabled output DP1
[   903.440] (II) intel(0): Output HDMI1 has no monitor section
[   903.440] (II) intel(0): Enabled output HDMI1
[   903.440] (II) intel(0): Output DP2 has no monitor section
[   903.440] (II) intel(0): Enabled output DP2
[   903.441] (II) intel(0): Output HDMI2 has no monitor section
[   903.441] (II) intel(0): Enabled output HDMI2
[   903.441] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[   903.441] (II) intel(0): Output VIRTUAL1 has no monitor section
[   903.441] (II) intel(0): Enabled output VIRTUAL1
[   903.441] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[   903.441] (==) intel(0): TearFree disabled
[   903.441] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[   903.441] (==) intel(0): DPI set to (96, 96)
[   903.441] (II) Loading sub module "dri3"
[   903.441] (II) LoadModule: "dri3"
[   903.441] (II) Module "dri3" already built-in
[   903.441] (II) Loading sub module "dri2"
[   903.441] (II) LoadModule: "dri2"
[   903.441] (II) Module "dri2" already built-in
[   903.441] (II) Loading sub module "present"
[   903.441] (II) LoadModule: "present"
[   903.441] (II) Module "present" already built-in
[   903.441] (II) UnloadModule: "modesetting"
[   903.441] (II) Unloading modesetting
[   903.442] (II) UnloadModule: "vesa"
[   903.442] (II) Unloading vesa
[   903.940] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
[   903.940] (==) intel(0): Backing store enabled
[   903.940] (==) intel(0): Silken mouse disabled
[   903.940] (II) intel(0): HW Cursor enabled
[   903.977] (==) intel(0): DPMS enabled
[   904.008] (==) intel(0): Display hotplug detection enabled
[   904.009] (II) intel(0): [DRI2] Setup complete
[   904.009] (II) intel(0): [DRI2]   DRI driver: i965
[   904.009] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[   904.009] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[   904.009] (II) intel(0): hardware support for Present enabled
[   904.009] (II) Initializing extension Generic Event Extension
[   904.009] (II) Initializing extension SHAPE
[   904.009] (II) Initializing extension MIT-SHM
[   904.009] (II) Initializing extension XInputExtension
[   904.010] (II) Initializing extension XTEST
[   904.010] (II) Initializing extension BIG-REQUESTS
[   904.010] (II) Initializing extension SYNC
[   904.010] (II) Initializing extension XKEYBOARD
[   904.010] (II) Initializing extension XC-MISC
[   904.010] (II) Initializing extension SECURITY
[   904.010] (II) Initializing extension XFIXES
[   904.010] (II) Initializing extension RENDER
[   904.010] (II) Initializing extension RANDR
[   904.010] (II) Initializing extension COMPOSITE
[   904.010] (II) Initializing extension DAMAGE
[   904.010] (II) Initializing extension MIT-SCREEN-SAVER
[   904.010] (II) Initializing extension DOUBLE-BUFFER
[   904.010] (II) Initializing extension RECORD
[   904.010] (II) Initializing extension DPMS
[   904.010] (II) Initializing extension Present
[   904.010] (II) Initializing extension DRI3
[   904.010] (II) Initializing extension X-Resource
[   904.010] (II) Initializing extension XVideo
[   904.010] (II) Initializing extension XVideo-MotionCompensation
[   904.010] (II) Initializing extension GLX
[   905.515] (II) AIGLX: Loaded and initialized i965
[   905.515] (II) GLX: Initialized DRI2 GL provider for screen 0
[   905.515] (II) Initializing extension XFree86-VidModeExtension
[   905.515] (II) Initializing extension XFree86-DGA
[   905.515] (II) Initializing extension XFree86-DRI
[   905.515] (II) Initializing extension DRI2
[   905.555] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   905.570] (II) intel(0): Setting screen physical size to 508 x 285
[   905.923] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[   905.923] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   905.923] (II) LoadModule: "libinput"
[   905.923] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   905.962] (II) Module libinput: vendor="X.Org Foundation"
[   905.962] 	compiled for 1.20.8, module version = 0.30.0
[   905.962] 	Module class: X.Org XInput Driver
[   905.962] 	ABI class: X.Org XInput driver, version 24.1
[   905.962] (II) Using input driver 'libinput' for 'Power Button'
[   905.964] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 17 paused 0
[   905.964] (**) Power Button: always reports core events
[   905.964] (**) Option "Device" "/dev/input/event2"
[   905.964] (**) Option "_source" "server/udev"
[   905.985] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   905.985] (II) event2  - Power Button: device is a keyboard
[   905.985] (II) event2  - Power Button: device removed
[   905.985] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[   905.985] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   905.987] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   905.987] (II) event2  - Power Button: device is a keyboard
[   905.988] (II) config/udev: Adding input device Video Bus (/dev/input/event13)
[   905.988] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   905.988] (II) Using input driver 'libinput' for 'Video Bus'
[   905.989] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 20 paused 0
[   905.989] (**) Video Bus: always reports core events
[   905.989] (**) Option "Device" "/dev/input/event13"
[   905.989] (**) Option "_source" "server/udev"
[   905.990] (II) event13 - Video Bus: is tagged by udev as: Keyboard
[   905.990] (II) event13 - Video Bus: device is a keyboard
[   905.990] (II) event13 - Video Bus: device removed
[   905.990] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input15/event13"
[   905.990] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   905.991] (II) event13 - Video Bus: is tagged by udev as: Keyboard
[   905.991] (II) event13 - Video Bus: device is a keyboard
[   905.991] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[   905.991] (II) No input driver specified, ignoring this device.
[   905.991] (II) This device may have been added with another device file.
[   905.992] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[   905.992] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   905.992] (II) Using input driver 'libinput' for 'Sleep Button'
[   905.992] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 21 paused 0
[   905.992] (**) Sleep Button: always reports core events
[   905.992] (**) Option "Device" "/dev/input/event1"
[   905.992] (**) Option "_source" "server/udev"
[   905.993] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   905.993] (II) event1  - Sleep Button: device is a keyboard
[   905.993] (II) event1  - Sleep Button: device removed
[   905.993] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[   905.993] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[   905.994] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   905.994] (II) event1  - Sleep Button: device is a keyboard
[   905.995] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event14)
[   905.995] (II) No input driver specified, ignoring this device.
[   905.995] (II) This device may have been added with another device file.
[   905.995] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event15)
[   905.995] (II) No input driver specified, ignoring this device.
[   905.995] (II) This device may have been added with another device file.
[   905.995] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event16)
[   905.995] (II) No input driver specified, ignoring this device.
[   905.995] (II) This device may have been added with another device file.
[   905.995] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=9 (/dev/input/event17)
[   905.995] (II) No input driver specified, ignoring this device.
[   905.995] (II) This device may have been added with another device file.
[   905.996] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=10 (/dev/input/event18)
[   905.996] (II) No input driver specified, ignoring this device.
[   905.996] (II) This device may have been added with another device file.
[   905.996] (II) config/udev: Adding input device Integrated Camera: Integrated C (/dev/input/event11)
[   905.996] (**) Integrated Camera: Integrated C: Applying InputClass "libinput keyboard catchall"
[   905.996] (II) Using input driver 'libinput' for 'Integrated Camera: Integrated C'
[   905.997] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 22 paused 0
[   905.997] (**) Integrated Camera: Integrated C: always reports core events
[   905.997] (**) Option "Device" "/dev/input/event11"
[   905.997] (**) Option "_source" "server/udev"
[   905.998] (II) event11 - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[   905.998] (II) event11 - Integrated Camera: Integrated C: device is a keyboard
[   905.998] (II) event11 - Integrated Camera: Integrated C: device removed
[   905.998] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input13/event11"
[   905.998] (II) XINPUT: Adding extended input device "Integrated Camera: Integrated C" (type: KEYBOARD, id 9)
[   906.000] (II) event11 - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[   906.000] (II) event11 - Integrated Camera: Integrated C: device is a keyboard
[   906.001] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event8)
[   906.001] (II) No input driver specified, ignoring this device.
[   906.001] (II) This device may have been added with another device file.
[   906.001] (II) config/udev: Adding input device HDA Intel PCH Dock Headphone (/dev/input/event9)
[   906.001] (II) No input driver specified, ignoring this device.
[   906.001] (II) This device may have been added with another device file.
[   906.002] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event10)
[   906.002] (II) No input driver specified, ignoring this device.
[   906.002] (II) This device may have been added with another device file.
[   906.002] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event6)
[   906.002] (II) No input driver specified, ignoring this device.
[   906.002] (II) This device may have been added with another device file.
[   906.002] (II) config/udev: Adding input device HDA Intel PCH Dock Mic (/dev/input/event7)
[   906.002] (II) No input driver specified, ignoring this device.
[   906.002] (II) This device may have been added with another device file.
[   906.003] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[   906.003] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   906.003] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[   906.003] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 23 paused 0
[   906.003] (**) AT Translated Set 2 keyboard: always reports core events
[   906.003] (**) Option "Device" "/dev/input/event3"
[   906.003] (**) Option "_source" "server/udev"
[   906.004] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   906.005] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[   906.005] (II) event3  - AT Translated Set 2 keyboard: device removed
[   906.005] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[   906.005] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[   906.006] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   906.006] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[   906.006] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event12)
[   906.006] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[   906.006] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[   906.007] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 24 paused 0
[   906.007] (**) SynPS/2 Synaptics TouchPad: always reports core events
[   906.007] (**) Option "Device" "/dev/input/event12"
[   906.007] (**) Option "_source" "server/udev"
[   906.008] (II) event12 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   906.009] (II) event12 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   906.009] (II) event12 - SynPS/2 Synaptics TouchPad: device removed
[   906.009] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event12"
[   906.009] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 11)
[   906.010] (**) Option "AccelerationScheme" "none"
[   906.010] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[   906.010] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[   906.010] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[   906.011] (II) event12 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   906.012] (II) event12 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   906.012] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[   906.012] (II) No input driver specified, ignoring this device.
[   906.012] (II) This device may have been added with another device file.
[   906.012] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event19)
[   906.012] (**) TPPS/2 IBM TrackPoint: Applying InputClass "libinput pointer catchall"
[   906.012] (II) Using input driver 'libinput' for 'TPPS/2 IBM TrackPoint'
[   906.013] (II) systemd-logind: got fd for /dev/input/event19 13:83 fd 25 paused 0
[   906.013] (**) TPPS/2 IBM TrackPoint: always reports core events
[   906.013] (**) Option "Device" "/dev/input/event19"
[   906.013] (**) Option "_source" "server/udev"
[   906.014] (II) event19 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[   906.014] (II) event19 - TPPS/2 IBM TrackPoint: device is a pointer
[   906.015] (II) event19 - TPPS/2 IBM TrackPoint: device removed
[   906.015] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input14/event19"
[   906.015] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 12)
[   906.015] (**) Option "AccelerationScheme" "none"
[   906.015] (**) TPPS/2 IBM TrackPoint: (accel) selected scheme none/0
[   906.015] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[   906.015] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[   906.016] (II) event19 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[   906.016] (II) event19 - TPPS/2 IBM TrackPoint: device is a pointer
[   906.017] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[   906.017] (II) No input driver specified, ignoring this device.
[   906.017] (II) This device may have been added with another device file.
[   906.017] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[   906.017] (II) No input driver specified, ignoring this device.
[   906.017] (II) This device may have been added with another device file.
[   906.018] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event5)
[   906.018] (**) ThinkPad Extra Buttons: Applying InputClass "libinput keyboard catchall"
[   906.018] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
[   906.018] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 26 paused 0
[   906.018] (**) ThinkPad Extra Buttons: always reports core events
[   906.018] (**) Option "Device" "/dev/input/event5"
[   906.018] (**) Option "_source" "server/udev"
[   906.019] (II) event5  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[   906.019] (II) event5  - ThinkPad Extra Buttons: device is a keyboard
[   906.019] (II) event5  - ThinkPad Extra Buttons: device removed
[   906.019] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input6/event5"
[   906.019] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 13)
[   906.020] (II) event5  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[   906.020] (II) event5  - ThinkPad Extra Buttons: device is a keyboard
[   906.036] (**) Option "fd" "17"
[   906.036] (II) event2  - Power Button: device removed
[   906.037] (**) Option "fd" "20"
[   906.037] (II) event13 - Video Bus: device removed
[   906.037] (**) Option "fd" "21"
[   906.037] (II) event1  - Sleep Button: device removed
[   906.037] (**) Option "fd" "22"
[   906.037] (II) event11 - Integrated Camera: Integrated C: device removed
[   906.037] (**) Option "fd" "23"
[   906.037] (II) event3  - AT Translated Set 2 keyboard: device removed
[   906.037] (**) Option "fd" "24"
[   906.037] (II) event12 - SynPS/2 Synaptics TouchPad: device removed
[   906.037] (**) Option "fd" "25"
[   906.037] (II) event19 - TPPS/2 IBM TrackPoint: device removed
[   906.037] (**) Option "fd" "26"
[   906.037] (II) event5  - ThinkPad Extra Buttons: device removed
[   906.038] (II) UnloadModule: "libinput"
[   906.038] (II) systemd-logind: releasing fd for 13:69
[   906.068] (II) UnloadModule: "libinput"
[   906.068] (II) systemd-logind: releasing fd for 13:83
[   906.121] (II) UnloadModule: "libinput"
[   906.121] (II) systemd-logind: releasing fd for 13:76
[   906.174] (II) UnloadModule: "libinput"
[   906.174] (II) systemd-logind: releasing fd for 13:67
[   906.201] (II) UnloadModule: "libinput"
[   906.201] (II) systemd-logind: releasing fd for 13:75
[   906.254] (II) UnloadModule: "libinput"
[   906.254] (II) systemd-logind: releasing fd for 13:65
[   906.281] (II) UnloadModule: "libinput"
[   906.281] (II) systemd-logind: releasing fd for 13:77
[   906.335] (II) UnloadModule: "libinput"
[   906.335] (II) systemd-logind: releasing fd for 13:66
[   906.456] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[   906.456] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[   906.456] (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
[   906.458] (II) Server terminated successfully (0). Closing log file.

Via echo testing, I confirmed my .xinitrc is never sourced, since the server never seems to successfully run anyway.
I don't know anything about device drivers, so this is just pure confusion for me.

Thank you.


As equally with computers as with the world, listen to what the system tells you is wrong to find out what is right.

Offline

#2 2020-06-12 21:02:46

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: startx hangs on something and freezes computer

The log is dated?

Log file: "/home/ves/.local/share/xorg/Xorg.0.log", Time: Fri Jun  5 23:41:04 2020

The server ran ~30 seconds, then it seems you switched to a different VT and the server terminates.

Try to remove xf86-video-intel (and also xf86-video-vesa), but your xinitrc should™ have been sourced that day.

Online

#3 2020-06-12 21:44:08

Vesdii
Member
Registered: 2020-06-06
Posts: 11

Re: startx hangs on something and freezes computer

Yes, that log I sent to my other computer in order to post this is several days old, but nothing has changed.

Please read the post again. I said after 30 seconds I pressed the power button to shut down the computer because no keys do anything.

I have tried mixing and matching all the xf86-video- packages, it always freezes.


As equally with computers as with the world, listen to what the system tells you is wrong to find out what is right.

Offline

#4 2020-06-12 22:03:10

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: startx hangs on something and freezes computer

Don't mix and match, remove them all.
Start the server, try to switch to a different VT (or login via ssh) and attempt "DISPLAY=:0 xrandr -q" (to see whether the server responds), then post an updated log.
If you can switch VTs, try to switch back to the X11 terminal.

The server is most likely running, it just doesn't effectively the framebuffer, therefore also check the system journal or dmesg for errors in the i915 or drm module.

Online

#5 2020-06-12 23:45:33

Vesdii
Member
Registered: 2020-06-06
Posts: 11

Re: startx hangs on something and freezes computer

By mix and match, I mean inclusive of removing everything.

I uninstalled them again and here is the new log, with messages from after I pressed the power button removed:

     1	[  3381.879] (WW) Failed to open protocol names file lib/xorg/protocol.txt
     2	[  3381.880] 
     3	X.Org X Server 1.20.8
     4	X Protocol Version 11, Revision 0
     5	[  3381.880] Build Operating System: Linux Arch Linux
     6	[  3381.880] Current Operating System: Linux archdii 5.7.2-arch1-1 #1 SMP PREEMPT Wed, 10 Jun 2020 20:36:24 +0000 x86_64
     7	[  3381.880] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=d42cbafc-d2f1-4155-8d7b-19363b6513a7 rw loglevel=3 quiet
     8	[  3381.880] Build Date: 05 May 2020  05:08:17AM
     9	[  3381.881]  
    10	[  3381.881] Current version of pixman: 0.40.0
    11	[  3381.881] 	Before reporting problems, check http://wiki.x.org
    12		to make sure that you have the latest version.
    13	[  3381.881] Markers: (--) probed, (**) from config file, (==) default setting,
    14		(++) from command line, (!!) notice, (II) informational,
    15		(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    16	[  3381.882] (==) Log file: "/home/ves/.local/share/xorg/Xorg.0.log", Time: Fri Jun 12 15:41:18 2020
    17	[  3381.962] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    18	[  3381.978] (==) No Layout section.  Using the first Screen section.
    19	[  3381.978] (==) No screen section available. Using defaults.
    20	[  3381.978] (**) |-->Screen "Default Screen Section" (0)
    21	[  3381.978] (**) |   |-->Monitor "<default monitor>"
    22	[  3381.979] (==) No monitor specified for screen "Default Screen Section".
    23		Using a default monitor configuration.
    24	[  3381.980] (==) Automatically adding devices
    25	[  3381.980] (==) Automatically enabling devices
    26	[  3381.980] (==) Automatically adding GPU devices
    27	[  3381.980] (==) Automatically binding GPU devices
    28	[  3381.980] (==) Max clients allowed: 256, resource mask: 0x1fffff
    29	[  3381.989] (WW) The directory "/usr/share/fonts/TTF" does not exist.
    30	[  3381.989] 	Entry deleted from font path.
    31	[  3381.989] (WW) The directory "/usr/share/fonts/OTF" does not exist.
    32	[  3381.989] 	Entry deleted from font path.
    33	[  3381.989] (WW) The directory "/usr/share/fonts/Type1" does not exist.
    34	[  3381.989] 	Entry deleted from font path.
    35	[  3382.009] (==) FontPath set to:
    36		/usr/share/fonts/misc,
    37		/usr/share/fonts/100dpi,
    38		/usr/share/fonts/75dpi
    39	[  3382.009] (==) ModulePath set to "/usr/lib/xorg/modules"
    40	[  3382.009] (II) The server relies on udev to provide the list of input devices.
    41		If no devices become available, reconfigure udev or disable AutoAddDevices.
    42	[  3382.009] (II) Module ABI versions:
    43	[  3382.009] 	X.Org ANSI C Emulation: 0.4
    44	[  3382.009] 	X.Org Video Driver: 24.1
    45	[  3382.009] 	X.Org XInput driver : 24.1
    46	[  3382.009] 	X.Org Server Extension : 10.0
    47	[  3382.011] (++) using VT number 1
    48	
    49	[  3382.015] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
    50	[  3382.017] (II) xfree86: Adding drm device (/dev/dri/card0)
    51	[  3382.018] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
    52	[  3382.022] (--) PCI:*(0@0:2:0) 8086:0a16:17aa:220c rev 11, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
    53	[  3382.022] (II) Open ACPI successful (/var/run/acpid.socket)
    54	[  3382.022] (II) LoadModule: "glx"
    55	[  3382.027] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    56	[  3382.131] (II) Module glx: vendor="X.Org Foundation"
    57	[  3382.131] 	compiled for 1.20.8, module version = 1.0.0
    58	[  3382.131] 	ABI class: X.Org Server Extension, version 10.0
    59	[  3382.131] (==) Matched intel as autoconfigured driver 0
    60	[  3382.131] (==) Matched modesetting as autoconfigured driver 1
    61	[  3382.131] (==) Matched fbdev as autoconfigured driver 2
    62	[  3382.131] (==) Matched vesa as autoconfigured driver 3
    63	[  3382.131] (==) Assigned the driver to the xf86ConfigLayout
    64	[  3382.131] (II) LoadModule: "intel"
    65	[  3382.131] (WW) Warning, couldn't open module intel
    66	[  3382.131] (EE) Failed to load module "intel" (module does not exist, 0)
    67	[  3382.131] (II) LoadModule: "modesetting"
    68	[  3382.131] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
    69	[  3382.155] (II) Module modesetting: vendor="X.Org Foundation"
    70	[  3382.155] 	compiled for 1.20.8, module version = 1.20.8
    71	[  3382.155] 	Module class: X.Org Video Driver
    72	[  3382.155] 	ABI class: X.Org Video Driver, version 24.1
    73	[  3382.155] (II) LoadModule: "fbdev"
    74	[  3382.155] (WW) Warning, couldn't open module fbdev
    75	[  3382.155] (EE) Failed to load module "fbdev" (module does not exist, 0)
    76	[  3382.155] (II) LoadModule: "vesa"
    77	[  3382.155] (WW) Warning, couldn't open module vesa
    78	[  3382.155] (EE) Failed to load module "vesa" (module does not exist, 0)
    79	[  3382.155] (II) modesetting: Driver for Modesetting Kernel Drivers: kms

I tried SSHing with X11 forwarding; nothing shows up, but I can confirm via htop that the server is running and there is an entry about my .xinitrc. I guess it just doesn't print anything from that onto the tty.

I suppose what would be useful to know now is that file's contents:

#!/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

dwm &
exec st

dwm and st are properly compiled and installed.

I don't know what I am supposed to be looking for in journal messages about i915 or drm.


As equally with computers as with the world, listen to what the system tells you is wrong to find out what is right.

Offline

#6 2020-06-12 23:48:21

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: startx hangs on something and freezes computer

Please post all the kernel messages for the boot.

Offline

#7 2020-06-12 23:55:24

Vesdii
Member
Registered: 2020-06-06
Posts: 11

Re: startx hangs on something and freezes computer

The system boot? X isn't installed/enabled as a service, so is that relevant?

EDIT: Nevermind, I'm discovering that the boot log has more than I expected. I logged in via SSH and did "journalctl -b -f", then ran startx on the laptop. The only lines that showed up were these:

Jun 12 16:58:39 archdii acpid[400]: client connected from 1664[1000:1000]
Jun 12 16:58:39 archdii acpid[400]: 1 client rule loaded

Last edited by Vesdii (2020-06-13 00:02:34)


As equally with computers as with the world, listen to what the system tells you is wrong to find out what is right.

Offline

#8 2020-06-13 00:01:36

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: startx hangs on something and freezes computer

The drm / i915 messages seth was referring to are produced by the kernel.  The X11 modesetting driver depends on kernel mode setting.
Edit:
It is the same output you would be asked for if you reported the issue upstream https://01.org/linuxgraphics/documentat … eport-bugs

Last edited by loqs (2020-06-13 00:06:13)

Offline

#9 2020-06-13 00:21:46

Vesdii
Member
Registered: 2020-06-06
Posts: 11

Re: startx hangs on something and freezes computer

loqs wrote:

Edit:
It is the same output you would be asked for if you reported the issue upstream https://01.org/linuxgraphics/documentat … eport-bugs

I don't even know what that means, but cool. In fact, even in Git vocabulary, I don't know what upstream means.


As equally with computers as with the world, listen to what the system tells you is wrong to find out what is right.

Offline

#10 2020-06-13 00:26:01

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: startx hangs on something and freezes computer

Vesdii wrote:

I don't even know what that means, but cool. In fact, even in Git vocabulary, I don't know what upstream means.

Does what-does-upstream-mean help explain the concept?

Last edited by loqs (2020-06-13 00:26:59)

Offline

#11 2020-06-13 00:42:37

Vesdii
Member
Registered: 2020-06-06
Posts: 11

Re: startx hangs on something and freezes computer

loqs wrote:
Vesdii wrote:

I don't even know what that means, but cool. In fact, even in Git vocabulary, I don't know what upstream means.

Does what-does-upstream-mean help explain the concept?

Yes, cool, thank you.

Should I actually report it as a bug, or just await further assistance?


As equally with computers as with the world, listen to what the system tells you is wrong to find out what is right.

Offline

#12 2020-06-13 00:47:39

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: startx hangs on something and freezes computer

X seems to stop with the following:

    79	[  3382.155] (II) modesetting: Driver for Modesetting Kernel Drivers: kms

The kernel messages should provide more information as to what happens as that point and if there have already been any issues.

Offline

#13 2020-06-13 01:00:03

Vesdii
Member
Registered: 2020-06-06
Posts: 11

Re: startx hangs on something and freezes computer

loqs wrote:

X seems to stop with the following:

    79	[  3382.155] (II) modesetting: Driver for Modesetting Kernel Drivers: kms

The kernel messages should provide more information as to what happens as that point and if there have already been any issues.

Well I don't know a single thing about the kernel besides its purpose, so what should I look for and how?


As equally with computers as with the world, listen to what the system tells you is wrong to find out what is right.

Offline

#14 2020-06-13 01:45:23

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: startx hangs on something and freezes computer

Journal#Filtering_output  Combine the option for kernel messages with the option to show messages from a previous boot.
Or just post the journal from that boot.  If the output is too big to fit in code tags see the tip box from pastebin.

Offline

#15 2020-06-13 06:19:40

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: startx hangs on something and freezes computer

I tried SSHing with X11 forwarding; nothing shows up

That's not what we're interested in and expected, https://wiki.archlinux.org/index.php/Op … forwarding

Just a regular SSH login and from there trying to connect the local server ("DISPLAY=:0 xrandr -q") will reveal whether the server is listening and responding - ideally you might get a helpful error.

One more thing, because of https://bbs.archlinux.org/viewtopic.php?id=256523
What if you run X11 on the same VT?
https://wiki.archlinux.org/index.php/Xinit#xserverrc

Last edited by seth (2020-06-13 11:48:40)

Online

#16 2020-06-19 23:07:13

Vesdii
Member
Registered: 2020-06-06
Posts: 11

Re: startx hangs on something and freezes computer

seth wrote:

I tried SSHing with X11 forwarding; nothing shows up

That's not what we're interested in and expected, https://wiki.archlinux.org/index.php/Op … forwarding

Just a regular SSH login and from there trying to connect the local server ("DISPLAY=:0 xrandr -q") will reveal whether the server is listening and responding - ideally you might get a helpful error.

One more thing, because of https://bbs.archlinux.org/viewtopic.php?id=256523
What if you run X11 on the same VT?
https://wiki.archlinux.org/index.php/Xinit#xserverrc

The same VT as what?


As equally with computers as with the world, listen to what the system tells you is wrong to find out what is right.

Offline

#17 2020-06-20 06:03:59

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: startx hangs on something and freezes computer

That you run startx on, see the link.

Online

#18 2020-06-20 12:55:30

pk.gmp
Member
Registered: 2020-06-15
Posts: 44

Re: startx hangs on something and freezes computer

hi @Vesdii,

I am going to suggest something which is not technically 100% solution to your issue. By now I am sure that i915 and vanilla kernel 5.7.x don't work well at all.
Please install lts kernel (pacman -S linux-lts) and boot into it. It should solve your startx issue.

Last edited by pk.gmp (2020-06-20 13:20:35)

Offline

#19 2020-06-20 21:36:58

Vesdii
Member
Registered: 2020-06-06
Posts: 11

Re: startx hangs on something and freezes computer

seth wrote:

That you run startx on, see the link.

That doesn't make any sense whatsoever to me. I run startx on a VT, and it causes my entire computer to freeze. How would I launch anything else, and what is the difference between running X11 and running startx? startx starts X11?????

pk.gmp wrote:

Please install lts kernel (pacman -S linux-lts) and boot into it.

I installed it and rebooted but it does not show up on my GRUB menu. D:


As equally with computers as with the world, listen to what the system tells you is wrong to find out what is right.

Offline

#20 2020-06-21 04:39:32

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: startx hangs on something and freezes computer

That doesn't make any sense whatsoever to me.

Did you read the link?

https://wiki.archlinux.org/index.php/GR … d_grub.cfg
See the first green Tip box. You really should have and definitively should now read the entire page.

Online

#21 2020-06-23 01:16:43

Vesdii
Member
Registered: 2020-06-06
Posts: 11

Re: startx hangs on something and freezes computer

I tried the .xserverrc thing and booting into linux-lts. Nothing changed.


As equally with computers as with the world, listen to what the system tells you is wrong to find out what is right.

Offline

#22 2020-06-23 04:54:34

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: startx hangs on something and freezes computer

Back to "let's see whether we can inspect it":

seth wrote:

Just a regular SSH login and from there trying to connect the local server ("DISPLAY=:0 xrandr -q") will reveal whether the server is listening and responding - ideally you might get a helpful error.

Online

#23 2020-06-29 23:26:11

Vesdii
Member
Registered: 2020-06-06
Posts: 11

Re: startx hangs on something and freezes computer

Ok, I tried logging in via SSH after running startx, and "DISPLAY=:0 xrandr -q" produces no output and stalls the shell until I interrupt.


As equally with computers as with the world, listen to what the system tells you is wrong to find out what is right.

Offline

#24 2020-06-29 23:45:34

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: startx hangs on something and freezes computer

What is the contents of dmesg or the journal for one boot with the issue?  As the system is Haswell based have you looked at https://gitlab.freedesktop.org/drm/intel/-/issues/2024?

Last edited by loqs (2020-06-30 00:11:21)

Offline

#25 2020-06-30 06:29:20

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: startx hangs on something and freezes computer

The original report was on 5.6.15 and is claimed for the lts kernel as well, but of course the problem could have shifted.

Regardless, the server is up but not responding.
In case the GPU does not hang, ensure the process isn't stopped (uppercase "T" in the status column of ps), see how far the Xorg log has progressed and whether "DISPLAY=:0 xdpyinfo" responds.

Online

Board footer

Powered by FluxBB