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)



- deltazulu - 2010-11-20

I'm using RC1 and r174 and everything is hunky dory. be specific about what isn't playing for you.


- mbetter - 2010-11-21

RC1/r174 seems rock solid here, so far.


- yahooking - 2010-11-21

would be great if guys can use lucid base. hardy is old and there are a few things that dont play nice on hardy.


- PMKnecht - 2010-11-21

RC1 + R174 plays really nice. (On a movie that was dropping a lot of frames before i ony had 1000 dropped frames in 1 hour. Other movies play really good)

Though the "resume from last postition" feature does not work. Using it results in choppy playback and a lot of dropped frames. Starting from the beginning and seeking to the last position works just fine. So it's not a big issue.

Peter


- belmore - 2010-11-21

Crystal HD support continues to be more or less unuseable for me. I use XBMC primarily as a Myth TV front end for HDTV recordings. Without turning on Crystal HD support, this works fairly well. 1080i programs are watchable but exhibit interlace artifacts. 720p programs are flawless. I should mention that I am using 720p component output.

Turning on Crystal HD seems to create more issues than it fixes. It eliminates the interlace artifacts on 1080i recordings. But, often, when beginning playback of a program, the audio starts playing for 30 secs or so before the video appears. When I exit playback (by hitting the menu button), it often takes an equally long time to return the previous menu screen. The frame rate of playback can drop to about 5 fps on occassion for a few seconds and then speed up to 100 fps or so until it resyncs with the audio. Finally, I've had the screen go black when starting playback and hang, requiing a reboot.

I'm surprised that I haven't read anything about anyone else having similar problems. Is anyone else using this as a myth front end?


- Sam.Nazarko - 2010-11-21

CrystalHD and interlacing aren't the greatest partner in the world. Davilla decided to use line-doubling for now, but I'm sure he'll make refinements in the future.

We don't use Lucid base because it messes up HDMI audio.


- iscraigh - 2010-11-21

I am running maverick on a revo with nvidia 2.53.*** drivers and HDMI audio works for me.

I use my atv as a mythtv frontend playing 720p HDPVR recordings and it is working not bad, although I do have the occasional audio sync issue. Without the crystal hd I can't play anything at a decent frame rate.

Craig


- Sam.Nazarko - 2010-11-21

iscraigh Wrote:I am running maverick on a revo with nvidia 2.53.*** drivers and HDMI audio works for me.

I use my atv as a mythtv frontend playing 720p HDPVR recordings and it is working not bad, although I do have the occasional audio sync issue. Without the crystal hd I can't play anything at a decent frame rate.

Craig

A "Revo" not an aTV Smile


- iscraigh - 2010-11-22

Just pointing out that I had to downgrade the drivers in order for things to work.

Craig


Trouble with RC1 CHD 174 - Audio Issues - jthunder - 2010-11-22

I have been following this thread for a while and I have the following problem.

ATV with PIN's image booted from 8GB USB stick (updated with RC1 and the 174 CHD drivers).
Loading a BlueRay RIP (1080p/24 m2ts) from SMB (over the 100mbs connection)

The file appears to load ok, CPU only at ~30%, and then about a minute or so in it gets choppy and drops to about ~14 frames/sec. I can seek forward and back and it gets better for a couple of seconds and then drops again.

Getting the following in the xbmc.log:

Quote:19:58:59 T:3043252064 M:102776832 NOTICE: DVDPlayer: Opening: smb://media:[email protected]/media/movies/test.m2ts
19:58:59 T:3043252064 M:102776832 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
19:58:59 T:2812083088 M:102752256 NOTICE: Creating InputStream
19:58:59 T:2812083088 M:102662144 NOTICE: Creating Demuxer
19:59:00 T:2812083088 M:102096896 NOTICE: Opening video stream: 0 source: 256
19:59:00 T:2812083088 M:102096896 NOTICE: Creating video codec with codec id: 28
19:59:03 T:2812083088 M: 97480704 NOTICE: Creating video thread
19:59:03 T:2716855184 M: 97521664 NOTICE: running thread: video_thread
19:59:03 T:2812083088 M: 97521664 NOTICE: Opening audio stream: 2 source: 256
19:59:03 T:2812083088 M: 97521664 NOTICE: Finding audio codec for: 86020
19:59:03 T:2812083088 M: 97529856 NOTICE: Creating audio thread
19:59:03 T:2670721936 M: 97509376 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
19:59:03 T:2812083088 M: 97509376 NOTICE: Opening Subtitle stream: 3 source: 256
19:59:03 T:2670721936 M: 97509376 NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, pass-through
19:59:03 T:3043252064 M: 96215040 ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/Video/7/auto-7c5b06cd.tbn
19:59:04 T:2716855184 M: 89554944 NOTICE: fps: 23.976025, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080
19:59:04 T:2716855184 M: 83144704 WARNING: CRenderManager::Configure - timeout waiting for previous frame
19:59:04 T:2716855184 M: 83144704 NOTICE: Display resolution ADJUST : 1280x720 @ 60.00 - Full Screen (12)
19:59:04 T:2670721936 M: 83103744 WARNING: CALSADirectSound::GetSpace - get space failed. err: -32 (Broken pipe)
19:59:04 T:3043252064 M: 73302016 NOTICE: Using GL_TEXTURE_2D
19:59:04 T:3043252064 M: 73269248 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
19:59:04 T:3043252064 M: 57159680 NOTICE: GL: NPOT texture support detected
19:59:04 T:3043252064 M: 57159680 NOTICE: GL: Using GL_ARB_pixel_buffer_object
20:00:00 T:2969418640 M: 29782016 NOTICE: ES: Client from 127.0.0.1 timed out
20:01:40 T:2670721936 M: 29147136 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:01:41 T:2670721936 M: 29155328 WARNING: Previous line repeats 1 times.
20:01:41 T:2670721936 M: 29155328 ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
20:01:47 T:2670721936 M: 29163520 ERROR: Previous line repeats 23 times.
20:01:47 T:2670721936 M: 29163520 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:01:47 T:2670721936 M: 29163520 ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
20:01:48 T:2670721936 M: 29163520 ERROR: Previous line repeats 1 times.
20:01:48 T:2670721936 M: 29163520 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
20:01:48 T:2670721936 M: 29163520 ERROR: GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe
20:01:52 T:2670721936 M: 29495296 ERROR: Previous line repeats 19 times.
20:01:52 T:2670721936 M: 29495296 ERROR: Pause - pcm_pause, alsa error: -77 - File descriptor in bad state
20:01:52 T:2670721936 M: 29556736 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush and prefix with 0 frames
20:01:53 T:2716855184 M: 36466688 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
20:01:54 T:2670721936 M: 35942400 WARNING: CALSADirectSound::GetSpace - get space failed. err: -32 (Broken pipe)
20:02:08 T:3043252064 M: 31928320 ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/Video/7/auto-7c5b06cd.tbn
20:02:12 T:3043252064 M: 31887360 ERROR: Previous line repeats 1 times.
20:02:12 T:3043252064 M: 31887360 NOTICE: CDVDPlayer::CloseFile()
20:02:12 T:3043252064 M: 31887360 NOTICE: DVDPlayer: waiting for threads to exit
20:02:12 T:2812083088 M: 31887360 NOTICE: CDVDPlayer::OnExit()
20:02:12 T:2812083088 M: 31887360 NOTICE: DVDPlayer: closing audio stream
20:02:12 T:2812083088 M: 31887360 NOTICE: Closing audio stream
20:02:12 T:2812083088 M: 31887360 NOTICE: Waiting for audio thread to exit
20:02:12 T:2670721936 M: 31887360 NOTICE: thread end: CDVDPlayerAudio::OnExit()
20:02:12 T:2812083088 M: 31887360 NOTICE: Closing audio device
20:02:12 T:2812083088 M: 31887360 NOTICE: Deleting audio codec
20:02:12 T:2812083088 M: 31944704 NOTICE: DVDPlayer: closing video stream
20:02:12 T:2812083088 M: 31944704 NOTICE: Closing video stream
20:02:12 T:2812083088 M: 31944704 NOTICE: waiting for video thread to exit

Seems like an audio issue, with the GetDelay - snd_pcm_delay, alsa error: -32 - Broken pipe lines in the file.

Here is the dmesg - http://pastebin.com/YMVGzpcJ

Any ideas? Thanks!


- thebookfreak58 - 2010-11-22

Just thought I'd say thanks to this thread! After a bit of poking about I have:
RC1, CHD r174 and Harmony (Plex mapping) fully working! Turns out ssh and command line isn't so bad :-P

One side question though, I'd like to set the static ip, I've changed interfaces in /etc/network and it saves and reads correctly, but I'm still getting an IP from the DHCP...any ideas?

EDIT: Also, leave VDPAU enabled even with CHD enabled too?


- reddeath - 2010-11-22

Hey Guys,
It looks that soon it will the about time for a new USB image for ATV to appear. Does any of you have any plans already? Will there be a new light image available after final XBMC comes out?


Can't get mythtv:// links in Videos to work - czyz - 2010-11-22

I apologize in advance if it seems I'm retreading an issue mentioned earlier in this thread, but the solution mentioned there has not solved my problem.

I have an HDHomeRun dual tuner attached to an OS X machine on my local network, which is running MythBackend. That machine's name is zachInspiron, and its local IP address is 10.0.1.198. I've configured mysql to accept incoming requests, and am able to successfully use MythFrontend both on that mac and on my laptop.

I added a line for the backend to /etc/hosts:

Code:
10.0.1.198    zachInspiron

And I then added the mythtv source to sources.xml:

Code:
<source>
            <name>MythTV at zachInspiron</name>
            <path pathversion="1">myth://mythtv:mythtv@zachInspiron</path>
        </source>

When I attempt to access mythtv from within xbmc, a "Remote Share; Could not connect to remote server." error appears on the screen, and the following messages are written to xbmc.log:

Code:
02:36:30 T:2910759824 M:159625216   ERROR: GetControl - unable to connect to server on zachInspiron:6543
02:36:30 T:3043338080 M:159625216   ERROR: GetDirectory - Error getting myth://mythtv:mythtv@zachInspiron/
02:36:30 T:3043338080 M:159625216   ERROR: CGUIMediaWindow::GetDirectory(myth://mythtv:mythtv@zachInspiron/) failed

I have also tried changing 'zachInspiron' in /etc/hosts to 'xbmc', with the thought that maybe xbmc's mythtv support expects the backend to be named mythtv. That didn't work. I've also tried putting the backend's IP address in sources.xml, as well as the backend's zeroconf name. No dice. My current sources.xml has all of the following listed:

Code:
<source>
            <name>MythTV</name>
            <path pathversion="1">myth://mythtv:mythtv@mythtv</path>
        </source>
        <source>
            <name>MythTV at zachInspiron</name>
            <path pathversion="1">myth://mythtv:mythtv@zachInspiron</path>
        </source>
        <source>
            <name>MythTV at zachInspiron.local</name>
            <path pathversion="1">myth://mythtv:[email protected]</path>
        </source>
        <source>
            <name>MythTV at IP</name>
            <path pathversion="1">myth://mythtv:[email protected]</path>
        </source>

These all produce the same errors in the log, save for the parts that refer to the computer's name.

I know the backend is functioning, as I can use it from the frontend on two computers. I just can't seem to convince xbmc to connect to the backend.

Any ideas? Thanks for any help or info.

I'm running xbmc r35326, crystalhd-r174, BCM70015, on appleTV


- thnmnt - 2010-11-22

same issues here (following sam's directions to install to internal HD) - I'm using pin87a's image updated to RC1 as I try to do this. I've updated the patched parted (1.8.8) plus the HFS and build-essential tools. I get this far:

Code:
xbmc@AppleTV:~$ sudo parted -s /dev/sda mkpart primary HFS 40s 69671s
Error: /dev/sda: unrecognised disk label
xbmc@AppleTV:~$ sudo fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sda doesn't contain a valid partition table

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 4026 MB, 4026531840 bytes
255 heads, 63 sectors/track, 489 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1          26      204819+  ee  EFI GPT
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 254, 63) logical=(0, 0, 2)
Partition 1 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(25, 127, 14)
/dev/sdb2   *          26          29       25500   af  Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 254, 63) logical=(25, 127, 15)
Partition 2 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(28, 171, 47)
/dev/sdb3              29         333     2441406+  83  Linux
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 254, 63) logical=(28, 171, 48)
Partition 3 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(332, 156, 45)
/dev/sdb4             333         395      500000+  82  Linux swap / Solaris
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 254, 63) logical=(332, 156, 46)
Partition 4 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(394, 219, 47)
xbmc@AppleTV:~$



- teresa - 2010-11-22

belmore Wrote:Crystal HD support continues to be more or less unuseable for me. I use XBMC primarily as a Myth TV front end for HDTV recordings. Without turning on Crystal HD support, this works fairly well. 1080i programs are watchable but exhibit interlace artifacts. 720p programs are flawless. I should mention that I am using 720p component output.

Turning on Crystal HD seems to create more issues than it fixes. It eliminates the interlace artifacts on 1080i recordings. But, often, when beginning playback of a program, the audio starts playing for 30 secs or so before the video appears. When I exit playback (by hitting the menu button), it often takes an equally long time to return the previous menu screen. The frame rate of playback can drop to about 5 fps on occassion for a few seconds and then speed up to 100 fps or so until it resyncs with the audio. Finally, I've had the screen go black when starting playback and hang, requiing a reboot.

I'm surprised that I haven't read anything about anyone else having similar problems. Is anyone else using this as a myth front end?

belmore,
I have the same problems as you do with my CrystalHD BCM70015 card and HDTV mythtv recordings. The AppleTV has been less than ideal for me with XBMC because of this. I have a couple of Revo AR1600's that do a much better job.... but I didn't want to spend the money for another one. I am running Pin87a's image on the HD and r174 of crystalHD with RC1 of XBMC. I have tried both HDMI and component with similar results.