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
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.