Explore gaming on the Lakka console
DIY Retro Console
The Lakka Linux distribution comes with everything you need to play retro games and lets you install games directly in the user interface. All you need is a Raspberry Pi and, ideally, a simple gamepad.
In the pandemic, its not just Netflix series that are booming, but computer games, too. However, state-of-the-art gaming consoles like Nintendo Switch or PS5 are expensive, which makes Linux distributions like Lakka [1] all the more worthwhile. It even runs on the Raspberry Pi 3, which currently retails for $35 (EUR35, £34). In other words, you only pay a fraction of what you would have to fork out for a high-end console from Nintendo or Sony for a retro console that you can build yourself.
DIY retro game consoles require very little manual work. You simply plug the Raspberry Pi into a suitable enclosure and connect it to the monitor or TV. With Lakka, you don't even need a keyboard and a mouse; input can be managed with a gamepad like the Logitech F310 [2]. However, you will not want to do without a keyboard for convenience sake. It not only makes it easier to enter text, but you can also assign additional functions to the keys.
Features
The Lakka distribution is based on the LibreELEC [3] media player. The operating system does not need much space on the hard disk, with a pleasingly compact ISO image of about 400MB. LibreELEC also ensures that all files, including the kernel, are made current during the update, removing the need for you to install individual packages. RetroArch [4] is used as the graphical user interface, which results in Lakka self-configuring thanks to RetroArch's autoconfig feature. Gamepads, for example, are ready for use straightaway.
Lakka supports various computers [5], including the different variants of the Raspberry Pi, from the Pi Zero to the current Raspberry Pi 4. According to Lakka, the Raspberry Pi 3 has good compatibility with Lakka. However, performance-hungry games, such as those for the PlayStation, do not play smoothly.
Installation
A download wizard on the project's website helps you choose the right image [6], which you then unpack for the Raspberry Pi before writing it to a memory card. Working as a Linux user, you then transfer the system to an SD card with the commands
$ gunzip Lakka.img.gz # dd if=Lakka.img of=/dev/<sdc> status=progress; sync
The correct device identifier of the target drive can be determined with the lsblk
command. Users of other operating systems turn to external tools such as Etcher [7].
After writing to the microSD card, you will find two partitions. For the monitor and audio settings, you might need to edit the config.txt
file on the partition labeled LAKKA; that said, the display typically self-adjusts to suit the monitor in use. As soon as you boot the Raspberry Pi with the new image, Lakka automatically enlarges the partition with the user data and game ROMs (LAKKA_DISK), so you don't have to do this manually.
Configuration
Thanks to Lakka's automatic configuration, changes to the settings are largely unnecessary. However, some settings are worth adjusting. With the arrow keys on the keyboard or the D-pad on the game controller, you move from menu item to menu item. Pressing the Enter key jumps to the submenus or (de)activates settings.
With a gamepad, you input with the A switch; the B switch goes back one step. When "typing" text (e.g., a username) from the on-screen keyboard, finish typing by pressing Start. Lakka has also published a diagram of a prototype gamepad on its own website [8], which you can use as a template for configuring your own.
For the configuration, first enable the Settings | User Interface | Show Advanced Settings option. Not everyone likes the Electric Blue color that Lakka uses as its default color scheme (Figure 1). This aspect can be changed in Settings | Menu | Menu Color Theme. With so many settings, it is worth saving the configuration to a file. To do this, switch to Configuration | Save Current Configuration from the main menu.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.