Kodi Community Forum
[LINUX] Sam's beta 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] Sam's beta image for Apple TV? (/showthread.php?tid=88518)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


- Sam.Nazarko - 2010-12-31

See what I've done (automated installer):

http://code.google.com/p/crystalhd-for-atv/source/browse/trunk/files-other/recovery/patchstick/patchstick-ubuntu.sh

You use the Root, Recovery and Swap images to add to each partition. It's basically how I build the USB images in a hypervisor. Obviously the images aren't available right now. I want to upload them in time with the Linux installer, so I'm waiting till I've done that.

Remember to gptsync after to fix the MBR and speed up boot. You'll need patched parted, gptsync and hfstools.


- pmcd - 2011-01-01

Sam.Nazarko Wrote:See what I've done (automated installer):

http://code.google.com/p/crystalhd-for-atv/source/browse/trunk/files-other/recovery/patchstick/patchstick-ubuntu.sh

You use the Root, Recovery and Swap images to add to each partition. It's basically how I build the USB images in a hypervisor. Obviously the images aren't available right now. I want to upload them in time with the Linux installer, so I'm waiting till I've done that.

Remember to gptsync after to fix the MBR and speed up boot. You'll need patched parted, gptsync and hfstools.

I'll have another go at it. You keep mentioning mbr. Isn't that a dos thing and not a guid thing? When I partition a disk I have a choice of using mbr ( dod and windows) or guid which allows me to boot a Mac or windows7 or Linux. I have always tried to avoid mbr. Guid allows me to resize things in a very simple way ( but not when there are ext2 partitions). I guess I am trying to use the same tools as I did with Darwin on a PC and that is what is failing.

Anyway, for guid disks the tool is gpt as far as I know.

Right now I have to deal with Ubuntu Live messing up my windows7 install, but perhaps that was a good thingSmile

Happy New Year to all...

Philip


- pmcd - 2011-01-01

Sam.Nazarko Wrote:See what I've done (automated installer):

http://code.google.com/p/crystalhd-for-atv/source/browse/trunk/files-other/recovery/patchstick/patchstick-ubuntu.sh

You use the Root, Recovery and Swap images to add to each partition. It's basically how I build the USB images in a hypervisor. Obviously the images aren't available right now. I want to upload them in time with the Linux installer, so I'm waiting till I've done that.

Remember to gptsync after to fix the MBR and speed up boot. You'll need patched parted, gptsync and hfstools.

I see. Would it be a lot of work to have an install option for an external hard drive or an external flash of whatever size? That would be really neat for those of us who might want to still keep OSX on the ATV, for AirPlay for example.

Philip


- Sam.Nazarko - 2011-01-01

I'm doing that. But you'll have to wait for end of January after exams I have.

Yes, it uses GPT to boot, but MBR is kept for backward compatibility. If the MBR table is not right, boot time is delayed by up to 60 seconds.


- Metsadah - 2011-01-01

Hi, im a really new to all this. And I cant even figure out where to download your image, let alone installing it on my atv.

I really want to have xbmc on linux, since the normal version on os x is way too slow, but after 2 days of reading I still cant figure out a good place to start or a good guide to follow.


- jotate - 2011-01-01

Metsadah, Right now Sam is working on an updated install process for getting Linux installed on the ATV. You will have to wait until his is finished , or another solution. There are a few others guides out there, but they can be a bit complicated in my opinion.


- darkscout - 2011-01-01

Any way you could change the endPos to be automatic? I just upgraded to a 160GB HD.

I think that parted accepts % as a flag


sudo parted -s /dev/sda mkpart primary ext3 1118248s 100%


- Sam.Nazarko - 2011-01-01

100% --- too much. You need to leave 40s free. Really I'd rather just have my GUI dynamically adjust the quota. User enters HDD size in gigabytes, /not gibi/, and the calculation is performed to sort out the ext3 partition.


- feikenberg - 2011-01-03

I've tested the image and I'm very happy with it. Now I would like to install it to the internal hard drive keeping the ATV OS. I would like to follow pin87a's instructions that I found here:

http://forum.xbmc.org/showpost.php?p=552288&postcount=359

Since i have a 160 GB unit, I would like to have a 10 GB Linux partition and keep the remaining capacity for my OS X media partition. Could somebody tell me how the 3 "parted -s /dev/sda mkpart" commands would look like?


- bass63 - 2011-01-03

After playing with the image for few days I have to say that it is worse than the old minimal image (Pin's one). I mean it is fast and snappy in GUI (thanks to DDS fanart) and has nice features like autoupdating, but the playback is choppy with 1080p files and even some 720p files (especially if they have a DTS track). My ATV is hooked up via optical passthrough to receiver and the same files are playing just fine with 25286 Dharma SVN and 0.26 CHD drivers.

Plus, enabling subtitles (at least in 24p mode) causes frame drops even on 720p content.

Don't get me wrong - i really appreciate all the hard work Sam is doing, if it wasn't for him - i would never get any HD playback out of my ATV, and i hope some day his new image will match performance of an old one, but right now it is just not as good ;(

Maybe the problem lies within Dharma 10 release, because when i manually updated old image to latest XBMC version and CHD drivers i got the same performance drop.


- Metsadah - 2011-01-03

I think its definately the combo of new broadcom drivers and final dharma. I got much better playback on pin87a image like it came. But after updating to the final dharma and the new broadcom drivers its choppy on 1080p, too choppy to watch and there are occasional drops on 720p. Im sticking with it though, I dont want to go back to an old release since I like the whole addon thing way too much. Ill just stick with watching only 720p files or less for a while.


- jagabongo - 2011-01-03

So i use this image on an usb stick

with xbmc i have mountet my 1gb network drive with SMB on this 1gb are only 1080p mkv files WITH DTS sound!

ATV Audio is connected via optical audio out and the video via HDMI.

Every of my mkvs runs perfectly smooth over my smb share!! no issues at all...

if you have problems with running mkvs then the problem is on your side not the image!


- bass63 - 2011-01-04

jagabongo Wrote:So i use this image on an usb stick

with xbmc i have mountet my 1gb network drive with SMB on this 1gb are only 1080p mkv files WITH DTS sound!

ATV Audio is connected via optical audio out and the video via HDMI.

Every of my mkvs runs perfectly smooth over my smb share!! no issues at all...

if you have problems with running mkvs then the problem is on your side not the image!

"Perfectly smooth" could be a subjective thing Wink Try to bring up "codec info" stats on the screen and watch for dropped frames - I can assure you there are plenty. If you didn't notice them - good for you. Or maybe your files are encoded with lower bitrate, even though they are 1080p+DTS. Mines are usually 12-15 GB for a 2 hour movie at 1080p, what size are your files?

The thing is that I've tested both images after clean install with the same settings, on the same files and over the same SMB shares (even tried to play few samples right off the USB drive). Old image plays them just fine, the new one dropping frames on complex scenes.

I can upload few samples for you to try if you're interested...

And the subtitle bug is driving me nuts (frames being dropped when subs are enabled at 24p mode) and makes new image unusable, since I'm watching movies with subtitles - English isn't my speaking language as you may have guessed already.


- jthunder - 2011-01-05

I'm having the same issue with some dropped frames in 1080p source material. I initially thought it was the SMB 100mbs connection not keeping up, but even copying the source files local, there are still some dropped frames (although way less than before.


- Sam.Nazarko - 2011-01-05

The image is available, but I am too busy for the next month to provide any support whatsoever. http://twitter.com/SamNazarko/status/22615803283111936. Please refer to http://code.google.com/p/crystalhd-for-atv for support