https://github.com/zaps166/vk-layer-flimes
Vulkan frame limiter
https://github.com/zaps166/vk-layer-flimes
vulkan
Last synced: 4 months ago
JSON representation
Vulkan frame limiter
- Host: GitHub
- URL: https://github.com/zaps166/vk-layer-flimes
- Owner: zaps166
- License: mit
- Created: 2020-09-26T07:41:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-19T22:20:06.000Z (over 1 year ago)
- Last Synced: 2025-10-29T09:54:15.198Z (4 months ago)
- Topics: vulkan
- Language: C++
- Homepage:
- Size: 90.8 KB
- Stars: 10
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vk-layer-flimes
Frame limiter for Vulkan
# How to use
- 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.
# Environment variables
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 control
- `VK_LAYER_FLIMES_EXTERNAL_CONTROL_VERBOSE` - `1` - display the new framerate value on stderr
- `VK_LAYER_FLIMES_FILTER` - `nearest` or `trilinear` - force texture filtering
- `VK_LAYER_FLIMES_MIP_LOD_BIAS` - float number - force Mipmap LOD bias
- `VK_LAYER_FLIMES_MAX_ANISOTROPY` - float number - force max anisotropy
- `VK_LAYER_FLIMES_MIN_IMAGE_COUNT` - integer number - force minimum image count if supported by the driver:
- `2` - double buffering
- `3` - triple buffering
- `VK_LAYER_FLIMES_PRESENT_MODE` - force present mode if supported by the driver:
- `immediate` - V-Sync OFF
- `mailbox` - tear-free
- `fifo` - V-Sync ON
- `fifo_relaxed` - adaptive V-Sync
- `VK_LAYER_FLIMES_PREFER_MAILBOX_PRESENT_MODE` - prefer MAILBOX present mode over IMMEDIATE present mode
# Install
See `vk-layer-flimes-git` AUR package.