在 XFCE 或 LXDE 上使用 Compton 进行无撕裂合成
我尝试过这些解决方案,但在滚动网页时,屏幕上仍然会出现可怕的图像撕裂现象。
我已在 nvidia 设置中启用它并添加Sync to VBlack
到启动中。Allow Flipping
compton -b
输出sudo lspci | grep NVIDIA
01:00.0 VGA compatible controller: NVIDIA Corporation GT200 [GeForce GTX 260] (rev a1)
xorg配置文件
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 331.20 (buildd@roseapple) Mon Feb 3 15:07:22 UTC 2014
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 "ViewSonic VA1926wSERIES"
HorizSync 24.0 - 82.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 260"
Option "Coolbits" "4"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
使用网络浏览器和 Ristretto 图像查看器时会出现撕裂,因此也会出现撕裂。游戏和 Flash 视频等视频应用程序没有出现撕裂。
文件管理器中也会出现图像撕裂的情况
答案1
我已经通过强制使用完整的合成管道解决了我的问题
使用此命令来测试它
nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
我通过将此命令添加到会话和启动中使更改永久生效
nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
在运行 Xubuntu 14.04 的 GTX260 上运行良好 :D