Free & open source · Raspberry Pi OS (64-bit, Trixie) · installs from GitHub

Build a virtual pinball cabinet on a
Raspberry Pi 5

PinballUX is a multi-monitor Linux frontend for Visual Pinball Standalone. Install it on a stock Raspberry Pi OS with one command; the installer fetches Visual Pinball and sets everything up.

Playfield, backglass and DMD on separate displays, a media-rich table wheel, and Pi 5 tuning built in. Flash Raspberry Pi OS, run two commands, play.

git clone -b raspberry-pi https://github.com/keithbphillips/PinballUX.git ~/PinballUX
~/PinballUX/raspberry-pi/install.sh
What you get

A complete pinball cabinet frontend

PinballUX brings the frontend, the official Raspberry Pi build of Visual Pinball Standalone (OpenGL ES) and a table & media manager together on a normal Raspberry Pi OS desktop. Start it and you land in the table wheel; add your own .vpx tables and ROMs and you're playing.

🖥️

Multi-monitor

Playfield on one display, backglass and DMD on another, positioned exactly where you want them.

🎮

Joystick & keyboard

Map cabinet buttons for both wheel navigation and in-table play (flippers, plunger, MagnaSave, start).

🎬

Rich media wheel

Table preview videos, backglass and DMD playback, wheel art and per-table sounds as you browse.

🗄️

Table Manager

Scans tables, downloads media from ftp.gameex.com, imports HyperPin/PinballX media packs and metadata.

📡

Network drop-in

Optional Samba shares let you drag tables and ROMs onto the cabinet from any PC, Mac or phone.

🔄

Easy updates

It's a git checkout: git pull and re-run the installer to get the latest fixes. No re-flashing.

The Raspberry Pi difference

Tuned for the Pi 5's quirks

PinballUX detects the Raspberry Pi and adjusts itself automatically. Nothing to configure; on a regular PC none of this kicks in.

XWayland

Windows land on the right monitor

Under the Pi's labwc desktop a native Wayland window can't choose its output. PinballUX and Visual Pinball run under XWayland, which presents your monitors as one screen so the playfield, backglass and DMD positions are honoured.

software decode

No stalling on preview videos

The Pi 5 has no H.264 hardware decoder. Qt would try one, fail and hang the wheel, so preview videos are decoded in software and just play.

ffplay

Smooth wheel navigation

Navigation and table sounds are played by a separate ffplay process, so moving quickly through the wheel never blocks the interface. Preview videos play silently.

suspend

Clean table audio, no popping

While a table is running, PinballUX releases its audio and pauses itself completely, so Visual Pinball gets the whole machine and its sound never starves. It resumes the moment you exit the table.

unclutter

No stray mouse pointer

The pointer is hidden across the whole session, including over Visual Pinball's windows, for a true dedicated-cabinet look.

Before you start

What you need

HardwareRaspberry Pi 5 (4 GB+ recommended). Older Pis can install it, but Visual Pinball will be slow.
Operating systemRaspberry Pi OS (64-bit) with desktop, the current Trixie-based release. Not the Lite image (it has no desktop), and not the older Bookworm-based images (their system libraries are too old for Visual Pinball's Pi build).
Storage16 GB+ microSD card or SSD (A2-class card recommended), plus room for your tables and media.
DisplaysOne or two screens: playfield, plus backglass/DMD.
NetworkInternet access during install (packages, Visual Pinball download) and for the Table Manager's media downloads.
Your filesTables (.vpx, .directb2s), PinMAME ROMs and media are not included; bring your own legally obtained files.
Installation

Install step by step

About 15 minutes, most of it waiting for downloads.

  1. Flash Raspberry Pi OS

    Use Raspberry Pi Imager: choose Raspberry Pi 5, then Raspberry Pi OS (64-bit), and your card. In the customisation screen set a hostname (e.g. pinball), your username and password, and Wi-Fi if you need it.

  2. First boot

    Connect your displays, keyboard and network, and power up. Let the desktop finish its first-run setup and install any updates it offers, then open a Terminal (top menu bar).

  3. Download and run the installer

    Paste these two commands into the terminal:

    git clone -b raspberry-pi https://github.com/keithbphillips/PinballUX.git ~/PinballUX
    ~/PinballUX/raspberry-pi/install.sh

    It asks for your password once (to install packages) and then:

    • installs the system packages PinballUX needs (PyQt6, pygame, SQLAlchemy, ffmpeg, …)
    • downloads the official Raspberry Pi build of Visual Pinball Standalone into ~/.local/opt/vpinball
    • creates the tables, media and ROM folders and points PinballUX at them
    • adds PinballUX, PinballUX Setup and PinballUX Table Manager to the Games menu

    Want PinballUX to start on its own when the Pi boots, or network shares for copying tables? See installer options; you can run it again at any time to add them.

  4. Set up your screens and controls

    Open PinballUX Setup from the Games menu. Assign each display (playfield, backglass, DMD) to a screen, set rotation, check the Visual Pinball path, and map your keyboard or joystick buttons. Save.

  5. Add your tables and ROMs

    Copy them into these folders (from a USB stick, or over the network if you installed with --samba):

    ~/PinballUX/pinballux/data/tables   # .vpx and .directb2s
    ~/PinballUX/pinballux/data/roms     # PinMAME .zip ROMs
  6. Scan tables and get media

    Open PinballUX Table Manager, scan for tables, and download matching media (backglass, DMD, wheel art, videos, audio) or import a media pack.

  7. Play

    Start PinballUX from the Games menu (or the pinballux command). Spin the wheel, pick a table, and press start.

Installer options

Options, updates & removal

Add options to the install command, for example ~/PinballUX/raspberry-pi/install.sh --autostart --samba. Running the installer again is safe; it only fills in what's missing.

--autostartStart PinballUX automatically when the desktop logs in. To stop that, delete ~/.config/autostart/pinballux.desktop.
--sambaShare the Tables and ROMs folders on your network, so you can drop files in from another computer: \\<hostname>\Tables and \\<hostname>\Roms on Windows, smb://<hostname>.local/Tables on a Mac. It asks you to choose a network password.
--skip-vpinballDon't download Visual Pinball; point PinballUX Setup at your own build instead.
--reinstall-vpinballDownload Visual Pinball again, replacing the installed copy.
--helpShow all options.

Updating

cd ~/PinballUX && git pull && ./raspberry-pi/install.sh

Your tables, media, ROMs and settings are kept.

Uninstalling

This removes PinballUX, Visual Pinball and everything in the PinballUX folder, including your tables, media and ROMs, so copy those somewhere first if you want to keep them.

rm -f ~/.local/bin/pinballux ~/.local/bin/pinballux-setup ~/.local/bin/pinballux-manager
rm -f ~/.local/share/applications/pinballux*.desktop ~/.config/autostart/pinballux.desktop
rm -rf ~/.local/opt/vpinball ~/.config/pinballux ~/PinballUX
Troubleshooting

If something goes wrong

"Visual Pinball needs glibc 2.39 or newer"

Your card has an older, Bookworm-based Raspberry Pi OS. Flash the current 64-bit Raspberry Pi OS with Raspberry Pi Imager and run the installer again.

"This needs 64-bit Raspberry Pi OS"

The 32-bit image was installed. Visual Pinball's Pi build is 64-bit only; re-flash with Raspberry Pi OS (64-bit).

"No desktop found"

That's the Lite image, which has no desktop. PinballUX needs Raspberry Pi OS with desktop.

The backglass or DMD shows up on the wrong screen

Open PinballUX Setup, check which screen each display is assigned to, and save. Visual Pinball's own window positions are saved by Setup into ~/.vpinball/VPinballX.ini.

Where are the log files?

PinballUX writes its log to ~/.config/pinballux/logs/pinballux.log. Including it with a bug report helps a lot.

Turning a Pi tweak off

Each Raspberry Pi adjustment can be switched with an environment variable, e.g. PINBALLUX_SUSPEND_FRONTEND=0 (don't pause the frontend during play) or PINBALLUX_VIDEO_AUDIO=1 (preview videos with sound). The full list is at the top of platform_support.py.

I used the old ready-made SD-card image

The downloadable image has been retired in favour of this installer. To move over, flash a fresh Raspberry Pi OS and follow the steps above; copy your tables, ROMs and media across from the old card's /home/pinballux/PinballUX/pinballux/data/ folder.

Found a bug? The Raspberry Pi installer is new. Please report problems, with your Pi model and the log file, on GitHub Issues.
A look inside

Screens

PinballUX Setup GUI
SetupDisplays, Visual Pinball paths, keyboard & joystick mapping.
PinballUX Table Manager
Table ManagerScan tables, download media, import packs & metadata.
Multi-monitor display arrangement
Multi-monitor layoutPlayfield, backglass and DMD arranged across screens.