好的,我该如何运行它:
xrandr --output DVI-D-0 --mode 1920x1080 --rate 144
在启动时?
或者:
让 nvidia-settings 记住我已将其设置为 144Hz 而不是 60Hz
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 355.06 (buildd@lgw01-22) Mon Aug 3 21:32:29 UTC 2015
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Philips PHL 272G5"
HorizSync 30.0 - 160.0
VertRefresh 50.0 - 146.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 650"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "1920x1080_144 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
答案1
请参阅此处的帖子:wiki.ubuntu - xrandr,这里向你展示了几种实现方法。
答案2
您需要以 root 身份启动 nvidia-settings:
sudo nvidia-settings
去X Server Display Configuration
将费率改为 144 并点击Save to X Configuration File
现在它应该是永久的。
但是如果您想启动脚本,当您登录时,您可以使用 ~/xinitrc 来运行脚本。
如果你不想要它,那么你可以使用
system Menu > Preferences > Startup Applications
如果你将脚本复制到~/bin(因为~/bin包含在你的$PATH环境中),那么你可以输入名称,否则必须输入完整路径。