Closed jamasi closed 9 years ago
Might there be some problem with freeing (or reusing) oGL texture memory?
That's probably the reason. I guess I didn't update that script yet. Sorry about that. Garbage collection changed a bit in recent versions of info-beamer. See https://info-beamer.com/blog/understanding-garbage-collection to learn more about that.
The quick fix is to put a node.set_flag("slow_gc", false)
at the top of the lua file. This will force garbage collection after each frame which should help.
For your information the vanilla "ordered images" script from info-beamer-nodes exhibits the same problem.
But setting the GC to frame mode fixes the issue for now. Thanks for your quick response.
Thanks for confirming that it works. I'll update the ordered image example.
I just pushed a new version to dividuum/info-beamer-nodes@81fc1e8. Have a look in photos-fade. It completely replaces ordered-images and on top of not leaking image resources it also supports cross-fading between images.
I'm in the process of evaluating info-beamer-pi for our association. So (based on example code) I put together this visualisation:
In the directory there are 6 .png images each about 1.1 MB in size and 1050x1680 / 1050x1650 in resolution. On my desktop with
Info Beamer 1.0pre4.fca06c+Lua 5.1
the visualisation works as expected, but with the Pi 1 B (with gpu_mem=192) I encounter thisglGetError 0x505
error:Might there be some problem with freeing (or reusing) oGL texture memory?