Running x86 Programs on the Rasp Pi
First Tests
With ExaGear Desktop, all (32-bit) programs running under Debian 8 can be run on the Rasp Pi. Eltechs has a collection of instructions for popular programs on its website, such as Skype for Linux or Wine as the basis for Windows programs. Often a video also shows the necessary steps. Anyone who has already installed programs under Raspbian will usually be able to do without these instructions.
The first candidate for the emulator was the open source Visual Studio Code (VSC) editor, which was developed by Microsoft and has since found a large community on GitHub. In addition, VSC runs on many platforms and has what it takes to send even my own XEmacs editor into retirement.
There are no precompiled binaries for Raspbian for the editor, and building your own binaries is tricky because of the many dependencies. Fortunately, the installation under ExaGear with the standard installation instructions from the VSC page [3] worked with virtually no problems. I had to install two dependencies manually, but this was not due to ExaGear.
However, the result of this first attempt was disappointing. VSC started via ExaGear could not be used under Raspbian. Launching the program consumed so many resources that the system seemed to hang. A little research on the Internet shows, however, that even a native ARM build under Raspbian can be very slow.
The lesson: Don't expect miracles from ExaGear (or Raspbian itself). Even though many programs run smoothly on a RPi3/RPi3B+, there are limits, and an additional emulation layer doesn't make things any better.
Saving Old Treasures
Much more important than modern and accordingly resource-hungry applications are old treasures, which you want to launch on Raspbian every now and then. This above all includes Windows programs from the last and penultimate generation.
For this you install the already mentioned Windows run-time environment Wine (Listing 4) under ExaGear. Eltechs provides a custom version whose package name contains the string "eltechs". The Windows Explorer celebrates its resurrection under Raspbian (Figure 3).
Listing 4
Installing Wine
$ sudo apt update $ sudo full-upgrade $ sudo apt install wine $ wine --version wine-2.0-eltechs
This additional emulation layer costs surprisingly little power. This is because only Windows system calls have to be translated to the analog kernel commands, but not the x86 to the ARM command set. After the Wine installation, supported Windows programs (32-bit) can be installed in this environment. This does not always work without complications, but is well documented for a large number of programs [4] and independent of the Raspbian and ExaGear substructure.
Wine typically supports older Windows programs, as the Windows command set has expanded over time and the Wine developers have to program for it. The advantage: Older programs were developed for weaker PC generations, so that a Rasp Pi's computing power including the emulator is usually sufficient. The freeware mp3DirectCut [5] for lossless editing of MP3 files, for example, runs smoothly and without problems (Figure 4).
Even old games may run smoothly with the combination of Wine plus ExaGear, if you believe the reports on the Internet. Due to my lack of experience in this field, however, this was not tested.
Conclusions
ExaGear's license terms are not very customer-friendly, especially in the basic version with the binding to a single Raspberry Pi board. One should therefore consider the choice of license carefully. However, if you don't want to do without an important program under Raspbian, you can pay the required amount after a performance test.
Infos
- Installing the ExaGear Desktop trial version: https://docs.eltechs.com/install-and-configure-exagear-desktop/how-to-install-exagear-desktop-trial
- ExaGear Desktop versions and pricing: https://eltechs.com/product/exagear-desktop/exagear-desktop-features-and-prices/
- Installing VSC: https://code.visualstudio.com/docs/setup/linux
- Installing Windows software under Wine: https://appdb.winehq.org/
- mp3DirectCut: http://mpesch3.de1.cc/mp3dc.html
« Previous 1 2
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
-
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.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.