Kodi Community Forum
Linux Green squares during playback - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux Green squares during playback (/showthread.php?tid=179020)

Pages: 1 2


Green squares during playback - Jabes - 2013-11-26

Playing back certain MPEG-2 video files (as MKV) on my haswell based box gives green squares

http://imgur.com/ZelKUlf

I have cut down a video file which illustrates this - https://www.dropbox.com/s/h9pw3sv5pvytugy/12%20Angry%20Men%20%281957%29%20%281%29-001.mkv

I did quite a bit of investigation with fritsch and it looks like it's a bug in xbmc as it plays back correctly in vlc apparently.

I have filed an xbmc bug report http://trac.xbmc.org/ticket/14683 but no movement just yet, wondered if anyone had experienced the same problems?


RE: Green squares during playback - drivesoslow - 2013-11-27

Are you using hardware acceleration for video playback? If so try disabling it.


RE: Green squares during playback - Jabes - 2013-11-27

Yes, this is with VAAPI acceleration. Changing to software decoding fixes the issue, but unfortunately software decoding is not quite fast enough for all my blu ray rips.
I don't want to turn this on and off before each film.

Perhaps if there was a way to disable acceleration just for mpeg2 playback?


RE: Green squares during playback - drivesoslow - 2013-11-27

I ask because I had this issue myself with certain videos and it turned out to be the way they were ripped


Green squares during playback - Jabes - 2013-11-27

My videos are ripped from my dvds and are not transcoded. So they are commercially created mpeg 2.

I ripped them with makemkv


RE: Green squares during playback - Pheran - 2014-08-02

I'm having this exact same issue on an i5 Haswell NUC playing videos that were ripped straight from DVD - no transcoding/recompression. I'm running XBMCbuntu with XBMC 13.1. I'm seeing that there's supposed to be a fix available through those bug links, but how do I get the fix installed onto my XBMC box? Thanks!


RE: Green squares during playback - fritsch - 2014-08-02

vaapi bug - was fixed via: http://cgit.freedesktop.org/vaapi/intel-driver/commit/?id=3afe0514162332e923092000940ee8e99979a817

Make sure to upgrade the intel drivers to 1.3.2


RE: Green squares during playback - Pheran - 2014-08-02

After much research (I'm mostly familiar with Red Hat distros, not Ubuntu) I think I've figured this out. The VAAPI driver is installed by the i965-va-driver package, which is currently version 1.3.0 under Ubuntu 14.04:

root@htpc:/var/tmp# apt list i965-va-driver
Listing... Done
i965-va-driver/trusty,now 1.3.0-1ubuntu1 amd64 [installed]

However, there's a 1.3.2 update for this in the proposed repository. I downloaded it with curl and then installed it:

root@htpc:/var/tmp# curl -OL http://launchpadlibrarian.net/177724053/i965-va-driver_1.3.2-1_amd64.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 203k 100 203k 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k

root@htpc:/var/tmp# ls -l
total 204
-rw-r--r-- 1 root root 208494 Aug 2 13:51 i965-va-driver_1.3.2-1_amd64.deb

root@htpc:/var/tmp# dpkg -i i965-va-driver_1.3.2-1_amd64.deb
(Reading database ... 124562 files and directories currently installed.)
Preparing to unpack i965-va-driver_1.3.2-1_amd64.deb ...
Unpacking i965-va-driver:amd64 (1.3.2-1) over (1.3.0-1ubuntu1) ...
Setting up i965-va-driver:amd64 (1.3.2-1) ...

After this I rebooted my NUC and no more green squares! This 1.3.2 package should really be promoted out of proposed, but that's not XBMC's problem and I'm not sure how it happens.


RE: Green squares during playback - pinchy62 - 2014-10-05

The fix suggested by Pheran worked on the first attempt for my i3 NUC. ssh'd in and dpkg, reboot and now hardware accelerated MVK's are perfect.


RE: Green squares during playback - mnewnham - 2014-10-18

This fix by Pheran sorted an occassional problem for me playing mkv files ripped using makemkv. Using Gotham


RE: Green squares during playback - johan.zietsman - 2014-12-29

Thanks Pheran. Like mnewnham, some of my mkv movies ripped with makemkv had this problem. I followed the steps suggested by Pheran, and they are all OK.


RE: Green squares during playback - cjordahl - 2015-07-24

I had the same issue, and Pheran's fix solved it. Kodi 14.2 on Intel NUC with Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-57-generic x86_64)


RE: Green squares during playback - obwiz - 2016-02-01

(2014-08-02, 20:03)Pheran Wrote: After much research (I'm mostly familiar with Red Hat distros, not Ubuntu) I think I've figured this out. The VAAPI driver is installed by the i965-va-driver package, which is currently version 1.3.0 under Ubuntu 14.04:

root@htpc:/var/tmp# apt list i965-va-driver
Listing... Done
i965-va-driver/trusty,now 1.3.0-1ubuntu1 amd64 [installed]

However, there's a 1.3.2 update for this in the proposed repository. I downloaded it with curl and then installed it:

root@htpc:/var/tmp# curl -OL http://launchpadlibrarian.net/177724053/i965-va-driver_1.3.2-1_amd64.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 203k 100 203k 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k

root@htpc:/var/tmp# ls -l
total 204
-rw-r--r-- 1 root root 208494 Aug 2 13:51 i965-va-driver_1.3.2-1_amd64.deb

root@htpc:/var/tmp# dpkg -i i965-va-driver_1.3.2-1_amd64.deb
(Reading database ... 124562 files and directories currently installed.)
Preparing to unpack i965-va-driver_1.3.2-1_amd64.deb ...
Unpacking i965-va-driver:amd64 (1.3.2-1) over (1.3.0-1ubuntu1) ...
Setting up i965-va-driver:amd64 (1.3.2-1) ...

After this I rebooted my NUC and no more green squares! This 1.3.2 package should really be promoted out of proposed, but that's not XBMC's problem and I'm not sure how it happens.

I know this is an old thread but I'm having the same problem running Ubuntu.

I know nothing about Ubuntu so I'm asking what exactly do I type at the command line to fix this problem...Thanks in advance!Big Grin

BTW I have an Intel Nuc


RE: Green squares during playback - obwiz - 2016-02-03

Anyone??


RE: Green squares during playback - wsnipex - 2016-02-03

sudo apt-add-repository ppa:wsnipex/vaapi
sudo apt-get update
sudo apt-get dist-upgrade