Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Thoughts on xbmc
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
carpenterguy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2009
Posts: 132

PostPosted: Tue Dec 21, 2010 2:33 am    Post subject: Thoughts on xbmc Reply with quote

I some how feel that xbmc in gentoo is treated like a red headed stepchild.
We have media-tv/xbmc-9.11-r5
That is only a year old, but still old. xbmc now has 10.0 available
http://xbmc.org/
I understand that 1 year old is not really that old... but if you look at it this way

Final Camelot tag: http://trac.xbmc.org/changeset/26018/tags/9.11_Camelot (December 2009). Pretty recent in tech terms, so if you need convincing look at the rev numbers
Camelot is *9,644* revisions behind head

There is a whole bunch of revisions since 9.11 came out,
The improvements in 10.0 look to be worth an upgrade. Any thoughts on this? I know I am not the only xbmc user on gentoo.
We may be a minority, is a good app...Is the only reason I run ~86 testing.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2151

PostPosted: Tue Dec 21, 2010 2:41 am    Post subject: Reply with quote

Well, for one, there's the xbmc-9999.ebuild and here's a bug for 10.0.

It's somewhat sad, yes, but it's also not quite easy to do. XBMC brings a whole lot of stuff with it, including it's own ffmpeg, etc and our devs try to make the needed changes to use the versions from portage.

I'm running -9999 on ~amd64 and so far that's ok for me.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
Jorgo
n00b
n00b


Joined: 18 Jun 2004
Posts: 62
Location: Bochum, Germany

PostPosted: Thu Dec 23, 2010 5:25 pm    Post subject: Reply with quote

XBMC doesn't compile against python-2.7.x
Any solution?
Back to top
View user's profile Send private message
PraetorZero
Apprentice
Apprentice


Joined: 11 Dec 2004
Posts: 239
Location: /home

PostPosted: Tue Dec 28, 2010 2:04 pm    Post subject: Reply with quote

Jorgo wrote:
XBMC doesn't compile against python-2.7.x
Any solution?


Waiting? It looks like a branch was created a few months ago for python 2.7 support. You can take a look at this bug ticket, the last notation there was 4 months ago. It appears that the support might be there for the next release.

XMBC does build fine with 2.6 installed and 2.7 set to the active version.
_________________
What's the worst that can happen?
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Sun Jan 30, 2011 7:32 pm    Post subject: Reply with quote

I just installed a fresh gentoo and did not have very much luck with xbmc:

  • xbmc 10.0 compiles, starts, but the display is plain black, no output (mplayer and other X11 programs work fine)

  • xbmc-9999 gives a compilation error

  • xbmc-9.11-r5 results in a dbus error and a core dump
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Mon Jan 31, 2011 8:46 am    Post subject: Reply with quote

Just did a world update and now I get an error that libcdio.so.12 is not found as I only have libcdio.so.7.1.1.

Code:
# ldd /usr/lib64/xbmc/xbmc.bin |grep 'not found'
/usr/bin/ldd: line 163: /lib/ld-linux.so.2: cannot execute binary file
/usr/lib64/xbmc/xbmc.bin: /usr/lib64/libtalloc.so.2: no version information available (required by /usr/lib/libsmbclient.so.0)
        libcdio.so.12 => not found
# ls -l /usr/lib64/libcdio.*
-rw-r--r-- 1 root root 236984 Jan 31 07:40 /usr/lib64/libcdio.a
-rw-r--r-- 1 root root    918 Jan 31 07:40 /usr/lib64/libcdio.la
lrwxrwxrwx 1 root root     16 Jan 31 07:40 /usr/lib64/libcdio.so -> libcdio.so.7.1.1
lrwxrwxrwx 1 root root     16 Jan 31 07:40 /usr/lib64/libcdio.so.7 -> libcdio.so.7.1.1
-rwxr-xr-x 1 root root 127880 Jan 31 07:40 /usr/lib64/libcdio.so.7.1.1


My machine don't even have a CD/DVD so I really would like to disable libcdio.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2483
Location: Silver City, NM

PostPosted: Mon Jan 31, 2011 9:15 am    Post subject: Reply with quote

I was able to emerge and run xbmc-10.0 here fine. Video worked. I'm having problems getting xbmc-9999 to configure ATM. I tried the patch from this bug report and also tried using the command suggested in Comment #2 from Marcel Unbehaun but still no joy. The patch got me past some errors but I always get stuck at:
Code:
checking if $CC accepts -Wsign-compare... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/dvdcss/Makefile
config.status: creating test/Makefile
config.status: creating src/libdvdcss.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

Done, type 'make install' to build and install
Usage: dvdnav-config [OPTIONS] [LIBRARIES]
Options:
        [--prefix[=DIR]]
        [--exec-prefix[=DIR]]
        [--version]
        [--libs]
        [--cflags]
/var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999/lib/libdvd/libdvdnav/../libdvdread/obj/dvdread-config returned an error. Can't proceed
configure: error: Submodule lib/libdvd/libdvdnav failed to configure

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-tv/xbmc-9999/work/xbmc-9999/config.log
 * ERROR: media-tv/xbmc-9999 failed:
 *   econf failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 5585:  Called econf '--docdir=/usr/share/doc/xbmc-9999' '--disable-ccache' '--disable-optimizations' '--enable-external-libraries' '--enable-goom' '--enable-gl' '--disable-liba52' '--disable-libdts' '--disable-avahi' '--enable-libbluray' '--enable-dvdcss' '--disable-debug' '--disable-hal' '--disable-joystick' '--disable-mid' '--disable-profiling' '--disable-pulse' '--disable-rtmp' '--enable-vaapi' '--enable-vdpau' '--disable-webserver' '--disable-xrandr'
 *     ebuild.sh, line  552:  Called die
 * The specific snippet of code:
 *            die "econf failed"


You didn't say which version of xbmc was giving your problems with libcdio. Here, "ls -l /usr/lib64/libcdio.*" gives the same results you got but xbmc-10.0 runs fine. Just as a knee-jerk reaction, I'd suggest you run revdep-rebuild and then re-emerge xbmc (if needed). It's possible revdep-rebuild will also fix the problem you are having with xbmc-10.0.
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Mon Jan 31, 2011 1:29 pm    Post subject: Reply with quote

Sorry, it was 10.0. I tried to revdep-rebuild and then an update world, but I keep getting:

Code:
 * ERROR: media-tv/xbmc-10.0 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 5299:  Called _eapi2_src_compile
 *     ebuild.sh, line  654:  Called die


Don't see anything obvious in the log files at first sight either...
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Mon Jan 31, 2011 1:34 pm    Post subject: Reply with quote

It seems like its
Code:
ar crus xbmc.a Application.o ...
which returns a silent error code and causes make to halt.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2483
Location: Silver City, NM

PostPosted: Mon Jan 31, 2011 5:38 pm    Post subject: Reply with quote

The only other thing I can think of is USE flags. Here are my xbmc USE flags:
Code:
 USE:     alsa css hal sse sse2 vaapi vdpau -altivec -avahi -debug -joystick -midi -profile -pulseaudio -rtmp -webserver -xrandr

Post your xbmc USE flags and maybe we can come up with a set of USE flags for you that will let xmbc-10.0 compile on your system.
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Mon Jan 31, 2011 6:15 pm    Post subject: Reply with quote

Good idea. Here's my USE flags
Code:
 # grep ^USE /etc/make.conf
USE="xorg sip truetype flac git alsa x264 vdpau sse sse2 ffmpeg v4l v4l2 id3tag nsplugin java nvidia"

and kernel version arch and CPU:
Code:
# uname -srvmpio
Linux 2.6.36-gentoo-r5 #3 SMP Sun Jan 30 20:42:36 CET 2011 x86_64 Intel(R) Atom(TM) CPU D525 @ 1.80GHz GenuineIntel GNU/Linux


From emerge --info xbmc I get:

Code:
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gdu gif git gpm gtk iconv id3tag ipv6 java jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session sip spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb v4l v4l2 vdpau vorbis x264 xcb xml xorg xulrunner xv xvid zlib"
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2483
Location: Silver City, NM

PostPosted: Mon Jan 31, 2011 6:31 pm    Post subject: Reply with quote

If you don't have eix installed, then emerge it and run eix-update (as root). Run "eix xbmc" and post the USE flags it says are being used.
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Mon Jan 31, 2011 7:27 pm    Post subject: Reply with quote

Code:
# eix xbmc
* media-tv/xbmc
     Available versions:  (~)9.11-r5 (~)10.0 **9999 {aac alsa altivec avahi bluray css debug hal joystick midi profile pulseaudio rtmp sse sse2 udev vaapi vdpau webserver xrandr}
     Homepage:            http://xbmc.org/
     Description:         XBMC is a free and open source media-player and entertainment hub
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2483
Location: Silver City, NM

PostPosted: Mon Jan 31, 2011 7:38 pm    Post subject: Reply with quote

Oops. My bad. I'm sick today. I need instead the output of "emerge -pv xbmc". Here's mine:
Code:
$ emerge -pv xbmc
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] media-tv/xbmc-9999 [10.0] USE="alsa bluray%* css sse sse2 udev%* vaapi vdpau (-altivec) -avahi -debug -joystick -midi -profile -pulseaudio -rtmp -webserver -xrandr (-hal%*)" 0 kB

The prescription would be to make sure you don't have xbmc USE flags enabled that I have disabled. You can probably play around with this yourself without further suggestions from me.
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Mon Jan 31, 2011 8:07 pm    Post subject: Reply with quote

Code:
# emerge -pv xbmc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-tv/xbmc-10.0  USE="alsa sse sse2 vdpau (-altivec) -avahi -css -debug -hal -joystick -midi -profile -pulseaudio -rtmp -vaapi -webserver -xrandr" 0 kB


But you have 9999 as your selected build. I'll play around with some of the USE flags even though it takes some time since it's just an Intel Atom based system.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2483
Location: Silver City, NM

PostPosted: Mon Jan 31, 2011 8:45 pm    Post subject: Reply with quote

pgu wrote:
But you have 9999 as your selected build.

I normally use the Git version. I downgraded to 10.0 to see if it would build here. It did. Then when I tried to upgrade back to 9999, I ran into the problems I reported.
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1647
Location: United Kingdom

PostPosted: Mon Jan 31, 2011 9:06 pm    Post subject: xbmc Reply with quote

I'm using 10.0 from the ebuild in the main tree, with the following USE flags enabled: alsa avahi hal joystick pulseaudio sse sse2 and it's working fine. I see there is a version 10.0-r1 ebuild in the Sabayon overlay. Anyone tried that?
_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Mon Jan 31, 2011 9:23 pm    Post subject: Reply with quote

I gave
Code:
USE="css vaapi udev" emerge -v xbmc
a try, but that resulted in the same non-verbose error as above, but grep'ing for error in the log file I get:

Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../lib64/libSDL_image.so: undefined reference to `TIFFSetErrorHandler'
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2483
Location: Silver City, NM

PostPosted: Mon Jan 31, 2011 9:36 pm    Post subject: Reply with quote

If sdl-image does not have the tiff USE flag set, this could be your problem.

BTW: please don't set USE flags on the command line via "USE=... emerge ...". Instead, create the file /etc/portage/package.use and add lines like:
Code:
media-libs/sdl-image tiff
media-tv/xbmc css vaapi udev

Prepend a minus sign to a USE flag to turn it off. See "man portage" for more details.
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Mon Jan 31, 2011 10:30 pm    Post subject: Reply with quote

BitJam wrote:
If sdl-image does not have the tiff USE flag set, this could be your problem.


Yes. That was it. Adding tiff USE to the sdl-image and re-emerging the two solved the problem. I now have a working xbmc 10.0. Thank you!
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Tue Feb 01, 2011 9:39 am    Post subject: Reply with quote

BitJam wrote:
pgu wrote:
But you have 9999 as your selected build.

I normally use the Git version.


Do you mean the 9999/ebuild or that you do git clone and bootstrap/configure/make? I tried the latter but ran into problems due to different libtool versions.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2483
Location: Silver City, NM

PostPosted: Tue Feb 01, 2011 5:16 pm    Post subject: Reply with quote

I meant xbmc-9999.
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Sun Mar 20, 2011 7:01 am    Post subject: Reply with quote

I'm using 10.1 now, but it seem to be very unstable. It will typically crash after a few minutes of audio playback. Any suggestions for a stable version?
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Tue Mar 22, 2011 3:16 pm    Post subject: Reply with quote

When you use xbmc-9999 (and other 9999 revisions) is there a way to control the actual git SHA-1 so that I will get a specific upstream release?
Back to top
View user's profile Send private message
pgu
Guru
Guru


Joined: 30 Jul 2009
Posts: 594
Location: Oslo, Norway

PostPosted: Tue Mar 22, 2011 3:18 pm    Post subject: Reply with quote

pgu wrote:
I'm using 10.1 now, but it seem to be very unstable. It will typically crash after a few minutes of audio playback. Any suggestions for a stable version?


Is this a fatal error?

Code:
21:40:16 T:140633382475584 M:3820281856   ERROR:  DS: Failed to connect to the D-Bus session daemon: /usr/bin/dbus-launch terminated abnormally without any error message
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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