Amethyst: [BUG] locked FPS (FrameRateLimiter and VSync are ignored)

Created on 8 Oct 2020  路  4Comments  路  Source: amethyst/amethyst

Description

Currently every amethyst application runs at 30 FPS. There's currently no working (!) way of changing this.
Setting the FrameRateLimitStrategy to Unlimited doesn't change the max FPS.
On the amethyst discord Goat#7658 told me that VSync is responsible for this restriction.
There is a setting in the DisplayConfig where you should be able to disable VSync but it isn't respected.

Reproduction Steps

Run an amethsy application and disable vsync in the DisplayConfig and set the FrameLimitStrategy on the application to Unlimited.
Observe that the application runs at 30 FPS.

What You Expected to Happen

Amethyst respects the vsync setting and the FrameRateLimitStrategy.

What Actually Happened

Amethyst ignores the options and still runs at 30 FPS

Screenshots and Logs

Not applicable

Your Environment

  1. Arch Linux and Windows 10
  2. Amethyst 0.15.3

Additional Context

I need this feature for doing genetic evolutions of intelligent agents (neuroevolution). The learning process is currently limited by the FPS count.

needs triage bug

All 4 comments

@chemicstry is there a reason for this? Or could this be changed right now?

I don't know the history of this. Probably nobody bothered to implement it

Okay, then I might take a look at implementing this, if I'm able to do it...

Was this page helpful?
0 / 5 - 0 ratings