Seems Losing Keyboard and Mouse in GUI Login Screen

General support questions
Post Reply
hcsf
Posts: 7
Joined: 2019/11/27 07:21:02

Seems Losing Keyboard and Mouse in GUI Login Screen

Post by hcsf » 2019/11/30 04:00:48

Hi,

I started a clean installation with CentOS 7 minimal image via USB, enabled elrepo, installed gnome3, gdm, kmod-nvidia (because I have 1050 ti), and did yum update (so kernel is 3.10.0-1062.4.3.el7).

But then, after I logged in in tty, and ran

Code: Select all

systemctl restart gdm.service
The gnome login screen showed, but then my mouse and keyboard didn't work anymore.

It is similar to these posts:
1. viewtopic.php?t=67653
2. viewtopic.php?t=55763

I did this clean installation because after I upgraded the kernel, I couldn't start GUI anymore (see viewtopic.php?t=72637)

post #1 above suggested to check the last updated /var/log, and so I looked into /var/logs/messages by 'egrep -i "error|warn|fatal|fail" /var/logs/messages':

Code: Select all

Nov 29 22:36:40 hclinux kernel: acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
Nov 29 22:36:40 hclinux kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Nov 29 22:36:43 hclinux lvm: WARNING: lvmetad is being updated, retrying (setup) for 10 more seconds.
Nov 29 22:36:44 hclinux augenrules: failure 1
Nov 29 22:41:00 hclinux kernel: acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
Nov 29 22:41:00 hclinux kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Nov 29 22:41:03 hclinux lvm: WARNING: lvmetad is being updated, retrying (setup) for 10 more seconds.
Nov 29 22:41:04 hclinux augenrules: failure 1
Nov 29 22:41:10 hclinux rsyslogd: imjournal: fscanf on state file `/var/lib/rsyslog/imjournal.state' failed  [v8.24.0-41.el7_7.2 try http://www.rsyslog.com/e/2027 ]
I started gdm after 22:38:28 and did a hard reboot and then logged back in in tty around 22:41:12. So only the log between 22:38:28 and 22:41:12 is relevant.

Here is the last modified Xorg log:

Code: Select all

[   521.053] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[   521.054] Build Operating System:  3.10.0-957.1.3.el7.x86_64 
[   521.055] Current Operating System: Linux hclinux 3.10.0-1062.4.3.el7.x86_64 #1 SMP Wed Nov 13 23:58:53 UTC 2019 x86_64
[   521.055] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-1062.4.3.el7.x86_64 root=/dev/mapper/cl-root ro crashkernel=auto rd.lvm.lv=cl/root rd.lvm.lv=cl/swap rhgb quiet LANG=en_US.UTF-8 nouveau.modeset=0 rd.driver.blacklist=nouveau plymouth.ignore-udev
[   521.056] Build Date: 09 August 2019  03:27:09AM
[   521.056] Build ID: xorg-x11-server 1.20.4-7.el7 
[   521.057] Current version of pixman: 0.34.0
[   521.057] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   521.057] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   521.060] (==) Log file: "/var/log/Xorg.1.log", Time: Fri Nov 29 22:21:35 2019
[   521.061] (==) Using config file: "/etc/X11/xorg.conf"
[   521.061] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   521.062] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   521.063] (==) No Layout section.  Using the first Screen section.
[   521.063] (==) No screen section available. Using defaults.
[   521.063] (**) |-->Screen "Default Screen Section" (0)
[   521.063] (**) |   |-->Monitor "<default monitor>"
[   521.064] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   521.064] (**) |   |-->Device "Videocard0"
[   521.064] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   521.064] (==) Automatically adding devices
[   521.064] (==) Automatically enabling devices
[   521.064] (==) Automatically adding GPU devices
[   521.064] (==) Automatically binding GPU devices
[   521.065] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   521.065] (==) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins
[   521.065] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   521.065] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   521.065] (II) Loader magic: 0x560cf8617020
[   521.065] (II) Module ABI versions:
[   521.065] 	X.Org ANSI C Emulation: 0.4
[   521.065] 	X.Org Video Driver: 24.0
[   521.065] 	X.Org XInput driver : 24.1
[   521.065] 	X.Org Server Extension : 10.0
[   521.066] (II) xfree86: Adding drm device (/dev/dri/card0)
[   521.072] (--) PCI:*(1@0:0:0) 10de:1c82:1462:8c96 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[   521.072] (II) LoadModule: "glx"
[   521.073] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   521.089] (II) Module glx: vendor="X.Org Foundation"
[   521.089] 	compiled for 1.20.4, module version = 1.0.0
[   521.089] 	ABI class: X.Org Server Extension, version 10.0
[   521.089] (II) LoadModule: "nvidia"
[   521.089] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[   521.099] (II) Module nvidia: vendor="NVIDIA Corporation"
[   521.099] 	compiled for 1.6.99.901, module version = 1.0.0
[   521.099] 	Module class: X.Org Video Driver
[   521.101] (II) NVIDIA dlloader X Driver  440.36  Tue Nov 12 08:17:24 UTC 2019
[   521.101] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   521.102] (++) using VT number 1

[   521.105] (II) Loading sub module "fb"
[   521.105] (II) LoadModule: "fb"
[   521.106] (II) Loading /usr/lib64/xorg/modules/libfb.so
[   521.108] (II) Module fb: vendor="X.Org Foundation"
[   521.108] 	compiled for 1.20.4, module version = 1.0.0
[   521.108] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   521.108] (II) Loading sub module "wfb"
[   521.108] (II) LoadModule: "wfb"
[   521.108] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[   521.110] (II) Module wfb: vendor="X.Org Foundation"
[   521.110] 	compiled for 1.20.4, module version = 1.0.0
[   521.110] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   521.110] (II) Loading sub module "ramdac"
[   521.110] (II) LoadModule: "ramdac"
[   521.110] (II) Module "ramdac" already built-in
[   521.114] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   521.114] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   521.114] (==) NVIDIA(0): RGB weight 888
[   521.114] (==) NVIDIA(0): Default visual is TrueColor
[   521.114] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   521.115] (**) NVIDIA(0): Enabling 2D acceleration
[   521.115] (II) Loading sub module "glxserver_nvidia"
[   521.115] (II) LoadModule: "glxserver_nvidia"
[   521.115] (II) Loading /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so
[   521.211] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   521.211] 	compiled for 1.6.99.901, module version = 1.0.0
[   521.211] 	Module class: X.Org Server Extension
[   521.212] (II) NVIDIA GLX Module  440.36  Tue Nov 12 08:15:30 UTC 2019
[   521.215] (II) NVIDIA: The X server does not support PRIME Render Offload.
[   522.077] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[   522.077] (--) NVIDIA(0):     DFP-0
[   522.077] (--) NVIDIA(0):     DFP-1 (boot)
[   522.077] (--) NVIDIA(0):     DFP-2
[   522.077] (--) NVIDIA(0):     DFP-3
[   522.077] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 Ti (GP107-A) at PCI:1:0:0 (GPU-0)
[   522.077] (--) NVIDIA(0): Memory: 4194304 kBytes
[   522.077] (--) NVIDIA(0): VideoBIOS: 86.07.22.00.b8
[   522.077] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   522.077] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   522.077] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   522.077] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   522.077] (--) NVIDIA(GPU-0): 
[   522.107] (--) NVIDIA(GPU-0): DELL U3818DW (DFP-1): connected
[   522.107] (--) NVIDIA(GPU-0): DELL U3818DW (DFP-1): Internal TMDS
[   522.107] (--) NVIDIA(GPU-0): DELL U3818DW (DFP-1): 600.0 MHz maximum pixel clock
[   522.107] (--) NVIDIA(GPU-0): 
[   522.107] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   522.107] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[   522.107] (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
[   522.107] (--) NVIDIA(GPU-0): 
[   522.107] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   522.107] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   522.107] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[   522.107] (--) NVIDIA(GPU-0): 
[   522.110] (==) NVIDIA(0): 
[   522.110] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   522.110] (==) NVIDIA(0):     will be used as the requested mode.
[   522.110] (==) NVIDIA(0): 
[   522.111] (II) NVIDIA(0): Validated MetaModes:
[   522.111] (II) NVIDIA(0):     "DFP-1:nvidia-auto-select"
[   522.111] (II) NVIDIA(0): Virtual screen size determined to be 3840 x 1600
[   522.116] (--) NVIDIA(0): DPI set to (110, 109); computed from "UseEdidDpi" X config
[   522.116] (--) NVIDIA(0):     option
[   522.116] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[   522.116] (II) NVIDIA:     access.
[   522.117] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   522.117] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   522.117] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   522.117] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   522.118] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   522.118] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   522.118] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   522.118] (II) NVIDIA(0):     Config Options in the README.
[   522.133] (II) NVIDIA(0): Setting mode "DFP-1:nvidia-auto-select"
[   522.183] (==) NVIDIA(0): Disabling shared memory pixmaps
[   522.183] (==) NVIDIA(0): Backing store enabled
[   522.183] (==) NVIDIA(0): Silken mouse enabled
[   522.184] (==) NVIDIA(0): DPMS enabled
[   522.184] (II) Loading sub module "dri2"
[   522.184] (II) LoadModule: "dri2"
[   522.184] (II) Module "dri2" already built-in
[   522.184] (II) NVIDIA(0): [DRI2] Setup complete
[   522.184] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   522.185] (II) Initializing extension Generic Event Extension
[   522.185] (II) Initializing extension SHAPE
[   522.185] (II) Initializing extension MIT-SHM
[   522.185] (II) Initializing extension XInputExtension
[   522.185] (II) Initializing extension XTEST
[   522.186] (II) Initializing extension BIG-REQUESTS
[   522.186] (II) Initializing extension SYNC
[   522.186] (II) Initializing extension XKEYBOARD
[   522.186] (II) Initializing extension XC-MISC
[   522.186] (II) Initializing extension SECURITY
[   522.186] (II) Initializing extension XFIXES
[   522.186] (II) Initializing extension RENDER
[   522.186] (II) Initializing extension RANDR
[   522.186] (II) Initializing extension COMPOSITE
[   522.187] (II) Initializing extension DAMAGE
[   522.187] (II) Initializing extension MIT-SCREEN-SAVER
[   522.187] (II) Initializing extension DOUBLE-BUFFER
[   522.187] (II) Initializing extension RECORD
[   522.187] (II) Initializing extension DPMS
[   522.187] (II) Initializing extension Present
[   522.187] (II) Initializing extension DRI3
[   522.187] (II) Initializing extension X-Resource
[   522.187] (II) Initializing extension XVideo
[   522.188] (II) Initializing extension XVideo-MotionCompensation
[   522.188] (II) Initializing extension SELinux
[   522.188] (II) SELinux: Disabled on system
[   522.188] (II) Initializing extension GLX
[   522.188] (II) Initializing extension GLX
[   522.188] (II) GLX: Another vendor is already registered for screen 0
[   522.188] (II) Initializing extension XFree86-VidModeExtension
[   522.188] (II) Initializing extension XFree86-DGA
[   522.188] (II) Initializing extension XFree86-DRI
[   522.188] (II) Initializing extension DRI2
[   522.188] (II) Initializing extension NV-GLX
[   522.189] (II) Initializing extension NV-CONTROL
[   522.189] (II) Initializing extension XINERAMA
[   522.239] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[   522.239] (**) Power Button: Applying InputClass "system-keyboard"
[   522.239] (II) No input driver specified, ignoring this device.
[   522.239] (II) This device may have been added with another device file.
[   522.239] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   522.239] (**) Power Button: Applying InputClass "system-keyboard"
[   522.239] (II) No input driver specified, ignoring this device.
[   522.239] (II) This device may have been added with another device file.
[   522.240] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[   522.240] (**) Sleep Button: Applying InputClass "system-keyboard"
[   522.240] (II) No input driver specified, ignoring this device.
[   522.240] (II) This device may have been added with another device file.
[   522.240] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event15)
[   522.240] (II) No input driver specified, ignoring this device.
[   522.240] (II) This device may have been added with another device file.
[   522.240] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event16)
[   522.240] (II) No input driver specified, ignoring this device.
[   522.240] (II) This device may have been added with another device file.
[   522.240] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event17)
[   522.240] (II) No input driver specified, ignoring this device.
[   522.240] (II) This device may have been added with another device file.
[   522.240] (II) config/udev: Adding input device www.BeyondQ.com DuMang KeyBoard DK6  (/dev/input/event3)
[   522.240] (**) www.BeyondQ.com DuMang KeyBoard DK6 : Applying InputClass "system-keyboard"
[   522.240] (II) No input driver specified, ignoring this device.
[   522.240] (II) This device may have been added with another device file.
[   522.241] (II) config/udev: Adding input device www.BeyondQ.com DuMang KeyBoard DK6  (/dev/input/event4)
[   522.241] (**) www.BeyondQ.com DuMang KeyBoard DK6 : Applying InputClass "system-keyboard"
[   522.241] (II) No input driver specified, ignoring this device.
[   522.241] (II) This device may have been added with another device file.
[   522.241] (II) config/udev: Adding input device www.BeyondQ.com DuMang KeyBoard DK6  (/dev/input/mouse0)
[   522.241] (**) www.BeyondQ.com DuMang KeyBoard DK6 : Applying InputClass "system-keyboard"
[   522.241] (II) No input driver specified, ignoring this device.
[   522.241] (II) This device may have been added with another device file.
[   522.241] (II) config/udev: Adding input device www.BeyondQ.com DuMang KeyBoard DK6  (/dev/input/event5)
[   522.241] (**) www.BeyondQ.com DuMang KeyBoard DK6 : Applying InputClass "system-keyboard"
[   522.241] (II) No input driver specified, ignoring this device.
[   522.241] (II) This device may have been added with another device file.
[   522.241] (II) config/udev: Adding input device www.BeyondQ.com DuMang KeyBoard DK6  (/dev/input/event6)
[   522.241] (**) www.BeyondQ.com DuMang KeyBoard DK6 : Applying InputClass "system-keyboard"
[   522.241] (II) No input driver specified, ignoring this device.
[   522.241] (II) This device may have been added with another device file.
[   522.241] (II) config/udev: Adding input device www.BeyondQ.com DuMang KeyBoard DK6  (/dev/input/mouse1)
[   522.241] (**) www.BeyondQ.com DuMang KeyBoard DK6 : Applying InputClass "system-keyboard"
[   522.241] (II) No input driver specified, ignoring this device.
[   522.241] (II) This device may have been added with another device file.
[   522.242] (II) config/udev: Adding input device Kingsis Peripherals Evoluent VerticalMouse 4 Left (/dev/input/event7)
[   522.242] (II) No input driver specified, ignoring this device.
[   522.242] (II) This device may have been added with another device file.
[   522.242] (II) config/udev: Adding input device Kingsis Peripherals Evoluent VerticalMouse 4 Left (/dev/input/mouse2)
[   522.242] (II) No input driver specified, ignoring this device.
[   522.242] (II) This device may have been added with another device file.
[   522.242] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event10)
[   522.242] (II) No input driver specified, ignoring this device.
[   522.242] (II) This device may have been added with another device file.
[   522.242] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event11)
[   522.242] (II) No input driver specified, ignoring this device.
[   522.242] (II) This device may have been added with another device file.
[   522.242] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event12)
[   522.242] (II) No input driver specified, ignoring this device.
[   522.242] (II) This device may have been added with another device file.
[   522.243] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event13)
[   522.243] (II) No input driver specified, ignoring this device.
[   522.243] (II) This device may have been added with another device file.
[   522.243] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event14)
[   522.243] (II) No input driver specified, ignoring this device.
[   522.243] (II) This device may have been added with another device file.
[   522.243] (II) config/udev: Adding input device Eee PC WMI hotkeys (/dev/input/event9)
[   522.243] (**) Eee PC WMI hotkeys: Applying InputClass "system-keyboard"
[   522.243] (II) No input driver specified, ignoring this device.
[   522.243] (II) This device may have been added with another device file.
[   522.243] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
[   522.243] (II) No input driver specified, ignoring this device.
[   522.243] (II) This device may have been added with another device file.
[   522.356] (--) NVIDIA(GPU-0): DELL U3818DW (DFP-1): connected
[   522.356] (--) NVIDIA(GPU-0): DELL U3818DW (DFP-1): Internal TMDS
[   522.356] (--) NVIDIA(GPU-0): DELL U3818DW (DFP-1): 600.0 MHz maximum pixel clock
[   522.356] (--) NVIDIA(GPU-0): 
[   522.389] (--) NVIDIA(GPU-0): DELL U3818DW (DFP-1): connected
[   522.389] (--) NVIDIA(GPU-0): DELL U3818DW (DFP-1): Internal TMDS
[   522.389] (--) NVIDIA(GPU-0): DELL U3818DW (DFP-1): 600.0 MHz maximum pixel clock
[   522.389] (--) NVIDIA(GPU-0): 
[   522.856] (II) NVIDIA(GPU-0): Deleting GPU-0
[   522.857] (II) Server terminated successfully (0). Closing log file.

post #2 above suggested to touch /.autorelabel and reboot. but I noticed that the file already exists and so it doesn't fix my issue (I booted many times).

Then, I removed kmod-nvidia and nvidia-x11-drv and downgraded kernel to 3.10.0-957.27.2. Then, I restarted, and attempted to install kmod-nvidia again but then it tried to bring in the latest kernel again. I aborted.

Then, I tried to install older version of kmod-nvidia --- 3.10.0-1062.el7.x86_64-3:430.40-2.el7.x86_64 from rpmfusion-nonfree-updates repos, and it brought in the latest kernele again. Rebooted with the latest kernel. Same issue.

Any suggestion is welcome.

Thanks in advance.

hcsf
Posts: 7
Joined: 2019/11/27 07:21:02

Re: Seems Losing Keyboard and Mouse in GUI Login Screen

Post by hcsf » 2019/11/30 08:40:47

Turned out xorg-x11-drv-evdev xorg-x11-drv-mouse and xorg-x11-drv-libinput weren't installed. I thought they would be the dependency of gnome indirectly. But no.

Post Reply

Return to “CentOS 7 - General Support”