monome / teletype

monome eurorack module
GNU General Public License v2.0
195 stars 82 forks source link

screen glitching and redraw prioritization #97

Closed tehn closed 6 years ago

tehn commented 6 years ago

screen redraw needs optimization

partial redraws moving between edit and tracker, for example

samdoshi commented 6 years ago

@scanner-darkly has a fix for this in libavr32, it was done for Earthsea (maybe?). The Teletype code just needs updating to use it.

Maybe @scanner-darkly and @burnsauce can coordinate to get the changes in?

samdoshi commented 6 years ago

Added some comments here: https://llllllll.co/t/new-teletype-operators-and-features/9076/191?u=sam

scanner-darkly commented 6 years ago

there were changes made both in libavr32 and teletype.

the libavr32 changes were merged into the master already: https://github.com/monome/libavr32/commit/7170c9ab03ab4754197fa91b55bde6e2fb21aadd

these changes include:

teletype changes are here: https://github.com/scanner-darkly/teletype/commit/c47eaaf0cf84b8e1eeb6de63612e2a01cf66c3c6

they include:

testing: with @samdoshi official 2.0 i still managed to lock it reliably and quickly with extreme scenario (10ms metro, audio rate triggers, lots of i2c reading and writing in metro). with the above changes i wasn't able to get it to crash (i ran it for over 40 hours).

scanner-darkly commented 6 years ago

for screen/keyboard responsiveness we just need to update teletype, for i2c stability both teletype and trilogy/ansible will need to be updated.

scanner-darkly commented 6 years ago

forgot to add, my change was essentially a super simple implementation of having a higher priority queue for screen/keyboard updates. i think @burnsauce had some ideas on how to do this as well.

burnsauce commented 6 years ago

Yeah, I'd like to create a proper scheduler to handle as many of the teletype's jobs as possible with predictable performance and timing for critical functions.

tehn commented 6 years ago

perhaps we should do an intermediary (say 2.0.1) release that fixes this prior to the 2.1 feature burst?

i can attempt this today.

On Wed, Sep 13, 2017 at 7:13 PM, Poindexter Frink notifications@github.com wrote:

Yeah, I'd like to create a proper scheduler to handle as many of the teletype's jobs as possible with predictable performance and timing for critical functions.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/monome/teletype/issues/97#issuecomment-329323027, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPEcE-d1ai0uibRWTxHVQhbeirdrIfqks5siGGUgaJpZM4PWGM_ .

burnsauce commented 6 years ago

2.0.1 did indeed solve this problem, so the issue can be closed.