Tiny Core Linux
Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: bigworm on September 07, 2011, 09:49:05 AM
-
I'm very surprised XBMC hasn't already been requested. This is the one major need i have for TCL,
-
Interesting, I hadn't thought of an XBMC extension.. I run my XBMC on a dedicated Windows7 box. I guess this is worth a shot, because XBMC is the best thing since sliced bread :)
-
+1 for XBMC!
-
I started to compile my own tcz, the number of dependencies is very overwhelming...
I've almost got everything settled, but im blocked on ./configure complaining about missing libXt ?!
checking for ALSA... yes
checking for ENCA... yes
checking for XT... no
configure: error: Could not find a required library. Please see the README for your platform.
I know these libs are available in /usr/local/lib/, and setting XT_LIBS doesnt seem to have an effect...
-
Hi bigworm!
Tried XBMC in windows and it really is an awesome application. Began to download the source code but when I saw the size I gave up. I don't have a computer that can handle this size of source code so I didn't even bother trying to compile it. It would be a fantastic extension to have though.
Have fun using TC to the limits,
meo
-
You probably need Xorg-7.5-dev.
-
the issue with libXt was resolved, i was just missing even more dependencies, xcb. I had to create my own extentions for libbluray as well as libmicrohttpd
few more hours of dep work i might have something... =]
-
I built boxee (based on xbmc) a while back and it was a challenge. I never submitted it because I was not satisfied with the performance (even on a quad core cpu with dual core gpu). Though that is probably due to optimizing -Os instead of -O2.
-
i have compiled xbmc from source on a tcl system, but gui does not appear when i run it, also there is no warning or error message
-
i have compiled xbmc from source on a tcl system, but gui does not appear when i run it, also there is no warning or error message
i dont know which flags / deps are needed ? , to build / run , and tcl release !
.. any one have this info , to hand
all i have found to go on so far is
compile_XBMC (http://wiki.xbmc.org/index.php?title=HOW-TO_compile_XBMC_for_Linux_from_source_code)
README.linux (https://raw.github.com/xbmc/xbmc/master/README.linux)
xbmc-10.1.tar.gz ...
-
Did anyone succeded in running or compiling XBMC...
If it's possible to run it on TinyCore it would be great.
-
I'm interested in this too, so I might give it another go.
edit: ok, I got it configured and compiling now. Wow, this will have a lot of dependencies, almost as much as VLC.
-
Hey Martin :).
I'm glad to see you are trying to compile XBMC.
I would like to do it but I'm new to linux world (just over a month now :D).
It would be very nice from you if you could write some tutorial for people like me about what you do (of course if you have the time) ;).
I hope you will succed in making XBMC extension.
-
Hello,
Yes, I succeeded in making the XMBC extension. I ran it and it seems ok. I will do a bit of testing, playing various video and music file formats and what not, and will report back. The .dep and .info files have all been generated, I just need to be completely confident in it first, and might get some members here to do some private testing for me just to be sure it functions right on someone else's system. Any volunteers?
Just be aware of how many extensions it needs. If you are able to comfortably load and run something as extension dependent as VLC, and you have very decent video driver performance (it uses OpenGL and GLX), you should be able to run it fine.
So probably no tutorial needed, just an extension loaded. I need to modify the TCZ so it has a .desktop file after that and it should be done.
Watch this space! :)
-
Count me in :D.
If everything works OK then my new HTPC will be very tiny ;).
-
Hi Martin,
I would love to try it out. Have been running XBMC on Ubuntu, Mac OS, Windows and has also been experimenting with OpenElec.
Regards,
Indridi
-
Ok, it plays video fine, just remember, I highly recommend an accelerated driver, otherwise the interface will be very, very slow. I used nvidia-glx (fast enough) and Xorg-7.6-3d (very slow). XVesa was not tried.
I will PM those who showed an interest a URL where they can download it. I wont list it here in case it is deemed advertising.
Once I get your feedback, I will properly submit it to the TCL repository.
-
Hi Martin C
I wont list it here in case it is deemed advertising.
Actually, it's against forum policy to post binaries, so PMing a URL is the right way to go.
-
Actually, it's against forum policy to post binaries, so PMing a URL is the right way to go.
Oh no, I wasn't going to post the binary itself, just the links, but they contain commercial interest, so I wanted to play it safe.
-
Do not post links to sites that have any commercial content.
-
I know, I haven't.
-
Ok, I just don't want anybody to get into well intentioned trouble.
-
Ok, getting some good feedback on it.
The only thing before getting the initial feedback that I had discovered was that the mysql extension places files in a non-standard place, so I created a tce.installed script to make a symlink to correct this.
Besides an obscure GLXDrawable error the first time it is run (it runs fine after that), everything seems to be ok. I have updated a file that I overlooked and will get updated feedback.
Once that goes well, I will then submit it properly. Anyone else wanting to test it should privately message me.
-
Honestly a lot of work has gone into this extension, thanks Martin. But am banging my head on one wall after another here.
This extension is perfect for a scm :)
The current stumbling block for me is "error while loading shared libraries: libmysqlclient.so.18: cannot open... no such file or directory"
been working on this project for so many hours with no break though, but it's 3am and time for zzzzz's will take another look at this in the am.
-
hmm... seems that the extension install script isn't running, I'll find out why.
To solve the mysql problem, "sudo ln -s /usr/local/mysql/lib/mysqlclient.so.18 /usr/local/lib/" or something very, very similar.
The mysql libraries install in a non-standard location, so I made a tce.installed script to fix this, but for some reason it isn't running after loading XBMC. Maybe I forgot a chmod +x or something.
-
I was looking at the script.. but it's late and thing are beginning to blur lol
File is located in /usr/local/mysql/lib/
Ok the command is "sudo ln -s /usr/local/mysql/lib/libmysqlclient.so.18 /usr/local/lib/"
-
I was looking at the script.. but it's late and thing are beginning to blur lol
File is located in /usr/local/mysql/lib/
yes, that's right. you need to link it in /usr/local/lib/ so xbmc can see it. The command I gave above should do it.
-
yes the command was close, thanks I got it now.
-
Alsa continues to crash at first start-up, second time is ok..
-
See, that's interesting. me and another member here have seen it crash at first startup, complaining about GLXEnableDrawable, then after that it's fine, but I haven't seen any alsa crash from it, and all my sound is delivered via alsa.
This is why I wanted testing :)
-
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
-
XBMC complains a lot right at startup because it can't determine the linux version. lsb_release is missing
-
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?
-
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.
-
Hi Martin C
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.
-
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?
-
looks like we may have the crash causing start-up issue narrowed down to an offending dep, will try to upload the crashlog.
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&) ()
-
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.
-
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. (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.
-
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.
-
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.
-
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.
-
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
-
xbmc is in the repository ready for testing. remember you need a decent graphics card and its driver installed together with Xorg extension