Ubuntu 18.04 中未检测到第二个显示器

Ubuntu 18.04 中未检测到第二个显示器

我正在连接 HDMI 电缆。它本来可以工作,但由于某种原因停止工作了,这是我到目前为止所做的吗?

  • 重启电脑,重新连接;
  • 进入配置并检查显示是否出现,如果不存在则不显示;
  • 重新启动监视器。
  • 尝试使用另一根电缆连接另一台显示器,结果出现了同样的情况。
  • 尝试了同一台笔记本电脑上的其他操作系统,出现了同样的情况。
  • 用另一台笔记本电脑检查了同一张桌子和显示器,它起作用了。

我的配置:

  • Ubuntu 18.04.3 LTS
  • 显卡 英特尔® 高清显卡 620 (Kaby Lake GT2)

内核信息:

Linux insp-7560 4.15.0-55-generic #60-Ubuntu SMP 2019 年 7 月 2 日星期二 18:22:20 UTC x86_64 x86_64 x86_64 GNU/Linux

输出中存在一些错误dmesg

[  270.143265] usb 1-1: USB disconnect, device number 2
[  274.629530] usb 1-3: USB disconnect, device number 3
[  452.691211] pcieport 0000:00:1c.4: AER: Corrected error received: id=00e4
[  452.691221] pcieport 0000:00:1c.4: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e4(Transmitter ID)
[  452.691228] pcieport 0000:00:1c.4:   device [8086:9d14] error status/mask=00001000/00002000
[  452.691232] pcieport 0000:00:1c.4:    [12] Replay Timer Timeout  
[  641.941847] pcieport 0000:00:1c.4: AER: Corrected error received: id=00e4
[  641.941865] pcieport 0000:00:1c.4: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e4(Transmitter ID)
[  641.941875] pcieport 0000:00:1c.4:   device [8086:9d14] error status/mask=00001000/00002000
[  641.941883] pcieport 0000:00:1c.4:    [12] Replay Timer Timeout  
[  696.176349] pcieport 0000:00:1c.4: AER: Corrected error received: id=00e4
[  696.176367] pcieport 0000:00:1c.4: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e4(Transmitter ID)
[  696.176378] pcieport 0000:00:1c.4:   device [8086:9d14] error status/mask=00001000/00002000
[  696.176386] pcieport 0000:00:1c.4:    [12] Replay Timer Timeout  
[  700.334881] rfkill: input handler enabled
[  716.100019] rfkill: input handler disabled
[ 1104.383811] pcieport 0000:00:1c.4: AER: Corrected error received: id=00e4
[ 1104.383822] pcieport 0000:00:1c.4: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e4(Transmitter ID)
[ 1104.383828] pcieport 0000:00:1c.4:   device [8086:9d14] error status/mask=00001000/00002000
[ 1104.383832] pcieport 0000:00:1c.4:    [12] Replay Timer Timeout  
[ 1126.232837] pcieport 0000:00:1c.4: AER: Corrected error received: id=00e4
[ 1126.232861] pcieport 0000:00:1c.4: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e4(Transmitter ID)
[ 1126.232884] pcieport 0000:00:1c.4:   device [8086:9d14] error status/mask=00001000/00002000
[ 1126.232896] pcieport 0000:00:1c.4:    [12] Replay Timer Timeout  
[ 1501.322758] dell_wmi: Unknown WMI event type 0x12

的输出xrandr为:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.03*+  60.01    59.97    59.96    59.93    48.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)  

答案1

正如评论中提到的。

错误输出显示:

[  452.691211] pcieport 0000:00:1c.4: AER: Corrected error received: id=00e4
[  452.691221] pcieport 0000:00:1c.4: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e4(Transmitter ID)
[  452.691228] pcieport 0000:00:1c.4:   device [8086:9d14] error status/mask=00001000/00002000
[  452.691232] pcieport 0000:00:1c.4:    [12] Replay Timer Timeout  

您可能遇到了有关 PCIe Lower State 的问题。您需要在 GRUB 中禁用此功能。

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=noaer"

保存了您的/etc/default/grubsudo update-grub最终重新启动您的系统。

希望这可以帮助。

相关内容