box86 icon indicating copy to clipboard operation
box86 copied to clipboard

Need help with aarch64.. kernel32.dll error

Open Saikatsaha1996 opened this issue 3 years ago • 22 comments

Help wanted please help..

Screenshot_2022-07-19-06-51-08-532_x org server

Saikatsaha1996 avatar Jul 19 '22 04:07 Saikatsaha1996

I believe this is in reference to this setup on Android Termux? https://github.com/lowspecman420/AnBox86/issues/17#issuecomment-1188501677

I haven’t had time to set my Pi’s back up and test box86 stuff but I’m planning to check it out some time hopefully soon

WheezyE avatar Jul 19 '22 05:07 WheezyE

I believe this is in reference to this setup on Android Termux? lowspecman420/AnBox86#17 (comment)

I haven’t had time to set my Pi’s back up and test box86 stuff but I’m planning to check it out some time hopefully soon

No andbox not working... I tried.... Box86 not found..

Saikatsaha1996 avatar Jul 19 '22 05:07 Saikatsaha1996

I believe this is in reference to this setup on Android Termux? lowspecman420/AnBox86#17 (comment)

I haven’t had time to set my Pi’s back up and test box86 stuff but I’m planning to check it out some time hopefully soon See my error list ..

Saikatsaha1996 avatar Jul 19 '22 05:07 Saikatsaha1996

It looks like you’re running the XServer XSDL Android app (based on the screen overlay icons in top-left). Which hardware are you running box86 on? Android? Pi? RockChip?

WheezyE avatar Jul 19 '22 05:07 WheezyE

It looks like you’re running the XServer XSDL Android app (based on the screen overlay icons in top-left). Which hardware are you running box86 on? Android? Pi? RockChip?

Android 12 Sd 865 GPU 650

Saikatsaha1996 avatar Jul 19 '22 05:07 Saikatsaha1996

You are using old version of box86, please update (490cabcb is from 17th of april, but build date in 18th of january?)

ptitSeb avatar Jul 19 '22 06:07 ptitSeb

is this using the VM feature of android12?

ptitSeb avatar Jul 19 '22 06:07 ptitSeb

is this using the VM feature of android12?

No no..

Proot-distro termux environment aarch64 android

Saikatsaha1996 avatar Jul 19 '22 06:07 Saikatsaha1996

is this using the VM feature of android12?

@ptitSeb can you help me?..

I just completely build box86 && box64 and installed.. Wine32 and wine64 also downloaded... But not installed..

Can you guide me.. how can I install wine64 && wine32 together?..

Screenshot_2022-07-19-21-03-27-107_com termux

Saikatsaha1996 avatar Jul 19 '22 15:07 Saikatsaha1996

termux doesn't allow binfmt integration IIRC. So box86 and box64 will not be called automatically. You need to use box64 or box86 directly. For bash file, maybe use the bash copy that is in box86 and box64?

ptitSeb avatar Jul 19 '22 15:07 ptitSeb

termux doesn't allow binfmt integration IIRC. So box86 and box64 will not be called automatically. You need to use box64 or box86 directly. For bash file, maybe use the bash copy that is in box86 and box64?

No no .. box86 && box64 is oky .. but need to install wine.. how can I install wine ? .. Wine already downloaded.. but not installed..

Saikatsaha1996 avatar Jul 19 '22 15:07 Saikatsaha1996

@ptitSeb don't know why wine32 bit not working..

Anything missing? Wine-devel 7.13

root@localhost:~# wine/bin box86 wine --version         -bash: wine/bin: Is a directory
root@localhost:~# box86 wine/bin/wine --version
Box86 with Dynarec v0.2.7 fa8355ec built on Jul 19 2022 15:19:03
Error: Symbol __gmtime64 not found, cannot apply R_386_JMP_SLOT 0xf0f82010 (0x6056) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __localtime64 not found, cannot apply R_386_JMP_SLOT 0xf0f82020 (0x6096) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __stat64_time64 not found, cannot apply R_386_JMP_SLOT 0xf0f82034 (0x60e6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __fstatat64_time64 not found, cannot apply R_386_JMP_SLOT 0xf0f82044 (0x6126) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __recvmsg64 not found, cannot apply R_386_JMP_SLOT 0xf0f8206c (0x61c6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __futimens64 not found, cannot apply R_386_JMP_SLOT 0xf0f82088 (0x6236) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __getsockopt64 not found, cannot apply R_386_JMP_SLOT 0xf0f820ac (0x62c6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __sendmsg64 not found, cannot apply R_386_JMP_SLOT 0xf0f820c8 (0x6336) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __fstat64_time64 not found, cannot apply R_386_JMP_SLOT 0xf0f820e4 (0x63a6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __clock_getres64 not found, cannot apply R_386_JMP_SLOT 0xf0f820e8 (0x63b6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __setsockopt64 not found, cannot apply R_386_JMP_SLOT 0xf0f82134 (0x64e6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __select64 not found, cannot apply R_386_JMP_SLOT 0xf0f8213c (0x6506) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __fcntl_time64 not found, cannot apply R_386_JMP_SLOT 0xf0f82144 (0x6526) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __lstat64_time64 not found, cannot apply R_386_JMP_SLOT 0xf0f821f4 (0x67e6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __ctime64 not found, cannot apply R_386_JMP_SLOT 0xf0f82204 (0x6826) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __gettimeofday64 not found, cannot apply R_386_JMP_SLOT 0xf0f82238 (0x68f6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __ioctl_time64 not found, cannot apply R_386_JMP_SLOT 0xf0f82268 (0x69b6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __mktime64 not found, cannot apply R_386_JMP_SLOT 0xf0f82288 (0x6a36) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __time64 not found, cannot apply R_386_JMP_SLOT 0xf0f822b8 (0x6af6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
wine-7.13
root@localhost:~# box64 wine/bin/wine64 --version
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096
Box64 with Dynarec v0.1.9 0931f95 built on Jul 19 2022 15:11:13
BOX64: Wine64 detected, WINEPRELOADRESERVE=""
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 31 Env var
Looking for wine/bin/wine64
argv[1]="--version"
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) librt.so.1
Using emulated /root/wine/bin/../lib64/wine/x86_64-unix/ntdll.so
Using native(wrapped) libunwind.so.8
wine-7.13
root@localhost:~#

Screenshot_2022-07-19-21-30-34-968_com termux

Saikatsaha1996 avatar Jul 19 '22 16:07 Saikatsaha1996

find a tgz of wine and just extract the files. Like from there: https://github.com/Kron4ek/Wine-Builds/releases

but use older version, like 7.3 maximum. 5.3 to 7.3 should works fine, including stagging.

ptitSeb avatar Jul 19 '22 16:07 ptitSeb

find a tgz of wine and just extract the files. Like from there: https://github.com/Kron4ek/Wine-Builds/releases

but use older version, like 7.3 maximum. 5.3 to 7.3 should works fine, including stagging.

Ohhh .. i am useing wine 7.13

Saikatsaha1996 avatar Jul 19 '22 16:07 Saikatsaha1996

@ptitSeb don't know why wine32 bit not working..

Anything missing? Wine-devel 7.13

root@localhost:~# wine/bin box86 wine --version         -bash: wine/bin: Is a directory
root@localhost:~# box86 wine/bin/wine --version
Box86 with Dynarec v0.2.7 fa8355ec built on Jul 19 2022 15:19:03
Error: Symbol __gmtime64 not found, cannot apply R_386_JMP_SLOT 0xf0f82010 (0x6056) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __localtime64 not found, cannot apply R_386_JMP_SLOT 0xf0f82020 (0x6096) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __stat64_time64 not found, cannot apply R_386_JMP_SLOT 0xf0f82034 (0x60e6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __fstatat64_time64 not found, cannot apply R_386_JMP_SLOT 0xf0f82044 (0x6126) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __recvmsg64 not found, cannot apply R_386_JMP_SLOT 0xf0f8206c (0x61c6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __futimens64 not found, cannot apply R_386_JMP_SLOT 0xf0f82088 (0x6236) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __getsockopt64 not found, cannot apply R_386_JMP_SLOT 0xf0f820ac (0x62c6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __sendmsg64 not found, cannot apply R_386_JMP_SLOT 0xf0f820c8 (0x6336) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __fstat64_time64 not found, cannot apply R_386_JMP_SLOT 0xf0f820e4 (0x63a6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __clock_getres64 not found, cannot apply R_386_JMP_SLOT 0xf0f820e8 (0x63b6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __setsockopt64 not found, cannot apply R_386_JMP_SLOT 0xf0f82134 (0x64e6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __select64 not found, cannot apply R_386_JMP_SLOT 0xf0f8213c (0x6506) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __fcntl_time64 not found, cannot apply R_386_JMP_SLOT 0xf0f82144 (0x6526) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __lstat64_time64 not found, cannot apply R_386_JMP_SLOT 0xf0f821f4 (0x67e6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __ctime64 not found, cannot apply R_386_JMP_SLOT 0xf0f82204 (0x6826) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __gettimeofday64 not found, cannot apply R_386_JMP_SLOT 0xf0f82238 (0x68f6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __ioctl_time64 not found, cannot apply R_386_JMP_SLOT 0xf0f82268 (0x69b6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __mktime64 not found, cannot apply R_386_JMP_SLOT 0xf0f82288 (0x6a36) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
Error: Symbol __time64 not found, cannot apply R_386_JMP_SLOT 0xf0f822b8 (0x6af6) in /root/wine/bin/../lib/wine/i386-unix/ntdll.so
wine-7.13
root@localhost:~# box64 wine/bin/wine64 --version
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096
Box64 with Dynarec v0.1.9 0931f95 built on Jul 19 2022 15:11:13
BOX64: Wine64 detected, WINEPRELOADRESERVE=""
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 31 Env var
Looking for wine/bin/wine64
argv[1]="--version"
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) librt.so.1
Using emulated /root/wine/bin/../lib64/wine/x86_64-unix/ntdll.so
Using native(wrapped) libunwind.so.8
wine-7.13
root@localhost:~#

Screenshot_2022-07-19-21-30-34-968_com termux

@ptitSeb understand.. and solved..

I over ride all 32 bit and 64 bit lib folders.. that's why all missmatch.. 🥵

Saikatsaha1996 avatar Jul 19 '22 16:07 Saikatsaha1996

All the __XXXXtime64 are not yet wrapped in box86, and barrely done in box64...

ptitSeb avatar Jul 19 '22 16:07 ptitSeb

All the __XXXXtime64 are not yet wrapped in box86, and barrely done in box64...

root@localhost:~# box64 wine-ins*/wine-7.3-amd64/bin/wine64 --version       Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096                                                                          Box64 with Dynarec v0.1.9 0931f95 built on Jul 19 2022 15:11:13
BOX64: Wine64 detected, WINEPRELOADRESERVE=""                               Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/                                           Counted 31 Env var
Looking for wine-installer/wine-7.3-amd64/bin/wine64                        argv[1]="--version"                                                         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) librt.so.1
Using emulated /root/wine-installer/wine-7.3-amd64/bin/../lib/wine/x86_64-unix/ntdll.so
Using emulated /usr/lib/x86_64-linux-gnu/libgcc_s.so.1                      wine-7.3
root@localhost:~# box86 wine-ins*/wine-7.3-x86/bin/wine --version           Box86 with Dynarec v0.2.7 fa8355ec built on Jul 19 2022 15:19:03
wine-7.3                                                                    root@localhost:~#

now how can I install it ?

Saikatsaha1996 avatar Jul 19 '22 16:07 Saikatsaha1996

install what?

ptitSeb avatar Jul 19 '22 16:07 ptitSeb

install what?

Wine ..

I mean how to add path in bashrc ? Just need example..

Saikatsaha1996 avatar Jul 19 '22 16:07 Saikatsaha1996

you add a line like export PATH=/home/me/wine/bin:$PATH?

ptitSeb avatar Jul 19 '22 16:07 ptitSeb

you add a line like export PATH=/home/me/wine/bin:$PATH?

Okay thank you understand ❤️

Saikatsaha1996 avatar Jul 19 '22 17:07 Saikatsaha1996

you add a line like export PATH=/home/me/wine/bin:$PATH?

Faild to open rpcss service

Screenshot_2022-07-19-23-16-43-343_x org server Screenshot_2022-07-19-23-12-33-289_x org server

Saikatsaha1996 avatar Jul 19 '22 17:07 Saikatsaha1996

Is the issue still present? This ticket is bit long and I'm not sure what is left unresolved.

ptitSeb avatar Oct 12 '22 20:10 ptitSeb

You can download "wine" throung URL:https://www.playonlinux.com/wine/binaries/phoenicis/ ,with termux,I suggest you select upstream-linux-x86,whichmean Architecture i386. 1 prepare: dpkg --add-architecture armhf && sudo apt install zenity:armhf libegl-mesa0:armhf libgl1-mesa-dri:armhf libglapi-mesa:armhf libglx-mesa0:armhf libasound*:armhf libstdc++6:armhf gcc-arm-linux-gnueabihf sl:armhf -y 2 extract wine: tar zxvf wine*.tar.gz -C /usr 3 run: box86 wine taskmgr

chungyuhoi avatar Oct 18 '22 23:10 chungyuhoi

I forgot after dpkg --add-architecture i386, Do "sudo apt update"

chungyuhoi avatar Oct 19 '22 00:10 chungyuhoi

find a tgz of wine and just extract the files. Like from there: https://github.com/Kron4ek/Wine-Builds/releases

but use older version, like 7.3 maximum. 5.3 to 7.3 should works fine, including stagging.

Only dependency installed for 32 bit & 64 bit from here https://github.com/lowspecman420/AnBox86/blob/main/AnBox86_64.sh

Still i can't run DirectX.exe, any game or etc..

Any solution please? I am facing problem with alsa sound..

I guess it is sound issue..

I just fully uninstalled 🥲 in proot sound working even in wine test sound also working..

0100:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.

ubuntu@localhost:~$ aconnect -o ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory can't open sequencer ubuntu@localhost:~$

I hope 🥺 you can help..

Saikatsaha1996 avatar Jan 23 '23 02:01 Saikatsaha1996

You are using old version of box86, please update (490cabc is from 17th of april, but build date in 18th of hanuary?) @ptitSeb It is serious issue for all proot users..

Can't even install this game.. And some games installed but can't even launch same error.. Can it possible any solution? Actually i am on proot.. In other emulator same game working but can't use box86 or box64

I hope it can be solve ..

https://user-images.githubusercontent.com/72664192/214306612-a9b73ab1-4bce-445e-9e3f-ac3e9c057925.mp4

Saikatsaha1996 avatar Jan 24 '23 13:01 Saikatsaha1996

What version of box86, Wine and Mesa are you running? Are they up-to-date?

myself600 avatar Jan 24 '23 23:01 myself600

What version of box86, Wine and Mesa are you running? Are they up-to-date?

root@localhost:~# box86 --version
Box86 with Dynarec v0.2.9 8e88ca69 built on Jan 24 2023 23:02:28

wine 6, 7, 8 all same issue.. I am not rooted.. I am using Panfrost GPU driver & i don't have vulkan support..

Saikatsaha1996 avatar Jan 25 '23 04:01 Saikatsaha1996

Mesa? Snapdragon 865 uses Adreno 650 (https://github.com/ptitSeb/box86/issues/658#issuecomment-1188613132), which is supported by Freedreno, not Panfrost so something doesn't add up. What is the ouput of glxinfo|grep "OpenGL renderer string"?

myself600 avatar Jan 25 '23 07:01 myself600