Open ricoazzurro opened 4 months ago
Solar 2, v1.26, Linux x64, Humble, Engine: MonoGame
Box64 with Dynarec v0.2.7 856d265 Rock 5B, LFS, Kernel rk-6.1-rkr1-panthor-v6, Mesa 24.1.0, Gnome 46
export PAN_MESA_DEBUG=gl3
Error Log,
rico [ /opt/games/solar_2 ]$ ./box64-start.sh
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 65 entries
Box64 with Dynarec v0.2.7 856d265 built on Apr 25 2024 16:58:16
BOX64: Detected 48bits at least of address space
Counted 63 Env var
BOX64 LIB PATH: /opt/box-libs/aarch64/:/opt/box-libs/x86_64/:./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/opt/rustc/bin/:/usr/local/bin/:/usr/bin/:/opt/ant/bin/:/opt/jdk/bin/:/opt/bin/
Looking for ./Solar2
Rename process to "Solar2"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
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
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x100012918 (0x10fa6)
Using emulated /opt/games/solar_2/libhostfxr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff02047ad0 (0x45d56)
Using emulated /opt/games/solar_2/libhostpolicy.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0304ccf8 (0x4adb6)
Using emulated /opt/games/solar_2/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0467cf60 (0x65e246)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0467d000 (0x65e386)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0467d008 (0x65e396)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0467d030 (0x65e3e6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0467d038 (0x65e3f6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0467d0b8 (0x65e4f6)
Using emulated /opt/games/solar_2/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /opt/games/solar_2/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff040aea95, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff040aea95, 102)
Using emulated /opt/games/solar_2/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0637adc0 (0x366b96)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0637af68 (0x366ee6)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0637af70 (0x366ef6)
Using emulated /opt/games/solar_2/libSystem.Native.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff07017350 (0x15576)
Error loading needed lib libicuuc.so.85
Warning: Cannot dlopen("libicuuc.so.85"/0xffffb5dec3c0, 1)
Error loading needed lib libicuuc.so.84
Warning: Cannot dlopen("libicuuc.so.84"/0xffffb5dec3c0, 1)
Error loading needed lib libicuuc.so.83
Warning: Cannot dlopen("libicuuc.so.83"/0xffffb5dec3c0, 1)
Error loading needed lib libicuuc.so.82
Warning: Cannot dlopen("libicuuc.so.82"/0xffffb5dec3c0, 1)
Error loading needed lib libicuuc.so.81
Warning: Cannot dlopen("libicuuc.so.81"/0xffffb5dec3c0, 1)
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffffb5dec3c0, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffffb5dec3c0, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffffb5dec3c0, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffffb5dec3c0, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffffb5dec3c0, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffffb5dec3c0, 1)
Error initializing native libicuuc.so.74 (last dlerror is libicuuc.so.74: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.74
Warning: Cannot dlopen("libicuuc.so.74"/0xffffb5dec3c0, 1)
Error initializing native libicuuc.so.73 (last dlerror is libicuuc.so.73: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.73
Warning: Cannot dlopen("libicuuc.so.73"/0xffffb5dec3c0, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /opt/games/solar_2/libSDL2-2.0.so.0
Using native(wrapped) libdbus-1.so.3
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) libXext.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libGL.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
Using emulated /opt/games/solar_2/libopenal.so.1
Using native(wrapped) libpulse.so.0
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 145 ()
Minor opcode of failed request: 1
Resource id in failed request: 0xc00018
Serial number of failed request: 803
Current serial number in output stream: 803
AL lib: (EE) alc_cleanup: 1 device not closed
But I don't understand, Using emulated /opt/games/solar_2/libopenal.so.1
, I'm using the in-game libopenal
.
I have no idea what went south - -
Don't you need TERM=xterm
for this one? It's strange that you have a "X Error: BadWindow", but it will not work while this is not fixed. Does it works with software rendering?
Yepp, tested that and software rendering. still not working :(
rico [ ~ ]$ cat /opt/games/solar_2/box64-start.sh
#!/bin/bash
cd /opt/games/solar_2
export LC_ALL=C
export TERM=xterm
# export PAN_MESA_DEBUG=gl3
export LD_LIBRARY_PATH=/opt/box-libs/aarch64/:/opt/box-libs/x86_64/
# export LD_LIBRARY_PATH="assets:assets/libs:$LD_LIBRARY_PATH"
# export BOX64_DYNAREC=0
# export BOX64_NOBANNER=1
# export BOX64_DYNAREC_FASTROUND=0
# export BOX64_DYNAREC_STRONGMEM=1
# export BOX64_PREFER_EMULATED=1
# BOX64_BASH=~/box64/tests/bash ~/box64/tests/bash ./solar2.sh
LIBGL_ALWAYS_SOFTWARE=1 box64 ./"Solar2"
# box64 ./"Solar2"
rico [ /opt/games/solar_2 ]$ ./box64-start.sh
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Will use Hardware counter measured at 24.0 MHz emulating 3.0 GHz
Params database has 65 entries
Box64 with Dynarec v0.2.7 856d265 built on Apr 25 2024 16:58:16
BOX64: Detected 48bits at least of address space
Counted 65 Env var
BOX64 LIB PATH: /opt/box-libs/aarch64/:/opt/box-libs/x86_64/:./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/opt/rustc/bin/:/usr/local/bin/:/usr/bin/:/opt/ant/bin/:/opt/jdk/bin/:/opt/bin/
Looking for ./Solar2
Rename process to "Solar2"
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
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
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x100012918 (0x10fa6)
Using emulated /opt/games/solar_2/libhostfxr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff02047ad0 (0x45d56)
Using emulated /opt/games/solar_2/libhostpolicy.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0304ccf8 (0x4adb6)
Using emulated /opt/games/solar_2/libcoreclr.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0467cf60 (0x65e246)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0467d000 (0x65e386)
Warning: Weak Symbol _ZTH27t_pStackWalkerWalkingThread not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0467d008 (0x65e396)
Warning: Weak Symbol _ZTHN9StressLog19t_pCurrentThreadLogE not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0467d030 (0x65e3e6)
Warning: Weak Symbol _ZTH15t_CantStopCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0467d038 (0x65e3f6)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0467d0b8 (0x65e4f6)
Using emulated /opt/games/solar_2/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust.so.0
Error loading one of needed lib
Error initializing needed lib /opt/games/solar_2/libcoreclrtraceptprovider.so
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff040aea95, 102)
Error loading needed lib liblttng-ust-tracepoint.so.0
Warning: Cannot dlopen("liblttng-ust-tracepoint.so.0"/0x7fff040aea95, 102)
Using emulated /opt/games/solar_2/libclrjit.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0637adc0 (0x366b96)
Warning: Weak Symbol _ZTH16t_CantAllocCount not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0637af68 (0x366ee6)
Warning: Weak Symbol _ZTH12t_ThreadType not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0637af70 (0x366ef6)
Using emulated /opt/games/solar_2/libSystem.Native.so
Warning: Weak Symbol __gmon_start__ not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff07017350 (0x15576)
Error loading needed lib libicuuc.so.85
Warning: Cannot dlopen("libicuuc.so.85"/0xffff8d94c380, 1)
Error loading needed lib libicuuc.so.84
Warning: Cannot dlopen("libicuuc.so.84"/0xffff8d94c380, 1)
Error loading needed lib libicuuc.so.83
Warning: Cannot dlopen("libicuuc.so.83"/0xffff8d94c380, 1)
Error loading needed lib libicuuc.so.82
Warning: Cannot dlopen("libicuuc.so.82"/0xffff8d94c380, 1)
Error loading needed lib libicuuc.so.81
Warning: Cannot dlopen("libicuuc.so.81"/0xffff8d94c380, 1)
Error loading needed lib libicuuc.so.80
Warning: Cannot dlopen("libicuuc.so.80"/0xffff8d94c380, 1)
Error loading needed lib libicuuc.so.79
Warning: Cannot dlopen("libicuuc.so.79"/0xffff8d94c380, 1)
Error loading needed lib libicuuc.so.78
Warning: Cannot dlopen("libicuuc.so.78"/0xffff8d94c380, 1)
Error loading needed lib libicuuc.so.77
Warning: Cannot dlopen("libicuuc.so.77"/0xffff8d94c380, 1)
Error loading needed lib libicuuc.so.76
Warning: Cannot dlopen("libicuuc.so.76"/0xffff8d94c380, 1)
Error loading needed lib libicuuc.so.75
Warning: Cannot dlopen("libicuuc.so.75"/0xffff8d94c380, 1)
Error initializing native libicuuc.so.74 (last dlerror is libicuuc.so.74: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.74
Warning: Cannot dlopen("libicuuc.so.74"/0xffff8d94c380, 1)
Error initializing native libicuuc.so.73 (last dlerror is libicuuc.so.73: cannot open shared object file: No such file or directory)
Error loading needed lib libicuuc.so.73
Warning: Cannot dlopen("libicuuc.so.73"/0xffff8d94c380, 1)
Using native(wrapped) libicuuc.so.72
Using native(wrapped) libicui18n.so.72
Using emulated /opt/games/solar_2/libSDL2-2.0.so.0
Using native(wrapped) libdbus-1.so.3
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) libXext.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libGL.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
Using emulated /opt/games/solar_2/libopenal.so.1
Using native(wrapped) libpulse.so.0
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 130 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Resource id in failed request: 0xc00012
Serial number of failed request: 1334
Current serial number in output stream: 1335
Sigfault/Segbus while quitting, exiting silently
Ok. I'll check X11 wrapping around this: X_ShmPutImage
Description
Solar 2, v1.26, Linux x64, Humble, Engine: MonoGame
Box64 with Dynarec v0.2.7 8e6ae3a Rock 5B, LFS, BSP kernel 5.10.198 rkr7.1, Gnome 45.3 1080p, default game setting
Working log:
Tested on
Box64 with Dynarec v0.2.7 8e6ae3a Rock 5B, LFS, BSP kernel 5.10.198 rkr7.1, Gnome 45.3 1080p, default game setting
Status
Previous behavior:
None reported
Current behavior:
Working.
Screenshots
OpenGL
OpenGL 2
Additional Information
https://store.steampowered.com/app/97000/Solar_2/ https://www.pcgamingwiki.com/wiki/Solar_2