Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
EnTerr
Roku Guru

"Reader::Impl - circular buffer overflow"?

[This question is outside B/S domain, so i guess for a RokuStar or someone who has experience with non-Basic SDKs on Roku.]

Doing Marmalade development for Roku, sometimes i am seeing on console diagnostics like this:
Reader::Impl - circular buffer overflow - lost 256 events
Reader::Impl - circular buffer overflow - lost 256 events
[...]
Reader::Impl - circular buffer overflow - lost 768 events
Reader::Impl - circular buffer overflow - lost 1024 events
Reader::Impl - circular buffer overflow - lost 512 events
Reader::Impl - circular buffer overflow - lost 1536 events
Reader::Impl - circular buffer overflow - lost 4352 events

I haven't seen such complaints in emulator or on another device - and a Marmalade engineer (a very competent one btw) could not find the reason in Marmalade sources either. I have developed a gut feeling (see further in that forum) that this is related to handling the game remote motion events in low FPS situations - but it's just that, gut feeling.

Does the message ring a bell? What could it be?
0 Kudos
3 REPLIES 3
RokuMarkn
Visitor

Re: "Reader::Impl - circular buffer overflow"?

I talked to a developer more familiar with this area and he agrees with your gut feeling. He says it's a message indicating that the queue of events is not being consumed fast enough and that some are being dropped, and this is almost certainly because of motion events.

--Mark
0 Kudos
EnTerr
Roku Guru

Re: "Reader::Impl - circular buffer overflow"?

Thank you -
anything that i could (or should) do?

I.e. is there something to avoid event loss (e.g. param to expand queue)?
Do i care for the motion events lost (or do they get consolidated into a single summary one)?
It seems i lose button presses in such situations too.
0 Kudos
EnTerr
Roku Guru

Re: "Reader::Impl - circular buffer overflow"?

Alternatively, whose court is this ball in - Roku Inc or Marmalade Tech Ltd?
Who maintains the source?
0 Kudos