[bug] Double buffering support not working #29

Open
opened 2024-03-12 14:35:29 +01:00 by hgruniaux · 0 comments
hgruniaux commented 2024-03-12 14:35:29 +01:00 (Migrated from github.com)

Actually, double buffering should already be supported in my branch. BUT, it is not. The code is not working.

The idea, is to allocate a framebuffer twice the height of the requested size. And then use the SET_VIRTUAL_OFFSET tag (in mailbox) to change the "view" of the VideoCore into the framebuffer to implement the double buffering. However, tests show that do not work on QEMU.

The concept is exactly the one explained everywhere on forums. So, it should work. There is probably a problem in my code, or worse, QEMU may not support that. To be tested... on hardware.

Actually, double buffering should already be supported in my branch. BUT, it is not. The code is not working. The idea, is to allocate a framebuffer twice the height of the requested size. And then use the SET_VIRTUAL_OFFSET tag (in mailbox) to change the "view" of the VideoCore into the framebuffer to implement the double buffering. However, tests show that do not work on QEMU. The concept is exactly the one explained everywhere on forums. So, it should work. There is probably a problem in my code, or worse, QEMU may not support that. To be tested... on hardware.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hubert/Pi-kachULM_OS#29
No description provided.