ptitSeb / box86-compatibility-list

Box86 Compatibility List (Games and Software)
MIT License
65 stars 2 forks source link

Fez (Steam) #49

Open TuxThePenguin0 opened 3 years ago

TuxThePenguin0 commented 3 years ago

Description

Crashes immediately with no visible feedback outside of the terminal

11618|SIGSEGV @0xf390adc0 (???) (x86pc=0x815a975/./FEZ.bin.x86:"./FEZ.bin.x86/mono_gc_alloc_obj", esp=0xf7895120), for accessing                                                                                                 0xf0 (code=1), db=0x6360f608(0xf390ad00:0xf390b3c0/0x815a930:0x815aa9e/./FEZ.bin.x86/mono_gc_alloc_obj)

Native stacktrace:

        /usr/local/bin/box86() [0x6292f3cc]
        /usr/local/bin/box86() [0x628dc510]
        /usr/local/bin/box86() [0x628d9dbc]
        /usr/local/bin/box86() [0x62921d10]
        /usr/local/bin/box86() [0x62922c9c]
        /lib/arm-linux-gnueabihf/libc.so.6(+0x2abf0) [0xf7d23bf0]

Debug info from gdb:

pid 11621 != 11618, skipping destruction (fork without exec?)
Installing breakpad exception handler for appid(steam)/version(1603992987)
Installing breakpad exception handler for appid(steam)/version(1603992987)

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

GameAction [AppID 224760, ActionID 1] : LaunchApp changed task to Completed with ""

Tested on

Pinebook Pro - RK3399 (Debian Bullseye chroot)

Status

Previous behavior: None reported

Current behavior: Doesn't start

Screenshots

None

OpenGL

OpenGL 3.0

Additional Information

Error seems to be in native code, might be a missing library or something along those lines? I'll look further into it later

ptitSeb commented 3 years ago

Note that FEZ can run on OpenGL 2.1 if a few extensions are present. Also, this one use FNA and so the "FNA-trick" can be used on this one (basicaly build a few libs, remove mscorlib.dll and al System/Mono.dll and run it with system mono).

Immediate crash are interresting, they are usualy easier to find the root cause. I'll do some test on that one later.

ptitSeb commented 1 year ago

@TuxThePenguin0 I tested FEZ from Steam on my side, and worked perfectly. Do you mind to retest on your side and update this issue?

TuxThePenguin0 commented 1 year ago

@ptitSeb still no luck here

Log: ``` /bin/sh\0-c\0/home/tux/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=224760 -- /home/tux/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/tux/.local/share/Steam/steamapps/common/FEZ/./FEZ'\0 chdir "/home/tux/.local/share/Steam/steamapps/common/FEZ" ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Box86 with Dynarec v0.3.3 daef5cbd built on Sep 7 2023 15:21:05 ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Running on Cortex-A78C Cortex-X1C with 8 Cores Params database has 25 entries Params database has 25 entries Box64 with Dynarec v0.2.5 79c71bf5 built on Sep 7 2023 15:19:27 Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ Using default BOX64_PATH: ./:bin/ Counted 81 Env var BOX64 try to Preload /home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so /home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so Looking for /home/tux/.local/share/Steam/ubuntu12_32/steam-launch-wrapper argv[1]="--" argv[2]="/home/tux/.local/share/Steam/steamapps/common/FEZ/./FEZ" Rename process to "steam-launch-wrapper" Warning, cannot pre-load of /home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so Using emulated /home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so 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) libGL.so.1 Using native(wrapped) libm.so.6 steam-launch-wrapper: $XDG_RUNTIME_DIR not set. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/home/tux/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Box86 with Dynarec v0.3.3 daef5cbd built on Sep 7 2023 15:21:05 Unhandled Exception: System.ArgumentOutOfRangeException: Argument is out of range. Parameter name: index at System.Array.InternalArray__get_Item[GraphicsAdapter] (Int32 index) [0x00000] in :0 at (wrapper managed-to-managed) Microsoft.Xna.Framework.Graphics.GraphicsAdapter[]:System.Collections.Generic.IList`1.get_Item (int) at System.Collections.ObjectModel.ReadOnlyCollection`1[Microsoft.Xna.Framework.Graphics.GraphicsAdapter].get_Item (Int32 index) [0x00000] in :0 at Microsoft.Xna.Framework.Graphics.GraphicsAdapter.get_DefaultAdapter () [0x00000] in :0 at FezEngine.Tools.Settings.RevertToDefaults () [0x00000] in :0 at FezEngine.Tools.Settings..ctor () [0x00000] in :0 at FezEngine.Tools.SettingsManager.InitializeSettings () [0x00000] in :0 at FezGame.Program.Main (System.String[] args) [0x00000] in :0 [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Argument is out of range. Parameter name: index at System.Array.InternalArray__get_Item[GraphicsAdapter] (Int32 index) [0x00000] in :0 at (wrapper managed-to-managed) Microsoft.Xna.Framework.Graphics.GraphicsAdapter[]:System.Collections.Generic.IList`1.get_Item (int) at System.Collections.ObjectModel.ReadOnlyCollection`1[Microsoft.Xna.Framework.Graphics.GraphicsAdapter].get_Item (Int32 index) [0x00000] in :0 at Microsoft.Xna.Framework.Graphics.GraphicsAdapter.get_DefaultAdapter () [0x00000] in :0 at FezEngine.Tools.Settings.RevertToDefaults () [0x00000] in :0 at FezEngine.Tools.Settings..ctor () [0x00000] in :0 at FezEngine.Tools.SettingsManager.InitializeSettings () [0x00000] in :0 at FezGame.Program.Main (System.String[] args) [0x00000] in :0 Uploaded AppInterfaceStats to Steam ```
ptitSeb commented 1 year ago

It's on the X13s? I'll try tomorow on mine.

ptitSeb commented 1 year ago

2023-09-09_10-14 It works fine for me. Running it on my X13s, with a 2nd monitor (on the right, higher res so a bit blurry, flameshot downscaled it it seems). Running Armbian and with kisak ppa for graphics (mesa 23.1 here).

ptitSeb commented 1 year ago

Note that a 64bits version seems to be launched on my side, not a 32bits one.