Frame limiter for Vulkan
- run Vulkan application with 60 FPS limit:
vk-layer-flimes 60 executable_name - run Vulkan application with initial 60 FPS limit which can be changed:
vk-layer-flimes 60 ext_control executable_name - run Vulkan application with 60 FPS limit, disable V-Sync:
vk-layer-flimes 60 immediate executable_name - run Vulkan application in Steam with 60 FPS limit (Properties... -> SET LAUNCH OPTIONS):
vk-layer-flimes 60 %command%
For more information, run vk-layer-flimes with no arguments.
All environment variables are set via vk-layer-flimes script, but they also can be set manually.
ENABLE_VK_LAYER_FLIMES-1- enable vk-layer-flimes,VK_LAYER_FLIMES_ENABLE_EXTERNAL_CONTROL-1- enable external framerate controlVK_LAYER_FLIMES_EXTERNAL_CONTROL_VERBOSE-1- display the new framerate value on stderrVK_LAYER_FLIMES_FILTER-nearestortrilinear- force texture filteringVK_LAYER_FLIMES_MIP_LOD_BIAS- float number - force Mipmap LOD biasVK_LAYER_FLIMES_MAX_ANISOTROPY- float number - force max anisotropyVK_LAYER_FLIMES_MIN_IMAGE_COUNT- integer number - force minimum image count if supported by the driver:2- double buffering3- triple buffering
VK_LAYER_FLIMES_PRESENT_MODE- force present mode if supported by the driver:immediate- V-Sync OFFmailbox- tear-freefifo- V-Sync ONfifo_relaxed- adaptive V-Sync
VK_LAYER_FLIMES_PREFER_MAILBOX_PRESENT_MODE- prefer MAILBOX present mode over IMMEDIATE present mode
See vk-layer-flimes-git AUR package.