Package Details: box64 0.4.4-1

Git Clone URL: https://aur.archlinux.org/box64.git (read-only, click to copy)
Package Base: box64
Description: Linux Userspace x86_64 Emulator with a twist
Upstream URL: https://github.com/ptitSeb/box64
Keywords: emulator
Licenses: MIT
Submitter: mogwai
Maintainer: mogwai
Last Packager: mogwai
Votes: 5
Popularity: 0.000000
First Submitted: 2021-08-31 07:59 (UTC)
Last Updated: 2026-08-15 13:38 (UTC)

Dependencies (5)

Required by (1)

Sources (2)

Latest Comments

1 2 3 Next › Last »

mogwai commented on 2026-08-09 14:02 (UTC)

The AUR is currently closed for writing so I can't update anything right now.

If anyone wants to have additional flags implemented for specific hardware, then please provide the full test/if-statement that is needed to detect the hardware. Please make sure that those lines of scripting have been checked on the actual hardware.

I've added the if-statements for all the hardware that I personally have, so if the flag is not there, that means that I don't have the hardware to create an if-statement myself.

Thanks Popolon for providing such a clear RK3588-detection implementation.

Popolon commented on 2026-08-09 11:40 (UTC)

The argument is not -DRK3588=1 but -DRK3588=ON (the same for the others), not sure it change anything, but I think its better to follow specs in case of deprectation.

After looking in src/box64/build/CMakeCache.txt, it doesn't take effect:


//Set to ON if targeting an Rockchip RK3588(S) based device
RK3588:BOOL=OFF

I had to add in the exargs after the last arg to have it take effect:


-DCMAKE_INSTALL_PREFIX=/usr \
$exargs

Popolon commented on 2026-08-09 11:18 (UTC) (edited on 2026-08-09 11:36 (UTC) by Popolon)

Please follow what asked on 2025-11-04, this is a problem with both ALARM, Armbian and other kernel based on mainline I tested. lscpu doesn't contains RK3588, only lspci contains some. Also 32 bits support would make more application working :(.

In case the current test is needed for vendor kernel, this one would work with mainline one too:


if [ -n "$(echo $name | grep RK3588)" -o `lspci | grep RK3588| wc -l` -gt 0 ]; then

IceBaron commented on 2026-06-29 09:47 (UTC)

Hello. Could you please add the M1 flag for Asahi ALARM systems into the PKGBUILD? WOuld be useful for AUR helpers.

Popolon commented on 2025-11-05 13:06 (UTC) (edited on 2025-11-05 13:07 (UTC) by Popolon)

Please, add also:

optdepends=('gl4es: OpenGL 2 for GLES 2 devices')

This could resolve lot of things too.

There are already several PKGBUILD in the sources archives, pkgbuilds/ subdir as examples.

Can be used as:

makepkg -p PKGBUILD-rk3xxx

luziferius commented on 2025-03-24 09:33 (UTC)

The recent addition of SoC detection is locale-dependent, because lscpu output is localized. It'll likely break on most non-English systems. This patch fixes the detection on non-English systems.

diff --git a/PKGBUILD b/PKGBUILD
index e35f153..7f68bd0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,7 +19,7 @@ sha256sums=('081224cd27f5fa67fe4e9034ebbe0076e1da51b0f11bf84b67494752c7090d72'
 build() {
     cd ${pkgname}-${pkgver}
     if [[ $CARCH == "aarch64" ]]; then
-        name="$(lscpu | grep Model)"
+        name="$(LC_ALL=C lscpu | grep Model)"
         exargs=""
         if [ -n "$(echo $name | grep RK3588)" ]; then
               exargs="-DRK3588=1"

simona commented on 2025-02-23 20:33 (UTC)

sorry, was boxtron and luxtorpeda

mogwai commented on 2025-02-23 20:30 (UTC)

@simona: Why would this conflict with steam?

simona commented on 2025-02-23 17:42 (UTC)

conflict with steam