You are not logged in.

#1 2011-07-07 18:58:20

oded
Member
From: Israel
Registered: 2009-08-06
Posts: 26

No Overlay Adaptor - intel video

Hello,

I'm experiencing video tearing when playing video files, common soultion seems to be to direct xv output via the Overlay Adaptor port.
However, xvinfo only shows "Adaptor #0: "Intel(R) Textured Video" - no Overlay.
I've tried various xf86-video-intel packages, all offer no solution

Thanks!

Last edited by oded (2011-07-11 19:11:37)

Offline

#2 2011-07-07 23:06:21

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: No Overlay Adaptor - intel video

To get tearing-free videos with VLC under Xfce on a Core i3 550 (Intel HD Graphics), I disable Xfce's compositing. VLC's output is set to "Default".

Offline

#3 2011-07-07 23:46:45

oded
Member
From: Israel
Registered: 2009-08-06
Posts: 26

Re: No Overlay Adaptor - intel video

Thanks but I'm running Gnome 3,
and as far as I can tell mutter requires composting so that's a no go for me.

Offline

#4 2011-07-09 18:58:34

cojoda
Member
Registered: 2011-05-27
Posts: 13

Re: No Overlay Adaptor - intel video

I've had problems with video tearing with certain codecs/players.  It stopped being a problem when I started using mplayer + smplayer.  I recently switched to mplayer2 + umplayer.  Performance is by far the best out of any video player I've come across so far.  Runs beautifully on gnome3 with compositing on an Intel 4500mhd.  I'd give it a try, if you haven't already.

Last edited by cojoda (2011-07-09 19:00:55)

Offline

#5 2011-07-11 00:08:24

oded
Member
From: Israel
Registered: 2009-08-06
Posts: 26

Re: No Overlay Adaptor - intel video

Thanks but running with mplayer2 still gives me screen tearing.
Anyone else?

Offline

#6 2011-07-11 00:34:37

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: No Overlay Adaptor - intel video

from the intel man page

       Option "XvPreferOverlay" "boolean"
              Make hardware overlay be the  first  XV  adaptor.   The  overlay
              behaves  incorrectly  in  the  presence of compositing, but some
              prefer it due to it syncing to vblank in  the  absence  of  com‐
              positing.   While  most  XV-using  applications  have options to
              select which XV adaptor to use, this option can be used to place
              the  overlay first for applications which don't have options for
              selecting adaptors.

              Default: Textured video adaptor is preferred.

wink

Offline

#7 2011-07-11 00:56:52

oded
Member
From: Israel
Registered: 2009-08-06
Posts: 26

Re: No Overlay Adaptor - intel video

Well preferring the Overlay adaptor won't (and didn't) do any good
because the problem in the first place is that apparently it's not enabled for some reason.
xvinfo lists textured adaptor only.

The only clue I can find in the log files is:

[     7.872] (==) intel(0): video overlay key set to 0x101fe

Googling the above doesn't lead to anything helpful

Offline

#8 2011-07-11 01:01:17

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: No Overlay Adaptor - intel video

oded wrote:

That won't do as I have no Video Overlay adaptor even listed, all I can see is that single Textured entry.
The only clue I can find in log files is this:

[ 7.872] (==) intel(0): video overlay key set to 0x101fe

Googling the above gave no meaningful results hmm

Moderator note:  I bet you meant to hit "reply" or "Quote" instead of the "Report" button.  (It happens a lot)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2011-07-11 09:47:31

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

Re: No Overlay Adaptor - intel video

You can't activate the overlay because there isn't one. Modern hardware hasn't had a hardware overlay for a few years now. Doesn't fit anymore into the modern KMS and composite world. Plus, why waste transistors for something that the 3d engine can do just as well. Your tearing issue is weird though, I haven't seen tearing on intel hardware, like, ever. Maybe Gnome 3 just sucks (SCNR smile ).

Offline

#10 2011-07-11 12:28:46

oded
Member
From: Israel
Registered: 2009-08-06
Posts: 26

Re: No Overlay Adaptor - intel video

ewaller wrote:

I bet you meant to hit "reply" or "Quote" instead of the "Report" button.  (It happens a lot)

Haha yes, it was pretty confusing trying to figure out where my post went.

Gusar wrote:

You can't activate the overlay because there isn't one. Modern hardware hasn't had a hardware overlay for a few years now. Doesn't fit anymore into the modern KMS and composite world. Plus, why waste transistors for something that the 3d engine can do just as well. Your tearing issue is weird though, I haven't seen tearing on intel hardware, like, ever. Maybe Gnome 3 just sucks (SCNR smile ).

That clears it up!
With that out of the way I'll try and find an up to date solution

Thanks smile

Offline

#11 2011-07-11 16:16:23

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: No Overlay Adaptor - intel video

I suppose either both Gnome 3 and Xfce aren't calling the correct swap function (if that's possible), or the intel drivers are bugged, because even with SwapBuffersWait enabled (by default, as seen in Xorg's log) and xvattr telling me that XV_SYNC_TO_VBLANK = 1, I get obvious tearing when compositing is enabled (both with VLC and smplayer+mplayer.)
In other words, I've searched some more but didn't find any working solution...

Last edited by stqn (2011-07-11 16:18:02)

Offline

#12 2011-07-11 18:18:53

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: No Overlay Adaptor - intel video

Gusar wrote:

You can't activate the overlay because there isn't one. Modern hardware hasn't had a hardware overlay for a few years now. Doesn't fit anymore into the modern KMS and composite world. Plus, why waste transistors for something that the 3d engine can do just as well. Your tearing issue is weird though, I haven't seen tearing on intel hardware, like, ever. Maybe Gnome 3 just sucks (SCNR smile ).


yes you can.

having a 945 process textured video can make things quite sluggish for gnome3 animations. thats why ive enabled the video overlay myself. especially if you have two screens.

@oded

see if glxgears renders at 60fps (you might need to move your mouse constantly to get glxgears to refresh correctly).
what hardware do you have?

Offline

#13 2011-07-11 19:18:17

oded
Member
From: Israel
Registered: 2009-08-06
Posts: 26

Re: No Overlay Adaptor - intel video

eldragon wrote:

having a 945 process textured video can make things quite sluggish for gnome3 animations. thats why ive enabled the video overlay myself. especially if you have two screens.

@oded

see if glxgears renders at 60fps (you might need to move your mouse constantly to get glxgears to refresh correctly).
what hardware do you have?

I'm running a two screen setup as well - glxgears renders at 60 fps but throws this:

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 2761 requests (2761 known processed) with 0 events remaining.

I'm using "Intel HD 3000" (sandybridge) graphics

Thank you

Offline

#14 2011-07-11 22:25:49

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

Re: No Overlay Adaptor - intel video

eldragon wrote:

yes you can.

having a 945 process textured video can make things quite sluggish for gnome3 animations.

The 945 doesn't qualify as modern. It does still have an overlay. With KMS though, it's just been hacked together into working and is actually slower than textured video. If it works better in Gnome 3 than textured video does, then that just confirms it - Gnome 3 sucks.

Last edited by Gusar (2011-07-11 22:26:59)

Offline

#15 2011-07-12 07:13:43

oded
Member
From: Israel
Registered: 2009-08-06
Posts: 26

Re: No Overlay Adaptor - intel video

Well, I just tried running the same video that gave me excessive tearing in xfce and openbox and it plays fine,
which is a damn shame because I really like Gnome 3. hmm
I guess I'll give it a couple more days to try and figure out a solution...

Offline

#16 2011-07-12 15:02:35

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: No Overlay Adaptor - intel video

Doesn't gnome 3 unredirect fullscreen windows or has an option to do so? I ask because i use kde.
At least you should have a tear free experience in fullscreen with opengl or xvideo output (speaking about mplayer)

Last edited by kokoko3k (2011-07-12 15:03:05)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#17 2011-08-30 18:52:30

Lazze
Member
From: Bangkok, Thailand
Registered: 2008-09-28
Posts: 133

Re: No Overlay Adaptor - intel video

Sorry for bringing up an old thread, but I have the same issue with tearing in mplayer on my sandy bridge laptop. Only way to fix it that I've found is to use gnome fallback.
I also have some tearing while dragging windows on the desktop so it's not just when using mplayer.

Turning on vsync in compiz while running gnome 2 always fixed the issue for me but, is there any similar option in gnome 3?

Offline

#18 2011-12-25 13:56:06

apaige
Member
Registered: 2008-06-15
Posts: 96

Re: No Overlay Adaptor - intel video

Thanks for the suggestion kokoko3k. I had the same problem, and mplayer -vo gl solved it for me.

Offline

#19 2011-12-26 14:44:11

apaige
Member
Registered: 2008-06-15
Posts: 96

Re: No Overlay Adaptor - intel video

Better yet, I installed mplayer-vaapi. Full hardware decoding of H.264 high definition videos and tear-free playback with mplayer -vo vaapi!

Offline

#20 2011-12-26 14:47:34

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: No Overlay Adaptor - intel video

Lazze wrote:

Turning on vsync in compiz while running gnome 2 always fixed the issue for me but, is there any similar option in gnome 3?

Happily yes! smile
https://bbs.archlinux.org/viewtopic.php … 9#p1018579

Offline

Board footer

Powered by FluxBB