如何设置自定义分辨率

如何设置自定义分辨率

我正在尝试让我的旧 1280x1024 显示器(连接到 DVI-I-0)与 Ubuntu 配合使用。我尝试的显示器是旧的 AOC VGA 显示器,通过 DVI-I 到 VGA 适配器连接到 Nvidia GTX960。我尝试使用 添加模式xrandr,但没有成功。

我曾尝试运行:

sudo xrandr --newmode "1280x1024_60.00" 109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync

进而

sudo xrandr --addmode 1280x1024_60.00

但命令返回错误:

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:  47
  Current serial number in output stream:  48

xrandr 的输出:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
DVI-I-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0 +
   1360x768       60.0     59.8  
   1152x864       60.0  
   800x600        72.2     60.3     56.2  
   680x384        60.0     59.8  
   640x480        59.9  
   512x384        60.0  
   400x300        72.2  
   320x240        60.1  
DVI-I-1 disconnected (normal left inverted right x axis y axis)
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)
HDMI-0 connected primary 1360x768+1024+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   1360x768       60.0*+
   1920x1080      60.0     59.9     50.0     30.0     25.0     24.0     60.1     60.0     50.0  
   1280x720       60.0     59.9     50.0  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3  
   720x576        50.0     50.1  
   720x480        59.9  
   640x480        60.0     59.9     59.9  
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

‘cvt 1280 1024’ 的输出

# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync

相关内容