我正在运行Ubuntu 16.04,并且正在使用专有的NVidia驱动程序(版本367.27)。我有两个显卡(一对EVGA Titan X)和两个4K显示器(均为Dell P2715Q)。显示器连接到“第一个” Titan X上的两个DVI端口(第一个意味着PCI插槽1:0:0或最接近CPU,在这种情况下它们都是相同的)。
我注意到一些图形撕裂,并将其跟踪到不匹配的刷新率。xrandr
显示一个显示正在使用30Hz,另一显示正在使用60Hz。
当我尝试通过NVidia X服务器设置应用程序进行配置时,最终得到的是混乱的X配置(请参见下文)-第二个显示没有任何图像,并且应用程序在主屏幕上很奇怪且被拉伸。
我可以采取什么步骤使两台显示器具有相同的刷新率?
这是否需要添加自定义显示和监视器部分,每个监视器一个?
xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 367.18 (buildd@lgw01-52) Thu May 19 23:33:33 UTC 2016
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 "DELL P2715Q"
HorizSync 31.0 - 140.0
VertRefresh 29.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX TITAN X"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
# Removed Option "metamodes" "DP-0: 3840x2160_60 +0+0, DP-2: 3840x2160_60 +3840+0"
# Removed Option "SLI" "On"
# Removed Option "metamodes" "DP-0: nvidia-auto-select +0+0, DP-2: nvidia-auto-select +3840+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-2"
Option "metamodes" "nvidia-auto-select +0+0"
Option "SLI" "AUTO"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
我可以使用类似于Arch Wiki上发布的NVidia卡TwinView的第二个示例来解决此问题。
每个监视器都插入单独的图形卡,并且启用了SLI Mosaic模式。我还暂时将刷新率设置为60 Hz,但可能对此没有评论,并使用一个范围来查看是否有效。
我创建了一个/usr/share/X11/xorg.conf.d
名为的新文件99-custom.conf
,它看起来像:
Section "Device"
Identifier "Card A"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX TITAN X"
BusID "PCI:1:00:0"
EndSection
Section "Device"
Identifier "Card B"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX TITAN X"
BusID "PCI:2:00:0"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Left Monitor"
VendorName "Unknown"
ModelName "DELL P2715Q"
HorizSync 31.0 - 140.0
VertRefresh 60.0 - 60.0
## Original Vertical Refresh rate
#VertRefresh 29.0 - 75.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Right Monitor"
VendorName "Unknown"
ModelName "DELL P2715Q"
HorizSync 31.0 - 140.0
VertRefresh 60.0 - 60.0
## Original Vertical Refresh rate
#VertRefresh 29.0 - 75.0
Option "DPMS"
EndSection
Section "Screen"
Identifier "Left Screen"
Device "Card A"
Monitor "Left Monitor"
DefaultDepth 24
Option "Stereo" "0"
Option "SLI" "Mosaic"
Option "BaseMosaic" "True"
Option "metamodes" "GPU-0.DP-0: 3840x2160_60 +0+0, GPU-1.DP-0: 3840x2160_60 +3840+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Right Screen"
Device "Card A"
Monitor "Right Monitor"
DefaultDepth 24
Option "Stereo" "0"
Option "SLI" "Mosaic"
Option "BaseMosaic" "True"
Option "metamodes" "GPU-0.DP-0: 3840x2160_60 +0+0, GPU-1.DP-0: 3840x2160_60 +3840+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default"
Screen 0 "Left Screen" 0 0
Option "Xinerama" "0"
EndSection
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句