You are not logged in.

#1 2015-12-15 00:21:05

andrep
Member
Registered: 2015-12-15
Posts: 10

[SOLVED]How can I fix screen tearing in Plasma?

Hi, I hope I'm putting this in the right place.

I installed arch for the first time, and online recommendations told me to use plasma as a workspace. I am really liking it so far, but I have very bad screen tearing.

I am using an Nvidia GTX680 with PlasmaKDE.

My xorg.conf file is this

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 358.16  (buildmeister@swio-display-x64-rhel04-12)  Mon Nov 16 19:59:11 PST 2015

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 358.16  (buildmeister@swio-display-x64-rhel04-12)  Mon Nov 16 19:58:01 PST 2015

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"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung S24B20/S24B30"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "LG Electronics LG TV"
    HorizSync       30.0 - 83.0
    VertRefresh     58.0 - 62.0
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc MX279"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Monitor"
    Identifier     "Monitor3"
    VendorName     "Unknown"
    ModelName      "LG Electronics 29EA93"
    HorizSync       30.0 - 90.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 680"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 680"
    Option         "NoLogo" "True"
    Option         "CoolBits" "1"
    Option         "TripleBuffer" "True"
    Option         "ExactModeTimingsDVI" "True"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 680"
    Option         "NoLogo" "True"
    Option         "CoolBits" "1"
    Option         "TripleBuffer" "True"
    Option         "ExactModeTimingsDVI" "True"
    BusID          "PCI:1:0:0"
    Screen          2
EndSection

Section "Device"
    Identifier     "Device3"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 680"
    Option         "NoLogo" "True"
    Option         "CoolBits" "1"
    Option         "TripleBuffer" "True"
    Option         "ExactModeTimingsDVI" "True"
    BusID          "PCI:1:0:0"
    Screen          3
EndSection

Section "Screen"

# Removed Option "metamodes" "DVI-I-1: nvidia-auto-select +0+0"
# Removed Option "nvidiaXineramaInfoOrder" "DFP-0"
# Removed Option "metamodes" "DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +1920+0, DVI-D-0: nvidia-auto-select +3840+0, DP-1: nvidia-auto-select +5760+0"
# Removed Option "metamodes" "DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +0+0, DVI-D-0: nvidia-auto-select +1768+0, DP-1: nvidia-auto-select +3688+0"
# Removed Option "metamodes" "DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +0+0, DVI-D-0: nvidia-auto-select +1920+0, DP-1: nvidia-auto-select +3840+0"
# Removed Option "metamodes" "DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +0+0, DVI-D-0: nvidia-auto-select +1920+0, DP-1: 2560x1080 +3840+0; DVI-I-1: nvidia-auto-select +0+0, DP-1: nvidia-auto-select +1920+0; DVI-I-1: 1920x1080_50 +0+0, DP-1: nvidia-auto-select +1920+0; DVI-I-1: 1680x1050 +0+0, DP-1: nvidia-auto-select +1920+0; DVI-I-1: 1440x900 +0+0, DP-1: nvidia-auto-select +1920+0; DVI-I-1: 1440x900_60 +0+0, DP-1: nvidia-auto-select +1920+0; DVI-I-1: 1280x1024 +0+0, DP-1: nvidia-auto-select +1920+0; DVI-I-1: 1280x1024_60 +0+0, DP-1: nvidia-auto-select +1920+0; DVI-I-1: 1280x960 +0+0, DP-1: nvidia-auto-select +1920+0; DVI-I-1: 1280x800 +0+0, DP-1: nvidia-auto-select +1920+0; DVI-I-1: 1280x720 +0+0, DP-1: nvidia-auto-select +1920+0; DVI-I-1: 1280x720_50 +0+0, DP-1: nvidia-auto-select +1920+0; DVI-I-1: 1152x864 +0+0, DP-1: nvidia-auto-select +1920+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-4"
    Option         "metamodes" "DVI-I-1: 1920x1080_60 +0+0, HDMI-0: nvidia-auto-select +0+0, DVI-D-0: 1920x1080_60 +1920+0, DP-1: 2560x1080_60 +3840+0; DVI-I-1: nvidia-auto-select +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1920x1080_50 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1680x1050 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1440x900 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1440x900_60 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1280x1024 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1280x1024_60 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1280x960 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1280x800 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1280x720 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1280x720_50 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1152x864 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1600x1200 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1024x768 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1024x768_70 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 1024x768_60 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 800x600 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 800x600_72 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 800x600_60 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 800x600_56 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 720x576 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 720x480 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 640x480 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 640x480_72 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: 640x480_60 +0+0, DP-1: nvidia-auto-select +3840+0; DVI-I-1: nvidia-auto-select +0+0 {viewportin=1366x768, viewportout=1920x1079+0+0}, DP-1: nvidia-auto-select +3840+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    Option         "NoLogo" "True"
    Option         "CoolBits" "1"
    Option         "TripleBuffer" "True"
    Option         "ExactModeTimingsDVI" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "HDMI-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DVI-D-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen3"
    Device         "Device3"
    Monitor        "Monitor3"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DP-1: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

As you see, I tried the route to enable triple buffering, but that didn't work.

I've also read to change the vsync settings from the command "kcmshell5 kwincompositing" (or in the settings) to "full screen repaints", but the option changes itself to "re-use screen content" everytime I close the settings.

I've also tried chaging the Rendering backend to openGL, but that also doesn't save when I close the compositor module.

I even followed the WIKI (https://wiki.archlinux.org/index.php/NV … ries_cards) and that didn't work either, it would only show one of my monitors, and tearing persisted.

If you need extra information, I will post it.

Last edited by andrep (2015-12-15 01:56:15)

Offline

#2 2015-12-15 01:55:15

andrep
Member
Registered: 2015-12-15
Posts: 10

Re: [SOLVED]How can I fix screen tearing in Plasma?

Hi, I found the solution.

I installed the nvidia-libgl package instead of the mesa-libgl. It allowed me to set the composition to opengl 3.1 and fixed the screen tearing issue.

Offline

Board footer

Powered by FluxBB