Linux Green squares during playback
#1
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/h9pw3sv5pvytug...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?
Reply
#2
Are you using hardware acceleration for video playback? If so try disabling it.
Reply
#3
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?
Reply
#4
I ask because I had this issue myself with certain videos and it turned out to be the way they were ripped
Reply
#5
My videos are ripped from my dvds and are not transcoded. So they are commercially created mpeg 2.

I ripped them with makemkv
Reply
#6
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!
Reply
#7
vaapi bug - was fixed via: http://cgit.freedesktop.org/vaapi/intel-...e99979a817

Make sure to upgrade the intel drivers to 1.3.2
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#8
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/..._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.
Reply
#9
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.
Reply
#10
This fix by Pheran sorted an occassional problem for me playing mkv files ripped using makemkv. Using Gotham
Reply
#11
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.
Reply
#12
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)
Reply
#13
(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/..._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
Reply
#14
Anyone??
Reply
#15
sudo apt-add-repository ppa:wsnipex/vaapi
sudo apt-get update
sudo apt-get dist-upgrade
Reply

Logout Mark Read Team Forum Stats Members Help
Green squares during playback1