boydm / scenic_driver_nerves_rpi

Scenic render-only driver for the Raspberry Pi under Nerves
Apache License 2.0
22 stars 12 forks source link

Scene stops drawing after an indeterminate amount of time #17

Open axelson opened 3 years ago

axelson commented 3 years ago

I'm fairly sure that this is a bug here, although it is very possible that it is a core scenic bug instead. What happens is that after 5-48 hours or so the scene will stop drawing updates. All touch input is still received and processed but no scene updates are drawn. I I try to change the scene then the entire screen goes dark/blank. Sometimes it gets stuck in an in-between state where only part of the scene is updated.

Deployment platform:

I'm not sure of any fast way to reproduce the error and I don't get any errors in the log so I'm not sure how to debug further.

This is on the latest version of scenic. I can try again after the next version of scenic is released because this may end up being fixed as a side effect.

boydm commented 3 years ago

I haven't reworked the rpi driver for v.11 yet, but my gut says the elixir side is fine and it might be in the C code. I don't think it will be tremendously hard to get the rpi driver working (at least for rip3), so we'll have to see if it is still there in a bit.

axelson commented 3 years ago

Okay, sounds good. Thanks!

boydm commented 3 years ago

OK. I'm going to take a pass at the v0.11 version of this driver. Please check again in a bit when it is working.

axelson commented 3 years ago

Thanks for the update 👍 I'll check again once the v0.11 version is ready

boydm commented 3 years ago

Sigh... My RPI doesn't work any more. Need to order a new one.

axelson commented 3 years ago

Ah, that's too bad! Should probably order multiple just in case :)

boydm commented 3 years ago

Yeah. The usb connector got bent at some point in the past...

I'll go check in the garage. May have another.