You are not logged in.

#1 2014-03-24 18:27:43

ironicbadger
Member
Registered: 2013-11-12
Posts: 17

Intel driver update broke XBMC

I upgraded a few packages relating to Intel this afternoon and it ended up giving me a black screen in XBMC when trying to play video. Fixed by downgrading libva in the end. My log is below in case it helps someone else.

Also just discovered my libnfs update of a few days ago broke NFS for XBMC as well. Two breakages at once! Cor blimey.

[2014-03-24 16:45] [PACMAN] Running 'pacman -Syu'
[2014-03-24 16:45] [PACMAN] synchronizing package lists
[2014-03-24 16:45] [PACMAN] starting full system upgrade
[2014-03-24 16:45] [PACMAN] upgraded libmodplug (0.8.8.4-2 -> 0.8.8.5-1)
[2014-03-24 16:45] [PACMAN] upgraded libva (1.2.1-2 -> 1.3.0-1)
[2014-03-24 16:45] [PACMAN] upgraded libva-intel-driver (1.2.2-2 -> 1.3.0-1)
[2014-03-24 16:45] [PACMAN] upgraded nspr (4.10.3-1 -> 4.10.4-1)
[2014-03-24 16:45] [PACMAN] upgraded nss (3.15.4-1 -> 3.15.5-1)
[2014-03-24 16:45] [PACMAN] upgraded xf86-video-intel (2.99.910-1 -> 2.99.911-1)
[2014-03-24 18:20] [PACMAN] Running 'pacman -S downgrade'
[2014-03-24 18:20] [PACMAN] installed downgrade (5.0.3-1)
[2014-03-24 18:21] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xf86-video-intel-2.99.910-1-x86_64.pkg.tar.xz'
[2014-03-24 18:21] [PACMAN] downgraded xf86-video-intel (2.99.911-1 -> 2.99.910-1)
[2014-03-24 18:25] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/libva-intel-driver-1.2.2-2-x86_64.pkg.tar.xz'
[2014-03-24 18:25] [PACMAN] downgraded libva-intel-driver (1.3.0-1 -> 1.2.2-2)
[2014-03-24 18:25] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/libva-1.2.1-2-x86_64.pkg.tar.xz'
[2014-03-24 18:25] [PACMAN] downgraded libva (1.3.0-1 -> 1.2.1-2)

Last edited by ironicbadger (2014-03-24 18:38:40)


linuxserver.io

Offline

#2 2014-03-24 21:37:02

djpc123
Member
Registered: 2014-03-24
Posts: 1

Re: Intel driver update broke XBMC

Ive had the same issue, even compiling against the latest versions with the latest git source does not fix the issue. I dont use NFS so I cant comment on if thats broken for me too.

Offline

#3 2014-03-25 20:29:28

Bobyl
Member
Registered: 2010-02-10
Posts: 16

Re: Intel driver update broke XBMC

Intel-dri was updated a while back (03/15) while intel libva drivers where pushed yesterday for update. I have a feeling they are causing the issue with video playback.

Offline

#4 2014-03-25 23:06:21

toki
Member
From: Germany
Registered: 2007-12-27
Posts: 9

Re: Intel driver update broke XBMC

Same issue here (the video playback one)...

However, instead of downgrading, the following worked for me (I don't have the english interface, so the options may be labeled a little different):
Go to Settings -> Video -> Playback and disable "hardware acceleration (vaapi)".

Now video playback is working again. So there seems to be an issue with the VAAPI, but I have no further clue so far.

Offline

#5 2014-03-26 18:38:32

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Intel driver update broke XBMC

Has anyone reported this issue upstream?  Chris Wilson is very good about fixing but only if he is aware there is a problem: https://bugs.freedesktop.org/


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2014-03-27 15:46:05

noahsark1126
Member
Registered: 2008-08-28
Posts: 119

Re: Intel driver update broke XBMC

I have the exact same issue.  Will try to acquire a debug log later.

Last edited by noahsark1126 (2014-03-27 15:46:33)

Offline

#7 2014-03-27 21:22:41

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Intel driver update broke XBMC

Downgrading to the following fixes it on my haswell.  No time to troubleshoot further to see which package is to blame or if a combo of them is to blame.

libva-intel-driver-1.2.2-2
xf86-video-intel-2.99.910-1
intel-dri-10.1.0-2

I think the culprit might be intel-dri actually; I initially downgraded libva-intel-driver and xf86-video-intel but that did not fix the black screen; downgrading intel-dri did (but again, I have the two older versions of the other two now).


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#8 2014-03-27 21:28:26

noahsark1126
Member
Registered: 2008-08-28
Posts: 119

Re: Intel driver update broke XBMC

Interesting, that is a bit different from me.  I first downgraded xf86-intel and libva-intel, like you, and it didn't fix the problem.  Then I downgraded libva, which worked.  I did not touch intel-dri.  Also on Haswell.

Offline

#9 2014-03-27 21:35:44

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Intel driver update broke XBMC

U restart X in between downgrades?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#10 2014-03-27 21:36:57

noahsark1126
Member
Registered: 2008-08-28
Posts: 119

Re: Intel driver update broke XBMC

yes, restarted X, not a full reboot.  I will try to play with it more later.

Offline

#11 2014-03-28 08:34:31

arfoll
Member
Registered: 2010-08-02
Posts: 6

Re: Intel driver update broke XBMC

Downgrading to libva 1.2.1-2 (from 1.3.0-1) fixed the issue for me. On Ivybridge (i3-3217U). Did a full restart but it worked after an X restart.

Offline

#12 2014-03-28 18:22:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Intel driver update broke XBMC

@arfoll - I can confirm this on my Haswell.  Updated system --> no playback of some files; downgraded libva to 1.2.1-2 (restart X) --> normal behavior.

EDIT: Upstream bug report added.

Last edited by graysky (2014-03-28 18:33:49)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#13 2014-03-28 18:51:21

noahsark1126
Member
Registered: 2008-08-28
Posts: 119

Re: Intel driver update broke XBMC

Confirmed identical behavior.

Offline

#14 2014-03-29 12:21:18

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Intel driver update broke XBMC

I can also see an error from mplayer when attempting to play a file, but I believe mplayer will auto fall back which is why it still plays:

MPlayer SVN-r37051 (C) 2000-2014 MPlayer Team
207 audio & 440 video codecs
...
libavformat version 55.33.100 (internal)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (ac3), -aid 0
VIDEO:  [H264]  1280x720  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 encoder: libebml v1.3.0 + libmatroska v1.4.0
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
...

And with xbmc started from a shell.  I attempted to play an x264 video three times each time using a different video output setting shown below.

1) No vdpau and no vaapi; video played.

% xbmc
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

2) Just vdpau enabled; video played.

% xbmc
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory

3) Just vaapi; video did NOT play.

% xbmc
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0

Last edited by graysky (2014-03-29 21:45:59)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#15 2014-03-30 10:14:30

spirit
Member
Registered: 2010-03-19
Posts: 11

Re: Intel driver update broke XBMC

Hi,

about:
"Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory"

according to redhat,
https://bugs.freedesktop.org/show_bug.cgi?id=73507
https://lists.rpmfusion.org/pipermail/r … 15413.html
https://bugzilla.redhat.com/show_bug.cgi?id=999315

we should have symlink

/usr/lib/vdpau/libvdpau_i965.so -> /usr/lib/vdpau/libvdpau_va_gl.so


and no more need to
export VDPAU_DRIVER=xxx

Offline

#16 2014-03-30 10:26:55

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Intel driver update broke XBMC

@Spirit - I added that symlink but still got the mplayer errors.  Can you confirm otherwise?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#17 2014-03-31 04:50:51

MagicBobert
Member
From: Sunnyvale, CA
Registered: 2011-09-30
Posts: 3
Website

Re: Intel driver update broke XBMC

Same behavior here. Downgrading libva and libva-intel-driver to 1.2.2-2 fixed it.

Offline

#18 2014-04-01 16:35:20

oschmidt
Member
Registered: 2013-05-14
Posts: 1

Re: Intel driver update broke XBMC

I have only installed libvdpau-va-gl and XBMC works.

Offline

#19 2014-04-07 22:40:15

zorrivel
Member
Registered: 2014-04-02
Posts: 10

Re: Intel driver update broke XBMC

Same behaviour on a Haswell Core i3. H.264 videos play with VAAPI off and MPEG4 videos play with no problem whatsoever.

Offline

#20 2014-04-13 11:37:09

Spoon3er
Member
Registered: 2014-04-13
Posts: 2

Re: Intel driver update broke XBMC

Same here on a Haswell i5 4570 with DEBIAN jessy
For me works out to downgrade BOTH

  • libva to 1.2.1

  • libva-intel-driver to 1.2.2


working:

libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_34
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.34 (libva 1.2.1)
vainfo: Driver version: Intel i965 driver - 1.2.2

not working:

libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_34
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.0)
vainfo: Driver version: Intel i965 driver - 1.2.2

responded to https://bugs.freedesktop.org/ with additional logs

Offline

#21 2014-04-14 07:34:20

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: Intel driver update broke XBMC

Try an abs-built xorg-server 1.15.1. It worked for me with everything else current. Tested with mythtv on ivybridge.

Offline

#22 2014-04-15 18:14:09

Spoon3er
Member
Registered: 2014-04-13
Posts: 2

Re: Intel driver update broke XBMC

This commit fix the issue for user with xorg-server < 1.15.1.
http://cgit.freedesktop.org/libva/commi … 0623ac4406

Last edited by Spoon3er (2014-04-15 18:14:40)

Offline

#23 2014-06-01 12:34:36

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: Intel driver update broke XBMC

I would just like to add to this. Intel intergrated using i915

vdpauinfo returns:

display: :0   screen: 0
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1

however libvdpau_i965.so does not exist so cannot be symlinked:

ls -al /usr/lib/vdpau/
total 288
drwxr-xr-x   2 root root   4096 Jun  1 13:14 .
drwxr-xr-x 186 root root 114688 Jun  1 13:06 ..
lrwxrwxrwx   1 root root     23 Aug  5  2013 libvdpau_trace.so -> libvdpau_trace.so.1.0.0
lrwxrwxrwx   1 root root     23 Aug  5  2013 libvdpau_trace.so.1 -> libvdpau_trace.so.1.0.0
-rwxr-xr-x   1 root root  51208 Aug  5  2013 libvdpau_trace.so.1.0.0
lrwxrwxrwx   1 root root     19 Apr  5 17:07 libvdpau_va_gl.so -> libvdpau_va_gl.so.1
-rwxr-xr-x   1 root root 118080 Apr  5 17:07 libvdpau_va_gl.so.1

Offline

Board footer

Powered by FluxBB