Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349314 - x11-wm/compiz-fusion-0.8.6 cann't play video: X11 error: BadAlloc (insufficient resources for operation)
Summary: x11-wm/compiz-fusion-0.8.6 cann't play video: X11 error: BadAlloc (insufficie...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Desktop-Effects herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 410979
  Show dependency tree
 
Reported: 2010-12-21 20:18 UTC by Den_M
Modified: 2012-08-27 19:34 UTC (History)
2 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 Den_M 2010-12-21 20:18:34 UTC
I use Compiz-fusion as standalone window manager (running as
exec ck-launch-session fusion-icon
) and when trying to play video with mplayer or xine-ui get following error:

X11 error: BadAlloc (insufficient resources for operation)

This don't depends on file size, movie format or video parameters (resolution, bitrate and so on). Also trying to test webcam in Skype getting the same error while firefox correctly playback Youtube videos.


Using fluxbox as standalone window manager I can play video with mplayer without any problem.

----------------------------------------------------------------------------
emerge --info

Portage 2.1.9.25 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.12.1-r1, 2.6.34-gentoo-r6.den_m i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r6.den_m-i686-AMD_Athlon-tm-_II_X4_630_Processor-with-gentoo-2.0.1
Timestamp of tree: Fri, 03 Dec 2010 01:45:03 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.6
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13::<unknown repository>, 2.65
sys-devel/automake:  1.7.9-r1::<unknown repository>, 1.9.6-r2::<unknown repository>, 1.10.1-r1, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa bash-completion bzip2 cairo cli cracklib crypt cxx dbus dga dri dvd fortran gdbm gif gpm gtk hal iconv jpeg lcms maildir midi mime minimal mmx modules mp3 mpeg mudflap ncurses nls nptl nptlonly offensive ogg opengl openmp pam png posix pppd quicktime readline session sockets spell sse sse2 ssl sysfs tcpd threads tiff truetype unicode usb vorbis x86 xcomposite xinerama xorg xosd xpm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd" 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, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


---------------------------------------------------------------
[ebuild R ] x11-wm/compiz-fusion-0.8.6 USE="emerald -gnome -kde -unsupported"

[ebuild R ] x11-apps/fusion-icon-0.1-r1 USE="gtk -qt4"

[ebuild R ] x11-wm/compiz-0.8.6-r2  USE="cairo dbus gtk svg -fuse -gconf -gnome -kde"

[ebuild R ] media-video/mplayer-1.0_rc4_p20101114 USE="3dnow 3dnowext X a52 aalib alsa ass bl cddb cdio cdparanoia dga dirac dts dv dvb dvd dvdnav enca encode faac faad ggi gif iconv jpeg live lzo mad mmx mmxext mp3 nas network opengl osdmenu png quicktime rar real rtc schroedinger shm speex sse sse2 ssse3 tga theora toolame tremor truetype twolame unicode v4l v4l2 vidix vorbis win32codecs x264 xanim xinerama xscreensaver xv xvid xvmc (-altivec) -amr (-aqua) -bidi -bindist (-bluray) -bs2b -cpudetection -custom-cpuopts -debug -directfb -doc -dxr3 -esd -fbcon -ftp -gsm -ipv6 -jack -joystick -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -md5sum -mng -mpg123 -nut -openal -oss -pnm -pulseaudio -pvr -radio -rtmp -samba -sdl -vdpau -vpx -zoran" VIDEO_CARDS="-mga -s3virge -tdfx -vesa"

[ebuild U ] x11-wm/fluxbox-1.1.1-r2 [1.1.1-r1] USE="imlib nls slit toolbar truetype xinerama -gnome -newmousefocus% -vim-syntax"
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-12-21 23:12:29 UTC
Are both the xv and gl outputs of mplayer affected? (See "mplayer -vo help" for supported outputs).

This could be a driver issue. Compare xvinfo output when compiz is running and when it is not running.
Comment 2 Den_M 2010-12-22 17:44:00 UTC
(In reply to comment #1)
> Are both the xv and gl outputs of mplayer affected? (See "mplayer -vo help" for
> supported outputs).

no, with xv - insufficent resource error
with gl - bad video output (video frame mixed with backgroung windows)

> This could be a driver issue. Compare xvinfo output when compiz is running and
> when it is not running.
> 

It's the same

no compiz

X-Video Extension version 2.2
screen #0
  Adaptor #0: "Radeon Textured Video"
    number of ports: 16
    port base: 63
    operations supported: PutImage 
    supported visuals:
      depth 24, visualID 0x21
    number of attributes: 3
      "XV_BICUBIC" (range 0 to 2)
              client settable attribute
              client gettable attribute (current value is 2)
      "XV_VSYNC" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_HWPLANAR" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
    maximum XvImage size: 2048 x 2048
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)

---------------------------------------------------------------
compiz-fusion

X-Video Extension version 2.2
screen #0
  Adaptor #0: "Radeon Textured Video"
    number of ports: 16
    port base: 63
    operations supported: PutImage 
    supported visuals:
      depth 24, visualID 0x21
    number of attributes: 3
      "XV_BICUBIC" (range 0 to 2)
              client settable attribute
              client gettable attribute (current value is 2)
      "XV_VSYNC" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_HWPLANAR" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
    maximum XvImage size: 2048 x 2048
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
Comment 3 Sergey Popov gentoo-dev 2012-06-16 12:02:22 UTC
can this be reproduced with recent xorg-server(1.11.4) and compiz(0.8.8)?
Comment 4 Den_M 2012-06-18 08:20:25 UTC
(In reply to comment #3)
> can this be reproduced with recent xorg-server(1.11.4) and compiz(0.8.8)?

Sorry, I don't have now that configuration and free time to build it.
Comment 5 Sergey Popov gentoo-dev 2012-08-27 19:34:10 UTC
Closing it as NEEDINFO. If anybody can reproduce this bug on system with new versions of mesa, Xorg and compiz, please reopen.