我有一台运行 Ubuntu 20.04 LTS 的台式计算机,其硬件如下:
- 第 11 代英特尔 i5-11400
- H510I PRO WIFI MSI 主板
- 没有显卡
主板有一个 DisplayPort 和 HDMI 端口。当我将显示器插入任一端口时,该显示器都可以工作。但是,当我插入第二台显示器时,只有插入 HDMI 端口的显示器可以工作。
以下是 的输出sudo lspci -v
:
00:02.0 VGA compatible controller: Intel Corporation Device 4c8b (rev 04) (prog-if 00 [VGA controller])
DeviceName: Onboard - Video
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d16
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at a0000000 (64-bit, non-prefetchable) [size=16M]
Memory at 90000000 (64-bit, prefetchable) [size=256M]
I/O ports at 4000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable- Count=1/1 Maskable+ 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
来自sudo lshw -c video
:
*-display UNCLAIMED
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list
configuration: latency=0
resources: memory:a0000000-a0ffffff memory:90000000-9fffffff ioport:4000(size=64) memory:c0000-dffff
来自xrandr --verbose
:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 (0x529) normal (normal) 0mm x 0mm
Identifier: 0x528
Timestamp: 943886
Subpixel: unknown
Clones:
CRTC: 0
CRTCs: 0
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
non-desktop: 0
supported: 0, 1
1920x1080 (0x529) 159.667MHz *current
h: width 1920 start 0 end 0 total 1920 skew 0 clock 83.16KHz
v: height 1080 start 0 end 0 total 1080 clock 77.00Hz
我尝试了以下方法:
- 安装
mesa-utils
- 浏览论坛上的各个页面,包括Ubuntu 18.04 上未检测到 HDMI(但我的问题似乎不同,因为我在 xrandr 输出中看不到“断开连接”)
- 在英特尔和 MSI 网站上搜索正确的驱动程序
看来我的问题是由于缺少正确的图形驱动程序造成的?更新到最新的 Linux 内核会有帮助吗?
我对 Linux 还很陌生,因此非常迷茫,如果能提供任何帮助,帮助我解决这个问题,我将不胜感激。