Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437134 - media-tv/xbmc-11.0 hangs with va api.
Summary: media-tv/xbmc-11.0 hangs with va api.
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-04 06:22 UTC by dE
Modified: 2016-02-23 17:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dE 2012-10-04 06:22:44 UTC
In Gentoo if you've enabled va api decoding, xbmc hangs while playing h264 videos or in that case, any video which will use VA API for hardware decoding.

If I modify the ebuild to remove --enable-external-libraries, the problem solves.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-04 14:40:31 UTC
Please post your `emerge --info media-tv/xbmc' output in a comment.
Comment 2 dE 2012-10-06 12:18:20 UTC
emerge --info doesn't work anymore.

[ebuild  N     ] media-tv/xbmc-11.0  USE="alsa css sse sse2 udev vaapi xrandr -airplay (-altivec) -avahi -bluetooth -bluray -cec -debug -goom -joystick -midi -mysql -profile -projectm -pulseaudio -pvr -rsxs -rtmp -samba -vdpau -webserver" 61,536 kB
Comment 3 dE 2012-11-19 07:25:57 UTC
This can at least be confirmed?
Comment 4 Maxxim 2012-11-27 14:47:10 UTC
Confirmed.

Same on my system (Kernel 3.5.7, libva 1.0.15, xbmc 11.0, graphics Intel Clardale on Core i5)
Comment 5 amette 2012-11-29 23:58:34 UTC
Confirmed on a fresh Gentoo install.
Removing --enable-external-libraries from the ebuild solves the problem.


# emerge --info
Portage 2.1.11.31 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo x86_64)
=================================================================
System uname: Linux-3.5.7-gentoo-x86_64-Intel-R-_Celeron-R-_CPU_G550_@_2.60GHz-with-gentoo-2.1
Timestamp of tree: Thu, 29 Nov 2012 22:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA DOOM3 dlj-1.1 googleearth Q3AEULA ETQW QUAKE4 RTCW-ETEULA skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -mcx16 -msahf -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=generic"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2 -mcx16 -msahf -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=generic"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write --binpkg-respect-use=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nostrip parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de fi en en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac aacplus acl alsa amd64 amr avahi berkdb branding bzip2 cdio cli consolekit cracklib crypt css cxx dbus dga dirac djvu dri faac fbcon flac fortran gdbm gdm gif gnome-keyring gpm gsm gudev iconv icu idn ipv6 jbig jpeg jpeg2k libass libkms libnotify lzma lzo mad mmx mmxext modules mp3 mudflap multilib ncurses nls nptl offensive opengl openmp openssl pam pcre png policykit pppd pulseaudio readline rtmp schroedinger sdl session speex sse sse2 ssl ssse3 startup-notification tcpd theora threads tiff truetype udev unicode usb v4l vaapi vim-syntax vorbis vpx webp x264 xa xvid xvmc zlib" ALSA_CARDS="via82xx usb-audio bt87x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de fi en en_GB" LIRC_DEVICES="atiusb" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 6 Ben Kohler gentoo-dev 2012-12-18 18:44:21 UTC
I have seen this same issue on all 3 of my different intel video setups (SB mobile, SB desktop, IB desktop), but it seems to be working flawlessly on current git (9999).  The 12.0 release is imminent, I say let's work on getting that building & in portage ASAP.
Comment 7 dE 2013-02-01 19:06:28 UTC
It's fixed with 12.x
Comment 8 Ben Kohler gentoo-dev 2013-02-01 19:08:14 UTC
Just to see where we stand-- is xbmc-11 vaapi broken for *everyone*, or just certain setups like intel video?  Anyone seeing the same breakage on radeon/nvidia/fglrx/whatever?
Comment 9 SpanKY gentoo-dev 2016-02-23 17:48:40 UTC
xbmc is no longer in the tree.  you'll need to migrate to kodi.