Maybe change the default "present mode" to "FIFO" #1

Closed
opened 2024-03-13 08:01:26 +00:00 by stephenseo · 0 comments
Owner

29c8a08720/src/main.rs (L729)

Currently, the default preset mode is "MAILBOX", which does not respect the current display frame rate and causes performance to reach 100% of a single core. Using "FIFO" (which is the fallback if "MAILBOX" is not available) respects the display frame rate and has no such issues.

CORRECTION: Perhaps it does respect the frame rate, but just does more work in the background between frames even if the only thing being currently drawn is a triangle.

https://git.seodisparate.com/stephenseo/VulkanTriRust/src/commit/29c8a08720a0fce36f32619fe006931776c8b8d0/src/main.rs#L729 Currently, the default preset mode is "MAILBOX", which does not respect the current display frame rate and causes performance to reach 100% of a single core. Using "FIFO" (which is the fallback if "MAILBOX" is not available) respects the display frame rate and has no such issues. CORRECTION: Perhaps it does respect the frame rate, but just does more work in the background between frames even if the only thing being currently drawn is a triangle.
Sign in to join this conversation.
No labels
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: stephenseo/VulkanRust#1
No description provided.