只有一个外接显示器工作(Ubuntu 18.04 上的 Lenovo T480)

只有一个外接显示器工作(Ubuntu 18.04 上的 Lenovo T480)

我有两个外接显示器通过 USB-C 和 HDMI 端口(无适配器)连接到联想 T480。系统仅检测通过 USB-C 连接的内置和外接显示器,通过 HDMI 连接的显示器变黑并且没有任何反应。但是当我拔下 USB-C 显示器时,HDMI 显示器开始工作并且系统识别它。顺便说一句,关闭盖子没有帮助 - 情况是一样的 - 只有 USB-C 可以工作(HDMI 仅在 USB-C 断开连接时才可以工作)。

lspci -v | grep -i vga

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) (prog-if 00 [VGA controller])

lshw -c video

  *-display                 
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 07
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:154 memory:e7000000-e7ffffff memory:c0000000-cfffffff ioport:e000(size=64) memory:c0000-dffff

xrandr连接 USB-C(连接 HDMI):

Screen 0: minimum 320 x 200, current 3840 x 1200, maximum 8192 x 8192                         
eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 174mm        
   1920x1080     60.02*+  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)
DP-2 connected primary 1920x1200+1920+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00  
   1600x1200     60.00  
   1680x1050     59.95  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
   720x400       70.08  
HDMI-2 disconnected (normal left inverted right x axis y axis)

xrandr断开 USB-C 连接(连接 HDMI):

Screen 0: minimum 320 x 200, current 3840 x 1200, maximum 8192 x 8192
eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 174mm                                                   

   1920x1080     60.02*+  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)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected primary 1920x1200+1920+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00  
   1600x1200     60.00  
   1680x1050     59.88  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
   720x400       70.08

在此处输入图片描述

答案1

我在 T480 上使用带有 HDMI、电源和其他 USB 端口的 USB-C 集线器时遇到了类似的问题(即使我使用 Windows)。

我的在这种情况下,问题是我使用了错误的 USB-C 端口。我使用的是最左边的 USB-C 端口来为笔记本电脑供电,而不是左边第二个端口,这是唯一支持 Thunderbolt 的端口。

希望这会有所帮助,至少对其他可能看到这篇文章的人有帮助。

答案2

就我而言,我使用的是 65W 电源,而不是 90W。更换电源后,功能就如预期一样。

答案3

适用于 Lenovo T480s 和 dockstation thinkpad 135 W。

解决方法 1:禁用 PageFlip 进行模式设置

最好继续使用“模式设置”驱动程序,但必须禁用页面翻转。为此,请以 root 用户身份创建一个文件 20-displaylink.conf在下面:

/usr/share/X11/xorg.conf.d/

内容如下:

Section "Device"
  Identifier "DisplayLink"
  Driver "modesetting"
  Option "PageFlip" "false"
EndSection

需要重新启动才能使设置生效。

来源: https://support.displaylink.com/knowledgebase/articles/1181623-displaylink-ubuntu-driver-after-recent-x-upgrades

从: https://support.displaylink.com/knowledgebase/topics/103927-troubleshooting-ubuntu

操作步骤:

要创建文件:

cd /usr/share/X11/xorg.conf.d/

touch 20-displaylink.conf

sudo nano 20-displaylink.conf

粘贴内容

Section "Device"
Identifier "DisplayLink"
Driver "modesetting"
Option "PageFlip" "false"
EndSection

然后

control + O

保存

然后

control + x

退出 nano。

然后需要重新启动才能使设置生效。

答案4

我希望我能帮助澄清这个问题。

“请勿同时将外接显示器连接到 USB-C 接口 1 和 HDMI 接口 2。否则,默认情况下只有连接到 USB-C 接口 1 的外接显示器会工作。要更改 USB-C 接口和 HDMI 接口之间的优先级,请启动 ThinkPad Setup 程序。请参阅第 页上的“”,然后在第 页上的“”中配置共享显示优先级。”

相关内容