Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492548 - media-video/vlc-2.1.1 USE=-xcb - "Integrate video in interface" menu option fails to integrate video in interface
Summary: media-video/vlc-2.1.1 USE=-xcb - "Integrate video in interface" menu option f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-25 21:29 UTC by ykui
Modified: 2014-02-24 09:29 UTC (History)
1 user (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 ykui 2013-11-25 21:29:28 UTC
In the options menu under interface, the "Integrate video in interface" option does nothing.

Videos appear in their own separate window outside of the interface, unlike what it used to earlier.

This was also an issue with stable (2.0.7 I *think*), before I tried upgrading

Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome, gcc-4.8.2, glibc-2.15-r3, 3.11.9-gentoo-yumekui=w= x86_64)
=================================================================
System uname: Linux-3.11.9-gentoo-yumekui=w=-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.2
KiB Mem:     8173460 total,    163364 free
KiB Swap:   16777212 total,  16625232 free
Timestamp of tree: Sat, 23 Nov 2013 04:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r4, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo unity-gentoo qt steam-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=core2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=core2"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=core2"
GENTOO_MIRRORS="http://ftp.df.lth.se/pub/gentoo/ ftp://ftp.df.lth.se/pub/gentoo/ ftp://ftp.rhnet.is/pub/gentoo/ ftp://gentoo.inf.elte.hu"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="/var/lib/layman/unity-gentoo /var/lib/layman/qt /var/lib/layman/steam"
SYNC="rsync://rsync10.de.gentoo.org/gentoo-portage"
USE="32bit X a52 aac acl acpi alsa amd64 bidi branding bzip2 cairo canna cdda cdr cjk cli colord cracklib crypt cups cxx dbus dga dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fontconfig fontforge fortran freewnn gdbm gif glut gnome gnome-keyring gnome-online-accounts gphoto2 gpm gstreamer gtk gzip iconv icu idn introspection ipv6 jpeg lcms ldap libnotify libsecret lzma lzo mad minizip mmx mng modules mp3 mp4 mpeg mpi mudflap multilib nautilus ncurses nls nptl nsplugin numpy offensive ogg opencl opengl openmp p7zip pam pango pcre pdf png policykit polkit ppds pulseaudio python python2 python3 qt3support qt4 readline rtmp sdl session smp socialweb spell sqlite sse sse2 sse3 ssl ssse3 startup-notification steamruntime svg systemd szip t1lib tcpd tiff truetype udev udisks unicode unzip upower usb vaapi vdpau vorbis wacom webkit wxwidgets x264 xattr xcb xft xml xv xvid xvmc zeitgeist zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 author" CAMERAS="canon" 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 ublox ubx" INPUT_DEVICES="wacom evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB nb_NO ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="pypy2_0 python2_7 python3_3 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
USE_PYTHON=" 3.2 3.3 2.7 2.7-pypy-2.0"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


=================================================================
                        Package Settings
=================================================================

media-video/vlc-2.1.1 was built with the following:
USE="X a52 aalib alsa avahi avcodec avformat bidi cdda dbus dirac dts dvbpsi dvd egl encode ffmpeg flac fluidsynth fontconfig gcrypt gnome gnutls kate kde libass libcaca libtiger live lua matroska mmx mp3 mpeg musepack ncurses ogg opengl opus png postproc pulseaudio qt4 rtsp schroedinger sdl sse swscale theora truetype twolame udev vaapi vdpau vorbis x264 xml zvbi (-altivec) -atmo (-audioqueue) -bluray -cddb -chromaprint -dc1394 -debug -directfb (-directx) -dvb (-dxva2) -faad -fdk -gme -growl -httpd -ieee1394 (-ios-vout) -jack -libnotify -libsamplerate -libtar -linsys -lirc (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) (-media-library) -modplug -mtp (-neon) -omxil -opencv -optimisememory -projectm (-qt5) -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -skins -speex -svg -taglib -test -tremor -upnp -v4l -vcdx -vlm -wma-fixed -xcb -xv"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -L/usr/lib64/sidplay/builders/"
Comment 1 ykui 2013-11-26 19:37:11 UTC
Workaround (?):

So I think I found what causes it. Building VLC without the xcb use flag (and with certain other options below), I reliably reproduce having and not having the video integrated into the controls. +xcb --> integration

No integration even though option is turned on in settings:

media-video/vlc-2.0.5 was built with the following:
USE="X a52 aac alsa avcodec avformat bidi cdda dbus dts dvbpsi dvd encode ffmpeg flac fontconfig gcrypt gnome mmx mp3 mpeg ncurses ogg opengl png postproc pulseaudio qt4 sdl sqlite sse swscale truetype udev vaapi vorbis x264 xml -aalib (-altivec) -atmo (-audioqueue) -avahi -bluray -cddb -dc1394 -debug -dirac (-direct2d) -directfb (-directx) (-dshow) -dvb (-dxva2) -egl -fbosd -fluidsynth -gme -gnutls -growl -httpd -ieee1394 (-ios-vout) -jack -kate -kde -libass -libcaca -libnotify -libproxy -libsamplerate -libtar -libtiger -linsys -lirc -live -lua (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) -matroska (-media-library) -modplug -mtp -musepack (-neon) -omxil -optimisememory -opus -oss -portaudio -projectm -pvr -rtsp -run-as-root -samba -schroedinger -sdl-image -shine -shout -sid -skins -speex -svg -switcher -taglib -theora -twolame -upnp -v4l -vcdx -vlm (-waveout) (-wingdi) -wma-fixed -xcb -xosd -xv -zvbi"




Integration with option turned on in settings (changed +xcb):

media-video/vlc-2.0.5 was built with the following:
USE="X a52 aac alsa avcodec avformat bidi cdda dbus dts dvbpsi dvd encode ffmpeg flac fontconfig gcrypt gnome mmx mp3 mpeg ncurses ogg opengl png postproc pulseaudio qt4 sdl sqlite sse swscale truetype udev vaapi vorbis x264 xcb xml -aalib (-altivec) -atmo (-audioqueue) -avahi -bluray -cddb -dc1394 -debug -dirac (-direct2d) -directfb (-directx) (-dshow) -dvb (-dxva2) -egl -fbosd -fluidsynth -gme -gnutls -growl -httpd -ieee1394 (-ios-vout) -jack -kate -kde -libass -libcaca -libnotify -libproxy -libsamplerate -libtar -libtiger -linsys -lirc -live -lua (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) -matroska (-media-library) -modplug -mtp -musepack (-neon) -omxil -optimisememory -opus -oss -portaudio -projectm -pvr -rtsp -run-as-root -samba -schroedinger -sdl-image -shine -shout -sid -skins -speex -svg -switcher -taglib -theora -twolame -upnp -v4l -vcdx -vlm (-waveout) (-wingdi) -wma-fixed -xosd -xv -zvbi"
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-12-07 19:40:55 UTC
I'll look into this with the next version bump, I will probably remove the menu entry based on the USE flag if it really means to do nothing without the support being present.
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-12-15 22:39:49 UTC
> This was also an issue with stable (2.0.7 I *think*), before I tried upgrading

Do you know a version where this was not the case? If so, I could bisect this.
Comment 4 ykui 2013-12-16 21:56:08 UTC
Afraid not. It happened with 2.0.5 and 2.1.1 as far as I remember. And possibly 2.0.7 but I am not 100% sure if I tried that one or not.
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-02-22 15:40:16 UTC
Toggling the option will be confusing; given that the option is also already enabled by default (as well as that xv can bring it it), I've decided to give it a more lengthy description:

+               <flag name="xcb">Support the X C-language Binding, a replacement for Xlib; !!! you will need this option to be able to integrate video in the Qt interface, see bug #500678.</flag>

Thank you for reporting this.

+  22 Feb 2014; Tom Wijsman <TomWij@gentoo.org> metadata.xml, vlc-9999.ebuild:
+  Update description of USE flag xcb with explanation that it is needed in order
+  to display video; fixes bug #492548, reported by YumekuiNeru.
Comment 6 ykui 2014-02-24 09:29:20 UTC
I think I ran into the issue when trying this fix

http://forums.gentoo.org/viewtopic-p-7328806.html?sid=cda18b86799f6fe623389857571f2df4#7328806

it is a while ago and I forgot the details but I think I managed to get by with just -libnotify and -svg

though that is how I ended up with -xcb I think