You are not logged in.

#1 2013-12-19 05:13:05

aplund
Member
Registered: 2012-06-19
Posts: 28

Video tearing on external monitor

I'm trying to get video playback on an external monitor which is connected via HDMI.  It all works but the vsync signal seems to be coming from the internal monitor (laptop computer).

Is there any simple solution to this?  The two monitors have the same refresh rate, but that seems to just make the tearing appear as a line the slowly moves up the screen.  Is it possible to tell the application (totem in this example) which monitor to take the vsync signal from?

For what it's worth, I'm using intel graphics and the most of the videos I'm watching is being decoded via vaapi in totem (gstreamer).

Offline

#2 2013-12-19 09:04:56

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Video tearing on external monitor

I do too use external monitor, but some old crap via VGA. I too experience tearing but when i restart window manager the tearing disappear. Try if it helps.


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#3 2013-12-19 11:20:44

aplund
Member
Registered: 2012-06-19
Posts: 28

Re: Video tearing on external monitor

Well, that did help.  Annoying though.  Would seem to suggest it is a bug in gnome-shell.  Cannot seem to find any reference to it though, so I might try opening an issue on the bug tracker.

Offline

#4 2013-12-19 12:24:54

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Video tearing on external monitor

I forgot to mention - I have KDE with Kwin window manager so it has to be xorg bug, i suppose.


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#5 2013-12-20 02:35:21

aplund
Member
Registered: 2012-06-19
Posts: 28

Re: Video tearing on external monitor

What hardware do you have?  I'm using the intel driver on integrated graphics.

Offline

#6 2013-12-20 08:25:35

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Video tearing on external monitor

Laptopm ASUS K50IJ, 2gb RAM, 320gb HDD, Core Duo, Integrated Intel GMA 4500M graphics.


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#7 2013-12-20 11:04:52

aplund
Member
Registered: 2012-06-19
Posts: 28

Re: Video tearing on external monitor

So I guess it is possible that this is an intel driver thing.  Does anyone with amd or some other hardware with open source drivers have a similar issue?

Offline

#8 2013-12-20 11:23:46

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Video tearing on external monitor

*Everyone* will have this issue, regardless of hardware or driver. It's not possible to sync to two displays unless their timings are exactly the same. And by that I don't mean just resolution and refresh rate, I mean all timings.

nvidia-settings allows you to choose which display video should be synced to. The other display (unless it's completely identical) will have tearing. No way around it. I think the Catalyst Control Center has such a setting too, I can't remember, all I remember is my friend uses Catalyst and we were playing around a bit trying to remove tearing on his TV. No idea if open source drivers provide such a setting.

Offline

#9 2013-12-20 21:34:43

aplund
Member
Registered: 2012-06-19
Posts: 28

Re: Video tearing on external monitor

This does not seem right.  I'm not talking about syncing two displays with idential timings.  I want to have the sync to vsync happen on the right display for which the output is occurring on.  The guys on xorg irc say that this should happen, but for some reason it doesn't here.  Starting X with all the displayed plugged in does seem to let this happen.  It is just the hotplug which doesn't work.  I was trying to figure out if this hotplug issue is an intel one only or not.

Offline

Board footer

Powered by FluxBB