Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

res_query not found, cannot apply R_386_JMP_SLOT #1018

Open
GoldenPalazzo opened this issue Dec 21, 2024 · 0 comments
Open

res_query not found, cannot apply R_386_JMP_SLOT #1018

GoldenPalazzo opened this issue Dec 21, 2024 · 0 comments

Comments

@GoldenPalazzo
Copy link

GoldenPalazzo commented Dec 21, 2024

Trying to launch Modern Warfare 2 IW4X from X-Labs with Box64 + Wine 9.21 on my Pi 5 gives me this

$ DISPLAY=:0 MESA_LOADER_DRIVER_OVERRIDE=v3d WINEPREFIX=~/RetroPie/roms/pc_games/prefixes/dxvk64 wine64 iw4x.exe

Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A76 with 4 Cores
Will use Hardware counter measured at 54.0 MHz emulating 3.4 GHz
Params database has 95 entries
Box64 with Dynarec v0.3.1 5ab8a6f6 built on Nov 16 2024 12:28:04
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 "iw4x.exe"
Counted 27 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/golden/.cargo/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/
Looking for /usr/local/bin/wine64
Apply RC params for wine64
Applying BOX64_MAXCPU=64
argv[1]="iw4x.exe"
Rename process to "wine64"
Using native(wrapped) libdl.so.2
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) libresolv.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/golden/wine/bin/../lib64/wine/x86_64-unix/ntdll.so
Using emulated /usr/lib/box64-x86_64-linux-gnu/libunwind.so.8
Using native(wrapped) liblzma.so.5
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A76 with 4 Cores
Will use Hardware counter measured at 54.0 MHz emulating 3.4 GHz
Params database has 95 entries
Box64 with Dynarec v0.3.1 5ab8a6f6 built on Nov 16 2024 12:28:04
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 "iw4x.exe"
Counted 29 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/golden/.cargo/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/
Looking for /home/golden/wine/bin/wine64
Apply RC params for wine64
Applying BOX64_MAXCPU=64
argv[1]="iw4x.exe"
Rename process to "wine64"
Using native(wrapped) libdl.so.2
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) libresolv.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/golden/wine/bin/../lib64/wine/x86_64-unix/ntdll.so
Using emulated /usr/lib/box64-x86_64-linux-gnu/libunwind.so.8
Using native(wrapped) liblzma.so.5
posix_spawn(0x7fb830f68c, "/home/golden/wine/bin/wineserver", (nil), (nil), 0x7fb830f690["/home/golden/wine/bin/wineserver", "", ...], 0x7fb830fa50), IsX64=1, IsX86=0 IsScript=0 envp is context->envv
 => posix_spawn(0x7fb830f68c, "/usr/local/bin/box64", (nil), (nil), 0x7fd89026b0 ["/usr/local/bin/box64", "/home/golden/wine/bin/wineserver", ""...:1], 0x7fd8902e88)
posix_spawn returned 0
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A76 with 4 Cores
Will use Hardware counter measured at 54.0 MHz emulating 3.4 GHz
Params database has 95 entries
Box64 with Dynarec v0.3.1 5ab8a6f6 built on Nov 16 2024 12:28:04
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 29 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/home/golden/.cargo/bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/
Looking for /home/golden/wine/bin/wineserver
Rename process to "wineserver"
Using native(wrapped) libdl.so.2
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) libresolv.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Using emulated /home/golden/wine/lib64/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
Box86 with Dynarec v0.3.7 1e749beb built on Nov 16 2024 12:39:38
Error: Symbol res_query not found, cannot apply R_386_JMP_SLOT 0x60504020 (0x10b6) in /home/golden/wine/lib/wine/i386-unix/dnsapi.so
Error: relocating Plt symbols in elf dnsapi.so
011c:err:dnsapi:DllMain No libresolv support, expect problems
0120:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 0870FF18
011c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
011c:fixme:system:NtUserSystemParametersInfo Unimplemented action: 59 (SPI_SETSTICKYKEYS)
011c:fixme:system:NtUserSystemParametersInfo Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
011c:fixme:system:NtUserSystemParametersInfo Unimplemented action: 51 (SPI_SETFILTERKEYS)
0138:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0138:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0138:fixme:secur32:get_cipher_algid unknown algorithm 23
0138:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
0138:fixme:secur32:get_cipher_algid unknown algorithm 23
0138:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
0138:fixme:secur32:get_cipher_algid unknown algorithm 23
0138:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
0138:fixme:secur32:get_cipher_algid unknown algorithm 23
0138:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23

I have already tested the game (works fine with mfc42 vcrun6 vb6run xact d3drm d3dx9 d3dx9_43 d3dcompiler_43 msxml3 vcrun2003 vcrun2005 vcrun2008), but the addition of DXVK (version 1.10.3 since support of Vulkan 1.3 is partial and even on latest source rpi5 mesa drivers miss robustness2 and according to the wiki 1.10.3 only needs Vulkan 1.1) makes the game crash with "directx encountered an unrecoverable error".

edit: posted in box86 since it seems that the error happens just after box86 is started

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant