我最近收到了一台 30 英寸的 Apple Cinema Display,除了 1200x800 之外,我无法使用任何其他分辨率。我的电脑是台式机,配有 ASUS Strix AMD RX480 和 AMD Ryzen 1800x。
我尝试使用显卡上的 DVI 连接直接连接到显示器,并在两者之间使用 HDMI 适配器。我还进行了更新并尝试通过 Wayland 或 Classic 登录。
这是我的lspci -nn
⇒ lspci -nn
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex [1022:1450]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit [1022:1451]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge [1022:1453]
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [1022:1454]
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge [1022:1452]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B [1022:1454]
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 59)
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0 [1022:1460]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1 [1022:1461]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2 [1022:1462]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3 [1022:1463]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4 [1022:1464]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5 [1022:1465]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric Device 18h Function 6 [1022:1466]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7 [1022:1467]
01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 [144d:a804]
03:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b9] (rev 02)
03:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b5] (rev 02)
03:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43b0] (rev 02)
04:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
04:01.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
04:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
04:03.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
04:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
04:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
04:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port [1022:43b4] (rev 02)
05:00.0 Network controller [0280]: Intel Corporation Device [8086:24fb] (rev 10)
06:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
0c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] [1002:67df] (rev c7)
0c:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 580] [1002:aaf0]
11:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:145a]
11:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor [1022:1456]
11:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) USB 3.0 Host Controller [1022:145c]
12:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:1455]
12:00.2 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
12:00.3 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller [1022:1457]
答案1
xorg 可能不喜欢显示器 EDID 中的其他分辨率,您是否检查过您的 xorg.0.log?当我检查我的 xorg.0.log 时,我发现完整分辨率的模式行被拒绝了。
您可以使用 xrandr 手动将其添加回来,并且可以使用每个帐户的 .xprofile 使更改持久化。
您可以通过读取 xorg.0.log 文件中的 EDID 部分来做到这一点,我的如下所示:
[ 1605.612] (II) modeset(0): EDID for output DP-1
[ 1605.612] (II) modeset(0): Manufacturer: APP Model: 9221 Serial#: 33558015
[ 1605.612] (II) modeset(0): Year: 2007 Week: 17
[ 1605.612] (II) modeset(0): EDID Version: 1.3
[ 1605.612] (II) modeset(0): Digital Display Input
[ 1605.612] (II) modeset(0): Max Image Size [cm]: horiz.: 64 vert.: 40
[ 1605.612] (II) modeset(0): Gamma: 2.20
[ 1605.612] (II) modeset(0): DPMS capabilities: Off
[ 1605.612] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 1605.612] (II) modeset(0): First detailed timing not preferred mode in violation of standard!
[ 1605.612] (II) modeset(0): redX: 0.640 redY: 0.343 greenX: 0.292 greenY: 0.611
[ 1605.612] (II) modeset(0): blueX: 0.146 blueY: 0.074 whiteX: 0.313 whiteY: 0.329
[ 1605.612] (II) modeset(0): Manufacturer's mask: 0
[ 1605.612] (II) modeset(0): Supported detailed timing:
[ 1605.612] (II) modeset(0): clock: 71.0 MHz Image Size: 641 x 401 mm
[ 1605.612] (II) modeset(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0
[ 1605.612] (II) modeset(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0
[ 1605.612] (II) modeset(0): Supported detailed timing:
[ 1605.612] (II) modeset(0): clock: 268.0 MHz Image Size: 641 x 401 mm
[ 1605.612] (II) modeset(0): h_active: 2560 h_sync: 2608 h_sync_end 2640 h_blank_end 2720 h_border: 0
[ 1605.612] (II) modeset(0): v_active: 1600 v_sync: 1603 v_sync_end 1609 v_blanking: 1646 v_border: 0
[ 1605.612] (II) modeset(0): Serial No: CY71733DXMP
[ 1605.613] (II) modeset(0): Monitor name: Cinema HD
[ 1605.613] (II) modeset(0): Number of EDID sections to follow: 1
[ 1605.613] (II) modeset(0): EDID (in hex):
[ 1605.613] (II) modeset(0): 00ffffffffffff0006102192ff0d0002
[ 1605.613] (II) modeset(0): 111101038040287828fe85a3574a9c25
[ 1605.613] (II) modeset(0): 13505400000001010101010101010101
[ 1605.613] (II) modeset(0): 010101010101bc1b00a0502017303020
[ 1605.613] (II) modeset(0): 360081912100001ab06800a0a0402e60
[ 1605.613] (II) modeset(0): 3020360081912100001a000000ff0043
[ 1605.613] (II) modeset(0): 59373137333344584d500a00000000fc
[ 1605.613] (II) modeset(0): 0043696e656d612048440a0000000155
[ 1605.613] (II) modeset(0): 40010300000000c84801a500a5000102
[ 1605.613] (II) modeset(0): 031919a8000000000000400000000000
[ 1605.613] (II) modeset(0): 00000000000000000000000000000000
[ 1605.613] (II) modeset(0): 00000000000000000000000000000000
[ 1605.613] (II) modeset(0): 00000000000000000000000000000000
[ 1605.613] (II) modeset(0): 00000000000000000000000000000000
[ 1605.613] (II) modeset(0): 00000000000000000000000000000000
[ 1605.613] (II) modeset(0): 00000000000000000000000000000041
[ 1605.613] (II) modeset(0): Printing probed modes for output DP-1
[ 1605.613] (II) modeset(0): Modeline "1280x800"x59.9 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz e)
你可以通过打开终端并输入以下命令来尝试模式行:
xrandr --newmode "2560x1600" 268.00 2560 2608 2640 2720 1600 1603 1609 1646 -hsync +vsync
然后使用以下命令将输出更改为新模式:
xrandr --addmode DISPLAY_ID 2560x1600
xrandr --output DISPLAY_ID --mode 2560x1600
其中“DISPLAY_ID”是 xrandr 输出的显示连接名称,例如“HDMI-1”
通过在每个用户的主目录中创建一个名为“.xprofile”的文本文件并添加以下行来设置您的.xprofile:
#! /bin/sh
xrandr --newmode "2560x1600" 268.00 2560 2608 2640 2720 1600 1603 1609 1646 -hsync +vsync
xrandr --addmode DISPLAY_ID 2560x1600
xrandr --output DISPLAY_ID --mode 2560x1600
像测试一样用显示连接名称替换“DISPLAY_ID”。
注意:我在写这篇文章的时候注意到这个问题已经有几年了,但我想我会继续发布答案,因为当我遇到这个问题时我肯定希望找到它。