我转到显示器,那里的最大分辨率为 1360x768 (16:9)。但是,在 Windows 8.1 上,我可以拥有 1680x1050(16:10) 的分辨率,没有任何类型的问题。因此,我尝试使用 xrandr 添加自定义分辨率:
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
xrandr --addmode DVI-I-0 "1680x1050_60.00"
Run Code Online (Sandbox Code Playgroud)
但是,在键入最后一个命令后,会出现:
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: 39
Current serial number in output stream: 40
Run Code Online (Sandbox Code Playgroud)
我还输入了 xrandr,我确认 DVI-I-0 是唯一表示已连接的:
Screen 0: minimum 8 x 8, current 1360 x 768, maximum …Run Code Online (Sandbox Code Playgroud)