我把3440x1440显示器连接到了我的Ubuntu笔记本电脑上。笔记本电脑检测和使用屏幕的默认分辨率较低,为2560x1440,在显示设置中没有更高的选项可用。
我使用了以下命令来添加自定义解析:
sudo xrandr --newmode "3440x1440_60.00" 419.50 3440 3696 4064 4688 1440 1443 1453 1493 -hsync +vsync
sudo xrandr --addmode HDMI-2 "3440x1440_60.00"它确实会将设置添加到设置屏幕上。但是当我尝试应用它时,它立即切换到2560x1440。
此显示器可由另一台计算机(非Ubuntu)以完全分辨率正确自动检测和使用.
我已经检查了我的grub不包含nomodeset。我还检查了我的GPU是否支持更高的分辨率(Intel UHD Graphics 620)。
如何解决此问题?
发布于 2020-08-23 01:21:03
首先,您不需要将sudo与xrandr结合使用。
其次,您需要运行cvt才能将设置传递给xrandr --newmode。例如(在我的4K电视上):
cvt -v 3840 2160 56
Warning: Refresh Rate is not CVT standard (50, 60, 75 or 85Hz).
# 3840x2160 55.98 Hz (CVT) hsync: 124.95 kHz; pclk: 661.75 MHz
Modeline "3840x2160_56.00" 661.75 3840 4152 4568 5296 2160 2163 2168 2232 -hsync +vsync然后将Modeline输出复制为xrandr --newmode的输入:
$ xrandr --newmode "3840x2160_56.00" 661.75 3840 4152 4568 5296 2160 2163 2168 2232 -hsync +vsync
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 52
Current serial number in output stream: 52在这种情况下,刷新率太高,所以我将其降低到54 Hz,并重复了这个过程。
https://askubuntu.com/questions/1266270
复制相似问题