#Un-limit framerate
18 messages · Page 1 of 1 (latest)
Vsync is enabled by default, its part of the window settings
How would I access the window settings?
Part of plugin setup iirc
may be vsync, IIRC, its enabled by default
https://github.com/bevyengine/bevy/blob/main/examples%2Fwindow%2Fwindow_settings.rs
Check this example, it has some window settings
I've figured out
DefaultPlugins.set(WindowPlugin {
primary_window: Some(Window {
present_mode: bevy::window::PresentMode::AutoNoVsync,
..Default::default()
}),
..Default::default()
})
testing it now
seems to work
as long as there are no hidden side effects 😅
Maybe there will be problems related to render, but not sure how this works :0
curiously enough, even with unlimited framerate, neither my CPU nor GPU are fully utilized
makes me wonder what is limiting it
I would generally consider that a good thing?
yes, but no?
my goal right now is to see how much FPS bevy can give me, if given all my resources
fps is really not a good metric for performance. If you are interested in bench-marking bevy, id' recommend (a) doing it under load with a stress test like our many_cubes example and (b) using an external profiler like tracy
it's also possible you may have an additional cpu tick cap enabled.
What does 'additional cpu tick tap' mean?