[SOLVED]Screen tearing

Forum rules
Before you post please read how to get help
DeMus
Level 6
Level 6
Posts: 1013
Joined: Sat Aug 15, 2009 5:11 pm

Re: [SOLVED]Screen tearing

Postby DeMus » Sat Feb 14, 2015 12:19 am

Answer from Nvidia:

Code: Select all

Discussion Thread
Response Via Email (Afshar)   02/13/2015 04:24 PM
Hello,

Thank you for contacting NVIDIA Customer Care.

This is Afshar, assisting you in regards to your query.

From the problem description, I understand that you wanted to suggest a driver modification mentioned the on our page which actually helped.

Your case is been forward to the concerned team.

Best regards,
Afshar
NVIDIA Customer Care


I find it a bit cryptic but at least something is happening, as far as I understand it. Will be continued.

mintyjock
Level 1
Level 1
Posts: 2
Joined: Sun Jun 30, 2013 12:48 pm

Re: [SOLVED]Screen tearing

Postby mintyjock » Tue Feb 24, 2015 10:57 am

I have chased this bug on multiple distros, in the end I dont use Video players like VLC and just use KODI and view everything via that.

Pain in the backside.

DeMus
Level 6
Level 6
Posts: 1013
Joined: Sat Aug 15, 2009 5:11 pm

Re: [SOLVED]Screen tearing

Postby DeMus » Fri Mar 13, 2015 11:09 am

I received an answer from the Nvidia helpdesk. This is what they wrote me:

Hi Jan,

Your issue was just referred to me.

I discussed your idea with our developers.

They don't want to set it as default because it incurs one frame of latency which may be undesirable for certain applications like first-person shooter in a game.

Let me know if any more questions.

Best regards,

Mike
NVIDIA Customer Care

In other words we have to keep changing the xorg.conf file if we want to watch tearing free movies.
Sorry guys, I tried. Didn't help.

ack0329
Level 1
Level 1
Posts: 41
Joined: Tue Feb 25, 2014 11:42 pm

Re: [SOLVED]Screen tearing

Postby ack0329 » Wed May 06, 2015 9:38 am

I was so optimistic but no joy.

Any ideas?

My system Is mint 17.1 Cinnamon gnome vs kde
and my HP Envy laptop is muxless with an "optimus" Intel/Nvidia hybrid (Intel always handles the monitor and the Nvidia 740m kicks in when asked).

I should point out that this is a very common laptop video card arrangement these days. Would be nice to fix it in Linux Mint 17.1.

As well my /etx/X11/xorrg,conf never had the line you said was standard but I added it anyway, here is my video part of it,

Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0@0:2:0"
EndSection

Section "Screen"
Identifier "intel"
Device "intel"
EndSection

Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1@0:0:0"
Option "ConstrainCursor" "off"
EndSection

Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
EndSection

User avatar
Quexos
Level 2
Level 2
Posts: 62
Joined: Wed Jul 29, 2015 9:49 pm

Re: [SOLVED]Screen tearing

Postby Quexos » Wed Sep 09, 2015 8:20 pm

Made the change in mine like so:

Code: Select all

    Option         "metamodes" "1920x1080_60 +0+0 { ForceFullCompositionPipeline = On }"
#   Option         "metamodes" "1920x1080_60 +0+0"


...and it is much improved. I had really bad tearing in everything from videos to scrolling in Firefox, menus, pretty much everywhere. Thanks.

klp84
Level 1
Level 1
Posts: 2
Joined: Sat Mar 19, 2016 2:51 pm

Re: [SOLVED]Screen tearing

Postby klp84 » Sun Apr 03, 2016 2:21 pm

Hello,

I also had screen tearing problem and this trick perfectly fix it !

I'm on Nvidia GTX 960 with driver 352.63.

Many thanks !

grungy_me
Level 3
Level 3
Posts: 118
Joined: Mon Sep 30, 2013 3:54 pm

Re: [SOLVED]Screen tearing

Postby grungy_me » Thu Apr 28, 2016 2:30 pm

Hey Folks,

If you are getting screen tearing, even if you fixed it previously, before you do anything else issue the following terminal command to see what is going on with the graphics driver.

Code: Select all

inxi -G


In my case, something has messed with the graphics driver in the last few months. It likely was an update. I spent a bunch of wasted time messing with the xorg.conf file until I did the prior command and saw that the Nvidia driver was listed as unloaded. So I downloaded and installed the latest stable Nvidia proprietary graphics driver.

Please make note that what user SimpleTechGuy mentioned applies, if you have more than one monitor, the command needs to be applied for each monitor. I have never done this before so I was likely getting tear free playback on my main computer monitor, and screen tearing on my HDTV when I watched videos on it. After much tinkering with the xorg.conf file, here is what worked for me:

Code: Select all

    Option         "metamodes" "DVI-I-1: nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }, HDMI-1: nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }; DVI-I-1: nvidia-auto-select +0+0 {viewportout=1920x1080+0+60, ForceFullCompositionPipeline = On}, HDMI-1: nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }; DVI-I-1: nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On };"


I'm not sure how much of this is necessary. There maybe redundant entries here, as I'm not knowledgeable enough to know better than just through the trial and error testing I did. What I found is that the order is important. Entries are separated by a semi-colon, monitors by a comma. If I put the last entry first, then when I boot up LinuxMint with the HDTV connected, it would automatically have the HDTV disabled. Thusly the last entry which is only the main computer powered on is listed last. This corrects that issue. The first entry shows both the main computer monitor and the HDTV connected via HDMI powered on and connected at full native resolution. The main computer monitor native resolution is too large for the HDTV, so the main monitor has to be reduced to 1920x1080 for the HDTV to show the full screen. This is what the second entry is for. Notice that each entry for each monitor gets the "ForceFullCompositionPipeline = On" command issued to it. Otherwise there will be screen tearing in one or more scenarios.

You may have to play around some with your entries, but this should give you the general idea of what to do if you have more than one monitor.

Krusher
Level 1
Level 1
Posts: 7
Joined: Sun Jan 04, 2015 6:09 pm

Re: [SOLVED]Screen tearing

Postby Krusher » Tue Jun 14, 2016 7:48 pm

klp84 wrote:Hello,

I also had screen tearing problem and this trick perfectly fix it !

I'm on Nvidia GTX 960 with driver 352.63.

Many thanks !


Yes, same here with GTX 960, 352.63 custom driver, and LM 17.3 KDE.

NVIDIA, if they're reading this, should make the option standard and have a checkbox to disable it rather than the other way around. Maybe we here are just screen-tear sensitive.

So many thanks as well; now this weekend I can focus on my last problem...getting the GTX 960 to output 5.1 sound to my TV, which then connects to my stereo...(5.1 passthru works on other devices; so I know it's not the TV's problem per-se although it might not be identifying correctly as 5.1 capable).

jackcq
Level 1
Level 1
Posts: 14
Joined: Tue Oct 11, 2016 12:35 pm

Re: [SOLVED]Screen tearing

Postby jackcq » Tue Dec 13, 2016 2:00 pm

Same here.
Nvidia GTX 1060, driver version 367.57 on Mint 17.3
with XFCE (openbox + Compton).

Before adding that line to Xorg.conf, screen tearing depended
pretty much on which applications I used, e.g. chromium works
better for websites with videos than firefox, smplayer (through vdpau)
always worked great, while other players had tearing issues with the
same videos. Now the tearing's completely gone, thanks so much.

Now, I just need a way to configure it accordingly on windows, hehe.

User avatar
roiikkata
Level 1
Level 1
Posts: 4
Joined: Wed Apr 09, 2014 1:56 am
Location: united states
Contact:

Re: [SOLVED]Screen tearing

Postby roiikkata » Mon Apr 24, 2017 5:52 pm

doctorx wrote:I thought i would post my solution for kde to see if it helps anyone:

i did not alter my xorg.conf except to turn off power mizer.

what i did though was add these lines to /etc/environment

CLUTTER_PAINT=disable-clipped-redraws:disable-culling
CLUTTER_VBLANK=True
KWIN_TRIPLE_BUFFER=1

The last line is key. The top 2 are needed for nvidia and make a large difference.

This desktop flies now. Gaming is such a treat and watching mythtv is tearfree and fast.


STILL WORKS IN 2017!! AND MY GOODNESS DOES IT FLY!! WOW!! THANK YOU!!

I'm bookmarking this to add to my "what to do after installing each and every darn Linux distro ever"! This should be there by default!


Return to “KDE”

Who is online

Users browsing this forum: No registered users and 3 guests