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

wine9 wow failed to start on loongarch #1446

Open
shenmo7192 opened this issue Apr 14, 2024 · 3 comments
Open

wine9 wow failed to start on loongarch #1446

shenmo7192 opened this issue Apr 14, 2024 · 3 comments

Comments

@shenmo7192
Copy link
Contributor

admin@3A5000:~/Desktop/box64/deb/bin$ BOX64_DYNAREC=0 box64 ./wine winecfg
Dynarec is off
 PageSize:16384 Running on Loongson-3A5000-LL with 4 Cores
Will use time-based emulation for rdtsc, even if hardware counter are available
Will use Software counter measured at 1.0 GHz
Params database has 61 entries
Box64 with Dynarec v0.2.7 7f16ddac built on Apr 14 2024 22:14:59
BOX64: Wine64 detected, WINEPRELOADRESERVE=""
BOX64: Detected 48bits at least of address space
Warning, older then 2.34 pthread_kill not found, using current one
Counted 32 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/:/home/admin/.cargo/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/:/sbin/:/usr/sbin/
Looking for ./wine
Apply RC params for wine
Applying BOX64_MAXCPU=64
argv[1]="winecfg"
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 /home/admin/Desktop/box64/deb/bin/../lib/wine/x86_64-unix/ntdll.so
Using emulated /lib/x86_64-linux-gnu/libunwind.so.8
Using native(wrapped) liblzma.so.5
Dynarec is off
 PageSize:16384 Running on Loongson-3A5000-LL with 4 Cores
Will use time-based emulation for rdtsc, even if hardware counter are available
Will use Software counter measured at 1.0 GHz
Params database has 61 entries
Box64 with Dynarec v0.2.7 7f16ddac built on Apr 14 2024 22:14:59
BOX64: Wine preloader detected, loading "/home/admin/Desktop/box64/deb/bin/wine" directly
BOX64: Wine64 detected, WINEPRELOADRESERVE=""
BOX64: Detected 48bits at least of address space
Warning, older then 2.34 pthread_kill not found, using current one
Counted 34 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/:/home/admin/.cargo/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/:/sbin/:/usr/sbin/
Looking for /home/admin/Desktop/box64/deb/bin/wine
Apply RC params for wine
Applying BOX64_MAXCPU=64
argv[1]="winecfg"
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 /home/admin/Desktop/box64/deb/bin/../lib/wine/x86_64-unix/ntdll.so
Using emulated /lib/x86_64-linux-gnu/libunwind.so.8
Using native(wrapped) liblzma.so.5
posix_spawn(0x7ffff38e5a6c, "/home/admin/Desktop/box64/deb/bin/wineserver", (nil), (nil), 0x7ffff38e5a70["/home/admin/Desktop/box64/deb/bin/wineserver", "", ...], 0x7ffff38e5ee8), IsX64=1, IsX86=0 IsScript=0 envp is context->envv
 => posix_spawn(0x7ffff38e5a6c, "/usr/local/bin/box64", (nil), (nil), 0x7ffffbd4bef0 ["/usr/local/bin/box64", "/home/admin/Desktop/box64/deb/bin/wineserver", ""...:1], 0x7ffffbd4c4b0)
posix_spawn returned 0
Dynarec is off
 PageSize:16384 Running on Loongson-3A5000-LL with 4 Cores
Will use time-based emulation for rdtsc, even if hardware counter are available
Will use Software counter measured at 1.0 GHz
Params database has 61 entries
Box64 with Dynarec v0.2.7 7f16ddac built on Apr 14 2024 22:14:59
BOX64: Detected 48bits at least of address space
Warning, older then 2.34 pthread_kill not found, using current one
Counted 34 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/:/home/admin/.cargo/bin/:/usr/local/bin/:/usr/bin/:/bin/:/usr/local/games/:/usr/games/:/sbin/:/usr/sbin/
Looking for /home/admin/Desktop/box64/deb/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) librt.so.1
Using native(wrapped) libbsd.so.0
wine: failed to start L"C:\\windows\\system32\\wineboot.exe"
0024:err:environ:run_wineboot failed to start wineboot c000007b
wine: failed to load start.exe: c000007b
``
@ptitSeb
Copy link
Owner

ptitSeb commented Apr 14, 2024

Yes, I'm aware of that. Like on ARM64 with M1 chip, the issue is the 16k pagesize. I have some idea for some workaround... "Just" need time to implement and test...

@shenmo7192
Copy link
Contributor Author

Yes, I'm aware of that. Like on ARM64 with M1 chip, the issue is the 16k pagesize. I have some idea for some workaround... "Just" need time to implement and test...

Ok. I will try wine 8.19 wow later

Continue tracking this issue

@shenmo7192
Copy link
Contributor Author

I'm back to school now and have an LoongArch device now~

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

2 participants