PistonDevelopers / hematite

A simple Minecraft written in Rust with the Piston game engine
http://hematite.piston.rs/
MIT License
1.87k stars 105 forks source link

Performance Regression: Glutin on Linux #267

Open mattico opened 8 years ago

mattico commented 8 years ago

I noticed a performance regression with the new glutin code while running on Linux. I'm getting numbers that look like this:

New Windows: ~750 fps New Linux: ~50 fps Old Linux: ~250 fps

Same hardware for all of them. Windows 10 x64. Ubuntu 16.04 x64 with Nvidia 361.42 drivers.

Could be an issue with glutin maybe?

eddyb commented 8 years ago

That sounds like vsync + some input loop delays causing frame drops on top. Although, I'm not sure, just speculating.