-
Notifications
You must be signed in to change notification settings - Fork 349
Description
On previous firmware, the 09_framebuffer example worked perfectly, however, on recent firmware, it looks like RGB pixel order isn't supported for some reason, so homer appears cyan rather than yellow.
The Mailbox property interface wiki page says "The response may not be the same as the request so it must be checked." for tag 0x00048006. I added a check to test the value of mbox[24] after the mailbox call, and indeed the value returned is 0, suggesting that the pixel order option of 1 wasn't accepted. I'm not sure why.
I also tried setting all the tag request codes to 0 (mbox[4], mbox[9], mbox[14], mbox[19], mbox[23], mbox[27], mbox[32]) to see if that would help, but it didn't. I also tried changing the order of the tags, but that didn't help either.
It seems like RGB maybe isn't supported now for the given screen dimensions/colour depth etc, or maybe this is a firmware bug, I'm not sure. But the code probably should check the value of mbox[24] and if it is 0, populate the framebuffer using BGR instead of RGB.