Cad*_*mez 18 display multiple-monitors intel-graphics display-resolution
我有 3 台显示器,其中一台是 CRT,我需要将它的刷新率提高到 75/80 以消除闪烁,我已经将它与我的 Raspberry Pi 一起使用,它完全支持高达 100Hz。当我使用xrandr
它尝试更改我的第一台显示器时,我希望更改我的第二台显示器。
xrandr
确认我可以做到这一点,
HDMI1 connected 1280x1024+2646+0 (normal left inverted right x axis y axis) 338mm x 270mm
1280x1024 60.02*+ 75.02
1920x1080 60.00 59.94
1152x864 75.00
1280x720 60.00 59.94
1024x768 75.08 60.00
800x600 75.00 60.32
720x480 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
Run Code Online (Sandbox Code Playgroud)
我有英特尔高清显卡 4400。Ubuntu 16.04。
jii*_*ezz 27
方法一
使用以下命令
xrandr --output HDMI1 --rate 75
Run Code Online (Sandbox Code Playgroud)
其中后面的字符串--output
是显示器的名称,后面的数字--rate
是新的刷新率
或者,如果您想在同一命令中确保分辨率也正确
xrandr --output HDMI1 --mode 1280x1024 --rate 75
Run Code Online (Sandbox Code Playgroud)
查看man xrandr
和以下链接以了解更多信息
https://wiki.ubuntu.com/X/Config/Resolution
方法二
你应该有一个文件monitor.xml (~/.config/monitors.xml)
使用您喜欢的文本编辑器编辑文件
vim ~/.config/monitors.xml
Run Code Online (Sandbox Code Playgroud)
您将看到可用的监视器,您应该可以通过名称识别它们。
以下是您将看到的有关监视器的一些示例信息
<vendor>AUO</vendor>
<product>0x38ed</product>
<serial>0x00000000</serial>
<width>1920</width>
<height>1080</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
Run Code Online (Sandbox Code Playgroud)
这条线
<rate>60</rate>
Run Code Online (Sandbox Code Playgroud)
用新的刷新率替换当前的刷新率。例如
<rate>75</rate>
Run Code Online (Sandbox Code Playgroud)
保存文件并重新启动,新的刷新率将发生。
注意:确保显示器的分辨率支持您要更改的刷新率