Giter Club home page Giter Club logo

Comments (10)

rajdakin avatar rajdakin commented on July 24, 2024

On Linux Mint 19.1 using kernel 4.15.0-45 (64 bits), Limbo runs quietly using native i386 run, but segfault when using box86 (55e0e55):

Using default BOX86_LD_LIBRARY_PATH: ./:lib/
Using default BOX86_PATH: ./:bin/
Counted 56 Env var
Looking for ./limbo
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 /lib/i386-linux-gnu/libgcc_s.so.1
Using native(wrapped) libm.so.6
Using emulated /usr/lib/i386-linux-gnu/libstdc++.so.6
Error: Symbol R_386_JMP_SLOT not found, cannot apply _ZGTtnaj @0xf79bb198 (0x6b4d6)
Error: Symbol R_386_JMP_SLOT not found, cannot apply _ZGTtdlPv @0xf79bb474 (0x6c046)
Using native(wrapped) libSDL2-2.0.so.0
Using native(wrapped) libGL.so.1
Segmentation fault

from box86.

rajdakin avatar rajdakin commented on July 24, 2024

box86 still segfaults using the last version.

from box86.

 avatar commented on July 24, 2024

Either I get a crash that I can't get a backtrace from, or I get can't load EGL

Looking for limbo
Using native(wrapped) libGL.so.1
Using native(wrapped) libSDL2-2.0.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libm.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libpthread.so.0
Using emulated libstdc++.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using emulated libgcc_s.so.1
Warning: Weak Symbol _ZGTtnaj not found, cannot apply R_386_JMP_SLOT @0xb4a54198 (0x6b666)
Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_386_JMP_SLOT @0xb4a54474 (0x6c1d6)
No protocol specified
error: XDG_RUNTIME_DIR not set in the environment.
[New Thread 0xb44ba3f0 (LWP 4729)]
[New Thread 0xb3aff3f0 (LWP 4730)]
[New Thread 0xb32fe3f0 (LWP 4731)]
[New Thread 0xb2afd3f0 (LWP 4732)]
No protocol specified
No protocol specified
No protocol specified
No protocol specified
SDL_GL_LoadLibrary() failed: Could not initialize EGL
[Thread 0xb2afd3f0 (LWP 4732) exited]
[Thread 0xb3aff3f0 (LWP 4730) exited]
[Thread 0xb44ba3f0 (LWP 4729) exited]
[Thread 0xb6ff7010 (LWP 4728) exited]

This is with version 9422039

from box86.

ptitSeb avatar ptitSeb commented on July 24, 2024

Are you using gl4es? I yes, you need LIBGL_FBOFORCETEX=1 env. var.

from box86.

 avatar commented on July 24, 2024

Still no good

DISPLAY=:0 LIBGL_FBOFORCETEX=1 LD_LIBRARY_PATH=$MYLIBGL box86 ./limbo
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 29 Env var
Looking for ./limbo
LIBGL: Initialising gl4es
LIBGL: v1.1.3 built on Apr 18 2020 17:04:46
LIBGL: Using GLES 2.0 backend
LIBGL: loaded: libGLESv2.so.2
LIBGL: loaded: libEGL.so.1
LIBGL: Using GLES 2.0 backend
LIBGL: Hardware Full NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: Extension GL_EXT_draw_buffers 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_multi_draw_arrays detected
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: Extension GL_OES_texture_float detected and used
LIBGL: Extension GL_OES_texture_half_float detected and used
LIBGL: Extension GL_EXT_color_buffer_float detected and used
LIBGL: high precision float in fragment shader available and used
LIBGL: Extension GL_EXT_frag_depth detected 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: 0
LIBGL: Max texture size: 4096
LIBGL: Max Varying Vector: 16
LIBGL: Texture Units: 16/16 (hardware: 16), Max lights: 8, Max planes: 6
LIBGL: Max Draw buffers: 4
LIBGL: Hardware vendor is Broadcom
LIBGL: GLSL 300 es supported
LIBGL: GLSL 310 es supported and used
LIBGL: sRGB surface supported
LIBGL: Targeting OpenGL 2.1
LIBGL: NPOT texture handled in hardware
LIBGL: Not trying to batch small subsequent glDrawXXXX
LIBGL: try to use VBO
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: glX Will try to recycle EGL Surface
LIBGL: Current folder is:/media/Samsung_T5/Games/Limbo
Using native(wrapped) libGL.so.1
Using native(wrapped) libSDL2-2.0.so.0
Using native(wrapped) libdl.so.2
Using native(wrapped) libm.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libpthread.so.0
Using emulated libstdc++.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using emulated libgcc_s.so.1
Warning: Weak Symbol _ZGTtnaj not found, cannot apply R_386_JMP_SLOT @0xb47fc198 (0x6b666)
Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_386_JMP_SLOT @0xb47fc474 (0x6c1d6)
Warning, call to pthread_attr_setschedparam(0xb5ed8a28, 0xb5ed8a5c[99]) ignored
Warning, call to pthread_attr_setschedparam(0xb5ed8a68, 0xb5ed8a8c[50]) ignored
Warning, call to pthread_attr_setschedparam(0xb5ed8a68, 0xb5ed8a8c[99]) ignored
Segmentation fault

from box86.

 avatar commented on July 24, 2024
Thread 1 "LIMBO game" received signal SIGSEGV, Segmentation fault.
0xb4406618 in ?? ()
(gdb) bt
Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0xf8:
#0  0xb4406618 in ?? ()
Cannot access memory at address 0xf8

from box86.

 avatar commented on July 24, 2024

Log attached.

DISPLAY=:0 BOX86_LOG=3 LIBGL_FBOFORCETEX=1 LD_LIBRARY_PATH=$MYLIBGL box86 ./limbo &> log.txt

log.zip

from box86.

ptitSeb avatar ptitSeb commented on July 24, 2024

I have just tried limbo on my Pi4, and it start, even without gl4es.

But I do get a deadlock when I start playing it, so I cannot say it's really working (it may be due to me using a too high resolution for pi4, the screen is roughly a 3K, that's a lot of pixel for a pi4 to move around).

And I don't see anything obviously wrong in that log.

from box86.

ptitSeb avatar ptitSeb commented on July 24, 2024

Yeah, on my pi4, with latest box86, I could play Limbo I select lower resolution: I choose Windowed, with a 720p FBO, and disabled framerate limiter, and I was able to play with no issue.

from box86.

ptitSeb avatar ptitSeb commented on July 24, 2024

Working now.

from box86.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.