Kodi Community Forum
[LINUX] Apple TV Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image for Apple TV - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] Apple TV Crystalbuntu (Ubuntu Linux and Crystal HD) Disk Image for Apple TV (/showthread.php?tid=74992)



- davilla - 2010-08-19

vengeance Wrote:Ok, I realized I messed up a bit, posted in the wrong thread as this was when I was trying to play from the launcher version of XBMC. So here are the details using the stripped image by pin87a:

Media Info
http://pastebin.com/QQu0G0Jt

New dmesg
http://pastebin.com/cK31pBB1

New xbox.log
http://pastebin.com/qSPGCKVS

I put the futurama episode I'm using as test on the USB too so that I could make sure it wasn't any issues with my network. The system just hangs and the only way out it to pull the plug. All non HD works.

XBMC version is SVN:28256, you will need to update. I don't think that version is very compatible with the new driver/lib/firmware. There were lot's of hacks going on back then.


- vengeance - 2010-08-19

davilla Wrote:XBMC version is SVN:28256, you will need to update. I don't think that version is very compatible with the new driver/lib/firmware. There were lot's of hacks going on back then.

Ok no matter what I did to update the image it was still showing the old SVN, so I switched to Sam's which I was able to update easily enough but I still have the problem with. Here is the updated logs:

dmesg
http://pastebin.com/pckeVTCG

xbmc.log
http://pastebin.com/gERL3mx8

Here is the xbmc.old.log that might help as it has way more info in it.
http://pastebin.com/vPyW2gSW

Mediainfo is the same as still using the same file.


- davilla - 2010-08-19

vengeance Wrote:Ok no matter what I did to update the image it was still showing the old SVN, so I switched to Sam's which I was able to update easily enough but I still have the problem with. Here is the updated logs:

dmesg
http://pastebin.com/pckeVTCG

xbmc.log
http://pastebin.com/gERL3mx8

Here is the xbmc.old.log that might help as it has way more info in it.
http://pastebin.com/vPyW2gSW

Mediainfo is the same as still using the same file.

I don't see any video playback in xbmc.log. What was your problem again.

One thing I do see is

DEBUG: SECTION:LoadDLL(libcrystalhd.so.1)
23:09:10 T:3044861792 M:187441152 DEBUG: Loading: libcrystalhd.so.1
23:09:12 T:3044861792 M:152174592 INFO: CrystalHD: device opened

But new driver loaded. Unless you forced a symlink, you have new driver talking to old lib using new firmware. That's an incompatible mix Smile

driver, lib and firmware are paired, you can't mix/match them.

PPA should have XBMC linked to new driver API now, that would be libcrystalhd.so.3 in xbmc.log.


- vengeance - 2010-08-20

davilla Wrote:I don't see any video playback in xbmc.log. What was your problem again.

One thing I do see is

DEBUG: SECTION:LoadDLL(libcrystalhd.so.1)
23:09:10 T:3044861792 M:187441152 DEBUG: Loading: libcrystalhd.so.1
23:09:12 T:3044861792 M:152174592 INFO: CrystalHD: device opened

But new driver loaded. Unless you forced a symlink, you have new driver talking to old lib using new firmware. That's an incompatible mix Smile

driver, lib and firmware are paired, you can't mix/match them.

PPA should have XBMC linked to new driver API now, that would be libcrystalhd.so.3 in xbmc.log.

I actually forced a symlink based on what you told someone earlier and it still hangs. I get a bit of sharp static type noise as if audio is about to play and then hang.

-rwxr-xr-x 1 root root 190997 2010-06-07 19:17 libcrystalhd.so.1.0
-rwxr-xr-x 1 root root 119033 2010-08-18 21:28 libcrystalhd.so.3.6
lrwxrwxrwx 1 root root 19 2010-08-18 21:28 libcrystalhd.so.3 -> libcrystalhd.so.3.6
lrwxrwxrwx 1 root root 19 2010-08-18 21:28 libcrystalhd.so -> libcrystalhd.so.3.6
lrwxrwxrwx 1 root root 17 2010-08-20 02:23 libcrystalhd.so.1 -> libcrystalhd.so.3

Kinda annoying as I had the card working with XBMC when I installed it in a dell mini 9 but running HD on that thing was kinda pointless Smile


- pin87a - 2010-08-20

frumpy_uk Wrote:Hey pin. Thanks for these instructions. I'm using your build (co-exists with the ATV OS on my internal drive. After following these instructions, my ATV does not start xbmc automatically in linux mode - it goes to the tty1 prompt. What's the best way to fix that?

cheers
Paul

Those instructions won't work any more since the SVN PPA was cleared out. I think the PPA is working now so you might be able to install a newer version from there. I had to do a sudo apt-get remove xbmc-data to remove everything and then a sudo apt-get install xbmc to re-install though. To have xbmc load on startup you can just do a sudo apt-get install xbmc-live (ignore the polkit warnings. they only show up in Hardy, but everything still works fine).


- frumpy_uk - 2010-08-20

pin87a Wrote:Those instructions won't work any more since the SVN PPA was cleared out. I think the PPA is working now so you might be able to install a newer version from there. I had to do a sudo apt-get remove xbmc-data to remove everything and then a sudo apt-get install xbmc to re-install though. To have xbmc load on startup you can just do a sudo apt-get install xbmc-live (ignore the polkit warnings. they only show up in Hardy, but everything still works fine).

Done. Thanks pin. xbmc works fine now, except for.... crystal HD playback. I'm also suffering from xbmc loading libcrystalhd.so.1

Guess I need to wait for the PPA to be updated with a build which loads libcrystalhd.so.3 and try again.


- tooshna - 2010-08-21

Well thank you for all of your help guys, I've just about got the system working the way I want it to. There are still a couple of problems however.

1. I don't seem to be able to copy a file to the hard drive over SSH. I have checked the permissions of the folder where I am trying to copy the file to but it says that everyone has read and write access. I am logged in as xbmc if that makes any difference... It comes up with this error when I try... http://img44.imageshack.us/img44/6762/sdsdffsd.png

2. I am still unsure about how to get the SVN repo installer so that I can download plugins etc.

If anyone could help me out with these two issues that would be most appreciated.


- davilla - 2010-08-21

tooshna Wrote:Well thank you for all of your help guys, I've just about got the system working the way I want it to. There are still a couple of problems however.

1. I don't seem to be able to copy a file to the hard drive over SSH. I have checked the permissions of the folder where I am trying to copy the file to but it says that everyone has read and write access. I am logged in as xbmc if that makes any difference... It comes up with this error when I try... http://img44.imageshack.us/img44/6762/sdsdffsd.png

2. I am still unsure about how to get the SVN repo installer so that I can download plugins etc.

If anyone could help me out with these two issues that would be most appreciated.

Threadjack, start a new thread please.


- diegoap - 2010-08-21

Hi guys.... I'm currently using pin87a's release (28256-R3).

Wich updates do you think I should run ? Are you planning a new full release ?
I'm still having some problems when a video starts or ends... I need to change to another HDMI source and go back to the aTV to get video or the menu back.

Thanks in advance
diego


- defiler - 2010-08-22

diegoap Wrote:Hi guys.... I'm currently using pin87a's release (28256-R3).

Wich updates do you think I should run ? Are you planning a new full release ?
I'm still having some problems when a video starts or ends... I need to change to another HDMI source and go back to the aTV to get video or the menu back.

Thanks in advance
diego

Okay - update instructions to 31718 are here. Of course, that's a really old build nowadays. You can see the current packages here. (For these USB images you want the i386 packages for Hardy.) Just modify the instructions to use the newer filenames. It's pretty logical to work out.

SVN 32696 sounds like a good bet, but since it's all bug-squashing now, the latest builds *should* be the best.

You'll also need to update your CrystalHD drivers. Instructions are here.

Or course, at the time of writing, there are 14 tickets open (yes, just 14) on the Dharma release, so it's almost, almost there. It may be worth hanging off for the full release now. Once Dharma is released I have no doubt that someone (likely Pin or Sam) will release a minimal image with the final version within a few days. Then cherry-blossom will rain from the heavens, champagne will flow, and every day will be the first day of spring. Meantime, these instructions *should* get you running on SVN.


- diegoap - 2010-08-22

defiler Wrote:Okay - update instructions to 31718 are here. Of course, that's a really old build nowadays. You can see the current packages here. (For these USB images you want the i386 packages for Hardy.) Just modify the instructions to use the newer filenames. It's pretty logical to work out.

SVN 32696 sounds like a good bet, but since it's all bug-squashing now, the latest builds *should* be the best.

You'll also need to update your CrystalHD drivers. Instructions are here.

Or course, at the time of writing, there are 14 tickets open (yes, just 14) on the Dharma release, so it's almost, almost there. It may be worth hanging off for the full release now. Once Dharma is released I have no doubt that someone (likely Pin or Sam) will release a minimal image with the final version within a few days. Then cherry-blossom will rain from the heavens, champagne will flow, and every day will be the first day of spring. Meantime, these instructions *should* get you running on SVN.

I'm going to run new updates and wait for Dharma... I'ts a way to practice... If something goes wrong I can always go back to the image Smile

Thank you. It's great to have instructions like this.
Thank all the people who helps and writes code. Smile


- davilla - 2010-08-22

now everyone gets to update their guides Smile crystalhd-for-osx tagged at r156 for crystalhd-for-osx-3.6.0.


- nc88keyz - 2010-08-23

davilla,

has the firmware loading bug been fixed for the old revision 70012 cards ?


thanks for all that you do....


We are all getting excited since xbmc is down to 14 bugs Smile .....Dharma has been a long time coming.

You work on crystal HD is none short of amazing.


- davilla - 2010-08-23

nc88keyz Wrote:davilla,

has the firmware loading bug been fixed for the old revision 70012 cards ?

Seems to work on my old layout bcm70012 card so I'm declaring it dead.


- nc88keyz - 2010-08-23

great! crystalbuntu has breathed new life into atv for me and many im sure. Its crazy how much faster it all is.

atv OS is a dog with xbmc in comparision.

Would be neat to see an image with boxee available as well.

Perhaps one day!