← Translate node

LinguaForge on a Linux PC: volunteer help

This guide is for volunteers who lend their Linux PC to the LinguaForge dubbing pool (https://linguaforge.co.uk). You do not need to be a developer. Each step says what to type, and what you should see.

Linux PCs with NVIDIA graphics cards are new in the pool. Your invite tells you when PC volunteers can join; ask on the invite form if you are not sure. The node has been tested on Ubuntu with the GNOME desktop.

Everything happens in a terminal (on Ubuntu: press Ctrl+Alt+T, or open "Terminal" from the app list). Log in as yourself in a desktop or SSH session; do not use sudo or su. LinguaForge never needs root. There is no tray icon or menu; the commands below do those jobs.

A shortcut used in this guide. Several commands start with the node's own Python. To save typing, paste this line into the terminal first, each time you open a new terminal:

PY="$HOME/.local/share/linguaforge/gpu/.venv/bin/python"

Then "$PY" -m rtpnode status (with the quotes) runs the node's status command, and so on. (If you have set XDG_DATA_HOME, the folder is $XDG_DATA_HOME/linguaforge instead.)

1. Getting up and running

What you need

The installer checks your PC first. If something is missing, it stops, says why (for example "the NVIDIA driver is 550.120. LinguaForge needs driver 580 or later (...). Nothing was changed.") and changes nothing.

Install

  1. Open a terminal.
  2. Paste this line and press Enter:
    curl -fsSL https://linguaforge.co.uk/downloads/install.sh | sh

    If you prefer to read the script before you run it:

    curl -fsSL https://linguaforge.co.uk/downloads/install.sh -o install.sh
    sha256sum install.sh
    less install.sh
    sh install.sh

    The sha256sum number must match the install.sh line in https://linguaforge.co.uk/downloads/SHA256SUMS. (It is the same file as the Mac's; it sees that it is on Linux.)

  3. You see a summary of your PC, for example:
    This PC: x86_64, ldd (Ubuntu GLIBC 2.42) 2.42, 16 GB of memory, 300 GB free.
    NVIDIA: NVIDIA GeForce RTX 3060, 12.0 GB, compute capability 8.6, driver 580.95.05
    It installs into /home/you/.local/share/linguaforge and nowhere else:
    ...
    Install now? (y/N)

    Type y and press Enter.

  4. It downloads its tools and the node (each file is checked) and installs the environments: Installing the gpu environment (Python 3.12 and its locked packages)... (about 6 GB), and up to three more of about 3.5 GB each, only those your card can hold. This takes a while.
  5. The volunteer agreement is shown. Read it, then type yes and press Enter. Anything else stops here and nothing is sent.
  6. Invite code, or a link code from your other computer: type your invite code and press Enter.
  7. Public name (lowercase letters, digits, hyphens; Enter for anonymous): type a name (3 to 24 lowercase letters, digits and hyphens, for example anna-k), or just press Enter to stay anonymous. You see enrolled as ....

The first model download and measurement

Right after enrolment the installer asks once: "Measure this computer now?" It lists the download sizes. Type one answer and press Enter:

AnswerWhat it does
neededDownloads Kokoro and the speech checker Whisper large-v3, then a quick measurement (about 5 minutes after the download).
allDownloads every model on the list, then the full measurement of every voice. It tells you the expected time first.
skip (or just Enter)Downloads and measures nothing now.

Close games and AI tools first: if other programs use the graphics card during the measurement, it warns you and asks before sending the result.

After a measurement it sends the result and asks List this node by your public name on the machines page? (y/N). The machines page is https://linguaforge.co.uk/en/machines/.

You can download the models your card runs, or measure, later at any time:

"$PY" -m rtpnode fetch
"$PY" -m rtpnode bench --quick

Full benchmark (all voice models)

The quick measurement covers only the models already on the computer. The full benchmark downloads every voice model and the speech checker first, then measures each one.

On an NVIDIA card, newer nodes also find how many copies of each voice model the card runs fastest at once, so a big card is kept busy.

"$PY" -m rtpnode bench --fetch all --yes

Download: about 19 GB, once. It tells you the expected time before it starts; expect longer than the quick one, often an hour or more on a PC.

Run it once after installing (if you only ran the quick one), after updating the node, and after changing your graphics card or adding memory. An enrolled node sends the result, and the machines page lists it.

Keep the computer otherwise idle while it runs: if other programs are busy during the measurement, it asks before sending the result.

When it is done

The last lines read Done (release ...), then where everything is, and The node now starts by itself when you log in, and works while this PC is idle.

WhatWhere
Everything (software, models, the node's key, logs)~/.local/share/linguaforge/
The background service (a systemd user service)~/.config/systemd/user/linguaforge-node.service
The log~/.local/share/linguaforge/logs/node.log

The node runs at low priority (Nice=10). It runs while you are logged in, as a Mac's or a Windows PC's node does.

Check that it is working

  1. In the terminal (after the PY= line above):
    "$PY" -m rtpnode status
  2. You should see lines like these:
    folder: /home/you/.local/share/linguaforge
    enrolled: yes, as n_..., public name anna-k
    server: https://linguaforge.co.uk
    service: active (running), enabled (linguaforge-node.service)
    governor: idle (at 2026-11-03 10:15:00 GMT)
    last segment: none
    last check: none
    ...
    while_in_use: off
    • service: active (running) means the node is running.
    • governor: says what it is doing: idle (waiting for you to be away), working, paused or stopped. (headless) after it means the PC has no desktop session now.
    • If the PC has no desktop session and you are not set up to run while logged out, status prints a line to run while logged out: loginctl enable-linger <you>. Run that command only if you want the node to work while nobody is logged in.
  3. You can also ask systemd directly:
    systemctl --user status linguaforge-node
  4. To look at the log (the last 40 lines):
    tail -n 40 ~/.local/share/linguaforge/logs/node.log

    no work; next lease in about ... s means it asked for work and there was none. A line starting segment: or check: means it finished a piece.

If you already help with one computer and want to add another (a second PC, a Mac, a laptop), enrol the new one with a link code instead of a new invite. Both computers then count as you: one public name, one set of hours, one entry on the volunteers page. Each computer still makes and sends its own work.

1. Get a link code (on your enrolled computer). On the computer that is already enrolled, ask for a code. Use the line for that computer:

The enrolled computerCommand
A Mac (Terminal)"$HOME/Library/Application Support/LinguaForge/env/bin/python" -m rtpnode link
A Windows PC (PowerShell)cd $env:LOCALAPPDATA\LinguaForge\gpu\.venv\Scripts, then .\python.exe -m rtpnode link (at the PC's own desktop)
A Linux PC (terminal)"$HOME/.local/share/linguaforge/gpu/.venv/bin/python" -m rtpnode link

You see:

link code: <the code>
good once, until 2026-11-04 18:30 CET
on the other computer: python -m rtpnode enrol --server https://linguaforge.co.uk --link <the code>

The code works once, for 24 hours. You can hold at most three unused codes at a time. Keep it to yourself, as you would a password: anyone with it can add a computer under your name. Asking for a code does not stop or change the node on that computer.

2. Install on the new computer with the link code. Follow Install above, with one change: at Invite code, or a link code from your other computer: paste the link code and press Enter. No public name is asked: the new computer takes your first computer's. You see enrolled as n_... (linked to your other computer); kept in ..., and the installer carries on as for your first computer.

3. Check. "$PY" -m rtpnode status shows enrolled: yes, as n_..., linked to your other computer. If you listed your first computer on the machines page, the new one shows under the same name once it has sent a measurement.

If the code has expired or was already used, the installer asks for a public name (press Enter), then says that code is neither an unused invite nor a link code (a link code lasts 24 hours and works once): nothing was enrolled. Get a new code (step 1) and run the install line again. You can also enrol by hand (in the terminal; set PY as at the top of this guide first): "$PY" -m rtpnode enrol --server https://linguaforge.co.uk --link <the code>, then "$PY" -m rtpnode first-run and "$PY" -m rtpnode install.

2. Staying up to date

How you know an update is available

How updates happen

On Linux an update starts only when you ask for it:

"$PY" -m rtpnode update

You see The node updates after the piece it is on (within ten minutes when it has no work); your enrolment, settings and models are kept. The node then finishes and sends the piece it is on, updates itself in the background, and starts again. Only the parts that changed are downloaded again.

Update now

To update straight away, in the terminal window, so you can watch it (a piece in progress is abandoned and goes to another volunteer):

"$PY" -m rtpnode update --now

Or run the install line again. It asks Install now? (y/N) again, reinstalls every environment (slower than rtpnode update), and keeps your enrolment, settings and models:

curl -fsSL https://linguaforge.co.uk/downloads/install.sh | sh

Which version you run

"$PY" -c "import rtpnode; print(rtpnode.__version__)"

It prints a number such as 0.19.16.

3. Helping while you use your PC

The default: only while you are away

By default the node starts only when your PC is idle: 10 minutes without keyboard or mouse input, or 2 minutes after you lock the screen (Super+L on GNOME). A video or a game that keeps the screen awake counts as in use. When you come back it stops after the take it is on, usually within a few seconds. If you keep working for two minutes, it hands the piece back and frees the memory.

The node also watches the graphics card. Whenever another program does compute work on the card (an AI tool, for example), or the card's memory is more than 90 % full, or the card runs hot, the node pauses. If another program on the card was the only reason, it hands the piece back after 30 seconds, so that program gets the card's memory back.

The "while in use" setting

If you want to help even while you use your PC, and you are only doing light things that don't need the graphics card (e-mail, web, documents), you can turn on while in use:

"$PY" -m rtpnode settings --while-in-use on

When you want the graphics card for yourself (games, video editing, 3D, AI tools), turn the setting off:

"$PY" -m rtpnode settings --while-in-use off

As soon as you touch the keyboard or mouse it steps aside, as in the default. Turn it back on afterwards with --while-in-use on.

Games in particular: the node does not see a game's graphics work on the card, only compute programs. So turn the setting off (or pause, below) before you play.

To see your settings (each one says (default) if you never changed it):

"$PY" -m rtpnode settings

Memory pressure. The node stops when the PC has been short of memory for a minute (memory pressure 40 % by default) and pauses at a quarter of that; while it loads its own model, memory pressure only pauses it. It also stops at once if less than 5 % of the PC's memory is available. On a PC that only drives the graphics card for the node, and needs little memory kept back for you, you can raise the limit, for example to 80: "$PY" -m rtpnode settings --memory-pressure-limit 80 (from 10 to 95; default puts 40 back). The change takes effect at once, and status shows the limit in use.

Pause and resume

Pause until you start it again (it also starts again by itself at your next login):

systemctl --user stop linguaforge-node.service

Start again:

systemctl --user start linguaforge-node.service

Switch it off for longer (it stays off after restarts and logins too):

"$PY" -m rtpnode uninstall

You see systemd user service linguaforge-node.service stopped and removed. Switch it on again with:

"$PY" -m rtpnode install

This keeps your enrolment, settings and models.

What happens to a piece in progress

4. Troubleshooting

The node seems offline

  1. Run "$PY" -m rtpnode status.
  2. If it says service: inactive or failed, start it:
    systemctl --user start linguaforge-node.service

    If it says service: not installed, run "$PY" -m rtpnode install.

  3. If it says service: user manager not reachable, you are in a session without your own systemd (for example after su). Log in as yourself, in a desktop or over SSH, and try again.
  4. If it says enrolled: no, run the install line again and enrol.
  5. Remember the node runs only while you are logged in (unless you ran the loginctl enable-linger line that status offers). Check also that the PC is on mains power and connected to the internet, and that nvidia-smi still works (after a driver update you may need to restart).
  6. Look at the end of the log (section 1), and at systemd's own log of the service:
    journalctl --user -u linguaforge-node.service -n 40

No work for a long time

This is normal when the pool has no jobs for your card. The log then shows no work; next lease in about ... s every few minutes. Also check:

An update failed

  1. Run the update in the terminal so you can see what happens:
    "$PY" -m rtpnode update --now
  2. Or run the install line again (section 2). It keeps your enrolment.
  3. The background update writes to ~/.local/share/linguaforge/logs/update.log. Send the last lines to the project if it keeps failing.

Uninstall

curl -fsSL https://linguaforge.co.uk/downloads/uninstall.sh | sh
  1. It lists what it removes and asks Type "yes" to remove it:. Type yes.
  2. It then asks whether to delete the downloaded models too (it shows their size). Type y to delete them, or press Enter to keep them for a later install.
  3. It stops and removes the service and deletes the LinguaForge folder.

Your computer stays listed in the pool until the project removes it. To have it taken out, and your data deleted, use the removal form: https://linguaforge.co.uk/en/contact/removal/