Giter VIP home page Giter VIP logo

box64's Introduction

Official logo

Linux Userspace x86_64 Emulator with a twist

View changelog | 中文 | Українська | Report an error

build stars forks contributors prs issues


Box64 lets you run x86_64 Linux programs (such as games) on non-x86_64 Linux systems, like ARM (host system needs to be 64-bit little-endian).

You can find many Box64 videos on the MicroLinux, Pi Labs or The Byteman YouTube channels.

Since Box64 uses the native versions of some "system" libraries, like libc, libm, SDL, and OpenGL, it's easy to integrate and use with most applications, and performance can be surprisingly high in many cases. Take a look at thoses bench analysis for an example here.

Box64 integrates with DynaRec (dynamic recompiler) for the ARM64 and RV64 platform, providing a speed boost between 5 to 10 times faster than using only the interpreter. Some high level information on how DynaRec works can be found here.

Some x64 internal opcodes use parts of "Realmode X86 Emulator Library", see x64primop.c for copyright details

Logo and Icon made by @grayduck, thanks!


Usage

There are a few environment variables to control the behaviour of Box64.

See here for all the environment variables and what they do.

Note: Box64's Dynarec uses a mechanism with Memory Protection and a SegFault signal handler to handle JIT code. In simpler terms, if you want to use GDB to debug a running program that use JIT'd code (like mono/Unity3D), you will still have many "normal" segfaults triggering. It is suggested to use something like handle SIGSEGV nostop in GDB to not stop at each segfault, and maybe put a breakpoint inside my_memprotectionhandler in signals.c if you want to trap SegFaults.


Compiling/Installation

Compilation instructions can be found here
Instructions for installing Wine for Box64 can be found here


Version history/Change log

The change log is available here.


Notes about 32-bit platforms

Because Box64 works by directly translating function calls from x86_64 to host system, the host system (the one Box64 is running on) needs to have 64-bit libraries. Box64 doesn't include any 64-bit <-> 32-bit translation.

So understand that box64 will only run 64-bit linux binaries. For 32-bit binaries, you need box86 (with all the multiarch or proot trickery it implies on a 64-bit OS). Note that many installer (mojo setup based) will fall back to "x86" when detecting ARM64 OS, and so will try to use box86 for the setup, even if an x86_64 version exist. You can hack your way around with a fake "uname" that return "x86_64" when the argument is "-m"


Notes about Box64 configuration

Box64 now have configurations files. There are 2 files loaded. /etc/box64.box64rc and ~/.box64rc. Both files have the same syntax, and is basicaly an ini files. Section in square brakets define the process name, and the rest is the env. var. to set. Looke at Usage for detail on what parameters can be put. Box64 comes with a default file that should be installed for better stability. The file in in system/box64.box64rc and should be installed to /etc/box64.box64rc If, for some reason, you don't want to install that file here, at least copy it to ~/.box64rc or some game may not function correctly. Note that the priority is: ~/.box64rc > /etc/box64.box64rc > command line So, your settings in ~/.box64rc may override the setting from your command line...


Notes about Unity game emulation

Running Unity games should just work, but you should also note that many Unity3D games require OpenGL 3+ which can be tricky to provide on ARM SBC (single-board computers). Also many newer Unity3D (like KSP) games use the BC7 compressed textures, which is not supported on many ARM integrated GPU. Hint: on Pi4, use MESA_GL_VERSION_OVERRIDE=3.2 and with Panfrost use PAN_MESA_DEBUG=gl3 to use higher profile if the game starts then quits before showing anything.


Notes about GTK programs

GTK libraries are now wrapped on box64, both gtk2 and gtk3.


Notes about Steam

Note that Steam is a hybrid 32-bit / 64-bit. You NEED box86 to run Steam, as the client app is a 32-bit binary. It also uses a 64-bit local server binaries, and that steamwebhelper process is now mandatory, even on the "small mode". And that process will eat lots of memory. So machine with less the 6Gb of RAM will need a swapfile to use Steam.


Notes about Wine

Wine64 is supported on box64. Proton too. Be aware that 64-bit Wine also includes 32-bit components, to be able to run 32-bit Windows programs. The 32-bit apps will need box86 and will not run without it. On a system where both box64 and box86 are present and working, a wine 64-bit setup can run both 32-bit and 64-bit Windows programs (just use wine and wine64 respectively). Note that the new 32-bit PE in 64-bit processes that the Wine team is currently implementing in Wine 7.+ is now supported, but the support is quite young so there might be some residual issues.


Notes about Vulkan

Box64 wraps Vulkan libraries, but note that it as mostly been tested with an AMD RX550 card and on the Freedreno driver, so some extensions may be missing depending on your graphics card.


Final word

I want to thank everyone who has contributed to box64 development. There are many ways to contribute: code contribution, financial, hardware and advertisement! So, in no particular order, I want to thank:

And I also thank the many other people who participated even once in this project.

(If you use Box64 in your project, please don't forget to mention it!)

box64's People

Contributors

alexmitter avatar andrerh avatar bbbruni avatar creator318 avatar creeper-xie avatar factfinding avatar fredldotme avatar heasterian avatar ilya114 avatar jai-jap avatar josch avatar julliard avatar kaixindeken avatar kreitinnsoftware avatar ksco avatar liuli0217 avatar lizhuoheng-coder avatar mcagabe19 avatar mhavu avatar mogery avatar ptitseb avatar rajdakin avatar ryanfortner avatar seas0 avatar seeschloss avatar shouhuanxiaoji avatar strongtz avatar tristanmorgan avatar wannacu avatar xctan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

box64's Issues

Core dump due to missing implementations in library files

[corey@corey-pi4 Delta-Gal_Linux]$ cd /home/corey/Downloads/unsung-warriors-prologue-linux/
[corey@corey-pi4 unsung-warriors-prologue-linux]$ ./UnsungWarriorsPrologue.x86_64
Box64 with Dynarec v0.1.3 acc3ed8 built on Jul  8 2021 18:04:22
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 52 Env var
Looking for ./UnsungWarriorsPrologue.x86_64
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libX11.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libGL.so.1
Using native(wrapped) libudev.so.1
Set current directory to /home/corey/Downloads/unsung-warriors-prologue-linux
Found path: /home/corey/Downloads/unsung-warriors-prologue-linux/UnsungWarriorsPrologue.x86_64
Using emulated /home/corey/Downloads/unsung-warriors-prologue-linux/UnsungWarriorsPrologue_Data/Mono/x86_64/libmono.so
Error: Global Symbol data_start not found, cannot apply R_X86_64_GLOB_DAT @0xffff89eb5790 ((nil)) in /home/corey/Downloads/unsung-warriors-prologue-linux/UnsungWarriorsPrologue_Data/Mono/x86_64/libmono.so
Error: Global Symbol __data_start not found, cannot apply R_X86_64_GLOB_DAT @0xffff89eb5a88 ((nil)) in /home/corey/Downloads/unsung-warriors-prologue-linux/UnsungWarriorsPrologue_Data/Mono/x86_64/libmono.so
Mono path[0] = '/home/corey/Downloads/unsung-warriors-prologue-linux/UnsungWarriorsPrologue_Data/Managed'
Mono config path = '/home/corey/Downloads/unsung-warriors-prologue-linux/UnsungWarriorsPrologue_Data/Mono/etc'
0x7c751040: Stack is corrupted, aborting
==== CPU Registers ====
RAX=be40df7a009dd72c RCX=0000ffff89aef636 RDX=0000ffff89aef7b0 RBX=0000ffffa492ed40 RSP=0000ffffa492ed18 FLAGS=--S--P-
RBP=0000ffff89a8c8a9 RSI=0000000000000000 RDI=0000000000000000  R8=0000ffff89ebfb30  R9=0000000000021775 
R10=0000000000021775 R11=0000000000000001 R12=0000000001d06df8 R13=0000000001d06ded R14=0000ffffa492ef40 
R15=0000ffffa492f030 RIP=000000007c901773 
======== Stack ========
Stack is from FFFF89A8C8A9 to FFFFA492ED18
Old IP: 7C751040
Library libXrender.so.1 (0x7cadcda0) needs 0x7cae7ec0, but it was not found. Ignoring.
Library libXext.so.6 (0x7cacec20) needs 0x7cae13f0, but it was not found. Ignoring.
Library libXext.so.6 (0x7cacec20) needs 0x7cae7ec0, but it was not found. Ignoring.
Library libXext.so.6 (0x7cacec20) needs 0x7cae5100, but it was not found. Ignoring.
Library libXext.so.6 (0x7cacec20) needs 0x7cadec90, but it was not found. Ignoring.
Library libX11.so.6 (0x7cacc0c0) needs 0x7cae13f0, but it was not found. Ignoring.
Library libX11.so.6 (0x7cacc0c0) needs 0x7cae7ec0, but it was not found. Ignoring.
Library libX11.so.6 (0x7cacc0c0) needs 0x7cae5100, but it was not found. Ignoring.
Library libX11.so.6 (0x7cacc0c0) needs 0x7cadec90, but it was not found. Ignoring.
Library libc.so.6 (0x7c8a8260) needs 0x7d37ade0, but it was not found. Ignoring.
Library libm.so.6 (0x7c89c5b0) needs 0x7d37ade0, but it was not found. Ignoring.
Library librt.so.1 (0x7c7d4b30) needs 0x7d37ade0, but it was not found. Ignoring.
Library libpthread.so.0 (0x7c7d4980) needs 0x7d37ade0, but it was not found. Ignoring.
Library libdl.so.2 (0x7c7d36a0) needs 0x7d37ade0, but it was not found. Ignoring.
Stop waiting for remaining thread 8604
Aborted (core dumped)

Discord: missing cairo symbols and a few others.

Error: Global Symbol cairo_device_reference not found, cannot apply R_X86_64_GLOB_DAT @0xffff87b20f58 ((nil)) in ../../Software/x64_libs/libcairo-gobject.so.2
Error: Global Symbol cairo_scaled_font_destroy not found, cannot apply R_X86_64_GLOB_DAT @0xffff87b20f80 ((nil)) in ../../Software/x64_libs/libcairo-gobject.so.2
Error: Global Symbol cairo_region_reference not found, cannot apply R_X86_64_GLOB_DAT @0xffff87b20f88 ((nil)) in ../../Software/x64_libs/libcairo-gobject.so.2
Error: Global Symbol cairo_font_face_destroy not found, cannot apply R_X86_64_GLOB_DAT @0xffff87b20f98 ((nil)) in ../../Software/x64_libs/libcairo-gobject.so.2
Error: Global Symbol cairo_scaled_font_reference not found, cannot apply R_X86_64_GLOB_DAT @0xffff87b20fa0 ((nil)) in ../../Software/x64_libs/libcairo-gobject.so.2
Error: Global Symbol cairo_font_face_reference not found, cannot apply R_X86_64_GLOB_DAT @0xffff87b20fc0 ((nil)) in ../../Software/x64_libs/libcairo-gobject.so.2
Error: Global Symbol cairo_region_destroy not found, cannot apply R_X86_64_GLOB_DAT @0xffff87b20fd0 ((nil)) in ../../Software/x64_libs/libcairo-gobject.so.2
Error: Global Symbol cairo_device_destroy not found, cannot apply R_X86_64_GLOB_DAT @0xffff87b20fe8 ((nil)) in ../../Software/x64_libs/libcairo-gobject.so.2
Using emulated ../../Software/x64_libs/libgraphite2.so.3
Error: Global Symbol atk_misc_instance not found, cannot apply R_X86_64_GLOB_DAT @0xffff88e40ef8 ((nil)) in ../../Software/x64_libs/libgtk-3.so.0
Error: Global Symbol cairo_region_destroy not found, cannot apply R_X86_64_GLOB_DAT @0xffff88e40f50 ((nil)) in ../../Software/x64_libs/libgtk-3.so.0
Using emulated ../../Software/x64_libs/libwayland-server.so.0
Error: Global Symbol httpConnect2 not found, cannot apply R_X86_64_GLOB_DAT @0xffff9294c100 ((nil)) in ./Discord

fails to launch with a segfault.

Rise of the Tomb Raider

Game at this moment crashes with:

Box64 with Dynarec v0.1.3 56f6ad8 built on Jul  4 2021 16:37:33
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 58 Env var
BOX64 try to Preload libgtk3-nocsd.so.0 
Looking for ./bin/RiseOfTheTombRaider
Using emulated lib/libgtk3-nocsd.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libz.so.1
Using native(wrapped) libcurl.so.4
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libssl.so.44
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libcrypto.so.42
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libSDL2-2.0.7.so
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libSDL2_image-2.0.1.so
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libcef.so
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libpdf.so
Using native(wrapped) libvorbis.so.0
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libm.so.6
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libgomp.so.1
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libgobject-2.0.so.0
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libglib-2.0.so.0
Using native(wrapped) libpangocairo-1.0.so.0
Using native(wrapped) libpango-1.0.so.0
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libffi.so.6
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libpcre.so.3
Using native(wrapped) libcairo.so.2
Using native(wrapped) libX11.so.6
Using native(wrapped) libXi.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libnss3.so
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libnssutil3.so
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libsmime3.so
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libplc4.so
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libnspr4.so
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libasound.so.2
Using native(wrapped) libXdamage.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXtst.so.6
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libgconf-2.so.4
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libexpat.so.1
Using native(wrapped) libcups.so.2
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libcap.so.2
Using emulated /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Using emulated /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libplds4.so
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libgio-2.0.so.0
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libgthread-2.0.so.0
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libgmodule-2.0.so.0
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libdbus-glib-1.so.2
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libmount.so.1
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libselinux.so.1
Using native(wrapped) libresolv.so.2
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libblkid.so.1
Using native(wrapped) libuuid.so.1
RiseOfTheTombRaider: crash reporter initialised with path "/home/heasterian/.local/share/feral-interactive/Rise of the Tomb Raider/crashes"
Using emulated /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libnvidia-ml.so
Error: Global Symbol __ctype_b not found, cannot apply R_X86_64_GLOB_DAT @0x7edea19e10 ((nil)) in /home/heasterian/Downloads/Rise of the Tomb Raider/bin/../lib/libnvidia-ml.so
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libGL.so.1
Using native(wrapped) libpulse-simple.so.0
Using native(wrapped) libpulse.so.0
SDL2 initialised [built against 2.0.7, running with 2.0.7]
Error: PltResolver: Symbol ptrace(ver 4: ptrace@GLIBC_2.2.5) not found, cannot apply R_X86_64_JUMP_SLOT 0x32bfa88 (0x40dac6) in ./bin/RiseOfTheTombRaider
Library libpulse.so.0 (0x8929d010) needs 0x891685d0, but it was not found. Ignoring.
Library libXext.so.6 (0x8035d2e0) needs 0x857e81b0, but it was not found. Ignoring.
Library libXext.so.6 (0x8035d2e0) needs 0x857de870, but it was not found. Ignoring.
Library libX11.so.6 (0x80357320) needs 0x857e81b0, but it was not found. Ignoring.
Library libX11.so.6 (0x80357320) needs 0x857de870, but it was not found. Ignoring.
Library libc.so.6 (0x7fa29910) needs 0x84202150, but it was not found. Ignoring.
Library libpthread.so.0 (0x7fa296e0) needs 0x84202150, but it was not found. Ignoring.
Library libdl.so.2 (0x7fa293d0) needs 0x84202150, but it was not found. Ignoring.
Stop waiting for remaining thread 9743
Stop waiting for remaining thread 9744
Error: Unsupported Syscall 0x38h (56)

Clone Hero log (missing implementations)

[corey@corey-pi4 ~]$ clonehero
Replacing old data folder
Replacing old executable
rm: cannot remove '/home/corey/.clonehero/Clone Hero.x86_64': No such file or directory
Box64 with Dynarec v0.1.3 acc3ed8 built on Jul 10 2021 22:20:55
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 51 Env var
Looking for /home/corey/.clonehero/clonehero
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libX11.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libGL.so.1
Using native(wrapped) libudev.so.1
Found path: /home/corey/.clonehero/clonehero
Using emulated /home/corey/.clonehero/clonehero_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so
Error: Global Symbol data_start not found, cannot apply R_X86_64_GLOB_DAT @0xffff91e2c200 ((nil)) in /home/corey/.clonehero/clonehero_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so
Error: Global Symbol __data_start not found, cannot apply R_X86_64_GLOB_DAT @0xffff91e2c758 ((nil)) in /home/corey/.clonehero/clonehero_Data/MonoBleedingEdge/x86_64/libmonobdwgc-2.0.so
Mono path[0] = '/home/corey/.clonehero/clonehero_Data/Managed'
Mono config path = '/home/corey/.clonehero/clonehero_Data/MonoBleedingEdge/etc'
0x6b915040: Stack is corrupted, aborting
==== CPU Registers ====
RAX=cf918d1595e23700 RCX=ffffffffffffffff RDX=0000ffffad21bab0 RBX=0000ffffad21ba20 RSP=0000ffffad21ba08 FLAGS=--S--PC
RBP=0000ffffad21bab8 RSI=0000ffffad21bab8 RDI=0000ffffad21ba20  R8=0000000000000000  R9=0000000000000010 
R10=0000000000001000 R11=0000000000001000 R12=0000ffffad21bab0 R13=00000000018e51ec R14=0000ffffad21bb08 
R15=000000000206efa0 RIP=000000006ba824f3 
======== Stack ========
Stack is from FFFFAD21BAB8 to FFFFAD21BA08
Old IP: 6B915040
Library libXrender.so.1 (0x6be87a20) needs 0x6be87190, but it was not found. Ignoring.
Library libXext.so.6 (0x6be72e10) needs 0x6be9a880, but it was not found. Ignoring.
Library libXext.so.6 (0x6be72e10) needs 0x6be87190, but it was not found. Ignoring.
Library libXext.so.6 (0x6be72e10) needs 0x6be8b630, but it was not found. Ignoring.
Library libXext.so.6 (0x6be72e10) needs 0x6be77890, but it was not found. Ignoring.
Library libX11.so.6 (0x6be6fb40) needs 0x6be9a880, but it was not found. Ignoring.
Library libX11.so.6 (0x6be6fb40) needs 0x6be87190, but it was not found. Ignoring.
Library libX11.so.6 (0x6be6fb40) needs 0x6be8b630, but it was not found. Ignoring.
Library libX11.so.6 (0x6be6fb40) needs 0x6be77890, but it was not found. Ignoring.
Library libc.so.6 (0x6ba27450) needs 0x6c523d40, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x6ba1b7d0) needs 0x6c523d40, but it was not found. Ignoring.
Library ld-linux-x86-64.so.2 (0x6ba27690) needs 0x6c523d40, but it was not found. Ignoring.
Library libpthread.so.0 (0x6ba26330) needs 0x6c523d40, but it was not found. Ignoring.
Library libm.so.6 (0x6ba1a650) needs 0x6c523d40, but it was not found. Ignoring.
Library librt.so.1 (0x6b954c80) needs 0x6c523d40, but it was not found. Ignoring.
Library libdl.so.2 (0x6b9539a0) needs 0x6c523d40, but it was not found. Ignoring.
Stop waiting for remaining thread 120813
120813|0x6ba2e000: Unimplemented Opcode (00) F0 CF 5D 6C 00 00 00 00 F0 0F 5E 6C 00 00 00

oray_sunloginclient

I tried to install this software on my system, but it requires libgtk3, because of the dependencies of the package, I cannot install it. So I used packages.debian.org to manually search for the library files I needed. Its took me an afternoon. In the end, although I completed all the runtime libraries,but I still got an error. This is the output.
a.txt

Minecraft bedrock server

I am trying to run Minecraft's official bedrock server software using box64 on an rpi4 (dietpi 64bit)
I used libs from here extracted to /usr/lib/x86_64-linux-gnu
I also extracted libgcc1 and libstdc++6 and also put the libs in /usr/lib/x86_64-linux-gnu

I think the main issue is with libnsl.so.1, but there is also an issue with the bedrock-server itself
I get the following error:

dietpi@DietPiServer:/tmp/bedrock-server$ box64 bedrock_server
Box64 with Dynarec v0.1.3 2ee0230 built on Jul 16 2021 10:26:34
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 23 Env var
Looking for bedrock_server
Using native(wrapped) libz.so.1
Using emulated /usr/lib/x86_64-linux-gnu/libnsl.so.1
Using native(wrapped) libssl.so.1
Using native(wrapped) libcrypto.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Using emulated /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Warning, cannot apply Global type: R_X86_64_TPOFF64 on errno @0x7fabfdbfa0 (0), no elf_header found
Error: Global Symbol xdr_void not found, cannot apply R_X86_64_GLOB_DAT @0x7fabfdbfb0 ((nil)) in /usr/lib/x86_64-linux-gnu/libnsl.so.1
Error: Global Symbol xdr_u_int not found, cannot apply R_X86_64_GLOB_DAT @0x7fabfdbfc8 ((nil)) in /usr/lib/x86_64-linux-gnu/libnsl.so.1
Error: Global Symbol _libc_intl_domainname not found, cannot apply R_X86_64_GLOB_DAT @0x7fabfdbfd0 ((nil)) in /usr/lib/x86_64-linux-gnu/libnsl.so.1
Error: Global Symbol xdr_netobj not found, cannot apply R_X86_64_GLOB_DAT @0x7fabfdbfd8 ((nil)) in /usr/lib/x86_64-linux-gnu/libnsl.so.1
Error: Global Symbol xdr_bool not found, cannot apply R_X86_64_GLOB_DAT @0x7fabfdbfe8 ((nil)) in /usr/lib/x86_64-linux-gnu/libnsl.so.1
Error: Global Symbol EVP_MD_CTX_free not found, cannot apply R_X86_64_GLOB_DAT @0x5060b20 ((nil)) in /tmp/bedrock-server/bedrock_server
Error: Global Symbol EVP_CIPHER_CTX_free not found, cannot apply R_X86_64_GLOB_DAT @0x5060e68 ((nil)) in /tmp/bedrock-server/bedrock_server
Error: PltResolver: Symbol OPENSSL_init_crypto(ver 2: OPENSSL_init_crypto@OPENSSL_1_1_0) not found, cannot apply R_X86_64_JUMP_SLOT 0x50610e8 (0x40b826) in /tmp/bedrock-server/bedrock_server

Zoom: libc function missing (non-critical in this case)

Error: PltResolver: Symbol msgctl(ver 6: msgctl@GLIBC_2.2.5) not found, cannot apply R_X86_64_JUMP_SLOT 0xffffa6c6ace0 (0xffffa208b1c6) in ./zoom

it doesn't result in a crash so I don't know if it is a high priority or not.

EDIT: just realized that this could have gone in the other issue... should I move this report to the other one?

Zoom: more unimplemented Opcodes

61619|0xffff83f7ca05: Unimplemented Opcode (10) 66 0F 38 09 C1 66 0F 38 09 D3 66 0F 7F 07 66

this is after pulling in and compiling 81b1f61

EDIT: Thank you for all your work on this project. Keep up the good work, but don't overwork yourself :)

Some noob programmer asking about architectures

I have a rpi 4b 4gb with arm64 os installed. I want to use box86 and box64, BUT I need a different os for box86. Why?
If this project only translates from one architecture to another (Also more things, I know), why not creating a "mix" detecting x86 or x86_64 and executing that?
I don't know why, just asking
:D

Nvidia G-Sync demo

When trying to run the 64-Bit (Windows) version of the Nvidia G-Sync Demo from here on box64 with Wine 6.0 upstream from PlayOnLinux, the demo crashes due to an unimplemented opcode:

6014|0x10004f834: Unimplemented Opcode (00) 66 8C C8 66 89 43 38 66 8C D0 66 89 43 42 41

Spiritfarer (Unity3D): Unimplemented Opcode (E2) FE 97 E1....

Details:

  • Raspberry Pi 4B (8GB)
  • Ubuntu 64-bit
  • Box64 with Dynarec v0.1.3 5b5b974 built on Jul 7 2021 11:24:22
    Spiritfarer (Unity3D game) crashes on startup after initial resource load.
    Last lines of Player.log are:

TYPE: 31
* Assertion at mini-amd64.c:209, condition `amd64_is_imm32 (disp)' not met

85706|0x648fadc2: Unimplemented Opcode (E2) FE 97 E1 FF FF 17 15 2F 00 D0 A0 02 38 91 00

Evoland: Legendary Edition

It's a Steam game with Steamworks DRM, so I had to use the Goldberg Emu. Don't tell anyone ;-)
The game always segfaults on launch, though the output seems to be a little different every time, so I have two logs right here:

Evoland_box64.log
Evoland_box64_2.log

From second log:

9994|SIGSEGV @0x990438a0 (???(0x990438a0)) (x64pc=0x7f87366cb7/???:"???", rsp=0x7f8cb5af20, stack=0x7f8c35d000:0x7f8cb5d000 own=(nil) fp=0x7), for accessing 0xffffffff96370a98 (code=1/prot=0), db=0x994e8960(0x99043880:0x990438e4/0x7f87366ca4:0x7f87366cc5/???:clean, hash:1d809688/1d809688) handler=0x7f8ccfdc90
SIGNAL 11
fun$13881(h2d/Sprite.hx:0)
9994|SIGSEGV @0x7f8d186138 (gsignal (/lib/aarch64-linux-gnu/libc.so.6)) (x64pc=0x9410bf73/???:"???", rsp=0x7f8cb5ae80, stack=0x7f8c35d000:0x7f8cb5d000 own=(nil) fp=0x7), for accessing 0x3e80000270a (code=-6/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)

Warcraft III Reforged

Game crashes with
16585|0x180030202: Unimplemented Opcode (9B) 2F 46 41 B5 EA 16 39 59 F7 68 16 BC A6 54 B0

skyrogue

game loads a black window and mouse cursor turns to a hexagon (as the game does so) then crashes immediately
https://fractal-phase.itch.io/sky-rogue

Box64 with Dynarec v0.1.3 928eb2a built on Jul  8 2021 17:39:33
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 80 Env var
Looking for /home/garrett/Downloads/skyrogue/skyrogue.x86_64
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libX11.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libGL.so.1
Using native(wrapped) libudev.so.1
Found path: /home/garrett/Downloads/skyrogue/skyrogue.x86_64
Using emulated /home/garrett/Downloads/skyrogue/skyrogue_Data/Mono/x86_64/libmono.so
Error: Global Symbol data_start not found, cannot apply R_X86_64_GLOB_DAT @0x7f83d52790 ((nil)) in /home/garrett/Downloads/skyrogue/skyrogue_Data/Mono/x86_64/libmono.so
Error: Global Symbol __data_start not found, cannot apply R_X86_64_GLOB_DAT @0x7f83d52a88 ((nil)) in /home/garrett/Downloads/skyrogue/skyrogue_Data/Mono/x86_64/libmono.so
Mono path[0] = '/home/garrett/Downloads/skyrogue/skyrogue_Data/Managed'
Mono config path = '/home/garrett/Downloads/skyrogue/skyrogue_Data/Mono/etc'
Error loading needed lib /home/garrett/Downloads/skyrogue/skyrogue_Data/Managed/mscorlib.dll.so
Warning: Cannot dlopen("/home/garrett/Downloads/skyrogue/skyrogue_Data/Managed/mscorlib.dll.so"/0x6776d580, 101)
Error loading needed lib /home/garrett/Downloads/skyrogue/skyrogue_Data/Plugins/x86/ScreenSelector.so
Warning: Cannot dlopen("/home/garrett/Downloads/skyrogue/skyrogue_Data/Plugins/x86/ScreenSelector.so"/0x7f918f73a0, 2)
Error loading needed lib /home/garrett/Downloads/skyrogue/skyrogue_Data/Plugins/x86/libsteam_api.so
Warning: Cannot dlopen("/home/garrett/Downloads/skyrogue/skyrogue_Data/Plugins/x86/libsteam_api.so"/0x7f918f7300, 2)
Using emulated /home/garrett/Downloads/skyrogue/skyrogue_Data/Plugins/x86_64/ScreenSelector.so
Using emulated /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
Using native(wrapped) libpangocairo-1.0.so.0
Using native(wrapped) libpango-1.0.so.0
Using emulated /usr/lib/x86_64-linux-gnu/libffi.so.6
Using native(wrapped) libpcre.so.3
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libatk-1.0.so.0
Using native(wrapped) libcairo.so.2
Using emulated /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
Using native(wrapped) libpangoft2-1.0.so.0
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXdamage.so.1
Using native(wrapped) libz.so.1
Using emulated /usr/lib/x86_64-linux-gnu/libselinux.so.1
Using native(wrapped) libresolv.so.2
Using emulated /usr/lib/x86_64-linux-gnu/libmount.so.1
Using emulated /usr/lib/x86_64-linux-gnu/libblkid.so.1
Using native(wrapped) libuuid.so.1
Preloaded 'ScreenSelector.so'
Using emulated /home/garrett/Downloads/skyrogue/skyrogue_Data/Plugins/x86_64/libsteam_api.so
Preloaded 'libsteam_api.so'
Preloaded 'ScreenSelector.so'
Preloaded 'libsteam_api.so'
Logging to /home/garrett/.config/unity3d/Fractal Phase/Sky Rogue/Player.log
Stacktrace:


Native stacktrace:

	(null)

Debug info from gdb:

Box64 with Dynarec v0.1.3 928eb2a built on Jul  8 2021 17:39:33
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 80 Env var
Looking for /usr/bin/gdb
argv[1]="-ex"
argv[2]="attach 13306"
argv[3]="--ex"
argv[4]="info threads"
argv[5]="--ex"
argv[6]="thread apply all bt"
argv[7]="--batch"
Not an x86_64 ELF (183)
Error: reading elf header of /usr/bin/gdb, try to launch natively instead
I refuse to debug myself!
No threads.

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Aborted (core dumped)

Spotify unable to load due to missing lib

[corey@corey-pi4 ~]$ spotify
Box64 with Dynarec v0.1.3 acc3ed8 built on Jul 10 2021 22:20:55
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 51 Env var
Looking for /usr/bin/spotify
Using native(wrapped) libm.so.6
Using native(wrapped) libasound.so.2
Using native(wrapped) libdl.so.2
Using native(wrapped) libcurl-gnutls.so.4
Using emulated /opt/spotify/libcef.so
Using native(wrapped) libz.so.1
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using native(wrapped) libSM.so.6
Using native(wrapped) libICE.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Error loading needed lib libglib-2.0.so.0
Error loading one of needed lib
Error: loading needed libs in elf /usr/bin/spotify

Crysis

Crysis crashes when running with Wine with dynarec and interpreter.

CrysisDynarec.txt
CrysisInterpreter.txt
Here is addr2line.

Dynarec:
0x00000000648ce7b0

/home/heasterian/box64/src/emu/x64run.c:128
0x00000000648ce794
/home/heasterian/box64/src/emu/x64run.c:128
Interpreter:
0x00000000648fdd3c
/home/heasterian/box64/src/tools/box64stack.c:66
0x00000000648cedc0
/home/heasterian/box64/src/emu/x64run.c:478

Cinebench R15

Cinebench R15 crashes at start of CPU benchmark with missing opcode.

7235|0x5b29894: Unimplemented Opcode (F9) 0F C3 45 00 E8 93 98 FF FF 48 83 C6 04 48 89

Grand Theft Auto V

Grand Theft Auto V currently fails to boot, using Wine 6.0 upstream from PlayOnLinux with
0140:err:module:open_builtin_file failed to load .so lib "/home/grima04/wine/lib64/wine/l3codeca.acm.so"
I haven't seen any other errors though like unimplemented opcodes or missing functions.

x86_64Error

x86_64Error: PltResolver: Symbol __overflow(ver 2: __overflow@GLIBC_2.2.5) not found, cannot apply R_X86_64_JUMP_SLOT 0x7a3bdf9ed8 (0x7a3bdf1120) in ./arch

Android Studio

Error

Error: Global Symbol collector_func_load not found, cannot apply R_X86_64_GLOB_DAT @0x7f90305f88 ((nil)) in /home/pi/android-studio/jre/lib/server/libjvm.so
Error: Symbol posix_fallocate not found, cannot apply R_X86_64_JUMP_SLOT @0x7f90306128 (0x27aed6) in /home/pi/android-studio/jre/lib/server/libjvm.so
Error: Symbol vfork not found, cannot apply R_X86_64_JUMP_SLOT @0x7f90306220 (0x27b0c6) in /home/pi/android-studio/jre/lib/server/libjvm.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7f90306230 (0x27b0e6)
Error: Symbol getutxent not found, cannot apply R_X86_64_JUMP_SLOT @0x7f903063f0 (0x27b466) in /home/pi/android-studio/jre/lib/server/libjvm.so
Warning: Weak Symbol collector_func_load not found, cannot apply R_X86_64_JUMP_SLOT @0x7f90306658 (0x27b936)
Error: Symbol setutxent not found, cannot apply R_X86_64_JUMP_SLOT @0x7f90306728 (0x27bad6) in /home/pi/android-studio/jre/lib/server/libjvm.so
Error: relocating Plt symbols in elf libjvm.so
Error initializing needed lib libjvm.so
Warning: Cannot dlopen("/home/pi/android-studio/jre/lib/server/libjvm.so"/0x7f91343980, 102)
Error: dl failure on line 598
Error: failed /home/pi/android-studio/jre/lib/server/libjvm.so, because Cannot dlopen("/home/pi/android-studio/jre/lib/server/libjvm.so"/0x7f91343980, 102)

Failing to pull (unrelated histories)

I'm not sure if its just me but I've gotten a fatal error when pulling due to unrelated histories multiple times with this repo.

Has there been any reason on your end for this to happen?

Zoom: Double SIGSEGV

I got this error when I tried to run Zoom on Termux PRoot Ubuntu 20.04 (ARM64).

Error log:-
Box64 with Dynarec v0.1.3 f73bbfc built on Jul 14 2021 11:35:34 Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ Using default BOX64_PATH: ./:bin/ Counted 30 Env var Looking for /root/zoom/zoom Zoom detected, trying to use system libturbojpeg if possible Using native(wrapped) libdl.so.2 Using native(wrapped) libX11.so.6 Using native(wrapped) librt.so.1 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXext.so.6 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using native(wrapped) libxcb-xfixes.so.0 Using native(wrapped) libxcb-shape.so.0 Using native(wrapped) libxcb-shm.so.0 Using native(wrapped) libxcb-randr.so.0 Error initializing native libxcb-image.so.0 (last dlerror is libxcb-image.so.0: cannot open shared object file: No such file or directory) Using emulated /lib/x86_64-linux-gnu/libxcb-image.so.0 Using native(wrapped) libxcb-keysyms.so.1 Using native(wrapped) libxcb-xtest.so.0 Using native(wrapped) libXfixes.so.3 Using native(wrapped) libXtst.so.6 Using emulated /lib/x86_64-linux-gnu/libglib-2.0.so.0 Using native(wrapped) libdbus-1.so.3 Using emulated /lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5 Using emulated /lib/x86_64-linux-gnu/libQt5Quick.so.5 Using emulated /lib/x86_64-linux-gnu/libQt5Widgets.so.5 Using emulated /lib/x86_64-linux-gnu/libQt5X11Extras.so.5 Using emulated /lib/x86_64-linux-gnu/libQt5Gui.so.5 Using emulated /lib/x86_64-linux-gnu/libQt5Qml.so.5 Using emulated /lib/x86_64-linux-gnu/libQt5Network.so.5 Using emulated /lib/x86_64-linux-gnu/libQt5Script.so.5 Using emulated /lib/x86_64-linux-gnu/libQt5DBus.so.5 Using emulated /lib/x86_64-linux-gnu/libQt5Core.so.5 Using native(wrapped) libGL.so.1 Using native(wrapped) libpthread.so.0 Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6 Using native(wrapped) libm.so.6 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1 Using emulated /lib/x86_64-linux-gnu/libxcb-util.so.1 Using native(wrapped) libpcre.so.3 Using native(wrapped) libz.so.1 Using emulated /usr/lib/x86_64-linux-gnu/libicui18n.so.56 Using emulated /usr/lib/x86_64-linux-gnu/libicuuc.so.56 Using emulated /usr/lib/x86_64-linux-gnu/libicudata.so.56 Using emulated /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 No PulseAudio daemon running, or not running as session daemon. cat: /proc/sys/kernel/pid_max: Permission denied zoom started. Client: Breakpad is using Single Client Mode! client fd = -1 Using emulated /root/zoom/platforms/libqxcb.so Using emulated /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 Using native(wrapped) libfontconfig.so.1 Using native(wrapped) libfreetype.so.6 Using native(wrapped) libX11-xcb.so.1 Using native(wrapped) libXrender.so.1 Error initializing native libxkbcommon-x11.so.0 (last dlerror is libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory) Using emulated /usr/lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 Using native(wrapped) libxkbcommon.so.0 Using emulated /usr/lib/x86_64-linux-gnu/libxcb-xkb.so.1 Using native(wrapped) libXcursor.so.1 QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' Using emulated /root/zoom/platforminputcontexts/libcomposeplatforminputcontextplugin.so Using emulated /root/zoom/imageformats/libqsvg.so Using emulated /usr/lib/x86_64-linux-gnu/libQt5Svg.so.5 [CZPClientLogMgr::LogClientEnvironment] [MacAddr: BE:34:D1:4C:15:A0][client: Linux][OS: Ubuntu 20.04.1 LTS x64][Hardware: CPU Core:6 Frenquency:1.352 G Memory size:2725MB CPU Brand: Intel(R) Pentium(R) 4 CPU 1000MHz GPU Brand:][Req ID: ] Linux Client Version is 5.7.1 (26030.0627) QSG_RENDER_LOOP is XDG_CURRENT_DESKTOP = ; GDMSESSION = ; XDG_SESSION_TYPE = Graphics Card Info:: Zoom package arch is 64bit, runing OS arch is x86_64 AppIconMgr::systemDesktopName log Desktop Name: 28412|SIGSEGV @0x72fe1c769c (???(0x72fe1c769c)) (x64pc=0x7300482621//usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5:"/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5/_ZN19QXcbBasicConnection10internAtomEPKc", rsp=0x731b0d3600, stack=0x731a8d5000:0x731b0d5000 own=(nil) fp=0x73003cb250), for accessing 0x8 (code=1/prot=0), db=0x73003f80c0(0x72fe1c7548:0x72fe1c7770/0x73004825e0:0x7300482632//usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5/_ZN19QXcbBasicConnection10internAtomEPKc:clean, hash:71bec8df/71bec8df) handler=0x731dc186a0 Error: Unsupported Syscall 0x38h (56) 28412|Double SIGSEGV (code=1, pc=0x72fe1c769c, addr=0x8)!

Google Chrome

I got this error while running:

pi@pi4-arm64:~/Downloads/opt/google/chrome $ ./chrome
Box64 with Dynarec v0.1.3 9c441df built on Jul 23 2021 01:04:05
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 52 Env var
Looking for ./chrome
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using emulated libgobject-2.0.so.0
Using emulated libglib-2.0.so.0
Using emulated libnss3.so
Using emulated libnssutil3.so
Using emulated libsmime3.so
Using emulated libnspr4.so
Using native(wrapped) libatk-1.0.so.0
Using native(wrapped) libatk-bridge-2.0.so.0
Using native(wrapped) libSM.so.6
Using native(wrapped) libICE.so.6
Using native(wrapped) libXau.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libcups.so.2
Using emulated libdrm.so.2
Using native(wrapped) libdbus-1.so.3
Using emulated libgio-2.0.so.0
Using native(wrapped) libexpat.so.1
Using native(wrapped) libm.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXdamage.so.1
Using native(wrapped) libXext.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) libxkbcommon.so.0
Using emulated libgbm.so.1
Using native(wrapped) libpango-1.0.so.0
Using emulated libffi.so.8
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libpcre.so.3
Using native(wrapped) libcairo.so.2
Using native(wrapped) libasound.so.2
Using native(wrapped) libatspi.so.0
Using emulated libxshmfence.so.1
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using emulated libplc4.so
Using emulated libplds4.so
Using emulated libgmodule-2.0.so.0
Using native(wrapped) libz.so.1
Using emulated libmount.so.1
Using emulated libselinux.so.1
Using native(wrapped) libresolv.so.2
Using emulated libblkid.so.1
Using emulated libpcre2-8.so.0
Using emulated libwayland-server.so.0
Error: Global Symbol _ZTHN2v88internal12trap_handler21g_thread_in_wasm_codeE not found, cannot apply R_X86_64_GLOB_DAT @0x7fb2f6bc30 ((nil)) in ./chrome
Error: Global Symbol OPENSSL_memory_alloc not found, cannot apply R_X86_64_GLOB_DAT @0x7fb2f6bc70 ((nil)) in ./chrome
Error: Global Symbol OPENSSL_memory_free not found, cannot apply R_X86_64_GLOB_DAT @0x7fb2f6bc60 ((nil)) in ./chrome
Error: Global Symbol sdallocx not found, cannot apply R_X86_64_GLOB_DAT @0x7fb2f6bc68 ((nil)) in ./chrome
Error: Global Symbol OPENSSL_memory_get_size not found, cannot apply R_X86_64_GLOB_DAT @0x7fb2f6bc78 ((nil)) in ./chrome
14940|SIGSEGV @0x7fa59a3dc8 (???(0x7fa59a3dc8)) (x64pc=0x7fab11c91f/./chrome:"???", rsp=0x7fa83a4020, stack=0x7fa7ba5000:0x7fa83a5000 own=(nil) fp=0x9f454450), for accessing 0x64977a18 (code=2/prot=0), db=0x9f498570(0x7fa59a3da0:0x7fa59a3e54/0x7fab11c910:0x7fab11c92d/???:clean, hash:4e915ce0/4e915ce0) handler=0x1
Segmentation fault

Error While Launching Qt5 App

When i try to run Genymotion a x86_64 app with box64 it fails and gives this error

pi@raspberrypi:~/genymotion $ ./genymotion
Box64 v0.1.3 ba33593 built on Jul 17 2021 13:30:36
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 61 Env var
Looking for ./genymotion
Using native(wrapped) libcrypto.so.1
Using emulated libQt5WebSockets.so.5
Using emulated libQt5QuickControls2.so.5
Using emulated libQt5Quick.so.5
Using emulated libQt5Qml.so.5
Using emulated libQt5Network.so.5
Using emulated libQt5Widgets.so.5
Using emulated libQt5Gui.so.5
Using emulated libQt5Sql.so.5
Using emulated libQt5DBus.so.5
Using emulated libQt5Core.so.5
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
Using native(wrapped) libz.so.1
Using native(wrapped) libdl.so.2
Using emulated libicui18n.so.56
Using emulated libicuuc.so.56
Using emulated libicudata.so.56
Error loading needed lib libgthread-2.0.so.0
Error loading one of needed lib
Error initializing needed lib libQt5Core.so.5
Error loading one of needed lib
Error initializing needed lib libQt5Network.so.5
Error loading one of needed lib
Error initializing needed lib libQt5WebSockets.so.5
Error loading one of needed lib
Error: loading needed libs in elf ./genymotion

CEMU - missings symbols and syscall

Emulator is crashing with message below.

Error: Global Symbol posix_spawnattr_destroy not found, cannot apply R_X86_64_GLOB_DAT @0x10472b430 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_subtract_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472b450 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_intersect not found, cannot apply R_X86_64_GLOB_DAT @0x10472b488 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_item_copy not found, cannot apply R_X86_64_GLOB_DAT @0x10472b5a8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_copy not found, cannot apply R_X86_64_GLOB_DAT @0x10472b638 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_item_new not found, cannot apply R_X86_64_GLOB_DAT @0x10472b6f0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawnattr_setsigmask not found, cannot apply R_X86_64_GLOB_DAT @0x10472b720 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_extents not found, cannot apply R_X86_64_GLOB_DAT @0x10472b7a8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_config_key_get_system not found, cannot apply R_X86_64_GLOB_DAT @0x10472b7b8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_translate not found, cannot apply R_X86_64_GLOB_DAT @0x10472b7e8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_direction_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472b820 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_get_sysconf_subdirectory not found, cannot apply R_X86_64_GLOB_DAT @0x10472b9f0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_find_paragraph_boundary not found, cannot apply R_X86_64_GLOB_DAT @0x10472bb60 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_font_face_destroy not found, cannot apply R_X86_64_GLOB_DAT @0x10472bb78 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_font_face not found, cannot apply R_X86_64_GLOB_DAT @0x10472bb80 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol link not found, cannot apply R_X86_64_GLOB_DAT @0x10472bbd0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_ref not found, cannot apply R_X86_64_GLOB_DAT @0x10472bd28 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_item_split not found, cannot apply R_X86_64_GLOB_DAT @0x10472bd48 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_version_check not found, cannot apply R_X86_64_GLOB_DAT @0x10472be30 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_quantize_line_geometry not found, cannot apply R_X86_64_GLOB_DAT @0x10472be80 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_destroy not found, cannot apply R_X86_64_GLOB_DAT @0x10472bf10 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_new not found, cannot apply R_X86_64_GLOB_DAT @0x10472bff0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_get_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472c088 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_parse_variant not found, cannot apply R_X86_64_GLOB_DAT @0x10472c0b0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_set not found, cannot apply R_X86_64_GLOB_DAT @0x10472c138 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_is_empty not found, cannot apply R_X86_64_GLOB_DAT @0x10472c150 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_bidi_type_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472c208 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_intersect_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472c210 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_parse_weight not found, cannot apply R_X86_64_GLOB_DAT @0x10472c230 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_get not found, cannot apply R_X86_64_GLOB_DAT @0x10472c2c0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_gravity_hint_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472c2e0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_from_bytes not found, cannot apply R_X86_64_GLOB_DAT @0x10472c3c0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_version not found, cannot apply R_X86_64_GLOB_DAT @0x10472c490 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_level_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472c710 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol __cxa_thread_atexit_impl not found, cannot apply R_X86_64_GLOB_DAT @0x10472c8a0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_create_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472cae0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_get_lib_subdirectory not found, cannot apply R_X86_64_GLOB_DAT @0x10472cb40 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_reference not found, cannot apply R_X86_64_GLOB_DAT @0x10472cd18 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_copy not found, cannot apply R_X86_64_GLOB_DAT @0x10472cef0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_font_metrics_new not found, cannot apply R_X86_64_GLOB_DAT @0x10472cf78 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_parse_stretch not found, cannot apply R_X86_64_GLOB_DAT @0x10472cf98 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_union not found, cannot apply R_X86_64_GLOB_DAT @0x10472cfd0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_equal not found, cannot apply R_X86_64_GLOB_DAT @0x10472d020 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_find_base_dir not found, cannot apply R_X86_64_GLOB_DAT @0x10472d0c8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_variant_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472d0e8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawnattr_setsigdefault not found, cannot apply R_X86_64_GLOB_DAT @0x10472d1e0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_num_rectangles not found, cannot apply R_X86_64_GLOB_DAT @0x10472d228 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_parse_style not found, cannot apply R_X86_64_GLOB_DAT @0x10472d270 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_tag_end not found, cannot apply R_X86_64_GLOB_DAT @0x10472d290 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_union_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472d400 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_font_face_status not found, cannot apply R_X86_64_GLOB_DAT @0x10472d540 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawn_file_actions_adddup2 not found, cannot apply R_X86_64_GLOB_DAT @0x10472d568 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_to_bytes not found, cannot apply R_X86_64_GLOB_DAT @0x10472d590 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_font_matrix not found, cannot apply R_X86_64_GLOB_DAT @0x10472d600 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_glyph_extents not found, cannot apply R_X86_64_GLOB_DAT @0x10472d760 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472d888 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_max not found, cannot apply R_X86_64_GLOB_DAT @0x10472d960 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_unref not found, cannot apply R_X86_64_GLOB_DAT @0x10472daa0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_font_face_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472dbf8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_is_zero_width not found, cannot apply R_X86_64_GLOB_DAT @0x10472dd28 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_surface_set_mime_data not found, cannot apply R_X86_64_GLOB_DAT @0x10472dd40 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_create not found, cannot apply R_X86_64_GLOB_DAT @0x10472dd78 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_text_to_glyphs not found, cannot apply R_X86_64_GLOB_DAT @0x10472de60 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_status_to_string not found, cannot apply R_X86_64_GLOB_DAT @0x10472dff0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_scale_matrix not found, cannot apply R_X86_64_GLOB_DAT @0x10472e220 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawn_file_actions_init not found, cannot apply R_X86_64_GLOB_DAT @0x10472e278 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_tag_begin not found, cannot apply R_X86_64_GLOB_DAT @0x10472e328 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_font_options not found, cannot apply R_X86_64_GLOB_DAT @0x10472e520 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_ctm not found, cannot apply R_X86_64_GLOB_DAT @0x10472e6f8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_reference_count not found, cannot apply R_X86_64_GLOB_DAT @0x10472e740 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_xor not found, cannot apply R_X86_64_GLOB_DAT @0x10472e848 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawn_file_actions_destroy not found, cannot apply R_X86_64_GLOB_DAT @0x10472e8b0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawnattr_setflags not found, cannot apply R_X86_64_GLOB_DAT @0x10472e938 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_create not found, cannot apply R_X86_64_GLOB_DAT @0x10472e9a0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_version_string not found, cannot apply R_X86_64_GLOB_DAT @0x10472ea08 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_render_part_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472eae8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_xor_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472eb38 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_lookup_aliases not found, cannot apply R_X86_64_GLOB_DAT @0x10472ec58 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_destroy not found, cannot apply R_X86_64_GLOB_DAT @0x10472ed48 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_status not found, cannot apply R_X86_64_GLOB_DAT @0x10472eed8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol setgroups not found, cannot apply R_X86_64_GLOB_DAT @0x10472f168 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawnattr_init not found, cannot apply R_X86_64_GLOB_DAT @0x10472f328 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_item_free not found, cannot apply R_X86_64_GLOB_DAT @0x10472f3e8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_parse_markup not found, cannot apply R_X86_64_GLOB_DAT @0x10472f600 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_gravity_to_rotation not found, cannot apply R_X86_64_GLOB_DAT @0x10472f6a0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_get_extents not found, cannot apply R_X86_64_GLOB_DAT @0x10472f6e8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_contains_point not found, cannot apply R_X86_64_GLOB_DAT @0x10472f720 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_reference not found, cannot apply R_X86_64_GLOB_DAT @0x10472f7e8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawnp not found, cannot apply R_X86_64_GLOB_DAT @0x10472f998 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_status not found, cannot apply R_X86_64_GLOB_DAT @0x10472faa0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_ellipsize_mode_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472fae8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_contains_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472fb48 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_font_face_get_reference_count not found, cannot apply R_X86_64_GLOB_DAT @0x10472fbc0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_text_extents not found, cannot apply R_X86_64_GLOB_DAT @0x10472fbd8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_subtract not found, cannot apply R_X86_64_GLOB_DAT @0x10472fd40 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_font_face_reference not found, cannot apply R_X86_64_GLOB_DAT @0x10472ff50 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_unichar_direction not found, cannot apply R_X86_64_GLOB_DAT @0x10472ffc8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Using native(wrapped) libogg.so.0
Using emulated /home/heasterian/cemu_1.23.1/libnuma.so.1
Error: Unsupported libc Syscall 0xCC (204)

RPCS3 - missing symbols

RPCS3 crashes with message below.

Error: Global Symbol _ZTHN2fs11g_tls_errorE not found, cannot apply R_X86_64_GLOB_DAT @0x337a948 ((nil)) in /home/heasterian/Downloads/squashfs-root/usr/bin/rpcs3
Error: Global Symbol _ZTHN10cpu_thread17g_tls_this_threadE not found, cannot apply R_X86_64_GLOB_DAT @0x337a9b8 ((nil)) in /home/heasterian/Downloads/squashfs-root/usr/bin/rpcs3
Error: Global Symbol _ZTHN11thread_ctrl17g_tls_this_threadE not found, cannot apply R_X86_64_GLOB_DAT @0x337a9c0 ((nil)) in /home/heasterian/Downloads/squashfs-root/usr/bin/rpcs3
Error: Global Symbol _ZTH16g_tls_log_prefixB5cxx11 not found, cannot apply R_X86_64_GLOB_DAT @0x337a9c8 ((nil)) in /home/heasterian/Downloads/squashfs-root/usr/bin/rpcs3
Error: Global Symbol _ZTHN2vm12g_tls_lockedE not found, cannot apply R_X86_64_GLOB_DAT @0x337a9d0 ((nil)) in /home/heasterian/Downloads/squashfs-root/usr/bin/rpcs3
Error: Global Symbol _ZTHN3idm4g_idE not found, cannot apply R_X86_64_GLOB_DAT @0x337a9d8 ((nil)) in /home/heasterian/Downloads/squashfs-root/usr/bin/rpcs3
Error: Global Symbol _ZTH17g_tls_log_control not found, cannot apply R_X86_64_GLOB_DAT @0x337a9f0 ((nil)) in /home/heasterian/Downloads/squashfs-root/usr/bin/rpcs3
Error: Global Symbol _ZTHN3rsx8overlays14user_interface12g_thread_bitE not found, cannot apply R_X86_64_GLOB_DAT @0x337a9f8 ((nil)) in /home/heasterian/Downloads/squashfs-root/usr/bin/rpcs3
Error: Global Symbol __morestack not found, cannot apply R_X86_64_GLOB_DAT @0x337b730 ((nil)) in /home/heasterian/Downloads/squashfs-root/usr/bin/rpcs3
22598|SIGSEGV @0x648cbd1c (???(/usr/local/bin/box64/0x648cbd1c)) (x64pc=0x1/???:"???", rsp=0x7f92f72688, stack=0x7f92774000:0x7f92f74000 own=(nil) fp=0x69be00), for accessing (nil) (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x1
Segmentation fault (core dumped)

Eagle CAD: missing libraries

To reproduce:

wget https://trial2.autodesk.com/NET17SWDLD/2017/EGLPRM/ESD/Autodesk_EAGLE_9.6.2_English_Linux_64bit.tar.gz
tar -xf ./Autodesk_EAGLE_9.6.2_English_Linux_64bit.tar.gz
box64 ./eagle-9.6.2/eagle

Output:

Box64 with Dynarec v0.1.3 486aa58 built on Jul 11 2021 16:47:54
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 42 Env var
Looking for /home/pi/eagle-9.6.2/eagle
Using native(wrapped) libpthread.so.0
Using emulated /home/pi/eagle-9.6.2/lib/libSuits.so
Using emulated /home/pi/eagle-9.6.2/lib/libQt5WebEngine.so.5
Using emulated /home/pi/eagle-9.6.2/lib/libQt5WebEngineWidgets.so.5
Using emulated /home/pi/eagle-9.6.2/lib/libQt5WebEngineCore.so.5
Using emulated /home/pi/eagle-9.6.2/lib/libQt5WebChannel.so.5
Using emulated /home/pi/eagle-9.6.2/lib/libQt5Positioning.so.5
Using emulated /home/pi/eagle-9.6.2/lib/libQt5Quick.so.5
Using emulated /home/pi/eagle-9.6.2/lib/libQt5Qml.so.5
Using emulated /home/pi/eagle-9.6.2/lib/libQt5Network.so.5
Using emulated /home/pi/eagle-9.6.2/lib/libQt5PrintSupport.so.5
Using emulated /home/pi/eagle-9.6.2/lib/libQt5Xml.so.5
Using emulated /home/pi/eagle-9.6.2/lib/libQt5Svg.so.5
Using emulated /home/pi/eagle-9.6.2/lib/libQt5Widgets.so.5
Using emulated /home/pi/eagle-9.6.2/lib/libQt5Gui.so.5
Using emulated /home/pi/eagle-9.6.2/lib/libQt5Core.so.5
Using emulated /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libGL.so.1
Using native(wrapped) libdl.so.2
Using emulated /home/pi/eagle-9.6.2/lib/libgmodule-2.0.so.0
Error loading needed lib libgobject-2.0.so.0
Error loading one of needed lib
Error initializing needed lib libQt5WebEngineCore.so.5
Error loading one of needed lib
Error initializing needed lib libQt5WebEngine.so.5
Error loading one of needed lib
Error: loading needed libs in elf /home/pi/eagle-9.6.2/eagle

Skyrim SE

Game is crashing after missing function and than opcode.

Warning, function gnutls_decode_rs_value not found in lib libgnutls.so.30
Warning, function gnutls_decode_rs_value not found in lib libgnutls.so.30
16848|0x1c3eea7: Unimplemented Opcode (D0) 66 0F BA FA 4A 48 BD 00 00 C5 80 FE FF FF FF

segfault when starting zoom (and missing syscall)

Using native(wrapped) libXcursor.so.1
Using emulated /home/iansutter/Misc/Applications/zoom/platforminputcontexts/libcomposeplatforminputcontextplugin.so
Using emulated /home/iansutter/Misc/Applications/zoom/imageformats/libqsvg.so
Using emulated libQt5Svg.so.5
[CZPClientLogMgr::LogClientEnvironment] [MacAddr: DC:A6:32:D7:10:E0][client: Linux][OS:  Manjaro ARM x64][Hardware: CPU Core:4 Frenquency:2 G Memory size:3358MB CPU Brand:              Intel(R) Pentium(R) 4 CPU 1000MHz GPU Brand:][Req ID: ]
Linux Client Version is 5.7.1 (26030.0627)
QSG_RENDER_LOOP is 
XDG_CURRENT_DESKTOP = XFCE;   GDMSESSION = xfce;   XDG_SESSION_TYPE = x11
Graphics Card Info:: 
Zoom package arch is 64bit, runing OS arch is x86_64
AppIconMgr::systemDesktopName log Desktop Name: xfce 
Using emulated /home/iansutter/Misc/Applications/zoom/QtQuick.2/libqtquick2plugin.so
Using emulated /home/iansutter/Misc/Applications/zoom/QtQuick/Controls.2/libqtquickcontrols2plugin.so
Using emulated libQt5QuickTemplates2.so.5
Using emulated libQt5QuickControls2.so.5
Using emulated /home/iansutter/Misc/Applications/zoom/QtQuick/Layouts/libqquicklayoutsplugin.so
Using emulated /home/iansutter/Misc/Applications/zoom/QtQuick/Window.2/libwindowplugin.so
Using emulated /home/iansutter/Misc/Applications/zoom/QtQuick/Templates.2/libqtquicktemplates2plugin.so
Using emulated /home/iansutter/Misc/Applications/zoom/xcbglintegrations/libqxcb-glx-integration.so
Using native(wrapped) libxcb-glx.so.0
Using emulated /home/iansutter/Misc/Applications/zoom/QtQuick/Controls/libqtquickcontrolsplugin.so
Using emulated /home/iansutter/Misc/Applications/zoom/imageformats/libqgif.so
Using emulated /home/iansutter/Misc/Applications/zoom/imageformats/libqicns.so
Using emulated /home/iansutter/Misc/Applications/zoom/imageformats/libqico.so
Using emulated /home/iansutter/Misc/Applications/zoom/imageformats/libqjpeg.so
Using emulated /home/iansutter/Misc/Applications/zoom/imageformats/libqtga.so
Using emulated /home/iansutter/Misc/Applications/zoom/imageformats/libqtiff.so
Using emulated /home/iansutter/Misc/Applications/zoom/imageformats/libqwbmp.so
Using emulated /home/iansutter/Misc/Applications/zoom/imageformats/libqwebp.so
Error: PltResolver: Symbol FT_Property_Get(ver 0: FT_Property_Get) not found, cannot apply R_X86_64_JUMP_SLOT 0xffff7065f070 (0xffff702fa4b6) in libQt5XcbQpa.so.5
0887|SIGSEGV @0x9572c0fc (???(0x9572c0fc)) (x64pc=0xffff7039a71c/libQt5XcbQpa.so.5:"libQt5XcbQpa.so.5/_ZN21QFreeTypeFontDatabase13releaseHandleEPv", rsp=0x95661f18, stack=0xffff87690000:0xffff87e90000 own=(nil) fp=0x957af840), for accessing 0x1 (code=1/prot=0), db=0x957b0d40(0x9572c0bc:0x9572c23c/0xffff7039a710:0xffff7039a752/libQt5XcbQpa.so.5/_ZN21QFreeTypeFontDatabase13releaseHandleEPv:clean, hash:a9428177/a9428177) handler=0xffff8a9d36a0
Error: Unsupported Syscall 0x38h (56)
0887|Double SIGSEGV (code=1, pc=0x9572c0fc, addr=0x1)!

Error running Minecraft Launcher

Attempting to run the minecraft-launcher (available here https://www.minecraft.net/en-us/download/alternative)
libgtk native library is available but there is an error

BOX64_LOG=2 box64 '/home/garrett/Downloads/minecraft-launcher/minecraft-launcher' 
Debug level is 2
Box64 with Dynarec v0.1.3 56f6ad8 built on Jul  4 2021 14:09:22
Setting up canary (for Stack protector) at FS:0x28, value:721FE100
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 81 Env var
Looking for /home/garrett/Downloads/minecraft-launcher/minecraft-launcher
Read 31 Section header
Read 10 Program header
Loading Sections Table String (idx = 30)
Loading SymTab Strings (idx = 0)
Loading SymTab (idx = 0)
Loading Dynamic (idx = 24)
The DT_INIT is at address 0x406f60
The DT_FINI is at address 0x501ddc
The DT_INIT_ARRAY is at address 0x770c30
The DT_INIT_ARRAYSZ is 39
The DT_FINI_ARRAY is at address 0x770d68
The DT_FINI_ARRAYSZ is 1
The DT_VERNEED is at address 0x404f38
The DT_VERNEEDNUM is 7
RelA Table @0x405148 (0x378/0x18)
PLT Table @0x4054c0 (type=7 0x1aa0/0x18)
The GOT.PLT Table is at address 0x771000
The GOT Table is at address 0x770fe8..0x771000
The PLT Table is at address 0x406f80..0x408150
The .gnu.version is at address 0x404c9e
The .text is at address 0x408160, and is 1023097 big
Loading DynSym Strings (idx = 6)
Loading DynSym (idx = 5)
Adding "/home/garrett/Downloads/minecraft-launcher/minecraft-launcher" as #0 in elf collection
Elf Addr(v/p)=0x400000/0x400000 Memsize=0x377668 (align=0x200000)
Elf Stack Memsize=1048576 (align=16)
Elf TLS Memsize=64 (align=16)
Allocating 0x400000 memory @0x400000 for Elf "/home/garrett/Downloads/minecraft-launcher/minecraft-launcher"
Loading block #2 @0x400000 (0x1709bc/0x1709bc)
Loading block #3 @0x770c30 (0x19a0/0x6a38)
Loading TLS block #6 @0x64eee050 (0x0/0x40)
Calc stack size, based on 1 elf(s)
Stack is @0x7f964c0000 size=0x800000 align=0x10
Allocate a new X86_64 Emu, with EIP=(nil) and Stack=0x7f964c0000/0x800000
Setup X86_64 Emu
Prepending path "/home/garrett/Downloads/minecraft-launcher/" to BOX64_LD_LIBRARY_PATH
Trying to add "libdl.so.2" to maplib
Trying to load "libdl.so.2"
Simplified name is "libdl.so.2"
Using native(wrapped) libdl.so.2
Trying to add "libpthread.so.0" to maplib
Trying to load "libpthread.so.0"
Simplified name is "libpthread.so.0"
Using native(wrapped) libpthread.so.0
Trying to add "libgtk-3.so.0" to maplib
Trying to load "libgtk-3.so.0"
Simplified name is "libgtk-3.so.0"
Faillure to create lib => fail
Error loading needed lib libgtk-3.so.0
Error loading one of needed lib
Error: loading needed libs in elf /home/garrett/Downloads/minecraft-launcher/minecraft-launcher
Closing 2 libs from maplib 0x64edf090
Free libpthread.so.0
Free libdl.so.2
14807|Free a X86_64 Emu (0x64ee7240)

Regression on Celeste

Last tested working commit:

Author: ptitSeb <[email protected]>
Date:   Mon Jul 12 22:17:50 2021 +0200

    Fixed ELF Signature detection

On current commit 5287e42, the game boots and then freezes on title screen (audio continues to play but video is frozen and there is not response to button input)
tested on bionic and hirsute on switch

there is no helpful output in terminal

Box64 with Dynarec v0.1.3 5287e42 built on Jul 13 2021 18:43:08
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 51 Env var
Looking for /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/Celeste.bin.x86_64
Using native(wrapped) libm.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/mscorlib.dll.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/mscorlib.dll.so"/0x650ad140, 101)
Error loading needed lib /usr/local/lib/mono/aot-cache/amd64/mscorlib.dll.so
Warning: Cannot dlopen("/usr/local/lib/mono/aot-cache/amd64/mscorlib.dll.so"/0x65154a50, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/Celeste.exe.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/Celeste.exe.so"/0x6534ac80, 101)
Error loading needed lib /usr/local/lib/mono/aot-cache/amd64/Celeste.exe.so
Warning: Cannot dlopen("/usr/local/lib/mono/aot-cache/amd64/Celeste.exe.so"/0x6534ac80, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/Celeste.exe.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/Celeste.exe.so"/0x6517b7e0, 101)
Error loading needed lib /usr/local/lib/mono/aot-cache/amd64/Celeste.exe.so
Warning: Cannot dlopen("/usr/local/lib/mono/aot-cache/amd64/Celeste.exe.so"/0x6517b7e0, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/FNA.dll.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/FNA.dll.so"/0x6517a870, 101)
Error loading needed lib /usr/local/lib/mono/aot-cache/amd64/FNA.dll.so
Warning: Cannot dlopen("/usr/local/lib/mono/aot-cache/amd64/FNA.dll.so"/0x650cc8f0, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/System.dll.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/System.dll.so"/0x65400050, 101)
Error loading needed lib /usr/local/lib/mono/aot-cache/amd64/System.dll.so
Warning: Cannot dlopen("/usr/local/lib/mono/aot-cache/amd64/System.dll.so"/0x65400050, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/System.Core.dll.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/System.Core.dll.so"/0x65443750, 101)
Error loading needed lib /usr/local/lib/mono/aot-cache/amd64/System.Core.dll.so
Warning: Cannot dlopen("/usr/local/lib/mono/aot-cache/amd64/System.Core.dll.so"/0x65443750, 101)
Using native(wrapped) libSDL2-2.0.so.0
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/System.Xml.dll.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/System.Xml.dll.so"/0x65612f20, 101)
Error loading needed lib /usr/local/lib/mono/aot-cache/amd64/System.Xml.dll.so
Warning: Cannot dlopen("/usr/local/lib/mono/aot-cache/amd64/System.Xml.dll.so"/0x65612f20, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/System.Configuration.dll.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/System.Configuration.dll.so"/0x65694980, 101)
Error loading needed lib /usr/local/lib/mono/aot-cache/amd64/System.Configuration.dll.so
Warning: Cannot dlopen("/usr/local/lib/mono/aot-cache/amd64/System.Configuration.dll.so"/0x65694980, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libFNA3D.so.0
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libFNA3D.so.0"/0x66858e30, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libFNA3D.so.0.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libFNA3D.so.0.so"/0x668581f0, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libFNA3D.so.0
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libFNA3D.so.0"/0x6674d410, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libFNA3D.so.0.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libFNA3D.so.0.so"/0x6674d410, 101)
Using emulated /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/lib64/libFNA3D.so.0
Controller 0: Nintendo Combined Joy-Cons (joycond)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libFAudio.so.0
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libFAudio.so.0"/0x66c3ee20, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libFAudio.so.0.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libFAudio.so.0.so"/0x66c3ee20, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libFAudio.so.0
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libFAudio.so.0"/0x66c4c060, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libFAudio.so.0.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libFAudio.so.0.so"/0x66c4c060, 101)
Error loading needed lib libFAudio.so.0
Warning: Cannot dlopen("libFAudio.so.0"/0x66dfbc10, 101)
Error loading needed lib libFAudio.so.0.so
Warning: Cannot dlopen("libFAudio.so.0.so"/0x66c4c2a0, 101)
Error loading needed lib libFAudio.so.0
Warning: Cannot dlopen("libFAudio.so.0"/0x66c3eda0, 101)
CELESTE : 1.4.0.0
Using EXT_swap_control_tear VSync!
Using native(wrapped) libGL.so.1
FNA3D Driver: OpenGL
OpenGL Renderer: NVIDIA Tegra X1 (nvgpu)/integrated
OpenGL Driver: 4.6.0 NVIDIA 32.3.1
OpenGL Vendor: NVIDIA Corporation
MojoShader Profile: glsl120
BEGIN LOAD
 - GFX LOAD: 5471ms
 - MTN LOAD: 2530ms
Using EXT_swap_control_tear VSync!
FULLSCREEN
GAME DISPLAYED (in 9777ms)
Using EXT_swap_control_tear VSync!
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libfmodstudio.so.10
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libfmodstudio.so.10"/0x68c79880, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libfmodstudio.so.10.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libfmodstudio.so.10.so"/0x68c79a10, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libfmodstudio.so.10
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libfmodstudio.so.10"/0x68c7aba0, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libfmodstudio.so.10.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libfmodstudio.so.10.so"/0x68c7aba0, 101)
Using emulated /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/lib64/libfmodstudio.so.10
Using emulated /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/lib64/libfmod.so.10
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libfmod_SDL
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libfmod_SDL"/0x7f7401cf70, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libfmod_SDL.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/libfmod_SDL.so"/0x7f7401cf70, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libfmod_SDL
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libfmod_SDL"/0x7f7400ee10, 101)
Error loading needed lib /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libfmod_SDL.so
Warning: Cannot dlopen("/media/garrett/SWR-UBU/home/garrett/Applications_x86_64/lib/libfmod_SDL.so"/0x7f74017f30, 101)
Error loading needed lib libfmod_SDL
Warning: Cannot dlopen("libfmod_SDL"/0x7f7400dce0, 101)
Using emulated /media/garrett/SWR-UBU/home/garrett/Applications_x86_64/celeste-x86/lib64/libfmod_SDL.so
Using EXT_swap_control_tear VSync!
 - AUDIO LOAD: 1432ms
Alarm clock

(I used alarm clock to kill it)

Trouble with SDL2

Testing Celeste Linux from itch.io https://mattmakesgames.itch.io/celeste/download/_2l1Vrwt3A__iBnP6ea4mr8u2f_fheFUfja_zORu

The game plays and runs well when no controller is connected.

After replacing the gamecontrollerdb.txt file with one which includes support for the switch pro controller, the game will no longer launch and instead these errors are in the debug. Any controller should replicate this

Warning, function SDL_GameControllerRumbleTriggers not found in lib libSDL2-2.0.so.0
Warning, function SDL_GameControllerRumbleTriggers not found in lib libSDL2-2.0.so.0
Warning, function SDL_GameControllerRumbleTriggers not found in lib libSDL2-2.0.so.0
Warning, function SDL_GameControllerRumbleTriggers not found in lib libSDL2-2.0.so.0
Warning, function SDL_GameControllerRumbleTriggers not found in lib libSDL2-2.0.so.0
Warning, function SDL_GameControllerRumbleTriggers not found in lib libSDL2-2.0.so.0
Warning, function SDL_GameControllerRumbleTriggers not found in lib libSDL2-2.0.so.0
Warning, function SDL_GameControllerRumbleTriggers not found in lib libSDL2-2.0.so.0
System.TypeInitializationException: The type initializer for 'Microsoft.Xna.Framework.FNAPlatform' threw an exception. ---> System.EntryPointNotFoundException: SDL_GameControllerRumbleTriggers
  at (wrapper managed-to-native) SDL2.SDL.SDL_GameControllerRumbleTriggers(intptr,uint16,uint16,uint)
  at Microsoft.Xna.Framework.SDL2_FNAPlatform.INTERNAL_AddInstance (System.Int32 dev) [0x000b7] in <4c19a1a736204d189ba94c3bc07cd4ac>:0 
  at Microsoft.Xna.Framework.SDL2_FNAPlatform.ProgramInit (Microsoft.Xna.Framework.LaunchParameters args) [0x0027b] in <4c19a1a736204d189ba94c3bc07cd4ac>:0 
  at Microsoft.Xna.Framework.FNAPlatform..cctor () [0x00474] in <4c19a1a736204d189ba94c3bc07cd4ac>:0 
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at Microsoft.Xna.Framework.Game..ctor () [0x000ad] in <4c19a1a736204d189ba94c3bc07cd4ac>:0 
  at Monocle.Engine..ctor (System.Int32 width, System.Int32 height, System.Int32 windowWidth, System.Int32 windowHeight, System.String windowTitle, System.Boolean fullscreen, System.Boolean vsync) [0x0000b] in <d7b2abb405ec4c97954549f0a02e4a41>:0 
  at Celeste.Celeste..ctor () [0x00012] in <d7b2abb405ec4c97954549f0a02e4a41>:0 
  at Celeste.Celeste.Main (System.String[] args) [0x0012a] in <d7b2abb405ec4c97954549f0a02e4a41>:0 

Regression on arm64

First and foremost let me thank you for this amazing piece of work. I've been playing Hollow Knight on my L4T Nintendo Switch, and I updated recently to the latest commit at the time of writing this (7948a25). To my surprise, the game now hangs with 0% CPU usage for the box64 process.

I started testing commits one by one. The first one I ever tried was this one: 67c80f6 which added Tegra X1/T1 targets. I can confirm that still works.

Then I basically took them one by one and noticed when it got broken. Commit 27b3a3f causes box64 to segfault with "Aborted (Core Dumped)" It is the first occurence of the segfault since the addition of the Tegra targets. Commit fff2eff still works. The one between I can't remember if I tested, but most likely I did and it works.

Commit 3bab7d6 is also segfaulting with that same message, and commit 85a460a hangs with 0% usage. Please note that after 27b3a3f I did not test them anymore one by one, but in jumps (these ones mentioned here).

My cmake flags are -DTEGRAX1=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DARM_DYNAREC=ON

Please let me know of any other useful information you may need!

Missing lib downloader support

I have written a small script that downloads and extracts the missing libs automatically on being provided the name logged by box64 as a missing lib. It is a hasel to keep downloading and running only to find another dependency missing.

Is there a recommendation or any roadmap about incorporating something similar into box64/86 ?

I can share the bash script if not so.

Run Appimages

Maybe just a fever dream but then so is box64 :)
Is there anyway to run an x86_64 appimage? when I try to run Musescore's app image

https://musescore.org/en/download

I get the standard
cannot execute binary file: Exec format error

I assume it has something to do with AppImage's contained nature not being picked up by box64

Trackmania Server missing Symbols and Opcode

Trackmania Server crashes with a few missing symbols and an unimplemented Opcode

Box64 with Dynarec v0.1.3 cb73eaf built on Jul  6 2021 16:14:32
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 24 Env var
Looking for ./TrackmaniaServer
Using native(wrapped) libm.so.6
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libutil.so.1
Error: Global Symbol _ZTH22g_ClassicThreadContext not found, cannot apply R_X86_64_GLOB_DAT @0x7f8a6a3558 ((nil)) in ./TrackmaniaServer
Error: Global Symbol _ZTHN14CFastStringInt6s_TempE not found, cannot apply R_X86_64_GLOB_DAT @0x7f8a6a3560 ((nil)) in ./TrackmaniaServer
Error: Global Symbol _ZTHN11CFastString6s_TempE not found, cannot apply R_X86_64_GLOB_DAT @0x7f8a6a3580 ((nil)) in ./TrackmaniaServer
Error: Global Symbol _ZTH16g_FrameAllocator not found, cannot apply R_X86_64_GLOB_DAT @0x7f8a6a3598 ((nil)) in ./TrackmaniaServer
Error: Global Symbol _ZTHN4NVis12g_iAsyncCopyE not found, cannot apply R_X86_64_GLOB_DAT @0x7f8a6a35a0 ((nil)) in ./TrackmaniaServer
Error: Global Symbol _ZTHN4NVis12g_iAsyncSwapE not found, cannot apply R_X86_64_GLOB_DAT @0x7f8a6a35a8 ((nil)) in ./TrackmaniaServer
Error: Global Symbol _ZTHN12CPlugFileImg18s_EnableLoadTexelsE not found, cannot apply R_X86_64_GLOB_DAT @0x7f8a6a35b0 ((nil)) in ./TrackmaniaServer
Error: Global Symbol _ZTHN12CPlugFileDds32s_MipMapSkipAtLoad_MaxLevelCountE not found, cannot apply R_X86_64_GLOB_DAT @0x7f8a6a35d8 ((nil)) in ./TrackmaniaServer
Error: Global Symbol _ZTHN12CPlugFileImg15s_EnableInvertYE not found, cannot apply R_X86_64_GLOB_DAT @0x7f8a6a3600 ((nil)) in ./TrackmaniaServer
Error: Global Symbol _ZTHN12CPlugFilePng16s_LoadPaletteIdsE not found, cannot apply R_X86_64_GLOB_DAT @0x7f8a6a3620 ((nil)) in ./TrackmaniaServer
Error: Global Symbol _ZTHN4NVis12g_iFrameSwapE not found, cannot apply R_X86_64_GLOB_DAT @0x7f8a6a3638 ((nil)) in ./TrackmaniaServer
Error: Global Symbol _ZTH35g_CurThread_PlugFilePreloader_iHead not found, cannot apply R_X86_64_GLOB_DAT @0x7f8a6a36a0 ((nil)) in ./TrackmaniaServer
Error: Global Symbol _ZTHN18CPlugFileOggVorbis30s_Import_ForcePrecacheToMemoryE not found, cannot apply R_X86_64_GLOB_DAT @0x7f8a6a36a8 ((nil)) in ./TrackmaniaServer
7667|0x7f8a099444: Unimplemented Opcode (F2) 66 0F 3A 21 EE 10 0F 28 F1 0F 57 F0 F3 0F 59

add64 overflow calculation whether mistake?

static inline uint64_t add64(x64emu_t *emu, uint64_t d, uint64_t s)
{
	emu->res.u64 = d + s;
	emu->op1.u64 = d;
	emu->op2.u64 = s;
	emu->df = d_add64;
    return emu->res.u64;
}

(x64primop.h)

Here, the result of adding two 64 bits is stored in type of Uint64_t, The most significant overflow result is lost in this Uint64_t type.

Is that right?

Nbench - missing opcode

Missing opcode for https://github.com/zosxang/nbench

Box64 with Dynarec v0.1.3 a2aa5fc built on Jul  6 2021 22:26:38
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 57 Env var
Looking for /hirsute/usr/bin/nbench
198001|0x403258: Unimplemented Opcode (00) 67 E8 F2 22 01 00 F4 90 F3 0F 1E FA C3 66 2E

Zoom: Error initializing libglib-2.0.so.0 & Error loading libpcre.so.3 (both x64)

Here are the x64 libraries I'm using: zoom_x64_libs.zip
I did put the x64 version of libpcre3 (from here) in the zoom folder.
here is the output:

itai@pinebookpro:~/Downloads/zoom$ ./zoom 
Box64 with Dynarec v0.1.2 de8b4da built on Jul  4 2021 01:24:30
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 58 Env var
Looking for ./zoom
Zoom detected, trying to use system libturbojpeg if possible
Using native(wrapped) libdl.so.2
Using native(wrapped) libX11.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXext.so.6
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using emulated libxcb-xfixes.so.0
Using emulated libxcb-shape.so.0
Using emulated libxcb-shm.so.0
Using emulated libxcb-randr.so.0
Using emulated libxcb-image.so.0
Using emulated libxcb-keysyms.so.1
Using emulated libxcb-xtest.so.0
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXtst.so.6
Using emulated libglib-2.0.so.0
Using native(wrapped) libdbus-1.so.3
Using emulated libQt5QuickWidgets.so.5
Using emulated libQt5Quick.so.5
Using emulated libQt5Widgets.so.5
Using emulated libQt5X11Extras.so.5
Using emulated libQt5Gui.so.5
Using emulated libQt5Qml.so.5
Using emulated libQt5Network.so.5
Using emulated libQt5Script.so.5
Using emulated libQt5DBus.so.5
Using emulated libQt5Core.so.5
Using native(wrapped) libGL.so.1
Using native(wrapped) libpthread.so.0
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using emulated libxcb-util.so.0
Error loading needed lib libpcre.so.3
Error loading one of needed lib
Error initializing needed lib libglib-2.0.so.0
Error loading one of needed lib
Error: loading needed libs in elf ./zoom
itai@pinebookpro:~/Downloads/zoom$ 

Some problems of R_RIP assignment

x64run.c ==>
...
case FF:
...
case 4:
R_RIP = (uintptr_t)getAlternate((void*)ED->q[0]);
STEP
break;
case 5:
if(nextop>0xc0){
...
}else {
R_RIP = ED->q[0];
R_CS = (ED+1)->word[0];
...

Why the first ‘R_ RIP = (uintptr_t)getAlternate((void*)ED->q[0]);’ and second ‘R_RIP = ED->q[0];’?
I think the second place should be ‘R_RIP = (uintptr_t)getAlternate((void*)ED->q[0]);’, right?

Zoom: typing doesn't work

when I try to type the program freezes. here is the output:

Error: PltResolver: Symbol xkb_state_key_get_one_sym(ver 13: xkb_state_key_get_one_sym@V_0.5.0) not found, cannot apply R_X86_64_JUMP_SLOT 0xffff8f997e78 (0xffff8f6340c6) in libQt5XcbQpa.so.5
Library libxcb-glx.so.0 (0x981c9340) needs 0x981b3550, but it was not found. Ignoring.
Library libQt5QuickControls2.so.5 (0xffff80f07f00) needs 0xffff80d2a710, but it was not found. Ignoring.
Library libQt5QuickTemplates2.so.5 (0xffff80d690d0) needs 0xffff819f4100, but it was not found. Ignoring.
Library libQt5QuickTemplates2.so.5 (0xffff80d690d0) needs 0xffff80d2a710, but it was not found. Ignoring.
Library libQt5Svg.so.5 (0x8448f340) needs 0x844857d0, but it was not found. Ignoring.
Library libxkbcommon.so.0 (0x83cdfec0) needs 0x981b3550, but it was not found. Ignoring.
Library libxkbcommon.so.0 (0x83cdfec0) needs 0x83e5ec50, but it was not found. Ignoring.
Library libQt5XcbQpa.so.5 (0x83bc0320) needs 0x981b3550, but it was not found. Ignoring.
Library libQt5XcbQpa.so.5 (0x83bc0320) needs 0x83bb9030, but it was not found. Ignoring.
Library libxkbcommon.so.0 (0x83cdfec0) needs 0x83bb9030, but it was not found. Ignoring.
Library libxkbcommon-x11.so.0 (0x83cdfa70) needs 0x981b3550, but it was not found. Ignoring.
Library libxkbcommon-x11.so.0 (0x83cdfa70) needs 0x83bb9030, but it was not found. Ignoring.
Library libXrender.so.1 (0x83cdcca0) needs 0x981b3550, but it was not found. Ignoring.
Library libXrender.so.1 (0x83cdcca0) needs 0x83bb9030, but it was not found. Ignoring.
Library libX11-xcb.so.1 (0x83cdcab0) needs 0x981b3550, but it was not found. Ignoring.
Library libX11-xcb.so.1 (0x83cdcab0) needs 0x83bb9030, but it was not found. Ignoring.
Library libfreetype.so.6 (0x83cdc810) needs 0x981b3550, but it was not found. Ignoring.
Library libfreetype.so.6 (0x83cdc810) needs 0x83bb9030, but it was not found. Ignoring.
Library libfontconfig.so.1 (0x83cd2e70) needs 0x981b3550, but it was not found. Ignoring.
Library libfontconfig.so.1 (0x83cd2e70) needs 0x83bb9030, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0xa00d7be0, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x9fbae550, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x9f851900, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x9c53eb50, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x9c431ed0, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x9c2ffdd0, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x9c1f3310, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x9bfd1170, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x9bec3920, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x9bdb5870, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x9bca7ea0, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0xffff825c9510, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x981b3550, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0xffff819f4100, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0xffff817bcfc0, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0xffff816834d0, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0xffff80d2a710, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0xffff801e6970, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x844857d0, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x83e5ec50, but it was not found. Ignoring.
Library libQt5Core.so.5 (0x824f5140) needs 0x83bb9030, but it was not found. Ignoring.
Library libQt5DBus.so.5 (0x8247ad20) needs 0xa00d7be0, but it was not found. Ignoring.
Library libQt5DBus.so.5 (0x8247ad20) needs 0x9f851900, but it was not found. Ignoring.
Library libQt5DBus.so.5 (0x8247ad20) needs 0x981b3550, but it was not found. Ignoring.
Library libQt5DBus.so.5 (0x8247ad20) needs 0x83bb9030, but it was not found. Ignoring.
Library libQt5Widgets.so.5 (0x81c2ef80) needs 0xffff825c9510, but it was not found. Ignoring.
Library libQt5Widgets.so.5 (0x81c2ef80) needs 0x844857d0, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0x9c53eb50, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0x9c431ed0, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0x9c2ffdd0, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0x9c1f3310, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0x9bfd1170, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0x9bec3920, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0x9bdb5870, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0x9bca7ea0, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0xffff825c9510, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0x981b3550, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0xffff819f4100, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0xffff817bcfc0, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0xffff816834d0, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0xffff80d2a710, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0xffff801e6970, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0x844857d0, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0x83e5ec50, but it was not found. Ignoring.
Library libQt5Gui.so.5 (0x81eab7c0) needs 0x83bb9030, but it was not found. Ignoring.
Library libQt5Quick.so.5 (0x819cda10) needs 0xffff825c9510, but it was not found. Ignoring.
Library libQt5Quick.so.5 (0x819cda10) needs 0xffff819f4100, but it was not found. Ignoring.
Library libQt5Quick.so.5 (0x819cda10) needs 0xffff817bcfc0, but it was not found. Ignoring.
Library libQt5Quick.so.5 (0x819cda10) needs 0xffff816834d0, but it was not found. Ignoring.
Library libQt5Quick.so.5 (0x819cda10) needs 0xffff80d2a710, but it was not found. Ignoring.
Library libQt5Quick.so.5 (0x819cda10) needs 0xffff801e6970, but it was not found. Ignoring.
Library libQt5Network.so.5 (0x822ba670) needs 0xa00d7be0, but it was not found. Ignoring.
Library libQt5Network.so.5 (0x822ba670) needs 0x9fbae550, but it was not found. Ignoring.
Library libQt5Network.so.5 (0x822ba670) needs 0x9f851900, but it was not found. Ignoring.
Library libQt5Network.so.5 (0x822ba670) needs 0xffff825c9510, but it was not found. Ignoring.
Library libQt5Network.so.5 (0x822ba670) needs 0xffff819f4100, but it was not found. Ignoring.
Library libQt5Network.so.5 (0x822ba670) needs 0xffff817bcfc0, but it was not found. Ignoring.
Library libQt5Network.so.5 (0x822ba670) needs 0xffff816834d0, but it was not found. Ignoring.
Library libQt5Network.so.5 (0x822ba670) needs 0xffff80d2a710, but it was not found. Ignoring.
Library libQt5Network.so.5 (0x822ba670) needs 0xffff801e6970, but it was not found. Ignoring.
Library libQt5Qml.so.5 (0x820b03f0) needs 0xffff825c9510, but it was not found. Ignoring.
Library libQt5Qml.so.5 (0x820b03f0) needs 0xffff819f4100, but it was not found. Ignoring.
Library libQt5Qml.so.5 (0x820b03f0) needs 0xffff817bcfc0, but it was not found. Ignoring.
Library libQt5Qml.so.5 (0x820b03f0) needs 0xffff816834d0, but it was not found. Ignoring.
Library libQt5Qml.so.5 (0x820b03f0) needs 0xffff80d2a710, but it was not found. Ignoring.
Library libQt5Qml.so.5 (0x820b03f0) needs 0xffff801e6970, but it was not found. Ignoring.
Library libz.so.1 (0x82763af0) needs 0x9c2ffdd0, but it was not found. Ignoring.
Library libz.so.1 (0x82763af0) needs 0x981b3550, but it was not found. Ignoring.
Library libz.so.1 (0x82763af0) needs 0x83bb9030, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0xa00d7be0, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x9fbae550, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x9f851900, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x9c53eb50, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x9c431ed0, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x9c2ffdd0, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x9c1f3310, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x9bfd1170, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x9bec3920, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x9bdb5870, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x9bca7ea0, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0xffff825c9510, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x981b3550, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0xffff819f4100, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0xffff817bcfc0, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0xffff816834d0, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0xffff80d2a710, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0xffff801e6970, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x844857d0, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x83e5ec50, but it was not found. Ignoring.
Library libgcc_s.so.1 (0x8274ca00) needs 0x83bb9030, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0xa00d7be0, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x9fbae550, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x9f851900, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x9c53eb50, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x9c431ed0, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x9c2ffdd0, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x9c1f3310, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x9bfd1170, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x9bec3920, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x9bdb5870, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x9bca7ea0, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0xffff825c9510, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x981b3550, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0xffff819f4100, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0xffff817bcfc0, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0xffff816834d0, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0xffff80d2a710, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0xffff801e6970, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x844857d0, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x83e5ec50, but it was not found. Ignoring.
Library libstdc++.so.6 (0x82685560) needs 0x83bb9030, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0xa00d7be0, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x9fbae550, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x9f851900, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x9c53eb50, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x9c431ed0, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x9c2ffdd0, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x9c1f3310, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x9bfd1170, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x9bec3920, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x9bdb5870, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x9bca7ea0, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0xffff825c9510, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x981b3550, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0xffff819f4100, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0xffff817bcfc0, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0xffff816834d0, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0xffff80d2a710, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0xffff801e6970, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x844857d0, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x83e5ec50, but it was not found. Ignoring.
Library libc.so.6 (0x8274c410) needs 0x83bb9030, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0xa00d7be0, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x9fbae550, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x9f851900, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x9c53eb50, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x9c431ed0, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x9c2ffdd0, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x9c1f3310, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x9bfd1170, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x9bec3920, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x9bdb5870, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x9bca7ea0, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0xffff825c9510, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x981b3550, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0xffff819f4100, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0xffff817bcfc0, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0xffff816834d0, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0xffff80d2a710, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0xffff801e6970, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x844857d0, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x83e5ec50, but it was not found. Ignoring.
Library libm.so.6 (0x8274b270) needs 0x83bb9030, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0xa00d7be0, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x9fbae550, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x9f851900, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x9c53eb50, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x9c431ed0, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x9c2ffdd0, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x9c1f3310, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x9bfd1170, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x9bec3920, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x9bdb5870, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x9bca7ea0, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0xffff825c9510, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x981b3550, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0xffff819f4100, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0xffff817bcfc0, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0xffff816834d0, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0xffff80d2a710, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0xffff801e6970, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x844857d0, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x83e5ec50, but it was not found. Ignoring.
Library libpthread.so.0 (0x826853b0) needs 0x83bb9030, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0x9c53eb50, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0x9c431ed0, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0x9c2ffdd0, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0x9c1f3310, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0x9bfd1170, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0x9bec3920, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0x9bdb5870, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0x9bca7ea0, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0xffff825c9510, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0x981b3550, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0xffff819f4100, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0xffff817bcfc0, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0xffff816834d0, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0xffff80d2a710, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0xffff801e6970, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0x844857d0, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0x83e5ec50, but it was not found. Ignoring.
Library libGL.so.1 (0x82682a50) needs 0x83bb9030, but it was not found. Ignoring.
Library libXext.so.6 (0x81939eb0) needs 0x981b3550, but it was not found. Ignoring.
Library libXext.so.6 (0x81939eb0) needs 0x83bb9030, but it was not found. Ignoring.
Library libxcb.so.1 (0x81939ce0) needs 0x981b3550, but it was not found. Ignoring.
Library libxcb.so.1 (0x81939ce0) needs 0x83bb9030, but it was not found. Ignoring.
Library libX11.so.6 (0x819370b0) needs 0x981b3550, but it was not found. Ignoring.
Library libX11.so.6 (0x819370b0) needs 0x83bb9030, but it was not found. Ignoring.
Library libdl.so.2 (0x81934be0) needs 0x981b3550, but it was not found. Ignoring.
Library libdl.so.2 (0x81934be0) needs 0x83bb9030, but it was not found. Ignoring.
Stop waiting for remaining thread 10072
Stop waiting for remaining thread 10073
Stop waiting for remaining thread 10099
Stop waiting for remaining thread 10100
Stop waiting for remaining thread 10101
Stop waiting for remaining thread 10102
Stop waiting for remaining thread 10103
Stop waiting for remaining thread 10106
Stop waiting for remaining thread 10107
Stop waiting for remaining thread 10111
Stop waiting for remaining thread 10147
Stop waiting for remaining thread 10149
Stop waiting for remaining thread 10150
Stop waiting for remaining thread 10169
Stop waiting for remaining thread 10171
Stop waiting for remaining thread 10172
Stop waiting for remaining thread 10173
Stop waiting for remaining thread 10174
Aborted (core dumped)

WoW Classic - Classic era

Game crashes with missing opcode using interpreter and sigsegv using dynarec.

Interpreter opcode:

13433|0x14000c9ab: Unimplemented Opcode (53) F4 48 C7 45 38 AA 13 00 00 48 8B 45 38 48 35

Dynarec:

13339|SIGSEGV @0x7f9bda8ac0 (???(0x7f9bda8ac0)) (x64pc=0x14000e8ce/???:"???", rsp=0x22d778, stack=0x7fa034a000:0x7fa0b4a000 own=(nil) fp=(nil)), for accessing 0x728b4428 (code=1/prot=0), db=0x6bfc2990(0x7f9bda8930:0x7f9bda8c70/0x14000e897:0x14000e908/???:clean, hash:9974f0ae/9974f0ae) handler=0x7bcb9e30
13339|SIGSEGV @0x7f9ad54568 (???(0x7f9ad54568)) (x64pc=0x1400b3dd1/???:"???", rsp=0x22f498, stack=0x7fa034a000:0x7fa0b4a000 own=(nil) fp=0x22f4d9), for accessing 0x3e73245e (code=2/prot=40), db=0x6bfd7d70(0x7f9ad5455c:0x7f9ad545ac/0x1400b3dd1:0x1400b3dd3/???:clean, hash:1515/1515) handler=0x7bcb9e30
0009:err:seh:call_stack_handlers invalid frame 22f4e9 (0x132000-0x230000)
0009:err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception.

Two potential deadlock errors due to the unreleased lock &mutex_mmap

Dear developers:
Thank you for your checking. Similarly, in the function AllocDynarecMap, the lock &mutex_mmap also may not be released. The fix is to insert pthread_mutex_unlock(&mutex_mmap); before returning.

pthread_mutex_lock(&mutex_mmap);

uintptr_t AllocDynarecMap(dynablock_t* db, size_t size)
{
    if(!size)
        return 0;
    if(size>MMAPSIZE-2*sizeof(blockmark_t)) {
        #ifndef USE_MMAP
        pthread_mutex_lock(&mutex_mmap);  // here
        void *p = NULL;
        if(posix_memalign(&p, box64_pagesize, size)) {
            dynarec_log(LOG_INFO, "Cannot create dynamic map of %zu bytes\n", size);
            return 0;   // return without releasing
        }
        mprotect(p, size, PROT_READ | PROT_WRITE | PROT_EXEC);
        #else
        void* p = mmap(NULL, size, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0);
        if(p==(void*)-1) {
            dynarec_log(LOG_INFO, "Cannot create dynamic map of %zu bytes\n", size);
            return 0;  // return without releasing
        }
        #endif
        ...;

    return ret;
}

Best,

divinity original sin - GoG - libc Error

Hardware: Pi4

Try to run the game
Console output:

pi@raspberrypi:~/games/Divinity_Original/game $ ./runner.sh
Box64 with Dynarec v0.1.3 84626f0 built on Jul 28 2021 15:59:05
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 25 Env var
Looking for ./EoCApp
Using emulated libc++abi.so.1
Using emulated libicuuc.so.54
Using emulated libicudata.so.54
Using native(wrapped) libSDL2-2.0.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libm.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libpthread.so.0
Using native(wrapped) libz.so.1
Using native(wrapped) libpcre.so.3
Using emulated libjpeg.so.8
Using native(wrapped) libpng16.so.16
Using emulated libosiris.so.2
Using native(wrapped) libopenal.so.1
Using emulated libbink2.so
Using native(wrapped) libGL.so.1
Using emulated libGLEW.so.1.10
Using emulated libsteam_api.so
Using emulated libOGLBinding.so
Using emulated libGameEngine.so
Using emulated libRenderFramework.so
Using emulated libCoreLib.so
Using emulated libc++.so.1
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Error: Unsupported libc Syscall 0x13B (315)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.