Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Terrible tearing nvidia with compton [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 221

PostPosted: Sat May 20, 2017 9:16 am    Post subject: Terrible tearing nvidia with compton [SOLVED] Reply with quote

I experience terrible tearing scrolling around pages with images and video preview.

I use xfce4 and have disabled default compositor and installed compton and added compton -b to autostart with my session.

I have modified xorg.conf like this:

Code:
  GNU nano 2.7.5                                                                   File: /etc/X11/xorg.conf                                                                             

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 378.13  (buildmeister@swio-display-x86-rhel47-05)  Tue Feb  7 19:37:00 PST 2017

Section "ServerLayout"
    Identifier     "Layout0"
    Screen   0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option "XkbLayout"  "sv-latin1"
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"
    DefaultDepth    24
    Option         "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
    Option         "AllowIndirectGLXProtocol" "off"
    Option         "TripleBuffer" "on"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


and i have disabled "sync to vblank" option in nvidia settings manager (GUI)

Yesterday i upgraded my nvidia proprietary to latest, and after reboot (or starting computer today) tearing is more visible than ever.

E: I have only tried google-chrome, i dont have any other browser installed.
Also tried to enable "synk to vblank" but it made no difference.

E2: Strange, when running command
Code:
gentoo@gentoo ~ $ nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"

...manually, tearing disappears.

Is it my xorg that is wrong? Should i paste the string that works in to my xorg.conf? It some how differs now.

E3: created a .start script running the command @ boot. Maybe a workaround, but my issue is gone :)
Marking as solved.
Back to top
View user's profile Send private message
svullo
n00b
n00b


Joined: 03 Aug 2003
Posts: 31
Location: Hjo, Sweden

PostPosted: Sat Dec 22, 2018 2:22 pm    Post subject: Re: Terrible tearing nvidia with compton [SOLVED] Reply with quote

tuggbuss wrote:
I experience terrible tearing scrolling around pages with images and video preview.

E3: created a .start script running the command @ boot. Maybe a workaround, but my issue is gone :)
Marking as solved.


I also experienced the annoying tearing with my xorg/Plasma with a Nvidia GTX1050. I use nvidias own driver, not the opensource nouveau driver.
I solved this with the "ForceFullCompositionPipeline"-setting to.
I found out that this can be set in the NVIDIA X Server Settings GUI:

X Server Display Configuration > Advanced > Tick the checkbox "Force full composition Pipeline"
Note: If you have multiple display, you need to to the same for each display.
_________________
Whiskey on the rock!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum