我最近安装了 Ubuntu(版本 22.04)。
起初,两个显示器都充当扩展显示器,但它们总是黑屏了启动后不久。
我添加了nomodeset
grub 来阻止显示器变黑。在此配置下,显示器保持打开状态,但它们显示相同的图像(镜子)。
更新我的图形驱动程序(AMD Radeon R9 390)后,我摆脱了黑屏(即使没有nomodeset
grub 文件)但屏幕仍然镜像。
这是有关我的显卡的信息:
$ sudo lshw -C display
*-display UNCLAIMED
description: VGA compatible controller
product: Hawaii PRO [Radeon R9 290/390]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: 80
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list
configuration: latency=0
resources: memory:c0000000-cfffffff memory:d0000000-d07fffff ioport:e000(size=256) memory:dfe00000-dfe3ffff memory:c0000-dffff
*-graphics
product: EFI VGA
physical id: 1
logical name: /dev/fb0
capabilities: fb
configuration: depth=32 resolution=1920,1080
$ lspci -k | grep -EA3 'VGA|3D|Display'
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390] (rev 80)
Subsystem: Gigabyte Technology Co., Ltd Hawaii PRO [Radeon R9 290/390]
Kernel modules: radeon, amdgpu
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
这是我的xrandr
输出:
$ xrandr
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 primary 1920x1080+0+0 0mm x 0mm
1920x1080 77.00*