TWEAKS(1)marcp.xyzTWEAKS(1)

NAME

tweaks - Interactive TUI to toggle CPU/GPU tweaks

SYNOPSIS

curl -LO https://marcp.xyz/scripts/optimize-interactive.sh
chmod +x optimize-interactive.sh
sudo ./optimize-interactive.sh

DESCRIPTION

Low latency tweaks. This script makes it easy to apply several latency reducing tweaks to your X11 setup. You can toggle individual optimizations on and off with a simple TUI menu.

OPTIONS

CPU optimizations (no restart)

CPU Performance Governor
No frequency scaling
CPU EPP to Performance
Max power state
Disable CPU Boost
Consistent timing
Lock CPU Frequency
Constant high freq

NVIDIA GPU optimizations (X11 restart)

Disable Composition Pipeline
-1-2 frames latency
Disable Composite Extension
Direct rendering
Disable Triple Buffering
Reduced buffer lag
NVIDIA Max Performance
Force max GPU state

NOTES

GPLv3. See gnu.org/licenses/gpl-3.0

EXAMPLES

$ sudo ./optimize-interactive.sh

============================================================================
  Low Latency Optimizer - Interactive Mode
============================================================================

Select features to enable/disable:

   1) [OFF] CPU Performance Governor
      Set scaling governor to performance (no frequency scaling)

   2) [OFF] CPU Energy Performance Preference
      Set EPP to performance (maximum power state)

   3) [ON ] Disable CPU Boost
      Disable boost for consistent timing (reduces peak frequency)

   [...]

   a) Apply all optimizations
   r) Remove all optimizations
   s) Show current status
   q) Quit

Choice: _

SEE ALSO

kernel(1), gpu(1), x220-thermal(1)

marcp.xyz2023-10-31TWEAKS(1)