linguini1 commented on issue #17292:
URL: https://github.com/apache/nuttx/issues/17292#issuecomment-3505961106

   The frame-buffer virtual resolution always appears as 2x2, with the frame 
buffer size being 1024 bytes and GRB colour ordering when I attempt to set up 
the frame buffer by making multiple, individual requests to the mailbox. Ex:
   
   - Get physical display size (fine)
   - Set virtual display size to physical size (returns virtual size of 2x2 px)
   - Check colour ordering (gets GRB)
   - Set ordering to RGB (refused)
   - Get frame buffer (1024 bytes in size)
   
   I can then draw to the frame buffer, which results in a blurry, half-purple 
screen. Subsequent calls to the mailbox time out, and sometimes the system 
eventually crashes.
   
   On the other hand, if I take the approach I saw others use (bundle all these 
commands into one large mailbox request), the frame buffer works just fine. 
This does require that a screen resolution be specified in advance, the Pi 4B 
will request that from the display. No fancy negotiation or anything, that is 
done in the VideoCore which is a black box.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to