Skip to content
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

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

Open
sky-flix opened this issue Dec 26, 2020 · 2 comments
Open

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

sky-flix opened this issue Dec 26, 2020 · 2 comments

Comments

@sky-flix
Copy link

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?

@rsta2
Copy link
Owner

rsta2 commented Dec 27, 2020

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

@sky-flix
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants