Ubuntu 20.04 在解锁时挂起

Ubuntu 20.04 在解锁时挂起

问题表现如下:我离开电脑,大约 15 分钟后回来发现屏幕变黑并且电脑已锁定(如预期)。我点击空格键将其唤醒,成功了,显示锁定屏幕,我可在此输入密码。然后图标旋转约半圈然后停止。然后我可以无限期等待,锁定屏幕不会继续。鼠标光标仍然有效,但其他任何功能均无响应。我可以通过切换到另一个 tty 并重新启动 gdm 服务来恢复,而无需重新启动,但这(如预期)会关闭所有打开的程序。

我尝试在 12:19 左右登录,所以这可能与“systemd-logind:暂停”日志有关。另一个可疑的事情是“电源按钮:设备已移除”,尽管我不确定这是否出乎意料。我已附上我的 syslog、hwifno 和 nvidia-smi 输出。

到目前为止,我尝试使用 Nouveau 驱动程序、使用 470 和 510 版本的 Nvidia 专有驱动程序,并禁用所有 Gnome shell 扩展。我还尝试禁用交换和休眠,以防休眠失败,我还根据另一个论坛上的提示禁用了安全启动。我在 Xorg 上使用无显示缩放,通过显示端口使用两个 4k 显示器。

另一件值得注意的是,这是戴尔预装的 Precision 5820,预装了 Ubuntu,因此它具有一些我找不到太多相关信息的戴尔“Matira”和“Somerville”软件包。

如果我遗漏了任何重要信息,请告诉我。

系统日志: https://gist.github.com/ShaneEverittM/a9a1eac9b7b28486388219166542929e

hwinfo——简短:

cpu:
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 1200 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
                       Intel(R) Xeon(R) W-2255 CPU @ 3.70GHz, 3700 MHz
keyboard:
  /dev/input/event3    ZSA ErgoDox EZ
  /dev/input/event2    AT Translated Set 2 keyboard
  /dev/input/event20   MX Master Keyboard
mouse:
  /dev/input/mice      ZSA ErgoDox EZ
  /dev/input/mice      MX Master Mouse
graphics card:
                       nVidia VGA compatible controller
sound:
                       nVidia Audio device
                       Intel 200 Series PCH HD Audio
storage:
                       Intel C600/X79 series chipset SATA RAID Controller
                       SK hynix Non-Volatile memory controller
                       Intel RAID bus controller
network:
  wls1                 Intel Wireless 8265 / 8275
  eno1                 Intel Ethernet Connection (5) I219-LM
network interface:
  wls1                 Ethernet network interface
  lo                   Loopback network interface
  docker0              Ethernet network interface
  eno1                 Ethernet network interface
  br-59c1c1f0589d      Ethernet network interface
  mpqemubr0            Ethernet network interface
disk:
  /dev/nvme0n1         SK hynix Disk
  /dev/sda             Generic SD/MMC CRW
partition:
  /dev/nvme0n1p1       Partition
  /dev/nvme0n1p2       Partition
  /dev/nvme0n1p3       Partition
usb controller:
                       Intel JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016]
                       Intel 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
bios:
                       BIOS
bridge:
                       Intel 200 Series PCH PCI Express Root Port #1
                       Intel JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]
                       Intel C422 Chipset LPC/eSPI Controller
                       Texas Instruments XIO2001 PCI Express-to-PCI Bridge
                       Intel JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]
                       Intel Sky Lake-E DMI3 Registers
                       Intel JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]
                       Intel Sky Lake-E PCI Express Root Port D
                       Intel JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]
                       Intel 200 Series PCH PCI Express Root Port #9
                       Intel 200 Series PCH PCI Express Root Port #7
                       Intel Sky Lake-E PCI Express Root Port A
                       Intel JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]
                       Intel Sky Lake-E PCI Express Root Port C
                       Intel Sky Lake-E PCI Express Root Port A
hub:
                       Realtek 4-Port USB 2.0 Hub
                       Linux Foundation 2.0 root hub
                       Realtek 4-Port USB 3.0 Hub
                       Linux Foundation 3.0 root hub
                       Linux Foundation 2.0 root hub
                       Linux Foundation 3.0 root hub
memory:
                       Main Memory
bluetooth:
                       Intel Bluetooth Device
unknown:
                       FPU
                       DMA controller
                       PIC
                       Keyboard controller
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E LM Channel 2
                       Intel 200 Series/Z370 Chipset Family Power Management Controller
                       Intel Sky Lake-E PCU Registers
                       Intel Sky Lake-E LMDP Channel 1
                       Intel Sky Lake-E Ubox Registers
                       Intel Sky Lake-E IOxAPIC Configuration Registers
                       Intel Performance counters
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CBDMA Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E LMS Channel 2
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E IOxAPIC Configuration Registers
                       Intel Sky Lake-E PCU Registers
                       Intel Sky Lake-E LM Channel 1
                       Intel Sky Lake-E RAS Configuration Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CBDMA Registers
                       Intel Sky Lake-E DECS Channel 2
                       Intel Sky Lake-E LMS Channel 1
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E RAS Configuration Registers
                       Intel Sky Lake-E PCU Registers
                       Intel Sky Lake-E Integrated Memory Controller
                       Intel Sky Lake-E VT-d
                       Intel Sky Lake-E Integrated Memory Controller
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CBDMA Registers
                       Intel Sky Lake-E M3KTI Registers
                       Intel Sky Lake-E IOxAPIC Configuration Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E Integrated Memory Controller
                       Intel Sky Lake-E M2PCI Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E VT-d
                       Intel 200 Series PCH CSME HECI #1
                       Intel Sky Lake-E Integrated Memory Controller
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Performance counters
                       Intel Sky Lake-E RAS Configuration Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E Integrated Memory Controller
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E M2PCI Registers
                       Intel Sky Lake-E CBDMA Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E VT-d
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E LMS Channel 2
                       Intel Sky Lake-E Integrated Memory Controller
                       Intel Sky Lake-E PCU Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E Ubox Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CBDMA Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E LMDP Channel 2
                       Intel JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016]
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E Integrated Memory Controller
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E DECS Channel 2
                       Intel Sky Lake-E PCU Registers
                       Intel Sky Lake-E LMS Channel 1
                       Intel Sky Lake-E M2PCI Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CBDMA Registers
                       Intel Sky Lake-E LM Channel 2
                       Intel Sky Lake-E LMDP Channel 1
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E PCU Registers
                       Intel Sky Lake-E Integrated Memory Controller
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CBDMA Registers
                       Intel Sky Lake-E M3KTI Registers
                       Intel Sky Lake-E LM Channel 1
                       Intel Performance counters
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E IOAPIC
                       Intel Sky Lake-E PCU Registers
                       Intel Sky Lake-E Integrated Memory Controller
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E M3KTI Registers
                       Intel Sky Lake-E CHA Registers
                       Intel 200 Series PCH Thermal Subsystem
                       Intel Sky Lake-E Integrated Memory Controller
                       Intel Sky Lake-E CHA Registers
                       Intel Performance counters
                       Intel Sky Lake-E RAS
                       Intel Sky Lake-E Integrated Memory Controller
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E M2PCI Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E LMDP Channel 2
                       Intel Sky Lake-E Integrated Memory Controller
                       Intel 200 Series/Z370 Chipset Family SMBus Controller
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E Ubox Registers
                       Intel Sky Lake-E MM/Vt-d Configuration Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CBDMA Registers
                       Intel Sky Lake-E CHA Registers
                       Intel Sky Lake-E CHA Registers
                       Serial controller
                       ZSA ErgoDox EZ
  /dev/ttyUSB0         Cygnal Integrated CP2102/CP2109 UART Bridge Controller [CP210x family]
                       Future Technology Devices International FT232H Single HS USB-UART/FIFO IC
  /dev/ttyUSB1         Cygnal Integrated CP210x UART Bridge

NVIDIA-SMI:

Mon Feb 28 12:56:56 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.47.03    Driver Version: 510.47.03    CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA T600         Off  | 00000000:91:00.0  On |                  N/A |
| 38%   42C    P5    N/A /  41W |   1798MiB /  4096MiB |      5%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A    264874      G   /usr/lib/xorg/Xorg                213MiB |
|    0   N/A  N/A    265114      G   /usr/lib/xorg/Xorg                979MiB |
|    0   N/A  N/A    265472      G   /usr/bin/gnome-shell               93MiB |
|    0   N/A  N/A    266020      G   ...AAAAAAAAA= --shared-files       74MiB |
|    0   N/A  N/A    267981      G   /usr/lib/firefox/firefox          372MiB |
|    0   N/A  N/A    268392      G   /usr/lib/firefox/firefox            1MiB |
|    0   N/A  N/A    268447      G   /usr/lib/firefox/firefox            1MiB |
|    0   N/A  N/A    271041      G   .../debug.log --shared-files       50MiB |
+-----------------------------------------------------------------------------+

答案1

您可以尝试重新安装 lightdm 并重新启动

sudo apt autoremove lightdm --purge
sudo apt install lightdm
sudo reboot

如果不行的话,也重新安装 gdm3

sudo apt autoremove gdm3 --purge
sudo apt install gdm3
sudo reboot

相关内容