I've got a lenovo laptop with i5-6200U.
When I make a call using skype incoming video seem to be not scaled properly - i.e. it's just a small rectangle in large window. If I enable outgoing video the whole window starts blinking with blue and video seemingly stops moving.
No additional errors logged in dmesg.
I'm using latest oibaf with Ubuntu 14.04.
There is another description of similar problem: http://askubuntu.com/questions/710960/video-display-problems-ubuntu-on-asus-ux305-skype-and-vlc-and-other-programs (by a different person).
I would be happy to provide any additional information required.
I would like to mention that this is really annoying issue: skype video calls become unusable.
Also, there is no such problem on Ivybridge, so it seems to be related to certain newer hardware.
I'd be really happy to help testing fixes or by providing more information but unfortunately I do not know even where to start to dig into the code to fi it myself.
One more thing that I've noticed: video from skyle (and from VLC) seems to be in 'always on top' mode - i.e. no other window can cover it. And it looks like that when I enable camera there are to 'always on top' windows in the same region (incoming and outgoing video) - and those constantly 'fight' with lots of flickering.
I have Dell XPS 13 (the one here: https://wiki.archlinux.org/index.php/Dell_XPS_13_%282016%29). I confirm some problems mentioned: no scaling in VLC or mplayer, "always on the top" issue. I didn't use skype with video so I cannot confirm.
I'll also add an occasional flickering of the whole screen and in one case: I completely scrambled screen that I could fix only by restarting the whole machine.
I'll also add that I'm running the last 4.4 kernel that I compiled myself for Debian.
I did some more digging into this and it looks like that this hardware doesn't support XVideo somehow (this was briefly mentioned in some ticket, but I'm not sure I will be find it) - and apparently it needs some sort of emulation that clearly doesn't work properly.
Work around is adding this to xorg.conf:
Option "XVideo" "Disable"
This disables XVideo altogether. This made Skype a bit more usable - no flickering anymore, but I cannot see image from my own camera. Another problem is that XVideo was designed to make things faster and disabling it might make video jerky and eat more power.
As for VLC (and probably mplaer) - there is a way to select different video output. I think VLC defaults to XVideo because it's like the oldest and not-that-bad way to effectively render video.
Even though there are apparently semi-working workarounds it seems like broken XVideo extension is still a bug of Intel driver for these CPUs.
Created attachment 122574 [details]
xorg config file to switch to modesetting driver with glamor
I found a similar bug report in Redhat. The solution there was to switch from the the intel driver (with apparently no support for acceleration and Xv on Skylake) to the modesetting driver using glamor (using OpenGL for acceleration and Xv). I tried it on Debian Sid system and everything (including Xv in media players and Skype) works fine. I attach the config snippet that I put into /etc/X11/xorg.conf.d to make this work.
Just to point out that glamour is known to be slower than sna so even though this might be a work around, it might not work as permanent fix.
Confirmed on Dell XPS 15 9550 (Intel Skylake i7-6700HQ) with Ubuntu 15.10, Linux kernels 4.4.x, 4.5.0, 4.6-rc1 and the latest Intel Graphics drivers from 01.org .
I just tried the recent commit 2c4890001 from the xf86-video-intel git repository and it fixes the problem for me using the intel driver. I am testing on the XPS 13 with Skylake.
By fixed I mean that the xv video buffers are resized correctly. I did a short performance comparison of xv and opengl output with a 4K video full screen on a 4K screen using mpv. Using opengl it takes about 10% CPU on one core. With xv it needs 150% (more than one core). Still it is great that this works now.
Nikolay, thanks for your comment dated "2016-01-14 19:44:42 UTC" -- that's a lifesaver. Simultaneous incoming and outgoing video on skype works perfectly now.
I have Ubuntu 15.10 (4.2.0-35-generic) on Dell Latitude E5470 that has Intel i7-6820HQ, Sky Lake (rev 07). If/when I update my kernel to 4.5 or 4.6, will this disabling xv workaround not be needed anymore?
Nikolay, many thanks for your comment dated "2016-01-14 19:44:42 UTC" -- its a lifesaver! Simultaneous incoming and outgoing video on skype works perfectly now. I have Ubuntu 15.10 (4.2.0-35-generic) on Dell Latitude E5470 that has Intel i7-6820HQ, Sky Lake (rev 07).
I wonder if this disabling xv workaround will still be needed if/when I update my kernel to 4.5 or 4.6 ...
This also affects/effects me.
Ubuntu 16.04.1 LTS AMD64 with i7500 Sky Lake HD520 chipset
Have to manually disable Xv extensions in xorg.conf to be able to use SKYPE. SKYPE with PIP flashes blue and is unusable.
The Intel Video Driver is at fault
@Phillip, re c10, did you mean you had only taken that commit? Or did you use a tree with that commit as HEAD?
(In reply to Nishanth Aravamudan from comment #15)
> @Phillip, re c10, did you mean you had only taken that commit? Or did you
> use a tree with that commit as HEAD?
I applied just that commit on what was the current version in Debian sid back then. I guess it must have been version 2.99.917+git20160325.
Btw. I tried the current git master of xf86-video-intel yesterday and xv performance feels a lot better, basically the same as with the glamor driver. I haven't done extensive tests yet.
(In reply to Philipp Edelmann from comment #16)
> (In reply to Nishanth Aravamudan from comment #15)
> > @Phillip, re c10, did you mean you had only taken that commit? Or did you
> > use a tree with that commit as HEAD?
> I applied just that commit on what was the current version in Debian sid
> back then. I guess it must have been version 2.99.917+git20160325.
> Btw. I tried the current git master of xf86-video-intel yesterday and xv
> performance feels a lot better, basically the same as with the glamor
> driver. I haven't done extensive tests yet.
Thanks for the clarification. I tried to do that in a PPA for the Ubuntu bug and I saw some improvement (less blue) but still flickering and the window would not properly maximize. Using the version from 16.10 directly (as documented in the Ubuntu bug) worked fine.
I note also that videos do not scale using "mplayer -vo x11" but do with "-vo gl" or "-vo xv".
Using kernel 4.6 and xserver-xorg-video-intel 2:2.99.917+git1607211930.6988b8~gd~x from oibaf on this skylake.
Games et al run fine.
Is the accepted solution to disable xvideo and/or use glamore?
Is it possible that this would be integrated into the latest version?
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/issues/80.