检测到外部 HDMI 显示器,但无法正常工作

San*_*ong 8 display multiple-monitors hdmi usb-c

我在 Ubuntu 16.04 上使用戴尔 XPS 13 9360。它没有 HDMI 插槽,所以我有一个 USB-C-to-HDMI 适配器,然后连接到我的显示器:DELL S2240L。

在 中System Settings > Displays,我可以看到显示器已正确检测并已打开。如果我尝试将鼠标光标移出笔记本电脑屏幕并移入外部显示区域,我可以看到光标离开笔记本电脑屏幕。如果我继续将光标移得更远并尝试向后移,则需要一些时间才能重新出现在我的笔记本电脑屏幕上,因此甚至还有光标移动到的显示“空间”。

但是,显示器一直说“无信号”,因此进入省电模式。我很确定适配器没有问题,因为计算机正在检测显示器。当连接到不同的 (Windows) 桌面时,显示器也能正常工作。

这是运行的结果sudo 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: 02
   width: 64 bits
   clock: 33MHz
   capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
   configuration: driver=i915 latency=0
   resources: irq:286 memory:db000000-dbffffff memory:90000000-9fffffff ioport:f000(size=64) memory:c0000-dffff
Run Code Online (Sandbox Code Playgroud)

xrandr

Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 294mm x 165mm
   1920x1080     59.93*+
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   960x600       60.00  
   960x540       59.99  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   800x512       60.17  
   700x525       59.98  
   640x512       60.02  
   720x450       59.89  
   640x480       60.00    59.94  
   680x384       59.80    59.96  
   576x432       60.06  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
DP-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 476mm x 267mm
   1920x1080i    60.00*   50.00    59.94  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP-2 disconnected (normal left inverted right x axis y axis)
Run Code Online (Sandbox Code Playgroud)

任何建议/见解?

小智 8

我在使用 USB-C da200 适配器运行 Ubuntu 16.04 的 Dell XPS 13 9360 上遇到了同样的问题。尝试将第二个屏幕的分辨率设置为较低的值,例如 1440x900 或更低。如果这使得第二个屏幕可以工作(就像我所做的那样),那么您就会遇到适配器的错误,详细信息如下:

https://bugs.freedesktop.org/show_bug.cgi?id=93578

更新内核为我解决了这个问题。我使用的是内核 4.10.xx,升级到内核 4.12.14 对我有用。


mar*_*rko 0

试试这个,看看它是否有效:

xrandr --output eDP-1 --mode 1920x1080 --output DP-1 --mode 1920x1080 --same-as eDP-1
Run Code Online (Sandbox Code Playgroud)

看看它是否有效。这应该创建一个镜像,但这正是我们首先要测试的,我们要测试镜像是否有效。然后我们就可以继续前进了。

我(从字面上)从来没有运气按照我想要的方式从任何图形实用程序设置我的显示器设置,所以我通过 xrandr 求助于命令行,并且在我的情况下让它完美地工作。