#!/bin/bash# Set common environment variablesexport __GL_SHADER_DISK_CACHE=1export __GL_SHADER_DISK_CACHE_SIZE=100000000000export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1export __GL_SYNC_TO_VBLANK=1export OBS_VKCAPTURE=1export ENABLE_VKBASALT=1export DXVK_HUD=compilerexport STRANGLE_VSYNC=2export DXVK_FRAME_RATE=60export VKD3D_FRAME_RATE=60export MANGOHUD_CONFIG="preset=2,fps_limit=60"# Check for '--no-mangohud' flagNO_MANGOHUD=0CLEAN_ARGS=()for arg in "$@"; do if [ "$arg" == "--no-mangohud" ]; then NO_MANGOHUD=1 else CLEAN_ARGS+=("$arg") fidone# Adjust MANGOHUD based on the flagif [ "$NO_MANGOHUD" -eq 1 ]; then export MANGOHUD=0 exec gamemoderun strangle 60 -v 2 "${CLEAN_ARGS[@]}"else export MANGOHUD=1 exec mangohud gamemoderun strangle 60 -v 2 "${CLEAN_ARGS[@]}"fi
#!/bin/bash# Set common environment variablesexport __GL_SHADER_DISK_CACHE=1export __GL_SHADER_DISK_CACHE_SIZE=100000000000export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1export __GL_SYNC_TO_VBLANK=1export OBS_VKCAPTURE=1export ENABLE_VKBASALT=1export DXVK_HUD=compilerexport STRANGLE_VSYNC=2export DXVK_FRAME_RATE=60export VKD3D_FRAME_RATE=60export MANGOHUD_CONFIG="preset=2,fps_limit=60"# Check for '--no-mangohud' flagNO_MANGOHUD=0CLEAN_ARGS=()for arg in "$@"; do if [ "$arg" == "--no-mangohud" ]; then NO_MANGOHUD=1 else CLEAN_ARGS+=("$arg") fidone# Adjust MANGOHUD based on the flagif [ "$NO_MANGOHUD" -eq 1 ]; then export MANGOHUD=0 exec gamemoderun strangle 60 -v 2 "${CLEAN_ARGS[@]}"else export MANGOHUD=1 exec mangohud gamemoderun strangle 60 -v 2 "${CLEAN_ARGS[@]}"fi
fps doesnt seem to be locked at 60fps when i use gamescope but without gamescope only game-run --no-mangohud %command% fps is locked and limited to 60fps
also mangohud makes games not start this is why i use --no-mangohud, idk what is wrong in mangohud my mangohud config
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
HGL
Heroic Games Launcher
Heroic Games Launcher Discord server was initiated in the beginning of 2021 as a first contact place for the Gamer Community using Heroic!