-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
frame rate drops proportionally to number of process instances #67
Comments
|
i made two small modifications:
i can not check gl41core-cube now. But problems with gl21-cube are important anyway, while gl2 is used by ebiten (and maybe some other engines) |
I can't reproduce on macOS: Perhaps it's an issue that affects Windows only. Or it could be something specific to your system (video card, drivers, etc.). If you set vsync off with Maybe the slowdown you're seeing is just that your video card can't render multiple applications fast enough to maintain 60 FPS. It's a very simple example, so the performance should be good, but it is a possibility that you should verify. |
With SwapInterval(0) (or just without this call at all) I got monstrous 4000-4500 "fps". If I run 4 instances fps drops to ~2500. Just 2 times slower, not 4 (while taking ~80% of CPU) |
Yes it's some problem with this all - w7x64sp1. And next problem is that when moving window then animation is paused. |
Hello!
I added SwapInterval(1) to example/gl21-cube and it gives me a nice 60 fps. But if i run a second cube.exe at the same time they both show only 60/2=30 fps. Third instance drops fps to 60/3 = 20 and so on.
CPU and memory usage is under 30%.
What is the reason, and how can i fix it?
(my system: AMD Athlon II X4, Win 7, Radeon HD 7800 series)
The text was updated successfully, but these errors were encountered: