WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: XBMC  (Read 27641 times)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: XBMC
« Reply #30 on: February 01, 2012, 07:10:31 AM »
looking at the log's   the last crash log entry reads

ERROR: ADDON: extension '' is currently not supported for service addon



I think the alsa error is erroneous.   it's just not set up yet because i need to run OSS  somehow instead of alsa

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: XBMC
« Reply #31 on: February 01, 2012, 07:25:39 AM »
XBMC complains a lot right at startup because it can't determine the linux version.  lsb_release is missing

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: XBMC
« Reply #32 on: February 01, 2012, 07:43:54 AM »
Even with it present it couldn't, since I doubt they have Core coded in. So it would be "unknown linux" in either case, no?
The only barriers that can stop you are the ones you create yourself.

Offline martin

  • Jr. Member
  • **
  • Posts: 87
Re: XBMC
« Reply #33 on: February 01, 2012, 08:02:22 AM »
Yes, I do remember it mentioning lsb_release not found, but as curaga mentions, Core wouldn't be recognised anyway. xbmc still runs fine without it.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: XBMC
« Reply #34 on: February 01, 2012, 09:10:38 AM »
Hi Martin C
Quote
To solve the mysql problem, "sudo ln -s /usr/local/mysql/lib/mysqlclient.so.18 /usr/local/lib/" or something very, very similar.
Just adding this note in case someone decides to port to TC3.x.
If you are building under TC3.x, the library is under  usr/local/lib/mysql/libmysqlclient.so.16
If you are building under TC4.x, the library is under  usr/local/mysql/lib/libmysqlclient.so.18
Note that  lib  and  mysql  in the path are swapped between the two versions.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: XBMC
« Reply #35 on: February 01, 2012, 08:22:35 PM »
After making the link to MySql lib I added it to the backup (.filetool.lst)

There was one instance of a Segmentation Fault which has not repeated despite several crashes since.  There has been instances of failure to write to an xml file in home directory which looks to me like the cause of the startup crash, but still trying to narrow the fault down.

Meanwhile,  Alsa needs to be removed as a dependency as OSS + alsa-plugins succeeded for my configuration where Alsa consistently failed to configure the correct sound card.

Installed coreplus to a dedicated SSD within a media center with an Nvidia 560ti video card driving a Samsung 48inch 1080P monitor using nvidia-glx, nvidia-settings and Xorg7.5    My big issue was that Alsa consistently assigned the Nvidia HD Audio via HDMI as the primary sound card, which it is not.  The primary PCIe Sound card although detected in config setup would never be used despite blacklisting HDA-NVidia etc etc..  So gave up.

used OSS instead with these extensions successfully:
OSS.tcz
ossxmix.tcz
alsa-pluginstcz
OSS_alsa.tcz

tried using OSS_alsa.tcz inplace of alsa-plugins without any success,  as it turns out we need both.

Sure is nice to see core running on the big screen at HD quality :)

My next issue is my entire library of HD video is on many TB's worth of raided drives without a driver lol  what next?
« Last Edit: February 01, 2012, 08:47:56 PM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: XBMC
« Reply #36 on: February 01, 2012, 08:59:47 PM »
looks like we may have the crash causing start-up issue narrowed down to an offending dep,   will try to upload the crashlog.

Code: [Select]
Core was generated by `/usr/local/lib/xbmc/xbmc.bin'.
Program terminated with signal 11, Segmentation fault.
#0  0x085ddf5c in CAddonInstaller::CheckDependencies(boost::shared_ptr<ADDON::IAddon> const&) ()
« Last Edit: February 01, 2012, 09:20:51 PM by coreplayer2 »

Offline martin

  • Jr. Member
  • **
  • Posts: 87
Re: XBMC
« Reply #37 on: February 01, 2012, 09:21:51 PM »
tried using OSS_alsa.tcz inplace of alsa-plugins without any success,  as it turns out we need both.
That may be because I had the ALSA dev files loaded while compiling, I'm not sure. Cannot remember if they were required or not.


Offline martin

  • Jr. Member
  • **
  • Posts: 87
Re: XBMC
« Reply #38 on: February 01, 2012, 09:24:24 PM »
looks like we may have the crash causing start-up issue narrowed down to an offending dep,   will try to upload the crashlog.
I haven't seen that message before, I've only even seen the first-run initial complaint about GLX (I think this is because XBMC tries a few ways to initialise the screen, before the XML config files are written to the profile directory), but after that it seems fine.

I'll see what I can find out about that boost error message.

edit: there is a mention here http://www.avsforum.com/avs-vb/showthread.php?p=21568951.

I think I need to grab the latest source and re-compile again. There has been one more source released since I last downloaded my copy.
« Last Edit: February 01, 2012, 09:26:44 PM by Martin C »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: XBMC
« Reply #39 on: February 02, 2012, 04:30:25 AM »
tried using OSS_alsa.tcz inplace of alsa-plugins without any success,  as it turns out we need both.
That may be because I had the ALSA dev files loaded while compiling, I'm not sure. Cannot remember if they were required or not.
Now that I'm using OSS there is no sound on each new playback, which requires a recycle of audio source in XBMC settings to get sound back.

Offline martin

  • Jr. Member
  • **
  • Posts: 87
Re: XBMC
« Reply #40 on: February 04, 2012, 06:33:23 PM »
I'll be grabbing the latest sources today and re-building, to get around that boost problem. I'll see if anything comes up where I can just use general sound support. However, after looking at their wiki, I'm getting the feeling they don't support OSS, as alsa is mentioned several times in the general wiki and their compiling/building wiki.

I'll see what I can do.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: XBMC
« Reply #41 on: February 05, 2012, 12:12:17 AM »
Does it really matter which audio driver is used is installed on the local system?

I can't live with Dolby Digital ac3 format only, so the biggest downer for me is the lack of DTS-HD sound support in OSS.  Am not sure if this means with Alsa also??  Will try that later.. 

Am thinking of looking for the audio card's linux driver source to compile.. will advise.
« Last Edit: February 05, 2012, 12:15:32 AM by coreplayer2 »

Offline martin

  • Jr. Member
  • **
  • Posts: 87
Re: XBMC
« Reply #42 on: February 05, 2012, 11:36:26 PM »
Unfortunately, some things lately have sadly put a drain on motivation for progressing with this, so I'll just show some notes on how I built XBMC for myself.

mkdir /tmp/xbmc
Grab all the dev versions of packages that are listed in the dependencies.
locate the source directory.
run: ./bootstrap
My configure command was: ./configure --disable-hal  --disable-avahi --enable-joystick=no --enable-pulse=no --enable-rtmp=no --disable-webserver --enable-debug=no --enable-dvdcss --enable-bluray=no (this meant minimal amount of dependencies needed, and it uses system libraries by default, otherwise there is a whole lot more effort integrating ffmpeg as well)
run: make
run: make DESTDIR=/tmp/xbmc install (for example, using DESTDIR to install somewhere temporary).
remove any documentation to decrease the package size.
the rest is as explained in the wiki.

That is how I made it. It was the finding what dependencies it needed along the way that took several hours and retrying ./configure to get it right with the libraries installed. That took longer than I really want to acknowledge :P

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: XBMC
« Reply #43 on: June 11, 2012, 02:13:14 AM »
xbmc is in the repository ready for testing. remember you need a decent graphics card and its driver installed together with Xorg extension