Know-how
Playing guitar on Linux with low latency: a setup guide
From interface to amp sim: how to set up Linux for guitar with PipeWire or JACK, realtime rights and a 128-sample buffer - and play through FK Rig, natively, without Wine.

Linux is a very good system for recording guitar - once three things are right: the interface, realtime rights and the buffer size. This guide takes you from a fresh install to playing through an amp sim with a few milliseconds of latency. We use FK Rig, which runs natively on Linux, but the first steps apply to any plugin.
1. The interface
Any USB audio interface that is class compliant works on Linux without a driver - most current interfaces from the common brands are. Plug the guitar into the Hi-Z/instrument input (not a line input), and set the input gain so that hard strumming stays just below the red.
Check that Linux sees it: aplay -l and arecord -l list the devices.
2. PipeWire or JACK
Current distributions (Ubuntu 22.10 and newer, Fedora 34 and newer, Debian 12) use PipeWire. It speaks JACK, PulseAudio and ALSA at the same time, so JACK applications such as the FK Rig standalone and DAWs such as Ardour or Reaper work directly. On older systems you can run JACK on its own with qjackctl.
Install the JACK layer of PipeWire if it is missing - on Ubuntu and Debian pipewire-jack, on Fedora pipewire-jack-audio-connection-kit.
3. Realtime rights
Audio must never wait for other programs. Your user needs the right to run realtime threads:
- Most distributions do it through rtkit or the group
audio/realtime. On Ubuntu and Debian:sudo usermod -aG audio $USER, log out and in again. - Check with
ulimit -r- a value above 0 (often 95) is good.
4. Buffer size
The buffer decides the latency. At 48 kHz:
| Buffer | Latency per direction |
|---|---|
| 256 samples | 5.3 ms |
| 128 samples | 2.7 ms |
| 64 samples | 1.3 ms |
128 samples is a good start. With PipeWire you set it for everything with pw-metadata -n settings 0 clock.force-quantum 128 (back to automatic with 0), or per program with the environment variable PIPEWIRE_QUANTUM=128/48000. Crackling means: go one step up.
5. The amp sim
Standalone: download the FK Rig AppImage from the FK Rig page, make it executable (chmod +x FK*.AppImage) and start it. Under Options choose your interface's input and output - done. That is the quickest way to practise.
In a DAW: unpack the VST3 archive and run ./install.sh; it copies FK Rig to ~/.vst3, where Reaper, Bitwig, Ardour, Carla and FK Audio Suite find it. Create a mono audio track with the guitar input, put FK Rig on it and switch on monitoring.
6. If it crackles
- Switch the CPU governor to performance while recording (
powerprofilesctl set performanceon many desktops). - Close browser tabs with video.
- In FK Rig, set the quality to Eco while recording and back to High for mixing - the export calculates in Render quality automatically.
Without Wine
Many commercial amp sims exist only for Windows and macOS, and on Linux they need a bridge such as yabridge. FK Rig is built for Linux: native VST3, native standalone, a license key checked offline. FK Rig Lite is free; FK Rig Pro is available for 12 USD.