2014-11-05, 21:40
I'm hoping someone can give me a hand or point me in the right direction. I have been searching for issues similar to mine but having trouble determining if identical.
My setup is an Amazon FireTV running latest rooted ROM with Helix Beta. Backend is MediaBrowser 3, however, the issue still persists with regular samba share.
My issue is that every minute or two, video seems to stutter briefly and my dropped frames count increases by 30 or so. In logcat I do see the following error that appears to be the same time as every occurrence.
V/XBMC ( 1013): Debug Print: CRenderManager::WaitForBuffer - timeout waiting for buffer
Enabling software decoding and disabling MediaCodec and libstagefright don't actually appear to do anything as it is still being hardware decoded. If I switch to SPMC, the movie is decoded in software and the issue disappears. I tried a handful of movies with same issue although I am not 100% sure on what format they were in.
Here is the details if I press 'o'.
http://imgur.com/PJRA0un
I notice by default my cache is 0 and utilization is 100%. I tried some custom settings in advancedsettings.xml such increasing buffer to 50MB, then 100MB, then 200MB and also changing readbufferfactor from 1 to 4 to 10 each time and behavior is the same. I noticed that no matter what I do though, the cache utilization is 100% even if there is 500Kb in the buffer or 100MB. Is that accurate?
I don't mind using SPMC but Helix has some features that adds to the WAF (mostly the inputting channel numbers in EPG to jump to that channel).
EDIT: I don't have a clean debug log handy but I can re-create the issue later if that's needed.
EDIT2: I have part of the log actually. http://xbmclogs.com/show.php?id=341791. It plays a couple trailers firs, then the movie. I see some other suspect lines in there as well.
My setup is an Amazon FireTV running latest rooted ROM with Helix Beta. Backend is MediaBrowser 3, however, the issue still persists with regular samba share.
My issue is that every minute or two, video seems to stutter briefly and my dropped frames count increases by 30 or so. In logcat I do see the following error that appears to be the same time as every occurrence.
V/XBMC ( 1013): Debug Print: CRenderManager::WaitForBuffer - timeout waiting for buffer
Enabling software decoding and disabling MediaCodec and libstagefright don't actually appear to do anything as it is still being hardware decoded. If I switch to SPMC, the movie is decoded in software and the issue disappears. I tried a handful of movies with same issue although I am not 100% sure on what format they were in.
Here is the details if I press 'o'.
http://imgur.com/PJRA0un
I notice by default my cache is 0 and utilization is 100%. I tried some custom settings in advancedsettings.xml such increasing buffer to 50MB, then 100MB, then 200MB and also changing readbufferfactor from 1 to 4 to 10 each time and behavior is the same. I noticed that no matter what I do though, the cache utilization is 100% even if there is 500Kb in the buffer or 100MB. Is that accurate?
I don't mind using SPMC but Helix has some features that adds to the WAF (mostly the inputting channel numbers in EPG to jump to that channel).
EDIT: I don't have a clean debug log handy but I can re-create the issue later if that's needed.
EDIT2: I have part of the log actually. http://xbmclogs.com/show.php?id=341791. It plays a couple trailers firs, then the movie. I see some other suspect lines in there as well.