-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image insertion, flickering and blinking #1
Comments
Amazing . I'm keen for this to become more than just a ship viewer . Thank
you for helping me out. I feel quite honoured :)
…On Fri, 1 Nov 2019, 17:33 tobozo, ***@***.***> wrote:
hey 😄
I got your shoutout
<https://twitter.com/Mystereon/status/1190243821822578691?s=20> on
twitter all right and I suggest you try this code
<https://github.com/tobozo/M5ELite>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AEZMCP7ROGQ43DZCHLBQUG3QRRR7JA5CNFSM4JH52YFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HWFLK5Q>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEZMCP5JA3OF4C7BJARE6ODQRRR7JANCNFSM4JH52YFA>
.
|
It has slowed down quite
…On Fri, 1 Nov 2019, 21:42 Ian Parker, ***@***.***> wrote:
Amazing . I'm keen for this to become more than just a ship viewer .
Thank you for helping me out. I feel quite honoured :)
On Fri, 1 Nov 2019, 17:33 tobozo, ***@***.***> wrote:
> hey 😄
>
> I got your shoutout
> <https://twitter.com/Mystereon/status/1190243821822578691?s=20> on
> twitter all right and I suggest you try this code
> <https://github.com/tobozo/M5ELite>
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#1?email_source=notifications&email_token=AEZMCP7ROGQ43DZCHLBQUG3QRRR7JA5CNFSM4JH52YFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HWFLK5Q>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AEZMCP5JA3OF4C7BJARE6ODQRRR7JANCNFSM4JH52YFA>
> .
>
|
Actually it feels faster when compiled with the M5Stack-Core-ESP32 board or any ESP32 board with psram disabled, The cause is that TFT_eSprite will allocate the sprite memory to the psram when available, even when it's not necessary. Since the psram uses the SPI bus, that's a slowdown indeed. One speed improvement is to disable psram, your project does not need much memory since it's already got plenty free (~180K); Another improvement would be by using DMA transfer but that's out of my league (see these examples). |
That all makes sense dude .. I looked at the DMA routines and yeah ..that
looks like a brain freezer
…On Fri, 1 Nov 2019, 22:56 tobozo, ***@***.***> wrote:
Actually it feels faster when compiled with the *M5Stack-Core-ESP32*
board or any ESP32 board with psram disabled,
The cause is that TFT_eSprite will allocate the sprite memory to the psram
when available, even when it's not necessary
<https://github.com/m5stack/M5Stack/blob/master/src/utility/Sprite.cpp#L109>
.
Since the psram uses the SPI bus, that's a slowdown indeed.
One speed improvement is to disable psram, your project does not need much
memory since it's already got plenty free (~180K);
Another improvement would be by using DMA transfer but that's out of my
league (see these examples <https://github.com/lovyan03/ESP32_DmaSamples>
).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AEZMCP6SWLNXZWA3I7B4BYLQRSXY7A5CNFSM4JH52YFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC4LV3A#issuecomment-548977388>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEZMCP4H3R2HAUNULA7E2JTQRSXY7ANCNFSM4JH52YFA>
.
|
hey 😄
I got your shoutout on twitter all right and I suggest you try this code
The text was updated successfully, but these errors were encountered: