Box86 - Linux Userspace x86 Emulator

Discussion in 'General Discussions' started by ptitSeb, Mar 3, 2019.

  1. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,308
    Location:
    France, near Lyon
    I'm unsure why this thread suddenly switched to a "thank you all" kind of thread...

    But thanks :)
     
  2. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    10,563
    Location:
    Somewhere off the coast of the EU
    My bad, I think ;) Sorry!
     
  3. paralabamba

    paralabamba Still Fresh

    Joined:
    Sep 4, 2017
    Messages:
    14
    L'occasion fait le larron :p
     
    Neelix and levi like this.
  4. ElPoco

    ElPoco Very Active Member

    Joined:
    Feb 16, 2012
    Messages:
    692
    Location:
    Paris, France
    Papers. please failed with latest HEAD :

    Code:
    Using emulated libudev.so.1
    Using emulated libmount.so.1
    Using emulated libblkid.so.1
    Using emulated libuuid.so.1
    Error: Symbol __openat64_2 not found, cannot apply R_386_JMP_SLOT @0x42a9538c (0x2e76)
    Error: Symbol __fxstatat64 not found, cannot apply R_386_JMP_SLOT @0x42a95538 (0x3526)
    Error: Symbol err not found, cannot apply R_386_JMP_SLOT @0x41bd03e4 (0x23ee)
    Error: Symbol errx not found, cannot apply R_386_JMP_SLOT @0x41bd04c8 (0x277e)
    Error: Symbol name_to_handle_at not found, cannot apply R_386_JMP_SLOT @0x41c28e28 (0x2836)
    Error: Symbol reallocarray not found, cannot apply R_386_JMP_SLOT @0x41c28e44 (0x28a6)
    Error: Symbol __asprintf_chk not found, cannot apply R_386_JMP_SLOT @0x41c28eac (0x2a46)
    Error: Symbol readlinkat not found, cannot apply R_386_JMP_SLOT @0x41c28ebc (0x2a86)
    Error: Symbol timerfd_create not found, cannot apply R_386_JMP_SLOT @0x41c28ec8 (0x2ab6)
    Error: Symbol openat64 not found, cannot apply R_386_JMP_SLOT @0x41c28ef0 (0x2b56)
    Error: Symbol __fsetlocking not found, cannot apply R_386_JMP_SLOT @0x41c28f24 (0x2c26)
    Warning, function getauxval not found in lib libc.so.6
    Error: Symbol getauxval not found, cannot apply R_386_JMP_SLOT @0x41c28f48 (0x2cb6)
    6715|0xa80b44e3: Unimplemented Opcode C3 00 00 CC 53 43 8C 6A
    Segmentation fault
    
    and Luftrausers :

    Code:
    Using default BOX86_LD_LIBRARY_PATH: ./:lib/
    Using default BOX86_PATH: ./:bin/
    Counted 29 Env var
    Looking for luftrausers
    Using emulated libjsoncpp.so.0
    Using native(wrapped) libpthread.so.0
    Using emulated 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) librt.so.1
    Using emulated libgcc_s.so.1
    Using emulated libsfml-audio.so.2
    Using emulated libsfml-system.so.2
    Using native(wrapped) libopenal.so.1
    Using emulated libsndfile.so.1
    Using emulated libFLAC.so.8
    Using native(wrapped) libogg.so.0
    Using emulated libvorbisenc.so.2
    Using native(wrapped) libvorbis.so.0
    Using native(wrapped) libSDL2-2.0.so.0
    LIBGL: Initialising gl4es
    LIBGL: v1.1.1 built on Mar 17 2019 17:09:25
    LIBGL: Using GLES 1.1 backend
    LIBGL: loaded: libGLES_CM.so
    LIBGL: loaded: libEGL.so
    LIBGL: Using GLES 1.1 backend
    LIBGL: Extension GL_OES_framebuffer_object detected and used
    LIBGL: Extension GL_OES_point_sprite detected and used
    LIBGL: Extension GL_OES_point_size_array detected
    LIBGL: Extension GL_OES_texture_cube_map detected and used
    LIBGL: Extension GL_OES_blend_subtract detected and used
    LIBGL: Extension GL_OES_blend_func_separate detected and used
    LIBGL: Extension GL_OES_blend_equation_separate detected and used
    LIBGL: Extension GL_OES_texture_mirrored_repeat detected and used
    LIBGL: Extension GL_OES_mapbuffer detected
    LIBGL: Extension GL_OES_depth24 detected and used
    LIBGL: Extension GL_OES_rgb8_rgba8 detected and used
    LIBGL: Extension GL_EXT_multi_draw_arrays detected
    LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
    LIBGL: Extension GL_OES_draw_texture detected and used
    LIBGL: Max texture size: 2048
    LIBGL: Texture Units: 4(4), Max lights: 8, Max planes: 6
    LIBGL: Hardware vendor is Imagination Technologies
    LIBGL: Targeting OpenGL 1.5
    LIBGL: FBO workaround for using binded texture enabled
    LIBGL: glX Will try to recycle EGL Surface
    LIBGL: Current folder is:/media/bigpanda/box86/luftrausers-nodrm/i686
    Using native(wrapped) libGL.so.1
    Using native(wrapped) libXrandr.so.2
    Using emulated libfreetype.so.6
    Using native(wrapped) libz.so.1
    Using native(wrapped) libX11.so.6
    Using native(wrapped) libxcb.so.1
    Using native(wrapped) libXext.so.6
    Using emulated libXau.so.6
    Using emulated libXdmcp.so.6
    Using native(wrapped) libXrender.so.1
    Using native(wrapped) libdl.so.2
    Error: Symbol ogg_stream_reset not found, cannot apply R_386_JMP_SLOT @0x4069800c (0x7e66)
    Error: Symbol ogg_page_checksum_set not found, cannot apply R_386_JMP_SLOT @0x40698038 (0x7f16)
    Error: Symbol ogg_stream_flush not found, cannot apply R_386_JMP_SLOT @0x40698048 (0x7f56)
    Error: Symbol ogg_stream_packetin not found, cannot apply R_386_JMP_SLOT @0x4069804c (0x7f66)
    Error: Symbol ogg_sync_reset not found, cannot apply R_386_JMP_SLOT @0x40698068 (0x7fd6)
    Error: Symbol ogg_stream_pageout not found, cannot apply R_386_JMP_SLOT @0x40698100 (0x8236)
    Error: Symbol ogg_stream_reset not found, cannot apply R_386_JMP_SLOT @0x40214000 (0x2d96)
    Error: Symbol vorbis_analysis_init not found, cannot apply R_386_JMP_SLOT @0x40214048 (0x2eb6)
    Error: Symbol ogg_stream_flush not found, cannot apply R_386_JMP_SLOT @0x40214050 (0x2ed6)
    Error: Symbol ogg_stream_packetin not found, cannot apply R_386_JMP_SLOT @0x40214060 (0x2f16)
    Error: Symbol vorbis_analysis not found, cannot apply R_386_JMP_SLOT @0x40214074 (0x2f66)
    Error: Symbol vorbis_version_string not found, cannot apply R_386_JMP_SLOT @0x40214078 (0x2f76)
    Error: Symbol ogg_sync_reset not found, cannot apply R_386_JMP_SLOT @0x40214084 (0x2fa6)
    Error: Symbol vorbis_analysis_wrote not found, cannot apply R_386_JMP_SLOT @0x402140b8 (0x3076)
    Error: Symbol vorbis_analysis_blockout not found, cannot apply R_386_JMP_SLOT @0x402140c0 (0x3096)
    Error: Symbol vorbis_analysis_buffer not found, cannot apply R_386_JMP_SLOT @0x402140c4 (0x30a6)
    Error: Symbol vorbis_bitrate_flushpacket not found, cannot apply R_386_JMP_SLOT @0x402140ec (0x3146)
    Error: Symbol vorbis_bitrate_addblock not found, cannot apply R_386_JMP_SLOT @0x40214114 (0x31e6)
    Error: Symbol vorbis_comment_query not found, cannot apply R_386_JMP_SLOT @0x4021414c (0x32c6)
    Error: Symbol vorbis_analysis_headerout not found, cannot apply R_386_JMP_SLOT @0x40214158 (0x32f6)
    Error: Symbol vorbis_comment_add_tag not found, cannot apply R_386_JMP_SLOT @0x40214160 (0x3316)
    Error: Symbol ogg_stream_pageout not found, cannot apply R_386_JMP_SLOT @0x402141b4 (0x3466)
    Error: Symbol lrand48 not found, cannot apply R_386_JMP_SLOT @0x408e4f78 (0x1040)
    Error: Symbol getentropy not found, cannot apply R_386_JMP_SLOT @0x408e4f94 (0x10b0)
    Error: Symbol _ZNSt8__detail15_List_node_base7_M_hookEPS0_ not found, cannot apply R_386_JMP_SLOT @0x83566c0 (0x805d836)
    Error: Symbol _ZNSsC1EOSs not found, cannot apply R_386_JMP_SLOT @0x8356818 (0x805dd96)
    Error: Symbol _ZNSsaSEOSs not found, cannot apply R_386_JMP_SLOT @0x835686c (0x805dee6)
    Warning, function glBindFragDataLocation not found in lib libGL.so.1
    Error: Symbol glBindFragDataLocation not found, cannot apply R_386_JMP_SLOT @0x83568a4 (0x805dfc6)
    Error: Symbol _ZNSt8__detail15_List_node_base9_M_unhookEv not found, cannot apply R_386_JMP_SLOT @0x8356ad4 (0x805e886)
    Error: Symbol SDL_SetWindowDisplayMode not found, cannot apply R_386_JMP_SLOT @0x8356b18 (0x805e996)
    Segmentation fault
    
     
  5. ptitSeb

    ptitSeb Serial Porter

    Joined:
    Aug 15, 2012
    Messages:
    8,308
    Location:
    France, near Lyon
    @ElPoco :
    For Paper, please, the unimplemented C3... is suspicious, because that RET and it's implemented of course. Something else must be going wrong. The function missig are probably what make it crash anyway, I assume stuff like getauxval or the various openat64 or timerfd_create are used durring initialization. Il see to add some of those function later (getauxval will probably be tricky).

    For Luftrausers, there seems to be a large bunch of libogg and libvorbis function that I need to add. There are a few C++ functions, that I found strange to see not found (all the _ZNS... stuffs), but maybe it's ok.
    Also, the glBindFragDataLocation : that's a function not supported in gl4es. I'll have to check what this thing do. Anyway, you will probably need to use LIBGL_ES=2 for this one, as it seems to use shader (anyway, for Box86, you will need LIBGL_ES=2 most of the time, there is almost nothing running with just OpenGL 1.5)
     
  6. ElPoco

    ElPoco Very Active Member

    Joined:
    Feb 16, 2012
    Messages:
    692
    Location:
    Paris, France
    I might have done something wrong with the libs. I downloaded most of them from https://pkgs.org by taking the first i386 or i686 lib I could find.
    Let me know if there's anything I can do to help.
     

Share This Page

Loading...