Ubuntu 外接显示器分辨率大于 1920x1080 的问题

Ubuntu 外接显示器分辨率大于 1920x1080 的问题

我有一台装有 Ubuntu 22.04 的 Dell i7 iRis xe Graphics 笔记本电脑,我无法在外接显示器上设置高于 1920x1080 的分辨率

除了使用 chatgpt 看看是否可以给我提供替代方案外,我还搜索了整个论坛,但我无法解决我的问题。

我有一台技嘉显示器,其分辨率最高可达 2560 像素 x 1440 像素,频率最高可达 165 Hz。分辨率类型 QHD

我有一台与这款非常相似的笔记本电脑,是戴尔 Inspirion i5 iRIS xe,我把它放在技嘉显示器上,2560x1440 的分辨率很好,它甚至还给我提供了 3440x1440 的选项

我试过:

Install ubuntu 22.10 update kernel.
Install ubuntu 20.04 update kernel, update it to 22.04.
Install ubuntu 22.04 upgrade kernel
Install graphics manually

上述选项对我都不起作用。

尝试以下

cvt 2560 1440 60
cvt --reduced 2560 1440 60
cvt 2560 1440 33

我也无法使其中一些分辨率生效,唯一一次产生效果并导致我的显示器黑屏并出现信号超出范围之类的消息是在使用 ubuntu 20.04 时使用以下命令:

xrandr --newmode "2560x1440_33.00" 162.75 2560 2696 2960 3360 1440 1443 1448 1470 -hsync +vsync
xrandr --addmode HDMI-1 2560x1440_33.00
xrandr --output HDMI-1 --mode 2560x1440_33.00

在 ubuntu 22.04 中,我在 xrandr 中有以下内容

Screen 0: minimum 16 x 16, current 1920 x 2160, maximum 32767 x 32767
XWAYLAND0 connected primary 1920x1080+0+1080 (normal left inverted right x axis y axis) 340mm x 190mm
    1920x1080 59.96*+
    1440x1080 59.99
    1400x1050 59.98
    1280x1024 59.89
    1280x960 59.94
    1152x864 59.96
    1024x768 59.92
    800x600 59.86
    640x480 59.38
    320x240 59.52
    1680x1050 59.95
    1440x900 59.89
    1280x800 59.81
    720x480 59.71
    640x400 59.95
    320x200 58.96
    1600x900 59.95
    1368x768 59.88
    1280x720 59.86
    1024x576 59.90
    864x486 59.92
    720x400 59.55
    640x350 59.77
XWAYLAND1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
    1920x1080 59.96*+
    1440x1080 59.99
    1400x1050 59.98
    1280x1024 59.89
    1280x960 59.94
    1152x864 59.96
    1024x768 59.92
    800x600 59.86
    640x480 59.38
    320x240 59.52
    1680x1050 59.95
    1440x900 59.89
    1280x800 59.81
    720x480 59.71
    640x400 59.95
    320x200 58.96
    1600x900 59.95
    1368x768 59.88
    1280x720 59.86
    1024x576 59.90
    864x486 59.92
    720x400 59.55
    640x350 59.77

如果我尝试执行以下选项:

cvt 2560 1440 60
# 2560x1440 59.96Hz (CVT 3.69M9) hsync: 89.52kHz; pclk: 312.25 MHz
Modeline "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync

然后我放

xrandr --newmode "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync

然后

xrandr --addmode XWAYLAND1 2560x1440_60.00
I also tried with
xrandr --addmode XWAYLAND1 "2560x1440_60.00"

最后

xrandr --output XWAYLAND1 --mode 2560x1440_60.00

X Error of failed request: BadValue (integer parameter out of range for operation)
   Major opcode of failed request: 139 (RANDR)
   Minor opcode of failed request: 21 (RRSetCrtcConfig)
   Value in failed request: 0x0
   Serial number of failed request: 29
   Current serial number in output stream: 29

这将是我当前的图形驱动程序

sudo lshw -C display

*-display                 
       descripción: VGA compatible controller
       producto: TigerLake-LP GT2 [Iris Xe Graphics]
       fabricante: Intel Corporation
       id físico: 2
       información del bus: pci@0000:00:02.0
       nombre lógico: /dev/fb0
       versión: 01
       anchura: 64 bits
       reloj: 33MHz
       capacidades: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuración: depth=32 driver=i915 latency=0 mode=1920x1080 resolution=1920,1080 visual=truecolor xres=1920 yres=1080
       recursos: iomemory:600-5ff iomemory:400-3ff irq:157 memoria:6002000000-6002ffffff memoria:4000000000-400fffffff ioport:4000(size=64) memoria:c0000-dffff memoria:4010000000-4016ffffff memoria:4020000000-40ffffffff

来自 get-edid 的更多信息

This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
Problem requesting slave address: Device or resource busy
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
No EDID on bus 5
No EDID on bus 6
No EDID on bus 7
No EDID on bus 8
No EDID on bus 9
No EDID on bus 10
No EDID on bus 11
2 potential busses found: 4 12
Will scan through until the first EDID is found.
Pass a bus number as an option to this program to go only for that one.
Checksum Correct

Section "Monitor"
    Identifier "G27QC A"
    ModelName "G27QC A"
    VendorName "GBT"
    # Monitor Manufactured week 50 of 2021
    # EDID version 1.3
    # Digital Display
    DisplaySize 600 340
    Gamma 2.20
    Option "DPMS" "true"
    Horizsync 30-222
    VertRefresh 48-144
    # Maximum pixel clock is 600MHz
    #Not giving standard mode: 1920x1080, 60Hz
    #Not giving standard mode: 1280x720, 60Hz
    #Not giving standard mode: 1280x960, 60Hz
    #Not giving standard mode: 1280x1024, 60Hz
    #Not giving standard mode: 1440x900, 60Hz
    #Not giving standard mode: 1680x1050, 60Hz
    #Not giving standard mode: 1280x720, 120Hz

    #Extension block found. Parsing...
#WARNING: I may have missed a mode (CEA mode 75)
#WARNING: I may have missed a mode (CEA mode 76)
#WARNING: I may have missed a mode (CEA mode 63)
#WARNING: I may have missed a mode (CEA mode 64)
#WARNING: I may have missed a mode (CEA mode 96)
#WARNING: I may have missed a mode (CEA mode 97)
    Modeline    "Mode 13" 497.75 2560 2608 2640 2720 1440 1443 1448 1525 +hsync -vsync 
    Modeline    "Mode 0" 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync +vsync 
    Modeline    "Mode 1" 592.25 2560 2581 2613 2666 1440 1443 1448 1543 +hsync +vsync 
    Modeline    "Mode 2" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
    Modeline    "Mode 3" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
    Modeline    "Mode 4" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
    Modeline    "Mode 5" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
    Modeline    "Mode 6" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
    Modeline    "Mode 7" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
    Modeline    "Mode 8" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    Modeline    "Mode 9" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
    Modeline    "Mode 10" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
    Modeline    "Mode 11" 74.250 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync interlace
    Modeline    "Mode 12" 74.250 1920 2448 2492 2640 1080 1082 1089 1125 +hsync +vsync interlace
    Modeline    "Mode 14" 325.08 1920 1944 1976 2056 1080 1083 1088 1098 +hsync +vsync 
    Modeline    "Mode 15" 285.50 1920 1968 2000 2080 1080 1083 1088 1144 +hsync -vsync 
    Option "PreferredMode" "Mode 13"
EndSection
256-byte EDID successfully retrieved from i2c bus 4
Looks like i2c was successful. Have a good day.

请参阅lspci-vnn | grep -i“VGA | 3D”

0000:00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])

正如我之前提到的,我已经降低了频率,并进行了更多测试,我不知道我的笔记本无法检测到的问题是显示器分辨率。

附言:我不想更换操作系统,我一生都使用 Ubuntu 进行编程,并且我的所有生产环境都使用 Ubuntu Server

相关内容