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
- A 64-bit Intel or AMD PC (x86_64) running a Linux with the GNU C library (glibc) and systemd, such as Ubuntu.
- An NVIDIA graphics card of compute capability 7.5 or more (an RTX 20 series card or newer) with 6 GB of graphics memory or more.
- The NVIDIA driver 580 or later, with
nvidia-smiworking. - 8 GB of memory or more.
- 40 GB of free disk space in your home folder.
curl(on Ubuntu:sudo apt install curl, once, if it is missing).- Mains power: on a laptop the node works only when it is plugged in, and not in power-saver mode. With an external graphics card (eGPU) dock, charge the laptop from its own power supply, not through the dock: under load a dock may not give the laptop enough power, and the node stops.
- An invite code. Ask for one with the invite request form: https://linguaforge.co.uk/en/contact/invite/
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
- Open a terminal.
- Paste this line and press Enter:
curl -fsSL https://linguaforge.co.uk/downloads/install.sh | shIf 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.shThe
sha256sumnumber must match theinstall.shline in https://linguaforge.co.uk/downloads/SHA256SUMS. (It is the same file as the Mac's; it sees that it is on Linux.) - 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
yand press Enter. - 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. - The volunteer agreement is shown. Read it, then type
yesand press Enter. Anything else stops here and nothing is sent. Invite code, or a link code from your other computer:type your invite code and press Enter.Public name (lowercase letters, digits, hyphens; Enter for anonymous):type a name (3 to 24 lowercase letters, digits and hyphens, for exampleanna-k), or just press Enter to stay anonymous. You seeenrolled 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:
| Answer | What it does |
|---|---|
needed | Downloads Kokoro and the speech checker Whisper large-v3, then a quick measurement (about 5 minutes after the download). |
all | Downloads 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.
| What | Where |
|---|---|
| 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
- In the terminal (after the
PY=line above):"$PY" -m rtpnode status - 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: offservice: active (running)means the node is running.governor:says what it is doing:idle(waiting for you to be away),working,pausedorstopped.(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,
statusprints a lineto run while logged out: loginctl enable-linger <you>. Run that command only if you want the node to work while nobody is logged in.
- You can also ask systemd directly:
systemctl --user status linguaforge-node - To look at the log (the last 40 lines):
tail -n 40 ~/.local/share/linguaforge/logs/node.logno work; next lease in about ... smeans it asked for work and there was none. A line startingsegment:orcheck:means it finished a piece.
A second computer of yours: the link code
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 computer | Command |
|---|---|
| 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
- The update notification. When a new version is out, the node shows a desktop notification, at most once a day:
- "A LinguaForge update is ready": the PC keeps working meanwhile.
- "LinguaForge needs an update": the PC gets no dub work until it is updated.
- The notification has no button. It tells you to run
rtpnode update(below). - With no desktop (a headless PC), no notification can be shown; the log then has a line starting
update alert: no notification. Check the log now and then, or run the update command after the project announces a release. - The site does not show version numbers; the project tells volunteers about important updates by e-mail.
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
- The change takes effect at once; no restart is needed.
- The node then works while you type and click, and also while a video keeps the screen awake.
- Mains power, power-saver mode, memory, the card's heat and memory, and other compute programs on the card still pause or stop it.
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
- When you come back (setting off): the node pauses after the take it is on. If you leave again within two minutes, it carries on where it was. After two minutes (30 seconds when another program needs the card) it hands the piece back to the project and frees the memory.
- When you pause the service with the commands above: the node stops at once. The piece it was on is not lost: after a short wait the project gives the unfinished part to another volunteer. The takes your PC had already sent still count.
- When the PC goes to sleep, the node hands its piece back first. While it is working it keeps the PC awake.
4. Troubleshooting
The node seems offline
- Run
"$PY" -m rtpnode status. - If it says
service: inactiveorfailed, start it:systemctl --user start linguaforge-node.serviceIf it says
service: not installed, run"$PY" -m rtpnode install. - If it says
service: user manager not reachable, you are in a session without your own systemd (for example aftersu). Log in as yourself, in a desktop or over SSH, and try again. - If it says
enrolled: no, run the install line again and enrol. - Remember the node runs only while you are logged in (unless you ran the
loginctl enable-lingerline thatstatusoffers). Check also that the PC is on mains power and connected to the internet, and thatnvidia-smistill works (after a driver update you may need to restart). - 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:
governor: idlefor a long time while you are away? Make sure no other program keeps the graphics card busy (a game left open, an AI tool) and that the PC is plugged in.governor: stop (power)in the log although the laptop is plugged in? Update the node (section 2): from version 0.19.19 a laptop on mains counts as plugged in even when its battery is held at its charge limit. If it still stops, the laptop may be drawing more than its charger gives (often a charger shared through an eGPU dock): use the laptop's own power supply.statussaysresting until 14:05: 2 stops for memory? After two stops within 15 minutes the node takes no work for 15 minutes, then tries again. The log'sgovernor: stop (...)lines say what stopped it, for example memory or power.
An update failed
- Run the update in the terminal so you can see what happens:
"$PY" -m rtpnode update --now - Or run the install line again (section 2). It keeps your enrolment.
- 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
- It lists what it removes and asks
Type "yes" to remove it:. Typeyes. - It then asks whether to delete the downloaded models too (it shows their size). Type
yto delete them, or press Enter to keep them for a later install. - 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/