You are not logged in.
Pages: 1
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
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
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
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
Thanks but running with mplayer2 still gives me screen tearing.
Anyone else?
Offline
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.
Offline
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
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
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
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 ).
Offline
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.
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 ).
That clears it up!
With that out of the way I'll try and find an up to date solution
Thanks
Offline
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
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 ).
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
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
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
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.
I guess I'll give it a couple more days to try and figure out a solution...
Offline
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
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
Thanks for the suggestion kokoko3k. I had the same problem, and mplayer -vo gl solved it for me.
Offline
Better yet, I installed mplayer-vaapi. Full hardware decoding of H.264 high definition videos and tear-free playback with mplayer -vo vaapi!
Offline
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!
https://bbs.archlinux.org/viewtopic.php … 9#p1018579
Offline
Pages: 1