Slow framebuffer access on real laptop hardware #2

Open
opened 2022-11-06 23:18:50 -05:00 by josh · 1 comment
Owner

Scrolling the console is way too slow on physical hardware. Main thing to check is MTRR/PAT configuration. But also perhaps implement double-buffering to avoid reading from video memory.

Scrolling the console is way too slow on physical hardware. Main thing to check is MTRR/PAT configuration. But also perhaps implement double-buffering to avoid reading from video memory.
Author
Owner

Implemented double buffering which sped up access quite a bit since I'm no longer reading from video memory. However, writing to the framebuffer is still far slower than I would prefer. Will still check MTRR/PAT and whether cache is fully enabled.

Implemented double buffering which sped up access quite a bit since I'm no longer reading from video memory. However, writing to the framebuffer is still far slower than I would prefer. Will still check MTRR/PAT and whether cache is fully enabled.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: josh/hos#2
No description provided.