ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.85k stars 279 forks source link

scarface the world is yours 2006, cpu not supported #1742

Open nydal91 opened 2 months ago

nydal91 commented 2 months ago

hi cant open scarface the world is yours, try it on wine 9.15 wow64. here is the terminal bug:

Dynarec will try to make bigger blocks even on non-elf memory
Dynarec will continue block for 512 bytes on forward jump
Dynarec will try to normalize generated NAN
Dynarec will try to generate x86 precise IEEE->int rounding
Dynarec will play it safe with x64 flags
Dynarec will optimize CALL/RET
Dynarec will not detect MonoBleedingEdge
Dynarec will not detect libjvm
BOX64 will not detect libjvm
BOX64 will not detect UnityPlayer.dll
Will expose AVX capabilities
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Cortex-A510 Cortex-A715 Cortex-A710 - with 8 Cores
Will use Hardware counter measured at 19.2 MHz emulating 2.4 GHz
Params database has 87 entries
Using bash "/opt/box64_bash"
Box64 with Dynarec v0.3.1 730eb1f4 built on Aug 12 2024 10:09:28
BOX64: Wine64 detected, WINEPRELOADRESERVE=""
BOX64: Didn't detect 48bits of address space, considering it's 39bits
WINE prereserve of 0x10000:0x8000 done
WINE prereserve of 0x110000:0x30000000 done
WINE prereserve of 0x7f000000:0x3000000 done
BOX64: Detected running wine with "scarface.exe"
Counted 43 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/games/:/usr/local/games/:/snap/bin/:/opt/wine/bin/
Looking for wine
Apply RC params for wine
Applying BOX64_MAXCPU=64
argv[1]="scarface.exe"
Rename process to "wine"
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) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /opt/wine/bin/../lib/wine/x86_64-unix/ntdll.so
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Dynarec will try to make bigger blocks even on non-elf memory
Dynarec will continue block for 512 bytes on forward jump
Dynarec will try to normalize generated NAN
Dynarec will try to generate x86 precise IEEE->int rounding
Dynarec will play it safe with x64 flags
Dynarec will optimize CALL/RET
Dynarec will not detect MonoBleedingEdge
Dynarec will not detect libjvm
BOX64 will not detect libjvm
BOX64 will not detect UnityPlayer.dll
Will expose AVX capabilities
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Cortex-A510 Cortex-A715 Cortex-A710 - with 8 Cores
Will use Hardware counter measured at 19.2 MHz emulating 2.4 GHz
Params database has 87 entries
Using bash "/opt/box64_bash"
Box64 with Dynarec v0.3.1 730eb1f4 built on Aug 12 2024 10:09:28
BOX64: Wine64 detected, WINEPRELOADRESERVE=""
BOX64: Didn't detect 48bits of address space, considering it's 39bits
WINE prereserve of 0x10000:0x8000 done
WINE prereserve of 0x110000:0x30000000 done
WINE prereserve of 0x7f000000:0x3000000 done
BOX64: Detected running wine with "scarface.exe"
Counted 45 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/games/:/usr/local/games/:/snap/bin/:/opt/wine/bin/
Looking for /opt/wine/bin/wine
Apply RC params for wine
Applying BOX64_MAXCPU=64
argv[1]="scarface.exe"
Rename process to "wine"
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) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /opt/wine/bin/../lib/wine/x86_64-unix/ntdll.so
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
posix_spawn(0x781e7eecec, "/opt/wine/bin/wineserver", (nil), (nil), 0x781e7eecf0["/opt/wine/bin/wineserver", "", ...], 0x781e7ef0b0), IsX64=1, IsX86=0 IsScript=0 envp is context->envv
 => posix_spawn(0x781e7eecec, "/usr/local/bin/box64", (nil), (nil), 0x7ffbec95d0 ["/usr/local/bin/box64", "/opt/wine/bin/wineserver", ""...:1], 0x7ffbec9c68)
posix_spawn returned 0
Dynarec will try to make bigger blocks even on non-elf memory
Dynarec will continue block for 512 bytes on forward jump
Dynarec will try to normalize generated NAN
Dynarec will try to generate x86 precise IEEE->int rounding
Dynarec will play it safe with x64 flags
Dynarec will optimize CALL/RET
Dynarec will not detect MonoBleedingEdge
Dynarec will not detect libjvm
BOX64 will not detect libjvm
BOX64 will not detect UnityPlayer.dll
Will expose AVX capabilities
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on Cortex-A510 Cortex-A715 Cortex-A710 - with 8 Cores
Will use Hardware counter measured at 19.2 MHz emulating 2.4 GHz
Params database has 87 entries
Using bash "/opt/box64_bash"
Box64 with Dynarec v0.3.1 730eb1f4 built on Aug 12 2024 10:09:28
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 45 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/games/:/usr/local/games/:/snap/bin/:/opt/wine/bin/
Looking for /opt/wine/bin/wineserver
Rename process to "wineserver"
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.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) libutil.so.1
Using native(wrapped) libbsd.so.0
esync: up and running.
Using emulated /opt/wine/lib/wine/x86_64-unix/win32u.so
Using native(wrapped) libm.so.6
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libexpat.so.1
Using native(wrapped) libvulkan.so.1
Using emulated /opt/wine/lib/wine/x86_64-unix/winex11.so
Using native(wrapped) libXext.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXfixes.so.3
Using emulated /opt/wine/lib/wine/x86_64-unix/bcrypt.so
Using native(wrapped) libgnutls.so.30
Look for gnutls_x509_spki_set_rsa_oaep_params in loaded elfs
Warning, function gnutls_x509_spki_set_rsa_oaep_params not found in lib libgnutls.so.30
Look for gnutls_x509_spki_set_rsa_oaep_params in loaded elfs
Warning, function gnutls_x509_spki_set_rsa_oaep_params not found in lib libgnutls.so.30
Look for gnutls_x509_spki_set_rsa_oaep_params in loaded elfs
Warning, function gnutls_x509_spki_set_rsa_oaep_params not found in lib libgnutls.so.30
Look for gnutls_x509_spki_set_rsa_oaep_params in loaded elfs
Warning, function gnutls_x509_spki_set_rsa_oaep_params not found in lib libgnutls.so.30
Using emulated /opt/wine/lib/wine/x86_64-unix/crypt32.so
Using emulated /opt/wine/lib/wine/x86_64-unix/opengl32.so
Using emulated /opt/wine/lib/wine/x86_64-unix/dnsapi.so
Using native(wrapped) libresolv.so.2
Using emulated /opt/wine/lib/wine/x86_64-unix/ws2_32.so
Using emulated /opt/wine/lib/wine/x86_64-unix/netapi32.so
Warning, CPUID command 2FAF0802 unsupported (ECX=0020fa5c)
Warning, CPUID command 2FAF0803 unsupported (ECX=0020fa5c)
Warning, CPUID command 2FAF0804 unsupported (ECX=0020fa5c)
Using native(wrapped) libGL.so.1
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
wine: Unhandled page fault on read access to 00000035 at address 7ADF0E5A (thread 0024), starting debugger...
ptitSeb commented 2 months ago

This block is absolutly unreadable.

And I don't think the issue are the CPUID warning (that comes from box64). Probably more the OpenGL issue that seems to popup at the end.

Anyway, difficult to see anything in the text blob...

ksco commented 2 months ago

I edited the textblob to be more readable, the error is: error: XDG_RUNTIME_DIR is invalid or not set in the environment.

nydal91 commented 2 months ago

I edited the textblob to be more readable, the error is: error: XDG_RUNTIME_DIR is invalid or not set in the environment.

It is not XDG_RUNTIME_DIR, it comes up on every game. Going to try more scarface see if i got it to work