我似乎在 Ubuntu 18.04 中遇到了屏幕撕裂的问题,通过运行此测试得到了确认:
https://www.youtube.com/watch?v=MfL_JkcEFbE
我在谷歌搜索了一段时间,但我发现的只是更改文件/etc/modprobe.d/nvidia-drm-nomodeset.conf
并添加的建议
options nvidia-drm modeset=1
但这无济于事。
这些是我正在使用的驱动程序:
我能做些什么来解决这个问题?
更新:
这是我的 X 配置:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 418.56
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
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 U2719D"
HorizSync 30.0 - 90.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 970"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-4"
Option "metamodes" "DP-2: nvidia-auto-select +1080+618, DP-0: nvidia-auto-select +0+0 {rotation=right}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
我的笔记本电脑有相同的卡,没有撕裂。但是请注意,我使用的是 384 版,并且不希望使用更高的版本号,这可能会使我的设置复杂化。在系统设置过程中,我使用了通常的技巧来查阅 Arch Linux 的圣经,该圣经建议:
Full Composition Pipeline 和 Triple Buffer 是最重要的。
今天我的设置是这样的:
请注意,此处未设置 Force Composition Pipeline 和 Triple Buffer。它曾经在
nvidia-settings
GUI 配置上,但我再也看不到它了。