全新的 Kubuntu 17.04 安装在带有可插拔三显示 USB-C 扩展坞的 HP Spectre x360 上。
笔记本电脑内部屏幕始终正常工作。我有另外 2 个(全高清)显示器,一个连接到 DVI,另一个连接到 VGA->HDMI。两个连接均通过扩展坞进行。虽然 VGA 显示器似乎处于“活动”状态(不在省电模式,并且在启动时检测到 VGA 连接),但 2 个显示器都是黑色的。
我已经安装了DisplayLink 驱动程序
Kubuntu 的显示配置(也尝试使用 gnome)看到所有 3 个屏幕,所有屏幕均已激活。
xrandr 也能看到一切:
xrandr -q
Screen 0: minimum 320 x 200, current 5760 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 293mm x 165mm
1920x1080 60.00*+ 59.93 40.00
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 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 521mm x 293mm
1920x1080 60.00*+ 50.00 59.94
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 74.98 59.90
1280x960 60.00
1152x864 75.00
1280x720 60.00 50.00 59.94
1440x576 50.00
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
HDMI-2 disconnected (normal left inverted right x axis y axis)
DVI-I-1-1 connected 1920x1080+3840+0 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 60.00*+
1600x1200 60.00
1680x1050 59.95
1280x1024 75.02 60.02
1440x900 74.98 59.89
1280x960 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
848x480 60.00
640x480 75.00 72.81 66.67 59.94
720x400 70.08
1920x1080 (0x6e) 148.500MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
1680x1050 (0x4b) 146.250MHz -HSync +VSync
h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.29KHz
v: height 1050 start 1053 end 1059 total 1089 clock 59.95Hz
1280x1024 (0x74) 135.000MHz +HSync +VSync
h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 79.98KHz
v: height 1024 start 1025 end 1028 total 1066 clock 75.02Hz
1280x1024 (0x4f) 108.000MHz +HSync +VSync
h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 63.98KHz
v: height 1024 start 1025 end 1028 total 1066 clock 60.02Hz
1440x900 (0x75) 136.750MHz -HSync +VSync
h: width 1440 start 1536 end 1688 total 1936 skew 0 clock 70.64KHz
v: height 900 start 903 end 909 total 942 clock 74.98Hz
1440x900 (0x50) 106.500MHz -HSync +VSync
h: width 1440 start 1520 end 1672 total 1904 skew 0 clock 55.93KHz
v: height 900 start 903 end 909 total 934 clock 59.89Hz
1280x960 (0x51) 108.000MHz +HSync +VSync
h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.00KHz
v: height 960 start 961 end 964 total 1000 clock 60.00Hz
1152x864 (0x77) 108.000MHz +HSync +VSync
h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.50KHz
v: height 864 start 865 end 868 total 900 clock 75.00Hz
1024x768 (0x7c) 78.750MHz +HSync +VSync
h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.02KHz
v: height 768 start 769 end 772 total 800 clock 75.03Hz
1024x768 (0x7d) 75.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.48KHz
v: height 768 start 771 end 777 total 806 clock 70.07Hz
1024x768 (0x56) 65.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.36KHz
v: height 768 start 771 end 777 total 806 clock 60.00Hz
832x624 (0x7e) 57.284MHz -HSync -VSync
h: width 832 start 864 end 928 total 1152 skew 0 clock 49.73KHz
v: height 624 start 625 end 628 total 667 clock 74.55Hz
800x600 (0x7f) 50.000MHz +HSync +VSync
h: width 800 start 856 end 976 total 1040 skew 0 clock 48.08KHz
v: height 600 start 637 end 643 total 666 clock 72.19Hz
800x600 (0x80) 49.500MHz +HSync +VSync
h: width 800 start 816 end 896 total 1056 skew 0 clock 46.88KHz
v: height 600 start 601 end 604 total 625 clock 75.00Hz
800x600 (0x5d) 40.000MHz +HSync +VSync
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.88KHz
v: height 600 start 601 end 605 total 628 clock 60.32Hz
800x600 (0x5e) 36.000MHz +HSync +VSync
h: width 800 start 824 end 896 total 1024 skew 0 clock 35.16KHz
v: height 600 start 601 end 603 total 625 clock 56.25Hz
640x480 (0x84) 31.500MHz -HSync -VSync
h: width 640 start 656 end 720 total 840 skew 0 clock 37.50KHz
v: height 480 start 481 end 484 total 500 clock 75.00Hz
640x480 (0x85) 31.500MHz -HSync -VSync
h: width 640 start 664 end 704 total 832 skew 0 clock 37.86KHz
v: height 480 start 489 end 492 total 520 clock 72.81Hz
640x480 (0x86) 30.240MHz -HSync -VSync
h: width 640 start 704 end 768 total 864 skew 0 clock 35.00KHz
v: height 480 start 483 end 486 total 525 clock 66.67Hz
640x480 (0x66) 25.175MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
v: height 480 start 490 end 492 total 525 clock 59.94Hz
720x400 (0x88) 28.320MHz -HSync +VSync
h: width 720 start 738 end 846 total 900 skew 0 clock 31.47KHz
v: height 400 start 412 end 414 total 449 clock 70.08Hz
我能做的最好的事情是:
xrandr --output DVI-I-1-1 --off
xrandr --output DVI-I-1-1 --auto
这会产生一个奇怪的现象:显示器现在打开了,除了最后一行“xrandr --output DVI-I-1-1 --auto”外,显示的是我在内部显示器上的内容的副本。如果我将鼠标移到此屏幕上,则看不到指针。如果我截取屏幕截图(使用shutter
),则会看到并排的 3 个屏幕,其中 #2 和 #3 仅显示背景。
如果我启动一个应用程序并将其(盲目地)移动到第二台显示器并截取屏幕截图,我会看到它在那里。
lshw -c video
*-display
description: VGA compatible controller
produit: Intel Corporation
fabriquant: Intel Corporation
identifiant matériel: 2
information bus: pci@0000:00:02.0
version: 02
bits: 64 bits
horloge: 33MHz
fonctionnalités: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
ressources: irq:288 mémoire:db000000-dbffffff mémoire:50000000-5fffffff portE/S:f000(taille=64) mémoire:c0000-dffff
我在 Xorg.log 中看到的唯一错误是:
[ 6.948] (II) glamor: OpenGL accelerated X.org driver based.
[ 6.963] (II) glamor: EGL version 1.4 (DRI2):
[ 6.963] EGL_MESA_drm_image required.
[ 6.964] (EE) modeset(G0): glamor initialization failed
我不知道下一步该去哪里查看/尝试什么。由于我在 kde 和 gnome 中遇到同样的问题,我认为这是一个 Xorg 问题。
答案1
这DisplayLink
Ubuntu 故障排除页面指出:
在使用英特尔显卡的系统上,将 X Window Server 升级到 1.18.3 以上的版本将导致系统默认与 DisplayLink Ubuntu 软件不兼容。
我正在使用 X.Org X Server 1.19.3
解决方法#1(使用旧的英特尔驱动程序)效果很好:
以 root 用户身份20-displaylink.conf
在下方创建一个文件/usr/share/X11/xorg.conf.d/
内容如下:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
EndSection
然后重新启动。