Welcome, Guest.
Username: Password: Remember me

TOPIC: FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 2 weeks ago #1

Hi fellow graphics enthusiasts!

I created a framerate control tool with support for most common APIs. It was initially planned as a plugin for ReShade but I ended up creating a stand-alone loader since currently ReShade doesn't allow to load 3rd-party DLLs (I just wanted to use it for injection). Details are available at my blog:

https://niftucal.blogspot.com

Feel free to leave your feedback (e.g. suggestions, compatibility information).
Kind regards
The administrator has disabled public write access.
The following user(s) said Thank You: Plyply, andrew, Matt Gore

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 2 weeks ago #2

niftucal wrote:
Hi fellow graphics enthusiasts!

I created a framerate control tool with support for most common APIs. It was initially planned as a plugin for ReShade but I ended up creating a stand-alone loader since currently ReShade doesn't allow to load 3rd-party DLLs (I just wanted to use it for injection). Details are available at my blog:

https://niftucal.blogspot.com

Feel free to leave your feedback (e.g. suggestions, compatibility information).
Kind regards
Thanks man!

Perfect for Windowed Fullscreen Mode!
The administrator has disabled public write access.
The following user(s) said Thank You: niftucal

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 2 weeks ago #3

You're welcome.

In case someone wants to use it as a plugin for ReShade (sort-of): add an import entry for 'fpslimiter64.dll' to the ReShade dll and copy the dll to the same folder. Then the limiter will get attached to the game and the exe loader isn't necessary. Default FPS will be 60 but can be adjusted with the keyboard as usual. If they create a plugin SDK later I'll see what can be improved. Obviously the ReShade setting to display FPS will be useful.
The administrator has disabled public write access.

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 2 weeks ago #4

Tested Hellblade and it worked fine, except that pressing Control + Up/Down arrow does nothing.
Also, is it possible to get a version for 32 bit games?
The administrator has disabled public write access.

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 2 weeks ago #5

Edit: Hellblade issue has been fixed.

Sure, I can compile a version for 32-bit. I was just waiting for more feedback so I could apply all changes in one go. I mostly didn't create it yet since I have no clue what kind of real interest there is in something like this.
Last Edit: 1 month 2 weeks ago by niftucal. Reason: update
The administrator has disabled public write access.
The following user(s) said Thank You: Matt Gore

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 2 weeks ago #6

you can make a request in the reshade github or wait here the crosire to pronounce on it there.
The administrator has disabled public write access.

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 2 weeks ago #7

niftucal wrote:
You're welcome.

In case someone wants to use it as a plugin for ReShade (sort-of): add an import entry for 'fpslimiter64.dll' to the ReShade dll and copy the dll to the same folder. Then the limiter will get attached to the game and the exe loader isn't necessary. Default FPS will be 60 but can be adjusted with the keyboard as usual. If they create a plugin SDK later I'll see what can be improved. Obviously the ReShade setting to display FPS will be useful.
Do you mean you can't use the config file to set the limit if chain-loading the DLL with Reshade?

Also, you should post this to the Guru3D forums, they will love you :)
The administrator has disabled public write access.
The following user(s) said Thank You: niftucal

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 2 weeks ago #8

That's right. The cfg file is currently only read once in the loader since it's slightly more efficient to only read the file once. I could make the modifications but since it's possible to adjust with the keyboard I didn't consider it important. Ideally a plugin SDK would allow to enable/disable plugins and configure settings like the FPS limit from ReShade's UI, but this seems too much work for just this and there are probably other priorities.

I may post it to Guru3D later. For now I'll release a new version with better compatibility and 32-bit support since other people requested it. Thanks for the suggestion.
The administrator has disabled public write access.

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 1 week ago #9

I uploaded a new version with improvements and 32-bit games support. In addition to the documented changes it now loads a local cfg file if the loader isn't detected. Full instructions for those that want to use ReShade instead of the loader exe (may help compatibility with some games):
- Download the modified ReShade from here or modify it yourself.
- Copy the ReShade dll to the game folder and rename/overwrite as appropriate.
- Copy 'fpslimiter.cfg', 'fpslimiter32.dll' and 'fpslimiter64.dll' to the game folder (don't rename).
- Edit cfg file and/or use keyboard shortcuts to adjust as usual.
The administrator has disabled public write access.

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 1 week ago #10

(sorry haven't tried yet, no free time)

Will it load fine -- with Reshde alongside -- if you use load it by renaming to dinput8.dll? (or whatever the d3d input hooking dll is called)

This way may not need to chain load.
The administrator has disabled public write access.

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 1 week ago #11

Page not found
We're sorry, but we were unable to locate the page you requested.
The administrator has disabled public write access.

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 1 week ago #12

Now the download is working again, thanks ;)
The administrator has disabled public write access.

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 1 week ago #13

I was doing a quick update since I noticed some benchmarks used APIs in strange ways and uploaded a new version so people wouldn't report outdated problems.
The administrator has disabled public write access.

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 1 week ago #14

Martigen wrote:
Will it load fine -- with Reshde alongside -- if you use load it by renaming to dinput8.dll? (or whatever the d3d input hooking dll is called)
One advantage of using ReShade is it adds indirect support for DirectX 8 games. I'm not sure how using names of system files could interfere with other things and if the dll may be loaded too late into the game process, but with respect to the limiter as long as you take care of the loading you can rename the dll to whatever you want. Exact names are only important when using the exe loader since the components need to reference each other. The design is pretty flexible.
The administrator has disabled public write access.

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 1 week ago #15

OR you can join Dege and dgVoodoo 2 development (actually we need to revise the dgVoodoo 2 internal FPS limiter now acting as virtual vsync) !
If you're interested: www.vogons.org/viewforum.php?f=59
The administrator has disabled public write access.

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 2 months 1 week ago #16

Although I still play old games that's too retro for me. :)
I didn't test but using the loader should be compatible. It's also possible to add the limiter to custom applications by simply loading the dll at the right time, and since the dll is already so small and efficient modifying the source code of the application to achieve the same wouldn't be much of an advantage (e.g. if the application only uses DirectX 11 only the resources for DirectX 11 are loaded/activated). If someone wants to integrate it into their project and is concerned about the licensing they can just send me a message with the details (I allow free use in open-source projects).
Last Edit: 1 month 2 weeks ago by niftucal. Reason: clarification
The administrator has disabled public write access.

FPS Limiter for Vulkan, OpenGL, DirectX 9 - 12 1 month 2 weeks ago #17

Hi everyone.

There was an issue with v1.0.3 where the limiter could remain active after closing the window (mostly for the 64-bit version). This didn't affect the ReShade version but it was fixed and I recommend updating. Check out the updated readme file for details. System tray support was also added. To release all resources from memory with v1.0.3 log-off the current user (e.g. to allow deleting the files and update to the new version without restarting).

As always thanks to all who provided feedback.
The administrator has disabled public write access.