Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-07-25 07:00:14

GrayBoltWolf
Member
Registered: 2015-07-25
Posts: 6

[Solved] Compositor, screen tearing, and V-Sync

So as we all know the built-in compositor is trash on NVIDIA proprietary drivers. I am using Compton and that seems to help, but of course it can only sync to one monitor. My issue is this: Compton helps a lot, but is very resource heavy and I still get tearing on any video I play through VLC or Netflix via Chrome. When I play games I turn off compton for the performance boost.

What are we supposed to do? I love Linux but Gnome3 and XFCE both have horrible tearing on videos. Is it just the NVIDIA drivers?

Last edited by GrayBoltWolf (2015-07-26 02:58:57)

Offline

#2 2015-07-25 09:01:40

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: [Solved] Compositor, screen tearing, and V-Sync

You didn't mention the model of video card or the version of xfwm4 that you are using.

If you have a GeForce 500/600/700/900 series card, have you tried enabling the ForceFullCompositionPipeline option?

Also, xfwm4 has made some improvements in compositor performance recently. The changes haven't yet made it into a release and sit only in the git tree. Are you able to build from source to give it a try?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#3 2015-07-25 17:13:30

GrayBoltWolf
Member
Registered: 2015-07-25
Posts: 6

Re: [Solved] Compositor, screen tearing, and V-Sync

ToZ wrote:

You didn't mention the model of video card or the version of xfwm4 that you are using.

If you have a GeForce 500/600/700/900 series card, have you tried enabling the ForceFullCompositionPipeline option?

Also, xfwm4 has made some improvements in compositor performance recently. The changes haven't yet made it into a release and sit only in the git tree. Are you able to build from source to give it a try?


Thanks for the reply.

My setup is this:

Intel i7 4790k
EVGA GTX 970
XUbuntu 14.04

XFCE 4.10

I will try that fix for 900 series cards assuming that will work on Debian distros just fine.

Last edited by GrayBoltWolf (2015-07-25 17:15:17)

Offline

#4 2015-07-25 17:24:06

GrayBoltWolf
Member
Registered: 2015-07-25
Posts: 6

Re: [Solved] Compositor, screen tearing, and V-Sync

Ok, so after adding that option to xorg or even doing it with the command I still have the same issues with compton on and off.

I'll try building the new XFCE next.

Offline

#5 2015-07-25 17:42:54

GrayBoltWolf
Member
Registered: 2015-07-25
Posts: 6

Re: [Solved] Compositor, screen tearing, and V-Sync

Ok, that didn't help either. Same issues. My windows are just fine, but any video tears so badly. Even on Gnome3 video tears horribly.

Offline

#6 2015-07-25 19:03:28

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: [Solved] Compositor, screen tearing, and V-Sync

GrayBoltWolf wrote:

EVGA GTX 970
XUbuntu 14.04.

For ubuntu, the file should go in the /usr/share/X11/xorg.conf.d directory.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#7 2015-07-25 19:07:39

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: [Solved] Compositor, screen tearing, and V-Sync

GrayBoltWolf wrote:

Ok, that didn't help either. Same issues. My windows are just fine, but any video tears so badly. Even on Gnome3 video tears horribly.

Which autogen/configure parameters did you use? Did you use:

--enable-compositor
--enable-xsync
--enable-epoxy
--enable-xpresent


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Online

#8 2015-07-26 02:58:33

GrayBoltWolf
Member
Registered: 2015-07-25
Posts: 6

Re: [Solved] Compositor, screen tearing, and V-Sync

ToZ wrote:
GrayBoltWolf wrote:

Ok, that didn't help either. Same issues. My windows are just fine, but any video tears so badly. Even on Gnome3 video tears horribly.

Which autogen/configure parameters did you use? Did you use:

--enable-compositor
--enable-xsync
--enable-epoxy
--enable-xpresent

Not sure where those go, but using Compton I have managed to like 99.99% get rid of tearing by a fix I found here: http://www.floweringdesign.com/fixing-s … -on-linux/

Basically it forces hardware acceleration for GPUs that aren't in the whitelist in Chrome. I noticed this when videos worked almost perfectly in Firefox.

Offline

#9 2015-07-26 13:49:40

Korrode
Member
From: Melbourne, Australia
Registered: 2012-12-19
Posts: 28
Website

Re: [Solved] Compositor, screen tearing, and V-Sync

GrayBoltWolf wrote:

I am using Compton and that seems to help, but of course it can only sync to one monitor.

If you use separate X screens as your multi-monitor mode, you need to start compton for the second display.

compton -d :0.1

Rob McCathie - Manjaro Linux Team
http://manjaro.github.io/download/

Offline

#10 2015-07-26 16:59:50

GrayBoltWolf
Member
Registered: 2015-07-25
Posts: 6

Re: [Solved] Compositor, screen tearing, and V-Sync

Korrode wrote:
GrayBoltWolf wrote:

I am using Compton and that seems to help, but of course it can only sync to one monitor.

If you use separate X screens as your multi-monitor mode, you need to start compton for the second display.

compton -d :0.1

I run all 3 of my monitors on the same Xscreen and compton syncs on them all just fine.

Last edited by GrayBoltWolf (2015-07-26 17:26:33)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 561.78 KiB (Peak: 578.63 KiB) ]