更新至 20.04 LTS 后 HDMI-1 未连接到显示器

更新至 20.04 LTS 后 HDMI-1 未连接到显示器

在从 18.04 更新到 20.04 之前,我可以使用 HDMI 连接到我的旧 HANNS-G HSG1078 显示器,现在所有连接都丢失了!该显示器仍可在其他计算机上正常工作。

以下是我能找到的所有背景信息:

首先,结果来自xrandr -q --verbose

HDMI-1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x43
Timestamp:  787662
Subpixel:   unknown
Clones:    
CRTCs:      0 1 2
Transform:  1.000000 0.000000 0.000000
            0.000000 1.000000 0.000000
            0.000000 0.000000 1.000000
           filter: 
HDCP Content Type: HDCP Type0 
    supported: HDCP Type0, HDCP Type1
Content Protection: Undesired 
    supported: Undesired, Desired, Enabled
max bpc: 12 
    range: (8, 12)
content type: No Data 
    supported: No Data, Graphics, Photo, Cinema, Game
Colorspace: Default 
    supported: Default, SMPTE_170M_YCC, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, DCI-P3_RGB_Theater
aspect ratio: Automatic 
    supported: Automatic, 4:3, 16:9
Broadcast RGB: Automatic 
    supported: Automatic, Full, Limited 16:235
audio: auto 
    supported: force-dvi, off, auto, on
link-status: Good 
    supported: Good, Bad
CONNECTOR_ID: 92 
    supported: 92
non-desktop: 0 
    range: (0, 1)

lspci | grep VGA给出:

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
00:1f.5 Non-VGA unclassified device: Intel Corporation Device 9d24 (rev 21)

似乎有 2 个内核驱动程序正在使用中:

 lspci -nnk | grep -i vga -A3 | grep 'in use'
 Kernel driver in use: i915
 Kernel driver in use: ath9k

我尝试使用 HANNS-G 手册中的值来指定分辨率(https://manualsbrain.com/en/manuals/1288455/?page=14)像这样:

xrandr --addmode HDMI-1 "1680x1050"

但还是没连接上。希望有人能发现问题所在。

答案1

终于成功恢复连接了!基本上按照以下步骤操作:

https://unix.stackexchange.com/questions/227876/how-to-set-custom-resolution-using-xrandr-when-the-resolution-is-not-available-i

gtf 1920 1080 60

# 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz
Modeline "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync

xrandr --newmode "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
xrandr --addmode HDMI-1 "1920x1080_60.00"
xrandr --output HDMI-1 --mode "1920x1080_60.00"

相关内容