Patreon Logo Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal Logo PayPal. You can also buy games using our partner links for GOG and Humble Store.
Latest Comments by Liam Dawe
I have finally found a way to sort out screen tearing on Nvidia with Linux
12 May 2016 at 9:20 pm UTC

Quoting: Glog78
Quoting: liamdawe
Quoting: Glog78Liam, one question?

why don't you use the following in your <xorg>.conf ?
Option "metamodes" "nvidia-auto-select +0+0 { FroceFullCompositionPipeline = On } "
It requires you to not have to f-about with any xorg files. It means you can store it on a partition that doesn't get wiped between installs and have it right where you need it.

That, plus, as written in the article you need to re-do it when games change your resolution. Putting it in xorg will not solve that.
Hmm the above should automatically aply the ForceFullCompostionPipeline=On to any resolution which your xorg knows about. Strange overall ... maybe someone should describe and report that "need to reenabled" issue to nvidia (sounds to me like a bug).

And i was just curious overall.
I did some testing using "nvidia-auto-select", the problem is again with games that change your desktop resolution. It's the same issue, ForceFullCompostionPipeline reverts to off.

I have finally found a way to sort out screen tearing on Nvidia with Linux
12 May 2016 at 9:16 pm UTC

Quoting: ZeloxSadly it didnt work for me. But I use Opensource drivers, could be the reason maybe?
As mentioned in the article, this is for the Proprietary driver.

I have finally found a way to sort out screen tearing on Nvidia with Linux
12 May 2016 at 9:14 pm UTC

Update:

A nice side-effect of the script: Games like RunningWithRifles has poor multi-monitor support, it actually turns off my main monitor. Hitting the shortcut I set for the script will bring that monitor back, and still allow me to play the game.

I have finally found a way to sort out screen tearing on Nvidia with Linux
12 May 2016 at 8:55 pm UTC

Quoting: Glog78Liam, one question?

why don't you use the following in your <xorg>.conf ?
Option "metamodes" "nvidia-auto-select +0+0 { FroceFullCompositionPipeline = On } "
It requires you to not have to f-about with any xorg files. It means you can store it on a partition that doesn't get wiped between installs and have it right where you need it.

That, plus, as written in the article you need to re-do it when games change your resolution. Putting it in xorg will not solve that.

I have finally found a way to sort out screen tearing on Nvidia with Linux
12 May 2016 at 8:40 pm UTC

Quoting: gqmeloUnfortunately for owners of laptops with PRIME (like me), there is yet no vsync support at all:

https://devtalk.nvidia.com/default/topic/775691/linux/vsync-issue-nvidia-prime-ux32vd-with-gt620-m-/7 [External Link]
Have you tried this script to see if it helps at all?

I have finally found a way to sort out screen tearing on Nvidia with Linux
12 May 2016 at 8:33 pm UTC Likes: 1

Quoting: GuestI’ve been happy with Compton for several years. ForceCompositionPipeline works too but Xfwm’s compositor is not as pretty or fast as Compton and the performance gain is minimal.
Well the advantage to this is you don't need to switch compositor, which many probably aren't comfortable with :)

I have finally found a way to sort out screen tearing on Nvidia with Linux
12 May 2016 at 8:26 pm UTC

Quoting: Avehicle7887
Quoting: liamdawe
Quoting: Avehicle7887Will this also act as an fps limiter depending on the monitor's refresh rate too? (60FPS in my case). If yes, that would be wonderful.

Thanks for sharing Liam, I'll try this with a few games where tearing is incredibly noticeable.
No, this does not limit the FPS.
I've just tested Shadowrun Returns after adding this script to my startup list and the tearing has gone poof. Another issue out of the way :-)
Fantastic, really pleased it helped.

The good thing about having it as a simple script, is you can re-run it any time tearing returns. Poof, gone again! :)

RUNNING WITH RIFLES updated with mod support and a big sale, already has a zombie mod
12 May 2016 at 8:23 pm UTC

Quoting: LinasPretty badass play, Liam. That episode where you took all of those guys down at the ladder was sweet. :)
The best part is at the end, when I'm driving a Jeep and I force someone to jump the rail into the water :D

Cracking good game it is.

I have finally found a way to sort out screen tearing on Nvidia with Linux
12 May 2016 at 8:12 pm UTC

Quoting: Avehicle7887Will this also act as an fps limiter depending on the monitor's refresh rate too? (60FPS in my case). If yes, that would be wonderful.

Thanks for sharing Liam, I'll try this with a few games where tearing is incredibly noticeable.
No, this does not limit the FPS.

I have finally found a way to sort out screen tearing on Nvidia with Linux
12 May 2016 at 7:46 pm UTC

Quoting: Guest{ ForceFullCompositionPipeline = On } that command right there is key for the tearing to stop,it works for me too,this will stop screen tearing.
Indeed, but it gets disabled any time a game or anything using fullscreen changes your resolution (surprisingly a lot).