Giter Club home page Giter Club logo

Comments (7)

rajdakin avatar rajdakin commented on July 24, 2024

On Linux Mint 19.1 using kernel 4.15.0-45 (64 bits), FTL runs with sound when using the native x86 version, but when using box86 (55e0e55) here is what is printed:

$ BOX86_LD_LIBRARY_PATH=x86/lib ~/Sources/Git/box86/build/box86 x86/bin/FTL
BOX86_LD_LIBRARY_PATH: x86/lib/
Using default BOX86_PATH: ./:bin/
Counted 56 Env var
Looking for x86/bin/FTL
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
Using emulated /usr/lib/i386-linux-gnu/libstdc++.so.6
Using emulated /lib/i386-linux-gnu/libgcc_s.so.1
Error: Symbol R_386_JMP_SLOT not found, cannot apply _ZGTtnaj @0xf7ac7198 (0x6b4d6)
Error: Symbol R_386_JMP_SLOT not found, cannot apply _ZGTtdlPv @0xf7ac7474 (0x6c046)
Using emulated x86/lib/libbassmix.so
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_GetVersion @0xf7924eec (0x114a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_GetConfigPtr @0xf7924ef0 (0x115a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_MusicFree @0xf7924ef4 (0x116a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ChannelRemoveSync @0xf7924f04 (0x11aa)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_StreamCreate @0xf7924f0c (0x11ca)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_GetDevice @0xf7924f20 (0x121a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ChannelIsActive @0xf7924f34 (0x126a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ChannelSetAttribute @0xf7924f40 (0x129a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_GetInfo @0xf7924f48 (0x12ba)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_StreamFree @0xf7924f50 (0x12da)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ChannelGetData @0xf7924f54 (0x12ea)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ChannelUpdate @0xf7924f60 (0x131a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ChannelGetAttribute @0xf7924f64 (0x132a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ErrorGetCode @0xf7924f68 (0x133a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ChannelSetPosition @0xf7924f6c (0x134a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ChannelGetInfo @0xf7924f74 (0x136a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ChannelGetLevel @0xf7924f78 (0x137a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ChannelGetLength @0xf7924f7c (0x138a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_GetConfig @0xf7924f80 (0x139a)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ChannelSeconds2Bytes @0xf7924f84 (0x13aa)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ChannelSetSync @0xf7924f88 (0x13ba)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_SetDevice @0xf7924f8c (0x13ca)
Error: Symbol R_386_JMP_SLOT not found, cannot apply BASS_ChannelGetDevice @0xf7924f9c (0x140a)
Using emulated x86/lib/libbass.so
Using native(wrapped) libdl.so.2
Using emulated x86/lib/libILUT.so.1
Using emulated x86/lib/libpng12.so.0
Using native(wrapped) libz.so.1
Using emulated x86/lib/libIL.so.1
Using emulated x86/lib/libILU.so.1
Using native(wrapped) libGL.so.1
Using native(wrapped) libGLU.so.1
Using emulated x86/lib/libfreetype.so.6
Using native(wrapped) libSDL-1.2.so.0
Segmentation fault

from box86.

rajdakin avatar rajdakin commented on July 24, 2024

FTL now runs fine using box86 (f439a40) without any sound problem, even though the loading phase is way slower than on native run.

from box86.

ptitSeb avatar ptitSeb commented on July 24, 2024

@rajdakin : only version 1.5.13 (probably all prior to 1.6.1) sound fine I guess. The newer verison, using SIL, are still sounding badly I assume.

from box86.

rajdakin avatar rajdakin commented on July 24, 2024

Here is the output for version 1.6.1:

Using default BOX86_LD_LIBRARY_PATH: ./:lib/
Using default BOX86_PATH: ./:bin/
Counted 56 Env var
Looking for ./FTL.x86
Using native(wrapped) libGL.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libasound.so.2
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Error: Symbol _ZGTtdlPv not found, cannot apply R_386_JMP_SLOT @0x85e51c8 (0x804e736)
Error: Symbol _ZGTtnaj not found, cannot apply R_386_JMP_SLOT @0x85e53f4 (0x804efe6)
Warning, Ignoring sigaction(0x01, 0xf7bcf014, (nil))
Warning, Ignoring sigaction(0x02, 0xf7bcf014, (nil))
Warning, Ignoring sigaction(0x03, 0xf7bcf0a0, (nil))
Warning, Ignoring sigaction(0x04, 0xf7bcf0a0, (nil))
Warning, Ignoring sigaction(0x05, 0xf7bcf0a0, (nil))
Warning, Ignoring sigaction(0x06, 0xf7bcf0a0, (nil))
Warning, Ignoring sigaction(0x07, 0xf7bcf0a0, (nil))
Warning, Ignoring sigaction(0x08, 0xf7bcf0a0, (nil))
Warning, Ignoring signal(0x01, 0xf7cc73a7)
Warning, Ignoring sigaction(0x0B, 0xf7bcf0a0, (nil))
Warning, Ignoring signal(0x01, 0xf7cc73a7)
Warning, Ignoring signal(0x01, 0xf7cc73a7)
Warning, Ignoring signal(0x01, 0xf7cc73a7)
Warning, Ignoring sigaction(0x0F, 0xf7bcf014, (nil))
Warning, Ignoring sigaction(0x10, 0xf7bcf0a0, (nil))
Warning, Ignoring sigaction(0x18, 0xf7bcf0a0, (nil))
Warning, Ignoring sigaction(0x19, 0xf7bcf0a0, (nil))
Warning, Ignoring signal(0x01, 0xf7cc73a7)
Warning, Ignoring signal(0x01, 0xf7cc73a7)
Warning, Ignoring signal(0x01, 0xf7cc73a7)
Warning, Ignoring sigaction(0x1F, 0xf7bcf0a0, (nil))
Using native(wrapped) libXi.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXxf86vm.so.1
lib/SIL/src/sysdep/posix/time.c:82(sys_time_init): Using CLOCK_MONOTONIC as time source
Version: 1.6.9
Loading settings
Initializing Crash Catcher...
Warning, Ignoring sigaction(0x0B, 0xf7bcba00, (nil))
Starting up
Loading text
Initializing Video
Video: 1280x720, windowed
Warning, no wrapper for glDebugMessageCallback
Warning, no wrapper for glDebugMessageCallbackARB
lib/SIL/src/sysdep/opengl/dyngl-funcs.h:418(dyngl_init): Warning: Failed to get address of required function glDebugMessageCallback
Warning, no wrapper for glBindTextureUnit
Warning, no wrapper for glBindTextureUnitARB
lib/SIL/src/sysdep/opengl/dyngl-funcs.h:432(dyngl_init): Warning: Failed to get address of required function glBindTextureUnit
Warning, no wrapper for glCreateFramebuffers
Warning, no wrapper for glCreateFramebuffersARB
lib/SIL/src/sysdep/opengl/dyngl-funcs.h:436(dyngl_init): Warning: Failed to get address of required function glCreateFramebuffers
Warning, no wrapper for glCreateProgramPipelines
Warning, no wrapper for glCreateProgramPipelinesARB
lib/SIL/src/sysdep/opengl/dyngl-funcs.h:437(dyngl_init): Warning: Failed to get address of required function glCreateProgramPipelines
Warning, no wrapper for glCreateRenderbuffers
Warning, no wrapper for glCreateRenderbuffersARB
lib/SIL/src/sysdep/opengl/dyngl-funcs.h:438(dyngl_init): Warning: Failed to get address of required function glCreateRenderbuffers
Warning, no wrapper for glCreateTextures
Warning, no wrapper for glCreateTexturesARB
lib/SIL/src/sysdep/opengl/dyngl-funcs.h:439(dyngl_init): Warning: Failed to get address of required function glCreateTextures
Warning, no wrapper for glInvalidateNamedFramebufferData
Warning, no wrapper for glInvalidateNamedFramebufferDataARB
lib/SIL/src/sysdep/opengl/dyngl-funcs.h:443(dyngl_init): Warning: Failed to get address of required function glInvalidateNamedFramebufferData
Segmentation fault

from box86.

rajdakin avatar rajdakin commented on July 24, 2024

Ran again using box86 (756a7fd), here is the output:

$ ~/Sources/Git/box86/build/box86 ./FTL.x86 
Using default BOX86_LD_LIBRARY_PATH: ./:lib/
Using default BOX86_PATH: ./:bin/
Counted 56 Env var
Looking for ./FTL.x86
Using native(wrapped) libGL.so.1
Using native(wrapped) libX11.so.6
Using native(wrapped) libasound.so.2
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Error: Symbol _ZGTtdlPv not found, cannot apply R_386_JMP_SLOT @0x85e51c8 (0x804e736)
Error: Symbol _ZGTtnaj not found, cannot apply R_386_JMP_SLOT @0x85e53f4 (0x804efe6)
Warning, Ignoring sigaction(0x01, 0xf7baf024, (nil))
Warning, Ignoring sigaction(0x02, 0xf7baf024, (nil))
Warning, Ignoring sigaction(0x03, 0xf7baf0b0, (nil))
Warning, Ignoring sigaction(0x04, 0xf7baf0b0, (nil))
Warning, Ignoring sigaction(0x05, 0xf7baf0b0, (nil))
Warning, Ignoring sigaction(0x06, 0xf7baf0b0, (nil))
Warning, Ignoring sigaction(0x07, 0xf7baf0b0, (nil))
Warning, Ignoring sigaction(0x08, 0xf7baf0b0, (nil))
Warning, Ignoring signal(0x01, 0xf7ca73a7)
Warning, Ignoring sigaction(0x0B, 0xf7baf0b0, (nil))
Warning, Ignoring signal(0x01, 0xf7ca73a7)
Warning, Ignoring signal(0x01, 0xf7ca73a7)
Warning, Ignoring signal(0x01, 0xf7ca73a7)
Warning, Ignoring sigaction(0x0F, 0xf7baf024, (nil))
Warning, Ignoring sigaction(0x10, 0xf7baf0b0, (nil))
Warning, Ignoring sigaction(0x18, 0xf7baf0b0, (nil))
Warning, Ignoring sigaction(0x19, 0xf7baf0b0, (nil))
Warning, Ignoring signal(0x01, 0xf7ca73a7)
Warning, Ignoring signal(0x01, 0xf7ca73a7)
Warning, Ignoring signal(0x01, 0xf7ca73a7)
Warning, Ignoring sigaction(0x1F, 0xf7baf0b0, (nil))
Using native(wrapped) libXi.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXxf86vm.so.1
lib/SIL/src/sysdep/posix/time.c:82(sys_time_init): Using CLOCK_MONOTONIC as time source
Version: 1.6.9
Loading settings
Initializing Crash Catcher...
Warning, Ignoring sigaction(0x0B, 0xf7baba10, (nil))
Starting up
Loading text
Initializing Video
Video: 1280x720, windowed
Warning, no wrapper for glDebugMessageCallback
Warning, no wrapper for glDebugMessageCallbackARB
lib/SIL/src/sysdep/opengl/dyngl-funcs.h:418(dyngl_init): Warning: Failed to get address of required function glDebugMessageCallback
Segmentation fault

EDIT: it immediately crashes, the loading bar doesn't even show up.

from box86.

ptitSeb avatar ptitSeb commented on July 24, 2024

Crash is probably linked to the missing glDebugMessageCallback function pointer, but properly implementing it is a bit tricky, so will not be done for now.

from box86.

ptitSeb avatar ptitSeb commented on July 24, 2024

Finaly fixed with ba44d9c

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.