我刚刚得到一个新的4k显示器LG-27UL500,我使用Ubuntu18.04.5LTS,但我不能设置分辨率高于1920*1080。关于这个话题(举个例子),有一些类似的线索,但它们似乎都不适合我。
也许是因为我的GPU有一个微型显示端口连接器,而且我使用适配器连接到监视器的HDMI?
操作系统: 18.04.5 LTS
GPU:NVIDIA公司GP107GL,Quadro P620,输出=微型显示端口
监视器:LG27UL500,输入= HDMI
GPU驱动程序(与dkms status一起获得):
nvidia, 510.39.01, 4.15.0-167-generic, x86_64: installed
nvidia, 510.39.01, 4.15.0-169-generic, x86_64: installed
nvidia, 510.39.01, 4.15.0-171-generic, x86_64: installed
nvidia, 510.39.01, 4.15.0-173-generic, x86_64: installed
nvidia, 510.39.01, 4.15.0-175-generic, x86_64: installed
nvidia, 510.39.01, 5.4.0-104-generic, x86_64: installed
nvidia, 510.39.01, 5.4.0-105-generic, x86_64: installed
nvidia, 510.39.01, 5.4.0-107-generic, x86_64: installed有人建议这个问题可能是一个过时的GPU驱动程序。所以我试着从NVIDIA网站手动下载驱动程序并安装它们。不幸的是,这是我得到的信息:

我试着在启动PC后立即安装驱动程序,但没有改变。
下面是我的xrandr -q的输出:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
1920x1080 60.00*+ 59.94 50.00 29.97 23.98
1600x900 60.00
1280x1024 60.02
1280x800 59.81
1280x720 60.00 59.94
1152x864 60.00
1024x768 60.00
800x600 60.32
720x576 50.00
720x480 59.94
640x480 59.94 59.93
DP-6 disconnected (normal left inverted right x axis y axis)
DP-7 disconnected (normal left inverted right x axis y axis)
3840x2160_24.00 (0x2e9) 266.750MHz -HSync +VSync
h: width 3840 start 4056 end 4456 total 5072 skew 0 clock 52.59KHz
v: height 2160 start 2163 end 2168 total 2192 clock 23.99Hz
3840x2160_60.00 (0x367) 712.340MHz -HSync +VSync
h: width 3840 start 4152 end 4576 total 5312 skew 0 clock 134.10KHz
v: height 2160 start 2161 end 2164 total 2235 clock 60.00Hz但是,如果我试图使用命令xrandr --addmode DP-5 3840x2160_60.00 (或24.00而不是60.00)激活3840x2160模式,我得到的结果如下:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 43
Current serial number in output stream: 44我还得试着用没有适配器的电缆,我希望今天能找到一个!
发布于 2022-04-15 00:35:32
我也有过类似的问题,我也试过和xrandr一起玩.
唯一对我起作用的是用一个4k功能的迷你显示端口替换迷你显示端口适配器到HDMI2.1电缆。
在您的情况下,由于监视器支持它,请使用一个微型显示端口来显示端口电缆,因为这些端口往往比微型DP到HDMI适配器更可靠。
发布于 2022-04-15 17:50:11
xrandr是什么?这一问题已在任择议定书的评论中发表。
在命令行类型:xrandr -q
DP-1-1 connected 3840x2160+1920+0 (normal left inverted right x axis y axis) 1600mm x 900mm
3840x2160_54.00 53.98*+
3840x2160 30.00 + 24.00 29.97 23.98
4096x2160 24.00 23.98
1920x1080 60.00 59.94 30.00 24.00 29.97 23.98
1920x1080i 60.00 59.94
1680x1050 59.88
1280x1024 60.02
1440x900 59.90
1280x960 60.00
1280x800 74.93 59.91
1280x768 59.87
1280x720 60.00 30.00 59.94 29.97 24.00 23.98
1024x768 60.00
800x600 60.32 56.25
720x480 60.00 59.94
640x480 60.00 59.94
720x400 70.08 上面是一个正在工作的4K屏幕的例子。与您自己一样,也使用自定义的dongle将ThunderBolt 3转换为HDMI。因此,必须设置54 Hz的自定义刷新频率。
首先,将您自己的xrandr -q输出放到您的问题中。然后每个人都可以帮助你微调你的设置从那里。
发布于 2022-04-15 22:57:39
对于UHD (3840x2160)在60 For,HDMI 1.4是最低要求。
适配器可能是问题所在,这取决于它提供的HDMI版本。
如前所述,您可以使用xrandr检查是否存在4k的配置文件,如果不存在,则可以使用xrandr和gtf创建模式解析。
首先使用gtf创建模式线60 is framerate,如果您的监视器支持它,您可以设置更高的框架,如果使用HDMI2.1电缆
gtf 3840 2160 60 这会产生像这样的东西
# 3840x2160 @ 60.00 Hz (GTF) hsync: 134.10 kHz; pclk: 712.34 MHz
Modeline "3840x2160_60.00" 712.34 3840 4152 4576 5312 2160 2161 2164 2235 -HSync +Vsync然后,使用前面命令中的xrandr和参数创建一个新的模式。
xrandr --newmode "3840x2160_60.00" 712.34 3840 4152 4576 5312 2160 2161 2164 2235 -HSync +Vsync现在您需要将模式添加到所需的输出,在您的示例中,它似乎是HDMI-0。
xrandr --addmode HDMI-0 3840x2160_60最后应用新模式
xrandr --output HDMI-0 --mode 3840x2160_60如果这样做不起作用,也许您应该考虑使用MiniDisplayPort到DisplayPort电缆来避免适配器
编辑:
将垂直和水平刷新速率添加到监视器部分的Xorg.conf中
Section "Monitor
Identifier "External Monitor"
Vendor "LG"
ModelName "LG-27UL500"
HorizSync 30-82
VertRefresh 56-76
EndSection重新启动Xorg或重新引导,它应该可以工作。
干杯
https://askubuntu.com/questions/1402110
复制相似问题