Skip to content

Maldita Castilla Linux version segfaults on Amlogic 32bit arm #88

@shantigilbert

Description

@shantigilbert

This is my first time trying to make box86 run, I have an Amlogic s905x3 running on 32bit arm, everything compiles fine (cross compiled in Ubuntu) , it does need gl4es which also compiles fine, I copied all the needed libs I think but when I try to run Maldita Castilla I get this error: (full log)

EmuELEC:/emuelec/bin/maldita # BOX86_LOG=1 BOX86_LD_LIBRARY_PATH=/emuelec/lib/i386-linux-gnu/:./:lib/:lib32/:x86/ box86 runner
Debug level is 1
BOX86_LD_LIBRARY_PATH: /emuelec/lib/i386-linux-gnu/:./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 20 Env var
Looking for runner
Using emulated /emuelec/lib/i386-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /emuelec/lib/i386-linux-gnu/libgcc_s.so.1
Using native(wrapped) libz.so.1
Error initializing native libXxf86vm.so.1 (last dlerror is libXxf86vm.so.1: cannot open shared object file: No such file or directory)
Using emulated lib/libXxf86vm.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
LIBGL: Initialising gl4es
LIBGL: v1.1.3 built on Jan 20 2020 17:34:41
LIBGL: Using GLES 2.0 backend
LIBGL: loaded: libGLESv2.so
LIBGL: loaded: libEGL.so
LIBGL: Float and Half-Float texture support disabled
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Full NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Substract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_element_index_uint detected and used
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_OES_depth24 detected and used
LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_depth_texture detected and used
LIBGL: Extension GL_OES_texture_stencil8 detected and used
LIBGL: Extension GL_EXT_texture_rg detected and used
LIBGL: high precision float in fragment shader available and used
LIBGL: Max vertex attrib: 16
LIBGL: Extension GL_OES_standard_derivatives detected and used
LIBGL: Extension GL_OES_get_program detected and used
LIBGL: Number of supported Program Binary Format: 1
LIBGL: Max texture size: 8192
LIBGL: Max Varying Vector: 15
LIBGL: Texture Units: 8(8), Max lights: 8, Max planes: 6
LIBGL: Hardware vendor is ARM
LIBGL: sRGB surface supported
LIBGL: Targeting OpenGL 2.0
LIBGL: NPOT texture handled in hardware
LIBGL: Not trying to batch small subsequent glDrawXXXX
LIBGL: try to use VBO
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: FBO workaround for using binded texture enabled
LIBGL: glX Will try to recycle EGL Surface
LIBGL: Current folder is:/storage/.config/emuelec/bin/maldita
Using native(wrapped) libGL.so.1
Using native(wrapped) libopenal.so.1
Error initializing native libssl.so.1 (last dlerror is libssl.so.1.0.2: cannot open shared object file: No such file or directory)
Using emulated lib/libssl.so.1.0.0
Error initializing native libcrypto.so.1 (last dlerror is libcrypto.so.1.0.2: cannot open shared object file: No such file or directory)
Using emulated lib/libcrypto.so.1.0.0
Using native(wrapped) libdl.so.2
Warning: Weak Symbol _ZGTtnaj not found, cannot apply R_386_JMP_SLOT @0xf67d619c (0x6b506)
Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_386_JMP_SLOT @0xf67d6478 (0x6c076)

***************************************
*     YoYo Games Linux Runner V0.1    *
***************************************	 
CommandLine: -game game.unx
ExeName= /storage/.config/emuelec/bin/maldita/runner
MemoryManager allocated: 16849
RunnerLoadGame: game.unx
RunnerLoadGame() - assets/game.unx
Checking if INIFile assets/options.ini Exists
assets/options.ini file contents: [Linux]
DisplayName="Maldita Castilla"

INI DisplayName=Maldita Castilla
Reading File assets/game.unx
Loaded File assets/game.unx
IFF wad found
Get Resolution
Get Header Information
InitGMLFunctions
HighScore..SavePrePend /storage/.config/maldita_castilla_arcade_cabinet/ 
Game..Math..Graphic..Action..File..Resource..Interaction..3D..Particle..Misc..DS..Sound..DPlay..Physics..Gamepad..GAMEPAD: Initialising Ubuntu support
GAMEPAD: 4 axis values (last) at 0x5b36d40
GAMEPAD: Enumerating 7
GAMEPAD: device name Logitech Gamepad F310
GAMEPAD: buttons - 11, axes - 8
GAMEPAD: 4 axis values (last) at 0x5b376e0
GAMEPAD: 4 axis values (last) at 0x5b378b8
GAMEPAD: 4 axis values (last) at 0x5b38130
Buffers..Networking..Shaders..YoYo..Fini
Code_Load()
VARI_Load()
ID_STRG
Create Window
Segmentation fault

As this is my very first time trying it, I am not 100% sure I did everything right, but if you need any other logs or more info please let me know.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions