ATV2 and XBMC bufferring - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: iOS support (/forumdisplay.php?fid=137)
+---- Thread: ATV2 and XBMC bufferring (/showthread.php?tid=93514)
- Defbref - 2011-03-06 17:25
Very first sticky at top of the forum explains where and how to get the nightly builds.
- RaginBajin - 2011-03-06 20:04
I actually think this is a file share locking issue with SMB on both sides. UPNP works because only one server/program (Windows) is holding on to the lock of the file.
When you start doing SMB, now Windows is now watching the file, and the ATV is now also constantly watching the status of the file. This is causing contention. It is usually not a big deal because normally file transfers are only happening and that little bit of transfer delay is not noticeable.
Now the people with NAS running with SMB are fine because SMB (samba) is being configured correctly to remove these locks. They probably have a setting called oplock turned off. This allows for faster transfers because SMB and the OS and the Client all don't all have to contend for a particular file lock.
I can't figure out how to mount anything with SMB just yet, but I bet that if we turn Client Side SMB cache off (not XBMC's video cache) that we will probably see an improvement. I'm still trying to figure out how to do the oplock or something similar on the Windows side. I'm curious to know if the same issue happens on a Windows 2008 Server vs a windows xp or windows 7 box.
- elcaballo - 2011-03-08 02:34
Just for fun, I restored and re-jailbroke with greenpois0n RC6.1. Installed latest (3/05) nightly. Buffering is worse, if anything. Now I'm noticing that even 2 gig h264 mkvs (~45 min 720p TV shows) are unwatchable in SMB library mode. Files play for a couple minutes and then buffer every minute after that.
Load them up in PS3MediaServer and they play perfectly. This is a pain, though, as PS3MS doesn't seem to scan folders for new files unless the program is restarted, which means remote desktop-ing in to quit the program.
Maybe the ATV2 just lacks the memory to handle HD file streaming across a home network?
- pmcd - 2011-03-08 04:47
elcaballo Wrote:Just for fun, I restored and re-jailbroke with greenpois0n RC6.1. Installed latest (3/05) nightly. Buffering is worse, if anything. Now I'm noticing that even 2 gig h264 mkvs (~45 min 720p TV shows) are unwatchable in SMB library mode. Files play for a couple minutes and then buffer every minute after that.
It would be strange if it were the ATV2. I have never had any buffering issues for 720p TV on either a wireless or a wired connected ATV2. Something is up with your network and these things are very hard to figure out. You have to narrow down the possibilities.
- akid1 - 2011-03-08 11:03
i finally found out that re-jailbreaking my atv2 solved my buffering problems.
i had been problems since using the Greenpois0n jb, but after doing everything again while doing the jailbreak with seas0npass untethered, everything works without buffering now.
I saved my complete XBMC folder before reseting, so i only jailbreaked again and installed XBMC (official) via SSH. Then i simply transfered my XBMC folder back to his place, so that i don´t needed to setup anything at all.
Now, everything (up to 1080p) works very nicely - just a litte buffering on 1080p material.
If there is anyone with the same problem of a lot of buffering, try seas0npass with a manual install of XBMC!
- BritBloke - 2011-03-08 15:45
akid1 Wrote:i finally found out that re-jailbreaking my atv2 solved my buffering problems.That's good to know akid. Perhaps it is a problem with greenpois0n.
- T800 - 2011-03-08 16:18
BritBloke Wrote:That's good to know akid. Perhaps it is a problem with greenpois0n.
Both my AppleTV's had a teathered jailbreak with Seas0npass and un-teathered with Greenpois0n.
I haven't had buffering problems on either ATV's or jailbreaks.
Wouldn't it be good for two people who live close with and without the problem to try the others AppleTV?
- myXBMC - 2011-03-08 16:37
Please provide some insights with the following file types and setup.
Do I need to change some settings in XBMC system/settings?
.MOV (680 MB – length is 4 minutes) it buffers approx. every 15 seconds
.MP4 (115 MB – length is 2 minutes) it buffers approx. every 15 seconds
.rmvb (215MB – length is 43 minutes) it buffers first few minutes, then it plays fine
XBMC PRE-10.0 Git: 4b032be (compiled: Feb 19 2011)
AppleTV2 Greenpois0n RC6
Dell Windows Vista (Basic) – with all of the above files
SMB sharing – no scraping
- akid1 - 2011-03-08 16:37
Strange thing is that some jb works nice for one, but gives buffering issues to others (from what i read here).
I think for the moment it is best to try both jb-methods as well as both installation methods (ssh and via NitoTV).
For me, Seas0npass + SSH install worked out well.
- uomiarz - 2011-03-08 17:51
akid1 Wrote:Strange thing is that some jb works nice for one, but gives buffering issues to others (from what i read here).
According to information here:
there is no difference in seas0npass and greenpois0n.
I believe this is the website for actual seas0npass developers.
So it is kind of strange that it worked for you but definitely worth trying.
What seems to fix my buffering issues with ATV2 was setting up samba server correctly. It was mention by RaginBajin few post above where he talks about setting opportunistic locks. I added two lines to my samba config file
I definitely need to do more testing.