Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151215 - gst-plugins-xvimagesink crashes with videos too large for the driver's Xv
Summary: gst-plugins-xvimagesink crashes with videos too large for the driver's Xv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2.18
  Show dependency tree
 
Reported: 2006-10-13 12:33 UTC by Peter Weber
Modified: 2007-07-17 13:48 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 Peter Weber 2006-10-13 12:33:24 UTC
Hi, Totem always crash if I want play a ogg-movie, with mpeg-movies everything works correct:

 totem shot01.ogg 
The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 47 error_code 11 request_code 139 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


Here my "emerge --info":
 emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18 i686)
=================================================================
System uname: 2.6.18 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.5
Last Sync: Fri, 13 Oct 2006 17:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa avahi beagle berkdb bitmap-fonts cairo cdinstall cdr cli cups dbus dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode fam fbcon firefox flac fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal imap input_devices_evdev input_devices_keyboard ipv6 isdnlog jabber jpeg kernel_linux ldap libg++ libnotify libsexy mad mikmod mmx mono mp3 mpeg nautilus ncurses nls nodrm nptl nptlonly ogg openal opengl pam pcmcia pcre pdf pic png pnp ppds pppd quicktime readline reflection samba sdl session spell spl sqlite sse sse2 ssl startup-notification svg sysfs sysvipc tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_i810 vorbis wifi win32codecs x264 xcomposite xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2006-10-13 13:33:21 UTC
what's the resolution of the ogg movie you're trying to play? Can you play an mpeg movie that's the same size?
Comment 2 Peter Weber 2006-10-14 04:26:04 UTC
It is a AIGLX-Presentation Movie vom Redhat, resolution 1024x768.
This is also the max. resolution of my screen.

Mplayer plays the movie in the framebuffer (tty/shell) without problems.
Comment 3 Peter Weber 2006-10-14 06:24:58 UTC
Totem plays other OGG-Theora movies without a problem.
Comment 4 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-10-16 09:21:13 UTC
Can you post the video somewhere, as if its what I found, it ran perfectly.  Also what is the output of the following command: gconftool-2 -g '/system/gstreamer/0.10/default/videosink'
Comment 5 Peter Weber 2006-10-16 17:05:53 UTC
Hello:
~ $ gconftool-2 -g /system/gstreamer/0.10/default/videosink
xvimagesink


http://www.gnome.org/~jrb/aiglx/shot01.ogg

Bye
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2006-10-17 01:04:11 UTC
known bug not related to ogg/theora but to the size of your video. Try setting this gconf key to "ximagesink" and it should work.

The bug is with the Xv subsystem that handles large videos very poorly (ie crash). I reported a similar bug to zaheerm with his Istanbul screen recorder and he defaulted his app to use ximagesink instead of gconfvideosink.

It sucks, yeah, since ximagesink has no hw acceleration, but it works in all cases. This should be resolved "upstream" but I don't know if this should be brought to Gstreamer or Xorg (or both?).
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-11-06 12:20:52 UTC
I was able to play this video fine with xvimagesink on 2.16.1-r1, both in a window and full screen.  Can you try 2.16.1-r1?  Does mplayer play it with vo=xv?  Does XV work on your card in general?

(BTW, automatic (autovideosink) is the default...)
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2006-11-29 22:25:22 UTC
This issue is a driver issue. Some Xv drivers (such as i810) just crash when they cannot allocate enough video ram for their needs. It's also very much hardware dependent as cards with a lot of ram won't see this bug.

Upstream already knows about this, but I don't know if any work is being done on this. I'll check fd.o's bugzilla.
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2007-06-19 06:00:06 UTC
For the record, intel's xf86-video-i810-2.0 and later (i'm using git) fixes the XV issue. I've been watching 720p HD videos using XV (gstreamer and mplayer) without any issues.

I suggest trying it out.
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2007-07-17 13:48:20 UTC
Most issues should be fixed with xf86-video-i810-2.1.0

If not, don't hesitate to reopen this bug.

Thanks