[AppleTV] Apple TV nightlies issues?
#1
Question 
As I didn't see another thread, I was thinking it would be a good idea to start an ongoing thread where we can report issues with the builds from the xbmc buildbot.

I'm currently running 26715 with a Crystal HD card and I'm having pretty severe networking performance issues. When playing back 720p and 1080p files, it will only play a few seconds before buffering. When playing back files locally, they work just fine.

I seem to recall someone else mentioning this, so I didn't know if it was a known issue or not. I didn't really see anything worthwhile in the logs, but would be happy to post them if helpful.
Reply
#2
runelind Wrote:As I didn't see another thread, I was thinking it would be a good idea to start an ongoing thread where we can report issues with the builds from the xbmc buildbot.

I'm currently running 26715 with a Crystal HD card and I'm having pretty severe networking performance issues. When playing back 720p and 1080p files, it will only play a few seconds before buffering. When playing back files locally, they work just fine.

I seem to recall someone else mentioning this, so I didn't know if it was a known issue or not. I didn't really see anything worthwhile in the logs, but would be happy to post them if helpful.

Hate to say it but without knowing your network setup, such a report is rather useless. There's no info about if this is a new condition, i.e. a previous version of XBMC on the same platform had better network performance. And no xbmc.log posted to http://www.pastebin.com. I might as well toss darts at a dart board and make wild guesses Smile
Reply
#3
AppleTV is connected via ethernet interface to a Layer 2 gigabit switch, which then goes upstairs to a Layer 3 gigabit switch, which then hits my fileserver which is running samba on FreeBSD. I haven't run XBMC for a while on the AppleTV, but playback works great on the Linux-based xbmc system sitting next to it, although it has a gigE interface. 100mbit should definitely be enough to play back 720p files if not 1080p files.

I will try to post some logs tonight. Just wanted to ask if network performance was already a known issue.

Thanks!
Reply
#4
runelind Wrote:AppleTV is connected via ethernet interface to a Layer 2 gigabit switch, which then goes upstairs to a Layer 3 gigabit switch, which then hits my fileserver which is running samba on FreeBSD. I haven't run XBMC for a while on the AppleTV, but playback works great on the Linux-based xbmc system sitting next to it, although it has a gigE interface. 100mbit should definitely be enough to play back 720p files if not 1080p files.

I will try to post some logs tonight. Just wanted to ask if network performance was already a known issue.

Thanks!

In other words, wired and no wireless Smile , many people try pumping 720p/1080p over 802.11g and it's just not fast enough.

100Mb is adequate for 1080p even VC1 bluray rips.
Reply
#5
davilla Wrote:In other words, wired and no wireless Smile , many people try pumping 720p/1080p over 802.11g and it's just not fast enough.

100Mb is adequate for 1080p even VC1 bluray rips.

Indeed.

Here is a section of the xbmc.log trying to play back a file over the network Oo

http://pastebin.ca/1752557
Reply
#6
runelind Wrote:Indeed.

Here is a section of the xbmc.log trying to play back a file over the network Oo

http://pastebin.ca/1752557

DEBUG: CoreAudioRenderer:Tongueause
DEBUG: CCoreAudioRenderer::OnRender: Buffer underrun

audio queue is getting drained. if you have a keyboard attached, type 'o', this brings up a/v stats. look at aq and vq and a/v ratio. What do you see ?

If aq, vq are zero, pause, they should fill up. unpause, they should stay full.

I have an issue with an SMB share on a WinXP box, it just can't keep up with feeding VC1 bluray from the BD disk. Copy the bluray image to a linux box with SMB shares, no problem with feed. Network is not saturated, WinXP box has plenty of CPU avaliable, just can't get it to feed a 30-35Mb continuous stream.
Reply
#7
I'll enable the keyboard and see what I can find out tonight - stupid work getting in the way.

I'll see if NFS or HTTP works better as well.
Reply
#8
For what it's worth, I have better luck (speed wise) with NFS over SMB. My fileserver runs Ubuntu 9.10 server with my Revo and ATV hooked up to 802.11n bridges.

I can stream blu-ray rips over N with NFS. SMB can't quite do a full rip, but it handles 1080p re-encodes or 720p videos fine.

For some numbers... I get stready transfers in the 50mbps range from NFS, and in the 20mbps range from SMB. HTTP is around 50mbps as well. NFS seems to have minimal overhead on my setup.
Reply
#9
Performance is much better with HTTP. I no longer get the buffering screen, however I do get moments every once in a while (more frequent with 1080p) when video slows to slow-motion, while audio plays fine.

http://pastebin.ca/1753074

Network appears to be maxing out at 5mbit according to bmon on my BSD box, well within 100mbit limits.


EDIT:

And now I can't get it to do it at all, plays back perfectly over http. Go figure ;p

Still unhappy with SMB
Reply
#10
Upgraded to svn26936, and the SMB problems are still present. I was also having buffering issues with http decoding SD files. Same issue as decoding HD files over http: audio would continue to play while video would turn to slow-motion.
Reply
#11
I'm also having issues with XBMC crashing when starting or exiting out of videos. Here is a chunk of the xbmc.log during a crash during startup of a video. This is over http:

Code:
13:04:00 T:52344832 M:  8077312    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles
13:04:00 T:52344832 M:  8077312   DEBUG: CacheSubtitles: START
13:04:00 T:52344832 M:  8077312    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles done
13:04:00 T:52344832 M:  8077312  NOTICE: Creating Demuxer
13:04:00 T:52345856 M:  8073216   DEBUG: thread start, auto delete: 0
13:04:03 T:51565056 M:  8056832    INFO: Loading skin file: DialogProgress.xml
13:04:03 T:51565056 M:  8024064   DEBUG: Load DialogProgress.xml: 30.81ms
13:04:03 T:51565056 M:  8019968   DEBUG: DialogProgress::StartModal called
13:04:03 T:51565056 M:  8024064   DEBUG: ------ Window Init (DialogProgress.xml) ------
13:04:03 T:51565056 M:  8024064   DEBUG: Alloc resources: 0.12ms (0.00 ms skin load)
13:04:27 T:53134848 M:  8286208   DEBUG: Thread 53134848 terminating (autodelete)
13:04:28 T:53762048 M:  8294400   DEBUG: Thread 53762048 terminating (autodelete)
13:04:29 T:53684736 M:  8339456   DEBUG: Thread 53684736 terminating (autodelete)
13:05:01 T:51683328 M:  8368128  NOTICE: ES: Client  from 127.0.0.1 timed out

I have to do a kill -9 on the XBMC process and restart to fix the issue. I would say it happens about 50% of the time starting or exiting out of playback.

Let me know if you want debug output
Reply
#12
When I try to download r26957 on apple TV it fails with message "An error occured."

I could install it manually of course (the latest nightly build is r26973), but what do I have to enter into the console (NOT using the launcher) in order to do that?

Thanks for any advice.
Vero 4k+ | OSMC Kodi 19.1
Sony KD-65A1
Reply
#13
Still having smb streaming issues with 26973

Code:
20:43:20 T:52260864 M:  3260416   DEBUG: CrystalHD: Added a new Buffer, ReadyListCount: 19
20:43:20 T:52513792 M:  3526656   DEBUG: CDVDPlayerAudio:: Discontinuity - was:100287177.648000, should be:100160000.000000, error:-127177.648000
20:43:21 T:52513792 M:  4882432   DEBUG: CDVDPlayerAudio:: Discontinuity - was:101184569.754000, should be:101147704.148741, error:-36865.605259
20:43:21 T:51657216 M:  4743168   DEBUG: Thread 51657216 terminating (autodelete)
20:43:28 T:52512768 M:  5132288   DEBUG: CPullupCorrection: detected pattern of length 24: 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00
20:43:30 T:2684407808 M:  5771264   DEBUG: SECTION:UnloadDelayed(SECTION: LCODE)
20:43:31 T:2684407808 M:  6004736   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmc/system/ImageLib-x86-osx.so)
20:43:31 T:2684407808 M:  6021120   DEBUG: Unloading: ImageLib-x86-osx.so
20:43:32 T:52512768 M:  5660672   DEBUG: CPullupCorrection: pattern lost
20:43:36 T:52512768 M:  5066752   DEBUG: CPullupCorrection: detected pattern of length 24: 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00
20:43:47 T:52512768 M:  4300800   DEBUG: CrystalHD: SetDropState... 1
20:43:47 T:52512768 M:  4771840   DEBUG: CrystalHD: SetDropState... 0
20:43:47 T:52512768 M:  4775936   DEBUG: CrystalHD: SetDropState... 1
20:43:47 T:52512768 M:  4710400   DEBUG: CrystalHD: SetDropState... 0
20:43:47 T:52512768 M:  4878336   DEBUG: CrystalHD: SetDropState... 1
20:43:48 T:52512768 M:  5533696   DEBUG: CrystalHD: SetDropState... 0
20:43:48 T:52512768 M:  5488640   DEBUG: CrystalHD: SetDropState... 1
20:43:48 T:52512768 M:  5672960   DEBUG: CrystalHD: SetDropState... 0
20:43:48 T:52512768 M:  5689344   DEBUG: CrystalHD: SetDropState... 1
20:43:48 T:52512768 M:  5881856   DEBUG: CrystalHD: SetDropState... 0
20:43:48 T:52512768 M:  5988352   DEBUG: CrystalHD: SetDropState... 1
20:43:48 T:52512768 M:  6070272   DEBUG: CrystalHD: SetDropState... 0
20:43:48 T:52512768 M:  6041600   DEBUG: CrystalHD: SetDropState... 1
20:43:48 T:52512768 M:  6070272   DEBUG: CrystalHD: SetDropState... 0
20:43:48 T:52512768 M:  6139904   DEBUG: CrystalHD: SetDropState... 1
20:43:48 T:52512768 M:  6410240 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
20:43:48 T:52512768 M:  7233536    INFO: CDVDPlayerVideo - Stillframe detected, switching to forced 23.976025 fps
20:43:49 T:51519488 M:  9224192   DEBUG: CDVDPlayer::SetCaching - caching state 1
20:43:49 T:52513792 M:  9252864   DEBUG: CoreAudioRenderer::Pause: Pausing Playback.
20:43:49 T:2684407808 M:  9302016   DEBUG: ------ Window Init (DialogSeekBar.xml) ------
20:43:49 T:2684407808 M:  9297920   DEBUG: Alloc resources: 0.29ms (0.00 ms skin load)
20:43:54 T:51519488 M:  4866048   DEBUG: CDVDPlayer::SetCaching - caching state 0
20:43:54 T:52512768 M:  4882432    INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
20:43:54 T:52512768 M:  4882432   DEBUG: CrystalHD: SetDropState... 0
20:43:54 T:52513792 M:  4775936   DEBUG: CoreAudioRenderer::Resume: Resuming Playback.
20:43:54 T:51519488 M:  4870144   DEBUG: CDVDPlayer::SetCaching - caching state 1
20:43:54 T:51519488 M:  4866048   DEBUG: CDVDPlayer::SetCaching - caching state 0
20:43:54 T:52512768 M:  4866048 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
20:43:54 T:2684407808 M:  4734976   DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
20:43:54 T:52513792 M:  5271552   DEBUG: CDVDPlayerAudio:: Discontinuity - was:92625084.460741, should be:129275671.282120, error:36650586.821379
20:43:54 T:52513792 M:  5271552   DEBUG: CoreAudioRenderer::Pause: Pausing Playback.
20:43:54 T:52513792 M:  5337088   DEBUG: CoreAudioRenderer::Resume: Resuming Playback.
20:43:54 T:52513792 M:  5279744   DEBUG: CDVDPlayerAudio:: Discontinuity - was:129334039.970120, should be:129307671.611120, error:-26368.359000
20:43:55 T:52512768 M:  4210688   DEBUG: CrystalHD: SetDropState... 1
20:43:55 T:52512768 M:  4177920   DEBUG: CrystalHD: SetDropState... 0
20:43:56 T:51671552 M:  3493888  NOTICE: ES: Client  from 127.0.0.1 timed out
20:44:02 T:52512768 M:  5251072   DEBUG: CPullupCorrection: detected pattern of length 24: 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 41000.00 42000.00 42000.00 42000.00 41000.00 42000.00 42000.00

@Davilla: are these debugs helping or do you already know what's going on?

EDIT: Same build works perfectly in terms of SMB streaming on my MacBook Pro.
Reply

Logout Mark Read Team Forum Stats Members Help
[AppleTV] Apple TV nightlies issues?0