Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xine lockup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
chance2105
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2004
Posts: 112
Location: Norman, OK USA

PostPosted: Fri Jan 27, 2006 6:14 am    Post subject: Xine lockup Reply with quote

I'm on a U60. When I run Xine, it pops up the splash image, and hangs. When I try running xine with "--no-splash" from the commandline, it starts, then hangs.

IIRC, xine has never worked on this box properly, always locking at this same place (even noticed on other distros, and other versions of xine).

Is there success with running xine on sparc?

U60, 2x450
640 MB RAM
Creator3D ffb2+

Code:
hoss chance # emerge -pv xine-ui

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-video/xine-ui-0.99.4-r3  +X -aalib -curl -libcaca (-lirc) +ncurses -nls +readline -xinerama
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Fri Jan 27, 2006 4:12 pm    Post subject: Reply with quote

What about emerge -pv xine-lib? xine-ui is just the GUI.
_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
chance2105
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2004
Posts: 112
Location: Norman, OK USA

PostPosted: Sat Jan 28, 2006 6:39 pm    Post subject: Reply with quote

Tleilaxu wrote:
What about emerge -pv xine-lib? xine-ui is just the GUI.


xine-ui depends on xine-lib, so it's installed.

I have made progress with getting it to work: compilng xine-lib without the "opengl" USE flag seems to have fixed the problem. However a new problem has cropped up -- it seems .mov and .ogg files play ok, but mp3 and mpeg/mpg files do not:

Code:
chance@hoss ~/Music/Albums/Radiohead - OK Computer $ xine 01\ -\ Airbag.mp3
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
xiTK received SIGSEGV signal, RIP.
Aborted

chance@hoss ~ $ xine example.mpg
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
xiTK received SIGSEGV signal, RIP.
Aborted


My USE flags thus far:

Code:
[ebuild   R   ] media-libs/xine-lib-1.1.1-r3  +X -a52 +aac +aalib -alsa (-altivec) -arts -asf (-cle266) -debug (-directfb) -dts -dvd -dxr3 +esd -fbcon +ffmpeg +flac -gnome (-i8x0) -imagemagick -ipv6 -libcaca -mad +mng -nls (-nvidia) -opengl +oss -samba -sdl +speex -theora -v4l -vcd -vidix +vorbis (-win32codecs) -xinerama +xv (-xvmc) 0 kB
Back to top
View user's profile Send private message
chance2105
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2004
Posts: 112
Location: Norman, OK USA

PostPosted: Sun Feb 05, 2006 7:05 pm    Post subject: Reply with quote

Well, I've made no progress in getting xine-ui to work with mpeg-based media files. As an aside, totem with the xine-backend also crashes on mpeg-based files.

I have found that changing CFLAGS from "-mcpu=ultrasparc" to "-mtune=ultrasparc" causes the build of xine-lib to fail, similarl to this bug: https://bugs.gentoo.org/show_bug.cgi?id=119014

I am using the "new" toolchain stuff. Here's my emerge --info:

Code:
Portage 2.0.54 (default-linux/sparc/sparc64/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14.6 sparc64)
=================================================================
System uname: 2.6.14.6 sparc64 sun4u
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=ultrasparc -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=ultrasparc -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/.gentoo"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X aalib alsa apache2 audiofile avi bzip2 cdr crypt cups dlloader encode esd ethereal exif expat fam ffmpeg flac gcc64 gdbm gif glut gtk gtk2 gtkhtml jpeg lcms mng mpeg ncurses nptl ogg opengl oss pam pcre pdflib perl png python readline slang smp speex spell ssl tcpd tiff truetype truetype-fonts udev vorbis xine xml xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Mon Feb 06, 2006 3:51 pm    Post subject: Reply with quote

I checked against the (in)famous developers [http://www.ntk.net/media/developers.mpg] videoclip and it works fine for me with xine-ui.

[ebuild R ] media-libs/xine-lib-1.1.1-r3 +X +a52 +aac +aalib +alsa (-altivec) +arts -asf (-cle266) -debug (-directfb) +dts +dvd +dxr3 +esd +fbcon +ffmpeg +flac +gnome (-i8x0) +imagemagick +ipv6 +libcaca +mad +mng +nls (-nvidia) +opengl +oss +samba +sdl +speex +theora +v4l +vcd +vidix +vorbis (-win32codecs) +xinerama +xv (-xvmc) 7,821 kB
[ebuild R ] media-video/xine-ui-0.99.4-r3 +X +aalib +curl +libcaca (-lirc) +ncurses +nls +readline +xinerama 2,496 kB

Portage 2.0.54 (default-linux/sparc/sparc64/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r2 sparc64)
=================================================================
System uname: 2.6.15-gentoo-r2 sparc64 sun4u
Gentoo Base System version 1.6.14
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r4
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -mvis -Wa,-Av8plusa -O2 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -mvis -Wa,-Av8plusa -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks sandbox sfperms sign strict test userpriv usersandbox"
GENTOO_MIRRORS="http://int.gentoolabs.com.ar/ http://distfiles.gentoo.org/"
LC_ALL="en_US.utf8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://int.gentoolabs.com.ar/gentoo-portage"
USE="sparc X X509 Xaw3d a52 aac aalib accessibility acl activefilter adns aim alsa ansi apache2 ares arts artworkextra async atm audacious audiofile avahi avi bash-completion bcp berkdb bidi big-tables bitmap-fonts bjam blas bluetooth bmp bmpx bonjour bonobo bookmarks brltty buffysize buttons bzip2 bzlib cairo canvas caps cdda cdparanoia cdr cgi chipcard cjk clearpasswd cli cluster corba cracklib crypt cscope css cups curl cvsgraph daap dba dbus dga dhcp dillo dlloader doc dtaus dts dv dvd dvdr dvdread dvi dxr3 ecc editor eds effects emacs encode enscript escreen esd ethereal etwin evolution examples exif expat extensions extraengine faad fam fame fastcgi fbcon ffmpeg fftw finger firebird firefox flac flash fltk font-server fontconfig foomaticdb fortran fpx ftp gcc64 gd gdbm geldkarte geometry ggi gif gimp gimpprint glade glep glut gmail gmp gnokii gnome gnomecanvas gnomedb gnustep gnutls gopher gpgme gphoto2 gpm grammar graphviz gs gssapi gstreamer gtk gtk2 gtkhtml guile hal hbci hesiod howl hpn httpd hub icq icu idea idl idn ieee1394 imagemagick imap imlib immqt inkjar innodb ipod ipv6 irc irda irmc irssi jabber jack javamail javascript jbig jikes jms joystick jpeg jpeg2k jython kde kerberos kig-scripting krb4 ladspa largenet lcms ldap leim lesstif libcaca libg++ libgda libsamplerate libwww lingerd live lj lua lynxkeymap lzo m17n-lib mad maildir mailwrapper math matroska matrox mbox mbrola memcache memlimit mhash migemo mikmod milter mime ming mjpeg mmap mng motif mozcalendar mozilla mozsvg mp3 mpeg mpeg4 mpm-worker mppe-mppc msn multicall musepack musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas nautilus ncurses neXt net netcdf netpbm network new-login nfs nls nntp nptl nptlonly nsplugin numeric objc odbc offensive ofx ogg oggvorbis openal openexr opengl oss pam pccts pcre pda pdf pdflib perl php plugin png pnp pop portaudio postgres povray ppds prelude pri profile python qdbm qt quicktime radius rc5 rdesktop readline rhino rle rplay rrdtool rsh rss ruby samba sasl scanner screen sdl server session sftplogging shout silc silverxp skey skins slang slp smartcard smime sms sndfile snmp socks5 source sox speex spell spf sqlite ssl startup-notification stream stroke subversion svg sylpheed t1lib tabs tagwriting tcltk tcpd test tetex theora thesaurus threads tiff tokenizer tools truetype truetype-fonts type1-fonts udev unicode ups usb utf8 uudeview v4l vcd vidix vlm vorbis webdav wma wmf wordperfect wxwindows xattr xchat xface xine xinerama xml xml2 xmms xosd xprint xrandr xscreensaver xsl xv xvid yahoo yaz yv12 zeroconf zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS

I know my USE looks bloated but being a dev i must test everything.
Also, where did you get those LDFLAGS?
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
chance2105
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2004
Posts: 112
Location: Norman, OK USA

PostPosted: Tue Feb 07, 2006 6:22 am    Post subject: Reply with quote

Code:
chance@hoss ~ $ wget http://www.ntk.net/media/developers.mpg
--00:11:37--  http://www.ntk.net/media/developers.mpg
           => `developers.mpg'
Resolving www.ntk.net... 212.134.1.2
Connecting to www.ntk.net|212.134.1.2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,626,116 (1.6M) [video/mpeg]

100%[====================================>] 1,626,116    147.95K/s    ETA 00:00

00:11:49 (142.01 KB/s) - `developers.mpg' saved [1626116/1626116]

chance@hoss ~ $  xine developers.mpg
This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
xiTK received SIGSEGV signal, RIP.
Aborted


The LDFLAGS I have are an ancient artifact of when I was on x86 .. in fact, I'd totally forgotten about it until you mentioned it in your post. I'll get rid of them, and try rebuilding xine-lib (emerge -e xine-ui, essentially). Since you have it working this gives me a lot to play with, see if I can't get it working here as well..
Back to top
View user's profile Send private message
chance2105
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2004
Posts: 112
Location: Norman, OK USA

PostPosted: Fri Feb 10, 2006 6:52 am    Post subject: Reply with quote

It works!

Initially, I removed those LDFLAGS and did an emerge -e xine-ui, which had no effect on xine functioning. Then I exactly duplicated the USE flags as gustav had them -- which led to the freezing xine issue I had at the start of the thread. Then I removed the opengl use flag, I ended up with:

Code:
[ebuild   R   ] media-libs/xine-lib-1.1.1-r3  +X +a52 +aac +aalib +alsa (-altivec) +arts -asf (-cle266) -debug (-directfb) +dts +dvd +dxr3 +esd +fbcon +ffmpeg +flac +gnome (-i8x0) +imagemagick +ipv6 +libcaca +mad +mng +nls (-nvidia) -opengl +oss +samba +sdl +speex +theora +v4l +vcd +vidix +vorbis (-win32codecs) +xinerama +xv (-xvmc) 0 kB
[ebuild   R   ] media-video/xine-ui-0.99.4-r3  +X +aalib +curl +libcaca (-lirc) +ncurses +nls +readline +xinerama 0 kB


..which now works. I wonder why the opengl flag break xine on my system? It seems odd, because opengl is enabled throughout (set in make.conf). Also, I guess I'll be figuring out by experimentation which flags exactly break xine-lib. This is definately a bug.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum