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-06-16

Jennero Wrote:Fixed my sharing problem by rebooting. Do settings not save when rebooting? Also how I can get XBMC in suspend mode. It doesn't seem to want to when I click on that icon. I have crystalhd installed and not getting very good performance. What playback settings should I have?

AppleTV does not suspend or hibernate, this has been covered many, many times. The internal PS does not support it.


- davilla - 2010-06-16

frumpy_uk Wrote:I might be an idiot. You mean this? http://pastebin.com/AjkWHWAG

Otherwise, maybe you're looking for a backtrace? I'm following the instructions on the linux help sticky but I'm getting

Code:
xbmc@AppleTV:~$ ls
afp2  backgrounds  nfs  xbmc_crashlog-20100615_145047.log
xbmc@AppleTV:~$ gdb
xbmc@AppleTV:~$ gdb /usr/lib/xbmc/xbmc.bin ~/xbmc_crashlog-20100615_145047.log
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
"/home/xbmc/xbmc_crashlog-20100615_145047.log" is not a core dump: File format not recognized
(gdb) thread apply all bt
No registers.
(gdb)

Grrr, xbmc_crashlog is no help Sad

next thing to do would be to launch xbmc under gdb and see if it can catch it, then gen a bt to see what was going on that caused the crash.


- davilla - 2010-06-16

Wanyika Wrote:@Sam, as you requested. Hope the log info is good enough:

XBMC log selection: http://pastebin.com/7PViTH4b
Movie details: http://pastebin.com/nJGHPYY3

33.3 GiB suggests a bluray rip. Are you wired or wireless. If wireless are you 802.11n ? The other wireless flavors cannot support the bitrates that bluray can do (30-45Mb/s).


- Jennero - 2010-06-16

davilla Wrote:AppleTV does not suspend or hibernate, this has been covered many, many times. The internal PS does not support it.

Thanks! Is there some reason why some of my .mkv files restart XBMC? Some Don't and some do. I'm guessing there are corrupted, but play fine on my pc.


- davilla - 2010-06-16

Jennero Wrote:Thanks! Is there some reason why some of my .mkv files restart XBMC? Some Don't and some do. I'm guessing there are corrupted, but play fine on my pc.

you would have to include some real info, I don't guess. xbmc.log or crashlog is it crashes.


- Jennero - 2010-06-16

davilla Wrote:you would have to include some real info, I don't guess. xbmc.log or crashlog is it crashes.

I am new to the whole xbmc on atv. Do I need putty to access. Could you point me to the right guide and so I could post the info.


- frumpy_uk - 2010-06-16

davilla Wrote:Grrr, xbmc_crashlog is no help Sad

next thing to do would be to launch xbmc under gdb and see if it can catch it, then gen a bt to see what was going on that caused the crash.

So do I understand correctly that the steps are
1. Open terminal
2. Run "ulimit -c unlimited" (You only need to do this if no core file is created automatically)
3. Run "xbmc"

I'm still not really having any luck with this.... First of all I quit xbmc from within xbmc. xbmc shutdown and the screen dropped to the text boot screen. Then I did the following :

Code:
xbmc@AppleTV:~$ ulimit -c unlimited
xbmc@AppleTV:~$ /usr/lib/xbmc/xbmc.bin
Can't open display
ERROR: Unable to create application. Exiting
CRITSEC[0x8cbe504]: Trying to enter destroyed section.
CRITSEC[0x8cbe504]: Trying to leave destroyed section.

xbmc did not start. I still don't see a core dump anywhere.


- frumpy_uk - 2010-06-16

Jennero Wrote:I am new to the whole xbmc on atv. Do I need putty to access. Could you point me to the right guide and so I could post the info.

log file : http://wiki.xbmc.org/?title=Log_file

crash report : http://wiki.xbmc.org/?title=HOW-TO_Submit_a_Proper_Bug_Report#Linux

For your mkv's which are failing, use media info to find out all the details of the files : http://mediainfo.sourceforge.net/en

For all 3 of the above, use pastebin to share your results on this forum (i.e. don't paste the outputs into this forum) : http://pastebin.com/

You need an ssh client running on your PC - user xbmc, password xbmc


- JamesEkman - 2010-06-16

Has anyone tried upgrading XBMC on Sam’s .img? I did and had no issues with dependencies that have been mentioned in other threads, I found that kind of strange. But when I rebooted XBMC didn’t log in there was a screen that said my xsession lasted less than 10 seconds and that was it I had to reinstall onto my usb.


- Wanyika - 2010-06-16

@davilla: It is on the ATV with broadcom chip, so it is wired. Wired to a Linksys router what is connected to Windows 7. Yes it is a blue ray rip. It is big file because i want to have as much original as i can. Just the sound is converted to AC3. Hope it can be solved.

Also i did used my laptop with the same movie, with XBMC 9.11 and it streams perfectly wireless, and we all now that the wireless speed is "not high enough" to send the info to the mediaplayer. Why can't it work like the laptop? I wish there was a chance to upgrade the ATV.


- Sam.Nazarko - 2010-06-16

frumpy_uk Wrote:So do I understand correctly that the steps are
1. Open terminal
2. Run "ulimit -c unlimited" (You only need to do this if no core file is created automatically)
3. Run "xbmc"

I'm still not really having any luck with this.... First of all I quit xbmc from within xbmc. xbmc shutdown and the screen dropped to the text boot screen. Then I did the following :

Code:
xbmc@AppleTV:~$ ulimit -c unlimited
xbmc@AppleTV:~$ /usr/lib/xbmc/xbmc.bin
Can't open display
ERROR: Unable to create application. Exiting
CRITSEC[0x8cbe504]: Trying to enter destroyed section.
CRITSEC[0x8cbe504]: Trying to leave destroyed section.

xbmc did not start. I still don't see a core dump anywhere.

Running this thru SSH aren't you. Don't - because it won't open on the external display


- dietcokefiend - 2010-06-16

Just wanted to say THANK YOU SO FREAKING MUCH to the OP. This has done what XBMC over OSX has never been able to do (play my 720p and 1080p media files consistently).

Just one question for now. Is the internal hard drive needed at this point in the process if I am using a USB stick to load the Ubuntu disc image? It doesnt appear to be mounted and for all I care it is just wasting power being plugged in. On the flip side could I just DD the image to my hard drive and use it as is?


- frumpy_uk - 2010-06-16

dietcokefiend Wrote:Just wanted to say THANK YOU SO FREAKING MUCH to the OP. This has done what XBMC over OSX has never been able to do (play my 720p and 1080p media files consistently).

Just one question for now. Is the internal hard drive needed at this point in the process if I am using a USB stick to load the Ubuntu disc image? It doesnt appear to be mounted and for all I care it is just wasting power being plugged in. On the flip side could I just DD the image to my hard drive and use it as is?

You might have to read the whole thread (I know, I know).

If I recall correctly, no you don't need the internal hard drive. You certainly can throw the image onto your hard drive. Quite a few people have I believe.


- Sam.Nazarko - 2010-06-16

@dietcokefiend: Thanks for the kind comments. Note that if you unplug the internal drive, the USB will no longer be /dev/sdb, and will be located at /dev/sda. You will therefore need to update com.apple.boot.plist on /dev/sdb1 and change the reference to /dev/sdb to /dev/sda for the mach kernel startup flags.


- dietcokefiend - 2010-06-16

Sam.Nazarko Wrote:@dietcokefiend: Thanks for the kind comments. Note that if you unplug the internal drive, the USB will no longer be /dev/sdb, and will be located at /dev/sda. You will therefore need to update com.apple.boot.plist on /dev/sdb1 and change the reference to /dev/sdb to /dev/sda for the mach kernel startup flags.

Ahh ok, wondered what was up when I unplugged the drive and it died mid-startup Wink

Is there a way to make audio switching less "pop-tastic" when going from the sliding/selecting sounds as you move the selection around inside XBMC to when it loads DD5.1 or DTS for a movie. That transition pops pretty darn load for my stereo whereas it didnt really do that inside the Apple TV environment.