Comments (13)
Commands used to build
./configure --prefix=/usr/local --enable-archs=i386,x86_64
from box64.
on termux chroot ubuntu
from box64.
git clone https://gitlab.winehq.org/wine/wine.git ~/wine-dirs/wine-source
from box64.
is your wine binary an elf or a bash script? Can you use file
on it to check?
(if it's a shell script, you need to set up BOX64_BASH
to point to a x86_64 version of bash, like for example the one inside tests
folder of box64 repo).
from box64.
你的Wine二进制文件是elf还是bash脚本?你可以用
file
它来检查吗?(如果是shell脚本,则需要设置
BOX64_BASH
为指向x86_64版本的bash,例如tests
box64 repo的内部文件夹)。
I can't even find his binary
from box64.
if you don't have binfmt support, it will not find x86_64 binary yes.
I can't help you to setup binfmt on termux, you'll have to ask on some termux help channels.
from box64.
I am able to reproduce this problem on NixOS 24.05 (w/ Asahi stuff, M1 Pro) on the latest commit (2970ed5). I have binfmt set up.
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:16384 Running on Unknown CPU with 10 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 14 entries
Box64 with Dynarec v0.2.9 nogit built on Jan 1 1980 00:00:00
BOX64: Detected 48bits at least of address space
Counted 82 Env var
BOX64 LIB PATH: /nix/store/86zx04zbngd4skkrxfd5ndhx8f6ap24v-pipewire-1.0.6-jack/lib/:./:lib/:lib64/:x86_64/:bin64/:libs64/
BOX64 BIN PATH: ./:bin/:/nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/bin/:/run/wrappers/bin/:/home/ross/.local/share/flatpak/exports/bin/:/var/lib/flatpak/exports/bin/:/home/ross/.nix-profile/bin/:/nix/profile/bin/:/home/ross/.local/state/nix/profile/bin/:/etc/profiles/per-user/ross/bin/:/nix/var/nix/profiles/default/bin/:/run/current-system/sw/bin/:/nix/store/5mal6aa0s9fxnqibmybkz19bxh8scig2-gcc-wrapper-13.2.0/bin/:/nix/store/5pfllkhmmdrwi5z1da1009lx128kfbbq-binutils-wrapper-2.41/bin/:/nix/store/xyg13851ggmvasxadqxk6l3cyqgaff2n-pciutils-3.12.0/bin/:/nix/store/nppl7x028hckyrmba7q8w8pn0b7rf1kr-pkgconf-wrapper-2.1.1/bin/
Looking for /nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/bin/.wine
argv[1]="/nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/bin/.wine"
argv[2]="SteamSetup.exe"
Rename process to ".wine"
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
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 /nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/bin/../lib/wine/x86_64-unix/ntdll.so
Using emulated /nix/store/r2jjxkphbxfyrawn8qvyc6r2wrkyvjwn-libunwind-1.8.1/lib/libunwind.so.8
Using emulated /nix/store/xvzz97yk73hw03v5dhhz3j47ggwf1yq1-gcc-13.2.0-lib/lib/libgcc_s.so.1
Error initializing native liblzma.so.5 (last dlerror is liblzma.so.5: cannot open shared object file: No such file or directory)
Using emulated /nix/store/lphbn1va4i43fj7f3m9xskf9y86khzf3-xz-5.4.6/lib/liblzma.so.5
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:16384 Running on Unknown CPU with 10 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 14 entries
Box64 with Dynarec v0.2.9 nogit built on Jan 1 1980 00:00:00
BOX64: Wine preloader detected, loading "/nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/bin/.wine" directly
BOX64: Detected 48bits at least of address space
Counted 83 Env var
BOX64 LIB PATH: /nix/store/86zx04zbngd4skkrxfd5ndhx8f6ap24v-pipewire-1.0.6-jack/lib/:./:lib/:lib64/:x86_64/:bin64/:libs64/
BOX64 BIN PATH: ./:bin/:/nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/bin/:/run/wrappers/bin/:/home/ross/.local/share/flatpak/exports/bin/:/var/lib/flatpak/exports/bin/:/home/ross/.nix-profile/bin/:/nix/profile/bin/:/home/ross/.local/state/nix/profile/bin/:/etc/profiles/per-user/ross/bin/:/nix/var/nix/profiles/default/bin/:/run/current-system/sw/bin/:/nix/store/5mal6aa0s9fxnqibmybkz19bxh8scig2-gcc-wrapper-13.2.0/bin/:/nix/store/5pfllkhmmdrwi5z1da1009lx128kfbbq-binutils-wrapper-2.41/bin/:/nix/store/xyg13851ggmvasxadqxk6l3cyqgaff2n-pciutils-3.12.0/bin/:/nix/store/nppl7x028hckyrmba7q8w8pn0b7rf1kr-pkgconf-wrapper-2.1.1/bin/
Looking for /nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/bin/.wine
argv[1]="/nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/bin/.wine"
argv[2]="SteamSetup.exe"
Rename process to ".wine"
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
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 /nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/bin/../lib/wine/x86_64-unix/ntdll.so
Using emulated /nix/store/r2jjxkphbxfyrawn8qvyc6r2wrkyvjwn-libunwind-1.8.1/lib/libunwind.so.8
Using emulated /nix/store/xvzz97yk73hw03v5dhhz3j47ggwf1yq1-gcc-13.2.0-lib/lib/libgcc_s.so.1
Error initializing native liblzma.so.5 (last dlerror is liblzma.so.5: cannot open shared object file: No such file or directory)
Using emulated /nix/store/lphbn1va4i43fj7f3m9xskf9y86khzf3-xz-5.4.6/lib/liblzma.so.5
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:16384 Running on Unknown CPU with 10 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 14 entries
Box64 with Dynarec v0.2.9 nogit built on Jan 1 1980 00:00:00
BOX64: Detected 48bits at least of address space
Counted 83 Env var
BOX64 LIB PATH: /nix/store/86zx04zbngd4skkrxfd5ndhx8f6ap24v-pipewire-1.0.6-jack/lib/:./:lib/:lib64/:x86_64/:bin64/:libs64/
BOX64 BIN PATH: ./:bin/:/nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/bin/:/run/wrappers/bin/:/home/ross/.local/share/flatpak/exports/bin/:/var/lib/flatpak/exports/bin/:/home/ross/.nix-profile/bin/:/nix/profile/bin/:/home/ross/.local/state/nix/profile/bin/:/etc/profiles/per-user/ross/bin/:/nix/var/nix/profiles/default/bin/:/run/current-system/sw/bin/:/nix/store/5mal6aa0s9fxnqibmybkz19bxh8scig2-gcc-wrapper-13.2.0/bin/:/nix/store/5pfllkhmmdrwi5z1da1009lx128kfbbq-binutils-wrapper-2.41/bin/:/nix/store/xyg13851ggmvasxadqxk6l3cyqgaff2n-pciutils-3.12.0/bin/:/nix/store/nppl7x028hckyrmba7q8w8pn0b7rf1kr-pkgconf-wrapper-2.1.1/bin/
Looking for /nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/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 /nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/lib/wine/x86_64-unix/libwine.so.1
wine: failed to start L"C:\\windows\\system32\\wineboot.exe"
0024:err:environ:run_wineboot failed to start wineboot c000007b
Warning: cannot create memory map (@0x7d000000 0x50b0) for elf "/home/ross/.wine/dosdevices/z:/nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/bin/.wine" got 0xffff2eae4000
Using emulated /home/ross/.wine/dosdevices/z:/nix/store/vp8cdpnvw6q79gvmr4jafdndvf4rk9hm-wine-wow64-wayland-8.2/bin/.wine
wine: failed to load start.exe: c000007b
from box64.
Issue is probably linked to this message:
Warning: cannot create memory map (@0x7d000000 0x50b0) for elf "/home/ross/.wine/dosdevices/z:/nix/store/vp8cdpnvw6q79gvm
That lead to wine: failed to load start.exe: c000007b
Can you run with BOX64_LOG=2
to have detail about what elfloader is doing? Issue seems to be elfloader that can't load the elf file correctly (side effect f the 16K pagesize probably).
from box64.
from box64.
Oh wait. You are using 16k pagesize. Wine doesn't work yet on this configuration.
Elfloader work, but not the PE loader of wine.
I'll try to have some workaround later, but it's not done yet.
For now, you need to use a 4K pagesize for wine to work.
from box64.
For now, you need to use a 4K pagesize for wine to work.
4k page size kernel is broken for Asahi
from box64.
For now, you need to use a 4K pagesize for wine to work.
4k page size kernel is broken for Asahi
But 16k pagesize if broken for Wine.
I'm working on some workaround. But for now, I'm focussing on AVX, and will go back to 16k pagesize later.
from box64.
4k page size kernel is broken for Asahi
@RossComputerGuy That's exactly what krun
is for. (Yeah, I know you're having some trouble running it on NixOS.)
from box64.
Related Issues (20)
- "steamwebhelper requires the Sniper steam runtime" when installing Steam HOT 54
- steamwebhelper requires the Sniper steam runtime. Not found at /home/paul/.local/share/Steam/ubuntu12_64/steam-runtime-sniper, there is a problem with your installation, aborting. HOT 5
- steamwebhelper requires the Sniper steam runtime. Not found at /home/paul/.local/share/Steam/ubuntu12_64/steam-runtime-sniper, there is a problem with your installation, aborting. HOT 2
- Error loading needed lib libblkid.so.1 HOT 2
- Cannot allocate memory error HOT 8
- Box64 Seems Failing to Handle `.init_array` HOT 5
- Respondus Lockdown Browser - needs libgnutils.so.30 fixed HOT 3
- Error: PltResolver: Symbol cupsSetPasswordCB2 trying to wipe a drive with Active KillDisk HOT 6
- Support `sys_getpgrp` & `sys_getgpid` HOT 1
- Are there some ways to check the wrapped functions?
- Unimplemented 32bits Opcode (00 00 00 00) 64 66 8D 80 00 00 00 00 0F 10 04 08 0F 10 4C HOT 2
- Trying to run intune-portal for our ARM-based linux clients HOT 2
- `BOX64_DYNAREC_TEST` on RISC-V is Failing HOT 7
- DanserGo: need help with acquiring Shared Object files HOT 2
- Unexpected Behaviors when Using RISC-V Extension "zbs" HOT 1
- Trying to install dotnet8 with winetricks on PiOS Bookworm HOT 5
- Unexpected Dynarec-Interpreter Difference on `cmp` Instruction HOT 4
- Trying to run Windows version of Steam through wine new wow64 mode
- Error while trying to install dotnet 8 HOT 2
- Wine AppImage Won't Run, Missing Syscall HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from box64.