summary refs log tree commit diff stats
path: root/results/scraper/box64/447
blob: 7f6bd7c78c474dd15800d289104ac1f8cf7f615f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Force loading libraries
Device: MBA M1

Is there a way to force load libraries? / fix this
I need it because the experimental GPU driver I'm running can only run wayland properly.

When loading factorio with these environment variables, it is supposed to load the SDL library.. but it doesn't because normally Factorio uses `libX11.so.6`.
`SDL_VIDEODRIVER=wayland SDL_DYNAMIC_API=/usr/lib/libSDL.so DISPLAY= box64 factorio`

As you can see in the log below it never actually loads the SDL library, I have SDL installed AND i put an x86_64 version of libSDL.so in ./lib but it still doesnt load it.
```
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:16384
Box64 with Dynarec v0.1.9 bebd8f3c built on Nov 10 2022 16:17:48
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 49 Env var
Looking for factorio
Rename process to "factorio"
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) librt.so.1
Using native(wrapped) libresolv.so.2
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
Using native(wrapped) libGL.so.1
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libasound.so.2
Using native(wrapped) libpulse.so.0
Using native(wrapped) libpulse-simple.so.0
Using native(wrapped) libm.so.6
Look for __res_nquery in loaded elfs
Found symbol with version GLIBC_2.17, value = 0x7fffb7b6f640
Look for __dn_expand in loaded elfs
Found symbol with version GLIBC_2.17, value = 0x7fffb7b68110
   0.000 2022-11-12 23:17:05; Factorio 1.1.70 (build 60152, linux64, full)
   0.001 Operating system: Linux
   0.001 Program arguments: "/home/benja/factorio/vanilla/bin/x64/factorio" 
   0.001 Config path: /home/benja/factorio/vanilla/config/config.ini
   0.001 Read data path: /home/benja/factorio/vanilla/data
   0.001 Write data path: /home/benja/factorio/vanilla [43195/85748MB]
   0.001 Binaries path: /home/benja/factorio/vanilla/bin
   0.014 System info: [CPU:               Intel(R) Pentium(R) 4 CPU 1000MHz, 8 cores, RAM: 7532 MB]
   0.014 Environment: DISPLAY= WAYLAND_DISPLAY=wayland-0 DESKTOP_SESSION=gnome XDG_SESSION_DESKTOP=gnome XDG_CURRENT_DESKTOP=Sway __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.015 Display options: [FullScreen: 1] [VSync: 0] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
Using native(wrapped) libXi.so.6
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
Factorio crashed. Generating symbolized stacktrace, please wait ...
/tmp/factorio-build-Y6XdVo/src/Util/Logger.cpp (313): Logger::writeStacktrace(FileWriteStream*, StackTraceInfo*) [clone .constprop.0]
/tmp/factorio-build-Y6XdVo/src/Util/Logging.cpp (101): Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [clone .constprop.0]
/tmp/factorio-build-Y6XdVo/src/Util/Logging.cpp (93): Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, char const*, ...) [clone .constprop.0]
/tmp/factorio-build-Y6XdVo/src/Graphics/SDLWindow.cpp (117): SDLWindow::SDLWindow(GraphicsInterface::Type, WindowPositionData) [clone .constprop.0]
/tmp/factorio-build-Y6XdVo/src/Graphics/SDLWindow.cpp (103): SDLWindow::SDLWindow(GraphicsInterface::Type, short, short, bool)
/tmp/factorio-build-Y6XdVo/src/GlobalContext.cpp (921): GlobalContext::loadGraphics(std::optional<WindowPositionData>) [clone .isra.0]
/tmp/factorio-build-Y6XdVo/src/GlobalContext.cpp (452): GlobalContext::init(bool, bool, bool, std::optional<WindowPositionData>) [clone .constprop.0] [clone .isra.0]
/tmp/factorio-build-Y6XdVo/src/MainLoop.cpp (272): MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode)
/tmp/factorio-build-Y6XdVo/src/Main.cpp (1151): main
0x300df
Stack trace logging done
   0.194 Error SDLWindow.cpp:117: SDL couldn't be initialized. SDL_Error: wayland not available
Logger::writeStacktrace skipped.
   0.194 Error Util.cpp:97: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
   0.199 Error MessageDialog.cpp:53: Unable to show message dialog. SDL Error: [No message system available]
```