我浏览了数十个论坛寻找答案,但却无果。
我使用不同分辨率的双显示器,出现屏幕撕裂(相当轻微,但很明显),可能是由于不同的刷新率造成的。一个屏幕默认为 60hz,另一个为 75hz。我能够在 nvidia 设置中更改刷新率,并将它们都从“自动”更改为 60hz(两个显示器都支持此速率),但是,重新启动后它们会重置为默认设置“自动”(自动是指一个为 60hz,另一个为 75hz)。
以前,我曾经使用过一个启动脚本,让 ccsm 强制使用 60hz 的速率(compiz 在重启时也会重置为默认值),这解决了这个问题。
但是,升级到 13.10 后,CCSM 中的刷新率对我来说是空白的,什么也不显示。如果我在其中输入任何内容,它会在按下后退按钮时自动重置为黑色。
所以,从本质上讲,目前,我无法在 ccsm 中输入任何刷新率,并且我在 nvidia-settings 中设置的任何设置在启动时都不会保留。
Xrandr 确实显示第二台显示器可以使用 60hz,但我无法找到方法来确保它以该速率启动。
并且,除非我读错了,否则我的 xorg.conf 确实显示了 60hz 的速率:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 331.17 (buildd@rhenium) Sun Oct 27 00:28:28 UTC 2013
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 "InputClass"
Identifier "Mouse Remap"
MatchDevicePath "/dev/input/event*"
Option "ButtonMapping" "1 2 3 4 5 6 7 8 9 0 0 0 0 0 0"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "AOC LM720BGE"
HorizSync 30.0 - 83.0
VertRefresh 55.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 560 Ti"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "DVI-I-1: 1280x1024_60 +1920+56, DVI-I-2: 1920x1080_60 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
无论如何,如果有人能提供任何建议或意见,我将不胜感激。同样,我可以手动更改刷新率,一切都运行正常,只是重启后就无法继续了。
另外,我不确定这是否正常,但它只在 xorg.conf 中显示我较小的、较差的显示器,而不显示较大的显示器,尽管两者都在使用中。我使用的是 Ubuntu 13.10、nvidia 331.17,如果您需要更多信息,请告诉我。谢谢,
塔拉
答案1
这是一个肮脏的修复,但对我而言在 Ubuntu 13.10 中有效。
在“监控”部分我改变了垂直刷新 75.0 - 75.0并添加到“屏幕:”部分选项“UseEDIDFreqs”“False”
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 331.20 (buildmeister@swio-display-x86-rhel47-05) Wed Oct 30 18:20:32 PDT 2013
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 "BenQ FP93GX+"
HorizSync 31.0 - 83.0
VertRefresh 75.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 260"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "1280x1024_75+0+0"
Option "UseEDIDFreqs" "False"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection