circle icon indicating copy to clipboard operation
circle copied to clipboard

can't instantiate a second CLVGL class on second framebuffer (Pi4)

Open sky-flix opened this issue 4 years ago • 2 comments

Forgive me if this is the wrong way to report this, but I'm trying to sort out why I can't seem to instantiate a second CLVGL class on a second CScreenDevice or CBcmFrameBuffer. My first CLVGL object works fine on the primary display, and I can initialize and use the standard SetPixel methods on the second CScreenDevice, but if i create a second CLVGL (or CUGUI class for that matter), then the kernel fails to boot. I'm using the network bootloader to push the kernel8-rpi4.img as I develop, and when I upload, nothing happens. If I remove the second CLVGL or CUGUI objects, then the kernel boots and runs fine. Any thoughts as to what might be causing this?

sky-flix avatar Dec 26 '20 21:12 sky-flix

This is the right place to ask. Unfortunately it's only possible to display a GUI on one frame buffer. More is not supported.

rsta2 avatar Dec 27 '20 12:12 rsta2

Thanks for the confirmation Rene. And I appreciate everyone's work on the library. This has been a very intriguing learning experience for me.

sky-flix avatar Dec 27 '20 14:12 sky-flix