![仅在 Google Chrome 中撕裂](https://linux22.com/image/1129756/%E4%BB%85%E5%9C%A8%20Google%20Chrome%20%E4%B8%AD%E6%92%95%E8%A3%82.png)
我正在使用 Xubuntu 15.04 和 GeForce GT 630。
我也正在使用这个 hackhttps://github.com/chjj/compton/wiki/vsync-guide(最后一点)和 nvidia 驱动程序 355.11 以防止 Xfce 撕裂。
所有应用程序都正常,但我仍然看到 Google Chrome(版本 45.0.2454.101)出现撕裂现象:在 Youtube 视频、Google 地图等网络应用程序中,但在 Firefox 中没有。
是否有可能以某种方式修复此问题?
答案1
我为 Nvidia 卡创建了自定义 xorg.conf 以避免撕裂(见下文)。如您所见,主行如下:
Option "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
如果失败,请尝试生成自己的 xorg.conf。每次更新 Nvidia 驱动程序都会替换您的 xorg.conf,因此只需再次替换它即可。
这次破解还修复了网络视频撕裂的问题。
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 364.19 (buildmeister@swio-display-x64-rhel04-11) Tue Apr 19 15:22:17 PDT 2016
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
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"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
Option "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
答案2
转到 Chrome 设置 > 显示高级设置...并禁用“可用时使用硬件加速”。
它对我有用。