我在带有 CRT 显示器的计算机上安装了 Ubuntu14.04 64 位。在 Windows 中,我可以将显示器的刷新率设置为 85Hz。但 Ubuntuxrandr
报告称 1024x756 的最大频率为 60Hz。有没有办法来解决这个问题?
我在 repo 中安装了当前的 nvidia Ubuntu 驱动程序;没有改变。
编辑1:
$ xrandr --properties
Screen 0: minimum 8 x 8, current 1024 x 768, maximum 8192 x 8192
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
SignalFormat: VGA
supported: VGA
ConnectorType: DVI-I
ConnectorNumber: 0
_ConnectorLocation: 0
VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
SignalFormat: VGA
supported: VGA
ConnectorType: VGA
ConnectorNumber: 1
_ConnectorLocation: 2
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)
SignalFormat: TMDS
supported: TMDS
ConnectorType: DVI-I
ConnectorNumber: 0
_ConnectorLocation: 0
编辑2:
$ gtf 1024 756 85
# 1024x756 @ 85.00 Hz (GTF) hsync: 67.49 kHz; pclk: 92.87 MHz
Modeline "1024x756_85.00" 92.87 1024 1088 1200 1376 756 757 760 794 -HSync +Vsync
$ xrandr --newmode "1024x756_85.00" 92.87 1024 1088 1200 1376 756 757 760 794 -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: 27
Current serial number in output stream: 27
编辑3:
$ xrandr --newmode "myrate" 92.87 1024 1088 1200 1376 756 757 760 794 -HSync +Vsync
$ xrandr --addmode VGA-0 myrate
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: 27
Current serial number in output stream: 28
答案1
如果您确定您的显示器支持所需的配置,您可以为屏幕添加新模式。
首先,请求gtf
格式正确的模式行:
> gtf 1024 756 85
# 1024x756 @ 85.00 Hz (GTF) hsync: 67.49 kHz; pclk: 92.87 MHz
Modeline "1024x756_85.00" 92.87 1024 1088 1200 1376 756 757 760 794 -HSync +Vsync
然后使用 的输出创建新模式gtf
。
xrandr --newmode "1024x756_85.00" 92.87 1024 1088 1200 1376 756 757 760 794 -HSync +Vsync
将模式添加到输出(可能是 VGA-0、DVI-1 等):
xrandr --addmode VGA-0 1024x756_85.00
最后选择新模式:
xrandr --output VGA-0 --mode 1024x756_85.00
来源:Ubuntu论坛