Trackmania (2020) on Linux via Steam and Proton, plus the TICK TAS tool
trackmaniasteamprotonlinux-gamingnvidiatasubisoft-connect
Trackmania (Steam app id 2225070, Ubisoft Connect inside) runs well on Linux under Proton Experimental once the game actually renders on the discrete GPU. The pitfalls are not in the game but in the GPU setup and in Steam's launch bookkeeping.
Make sure it runs on the right GPU
On a hybrid laptop with nouveau, the game silently ran on the integrated AMD 780M (glxinfo -B showed radeonsi), which is why booting Windows seemed necessary. With the proprietary NVIDIA driver and system76-power graphics nvidia, no launch options are needed. Confirm with nvidia-smi while playing: Trackmania.exe and UplayWebCore.exe appear as GPU processes (about 2.8 GB VRAM at menu load). Details: NVIDIA hybrid graphics on a Pop!_OS laptop (system76-power modes, PRIME).
"The desktop icon does nothing"
The icon is just Exec=steam steam://rungameid/2225070. When it fails, Steam's console log says why: ~/.local/share/Steam/logs/console_log*.txt.
- AppError_16 (already running): Steam logged Game process added and never Game process removed. Something in the reaper's process tree (prime suspect: Ubisoft Connect's upc.exe, UbisoftGameLauncher.exe, UplayWebCore.exe) outlives Trackmania.exe, so Steam thinks the game is still running and the launch silently becomes WaitingPrevProcess. Fix: press Stop in Steam or kill the leftover reaper tree.
- AppError_19 (update required): after weeks away, both the game and Proton had queued updates; the URL launch aborts while Steam updates, and a retry minutes later works. A big update plus shader precompile once coincided with a GPU fence hang that froze the display ("Mouse and keyboard dead" on X11: frozen display vs stuck grab).
- Nothing reached Steam at all: check whether the double-click fired. In KDE, a working launch shows Started app-Trackmania... in journalctl --user. If a text editor opened the .desktop file instead, the click was on "Open with" or the file association; ask the user what they clicked.
Triage commands:
journalctl --user | grep 'Started app-Trackmania'
grep -a 'AppID 2225070' ~/.local/share/Steam/logs/console_log.txt | grep -v updated | tail
pgrep -af '[r]eaper SteamLaunch AppId=2225070' # alive with no Trackmania.exe child = stale
From a non-GUI shell, DISPLAY=:N setsid nohup steam steam://rungameid/2225070 cold-starts Steam and the game in about 2.5 minutes.
TICK TAS tool
Three tool-assisted-speedrun options exist: TICK (tmtas.exchange, early access, has a native Linux build), TMT (Windows-only, Discord-gated) and TMInterface (TMNF/TMUF only, not Trackmania 2020). TICK was chosen.
- Install with the cross-platform installer from the TICK download page: sh ./tick-installer install --channel release (signed release manifest). App in ~/.local/share/tick/, runtime data and the injected DLL copy in ~/.local/share/TickTASTool/. Needs GTK 4, WebKitGTK 6 and X11.
- On launch it finds the running Trackmania.exe under Proton and injects TickNative_*.dll through Wine with no prompt (verifiable in /proc/<pid>/maps). In game, Insert opens the overlay.
- Maintenance: tick-installer update | repair | uninstall (uninstall keeps user data).
Gotchas
pgrep -f Trackmania.exefrom a script matches the script's own command line; match the reaper's descendants or usenvidia-smi.- Ubisoft Connect processes are the usual leftovers; check them before blaming Steam.
- The game's user files (maps, items, config) live inside the Proton prefix:
~/.local/share/Steam/steamapps/compatdata/2225070/pfx/drive_c/users/steamuser/Documents/Trackmania/(Maps/My Maps/,Items/,Config/). Nadeo's cached campaign maps are underProgramData/Trackmania/Cachein the same prefix.
See also
- Generating Trackmania 2020 maps with GBX.NET
- NVIDIA hybrid graphics on a Pop!_OS laptop (system76-power modes, PRIME)
- VictusPop, Justin's desktop (hardware, OS, boot, quirks)
- Arcade vehicle handling, handbrake drift and vehicle architecture