無法使用外部顯示器的全分辨率

無法使用外部顯示器的全分辨率

我已經將 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 conf 不包含nomodeset.我還檢查了我的 GPU 是否支援更高解析度(Intel UHD Graphics 620)。

我該如何解決這個問題?

答案1

首先,您不需要使用sudowith 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 並重複該過程。

相關內容