ptitSeb / box86-compatibility-list

Box86 Compatibility List (Games and Software)
MIT License
65 stars 2 forks source link

Factorio (Native) #284

Open ricoazzurro opened 1 year ago

ricoazzurro commented 1 year ago

Description

Factorio, v1.1.80 (63808), Linux x64, GOG, Engine:

Box64 with Dynarec v0.2.3 a791677

Rock 5B, LFS, BSP kernel 5.10.160+ rkr4, Gnome 44.1 PAN_MESA_DEBUG=gofaster,gl3 1080p, default game setting

Working.

rico [ /opt/games/factorio ]$ ./box64-start.sh 
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Params database has 23 entries
Box64 with Dynarec v0.2.3 a791677 built on May 28 2023 09:38:59
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 59 Env var
Looking for ./bin/x64/factorio
Apply RC params for factorio
Applying BOX64_DYNAREC_BIGBLOCK=2
Applying BOX64_DYNAREC_FASTROUND=0
Applying BOX64_DYNAREC_SAFEFLAGS=0
Applying BOX64_DYNAREC_CALLRET=1
Appling BOX64_DYNAREC_FORWARD=1024
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) libutil.so.1
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 = 0x7fb541e7d0
Look for __dn_expand in loaded elfs
Found symbol with version GLIBC_2.17, value = 0x7fb54171f0
   0.019 2023-05-28 10:08:03; Factorio 1.1.80 (build 60618, linux64, full)
   1.100 Operating system: Linux (Linux From Scratch r11.3-98-systemd)
   1.104 Program arguments: "/opt/games/factorio/bin/x64/factorio" 
   1.104 Config path: /opt/games/factorio/config/config.ini
   1.106 Read data path: /opt/games/factorio/data
   1.106 Write data path: /opt/games/factorio [53105/301274MB]
   1.106 Binaries path: /opt/games/factorio/bin
   1.284 System info: [CPU:         Box64 on Cortex-A55 Cortex-A76 @1000 MHz, 8 cores, RAM: 15721 MB]
   1.285 Environment: DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 DESKTOP_SESSION=gnome XDG_SESSION_DESKTOP=gnome XDG_CURRENT_DESKTOP=GNOME __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   1.340 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
Using native(wrapped) libXi.so.6
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXss.so.1
Using native(wrapped) libXxf86vm.so.1
   1.587 Available displays: 1
   1.587  [0]: HDMI-1 37" - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   2.322 Initialised OpenGL:[0] Mali-G610 (Panfrost); driver: 3.3 (Core Profile) Mesa 23.0.0-devel (git-120202c675)
   2.323   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:NO, ARB_copy_image:NO
   2.323   [Version] 3.3
Using native(wrapped) libvulkan.so.1
   2.544 Graphics settings preset: high
   2.544   Dedicated video memory size 2048 MB (detected from llvmpipe (LLVM 16.0.4, 128 bits); VendorID: 0x10005)
   3.819 Graphics options: [Graphics quality: high] [Video memory usage: high] [DXT: high-quality] [Color: 32bit]
   3.819                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: 1] [Rotation quality: low] [Other: STDCWT] [B:0,C:0,S:100]
   3.846 [Audio] Backend:SDL(default); Driver:pulseaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
   5.435 Loading mod core 0.0.0 (data.lua)
   5.687 Loading mod base 1.1.80 (data.lua)
   6.959 Loading mod base 1.1.80 (data-updates.lua)
   7.324 Checksum for core: 3955387189
   7.325 Checksum of base: 434889501
   9.136 Prototype list checksum: 3034860339
   9.331 Loading sounds...
  15.508 Info PlayerData.cpp:73: Local player-data.json unavailable
  15.508 Info PlayerData.cpp:78: Cloud player-data.json unavailable
  15.887 Crop bitmaps.
  49.964 Parallel Sprite Loader initialized (threads: 7)
  71.175 Initial atlas bitmap size is 8192
  71.238 Created atlas bitmap 8192x8192 [none]
  71.282 Created atlas bitmap 8192x8192 [none]
  71.317 Created atlas bitmap 8192x8192 [none]
  71.343 Created atlas bitmap 8192x8176 [none]
  71.379 Created atlas bitmap 8192x8188 [none]
  71.380 Created atlas bitmap 8192x1064 [none]
  71.383 Created atlas bitmap 8192x4208 [decal]
  71.415 Created atlas bitmap 8192x8192 [low-object, linear-minification]
  71.418 Created atlas bitmap 8192x2912 [low-object]
  71.423 Created atlas bitmap 8192x4192 [mipmap, linear-minification, linear-magnification, linear-mip-level]
  71.447 Created atlas bitmap 8192x8192 [terrain, mipmap, linear-minification, linear-mip-level]
  71.451 Created atlas bitmap 8192x4592 [terrain, mipmap, linear-minification, linear-mip-level]
  71.452 Created atlas bitmap 4096x3216 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
  71.452 Created atlas bitmap 4096x1856 [smoke, mipmap, linear-minification, linear-magnification]
  71.454 Created atlas bitmap 4096x3088 [mipmap]
  71.462 Created atlas bitmap 8192x2240 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
  71.463 Created atlas bitmap 8192x1496 [alpha-mask]
  71.501 Created atlas bitmap 8192x8188 [shadow, linear-magnification, alpha-mask]
  71.524 Created atlas bitmap 8192x8172 [shadow, linear-magnification, alpha-mask]
  71.559 Created atlas bitmap 8192x8184 [shadow, linear-magnification, alpha-mask]
  71.561 Created atlas bitmap 8192x2812 [shadow, linear-magnification, alpha-mask]
  71.562 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
  71.562 Created atlas bitmap 2048x240 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
  71.664 Created virtual atlas pages 4096x4096x7
  71.739 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  72.368 Parallel Sprite Loader initialized (threads: 7)
 211.880 Sprites loaded
 212.103 Generated mipmaps (4) for atlas [7] of size 8192x8192   
 212.160 Generated mipmaps (4) for atlas [8] of size 8192x2912   
 212.247 Generated mipmaps (3) for atlas [9] of size 8192x4192   
 212.380 Generated mipmaps (3) for atlas [10] of size 8192x8192   
 212.458 Generated mipmaps (3) for atlas [11] of size 8192x4592   
 212.476 Generated mipmaps (3) for atlas [12] of size 4096x3216   
 212.491 Generated mipmaps (3) for atlas [13] of size 4096x1856   
 212.550 Generated mipmaps (3) for atlas [14] of size 4096x3088   
 212.564 Generated mipmaps (5) for atlas [15] of size 8192x2240   
 212.584 Generated mipmaps (3) for atlas [21] of size 8192x2352   
 212.757 Custom mipmaps uploaded.
 213.251 Generated mipmaps for virtual atlas of size 8192x16384
 214.651 Factorio initialised
 261.751 Loading level.dat: 1131938 bytes.
 261.751 Info Scenario.cpp:199: Map version 1.1.80-0
 261.836 Checksum for script /opt/games/factorio/temp/currently-playing/control.lua: 2881393120
 291.264 Info BlueprintShelf.cpp:720: Saving blueprint storage.
 293.228 Quitting: user-quit.
 293.704 Goodbye

Tested on

Box64 with Dynarec v0.2.3 a791677

Rock 5B, LFS, BSP kernel 5.10.160+ rkr4, Gnome 44.1 PAN_MESA_DEBUG=gofaster,gl3 1080p, default game setting

Status

Previous behavior:

None reported

Current behavior:

Working.

Screenshots

factorio-1 factorio-2

OpenGL

Additional Information

https://www.pcgamingwiki.com/wiki/Factorio

ricoazzurro commented 7 months ago

Re-Tested for New version or New platform

Factorio, v1.1.104 (71197), Linux x64, GOG, Engine:

Box64 with Dynarec v0.2.7 4a889e3 Rock 5B, LFS, Kernel rk-6.1-rkr1-panthor-v6, Mesa 24.1.0, Gnome 46

Working Log,

rico [ /opt/games/factorio ]$ ./box64-start.sh 
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Will use Hardware counter measured at 24.0 MHz emulating 768 MHz
Params database has 61 entries
Box64 with Dynarec v0.2.7 4a889e3 built on Apr  4 2024 02:20:56
BOX64: Detected 48bits at least of address space
Counted 64 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/opt/rustc/bin/:/usr/local/bin/:/usr/bin/:/opt/ant/bin/:/opt/jdk/bin/:/opt/bin/
Looking for ./bin/x64/factorio
Apply RC params for factorio
Applying BOX64_DYNAREC_BIGBLOCK=2
Applying BOX64_DYNAREC_FASTROUND=0
Applying BOX64_DYNAREC_SAFEFLAGS=0
Applying BOX64_DYNAREC_CALLRET=1
Applying BOX64_DYNAREC_ALIGNED_ATOMICS=1
Appling BOX64_DYNAREC_FORWARD=1024
Rename process to "factorio"
Using native(wrapped) libdl.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libresolv.so.2
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXext.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) libXfixes.so.3
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
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) libbsd.so.0
Look for __res_nquery in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xffffaa3d2630
Look for __dn_expand in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xffffaa3caea0
   0.013 2024-04-04 21:42:06; Factorio 1.1.104 (build 62119, linux64, full)
   0.058 Operating system: Linux (Linux From Scratch r12.1-30)
   0.061 Program arguments: "/opt/games/factorio/bin/x64/factorio" 
   0.061 Config path: /opt/games/factorio/config/config.ini
   0.063 Read data path: /opt/games/factorio/data
   0.064 Write data path: /opt/games/factorio [31095/301274MB]
   0.064 Binaries path: /opt/games/factorio/bin
   0.193 System info: [CPU:         Box64 on Cortex-A55 Cortex-A76 @2.26 GHz, 8 cores, RAM: 15717 MB]
   0.193 Environment: DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 DESKTOP_SESSION=gnome XDG_SESSION_DESKTOP=gnome XDG_CURRENT_DESKTOP=GNOME __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.216 Display options: [FullScreen: 1] [VSync: 1] [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
   0.352 Video driver: x11
   0.352 Available displays: 1
   0.352  [0]: HDMI-1 - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.555 Initialised OpenGL:[0] Mali-G610 (Panfrost); driver: 3.3 (Core Profile) Mesa 24.1.0-devel (git-22f64a1fe3)
   0.555   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.555   [Version] 3.3
Using native(wrapped) libvulkan.so.1
   0.821 Graphics settings preset: very-high
   0.822   Dedicated video memory size 15717 MB (detected from llvmpipe (LLVM 18.1.2, 128 bits); VendorID: 0x10005)
   1.821 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality] [Color: 32bit]
   1.821                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
   1.868 [Audio] Backend:SDL(default); Driver:pulseaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
   3.480 Loading mod core 0.0.0 (data.lua)
   3.692 Loading mod base 1.1.104 (data.lua)
   4.846 Loading mod base 1.1.104 (data-updates.lua)
   5.064 Checksum for core: 607699937
   5.064 Checksum of base: 1054619811
   6.777 Prototype list checksum: 3034860339
   6.860 Loading sounds...
  12.630 Info PlayerData.cpp:78: Local player-data.json unavailable
  12.631 Info PlayerData.cpp:83: Cloud player-data.json unavailable
  13.036 Crop bitmaps.
  52.749 Parallel Sprite Loader initialized (threads: 7)
  87.349 Initial atlas bitmap size is 8192
  87.458 Created atlas bitmap 8192x8176 [none]
  87.544 Created atlas bitmap 8192x8180 [none]
  87.614 Created atlas bitmap 8192x8184 [none]
  87.684 Created atlas bitmap 8192x8140 [none]
  87.749 Created atlas bitmap 8192x8184 [none]
  87.831 Created atlas bitmap 8192x8180 [none]
  87.936 Created atlas bitmap 8192x8184 [none]
  87.947 Created atlas bitmap 8192x2876 [linear-magnification]
  87.958 Created atlas bitmap 8192x4188 [decal]
  88.021 Created atlas bitmap 8192x8192 [low-object]
  88.036 Created atlas bitmap 8192x2816 [low-object]
  88.058 Created atlas bitmap 8192x4432 [mipmap, linear-minification, linear-magnification, linear-mip-level]
  88.103 Created atlas bitmap 8192x8192 [terrain, mipmap, linear-minification, linear-mip-level]
  88.118 Created atlas bitmap 8192x4336 [terrain, mipmap, linear-minification, linear-mip-level]
  88.121 Created atlas bitmap 4096x3216 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
  88.125 Created atlas bitmap 4096x1840 [smoke, mipmap, linear-minification, linear-magnification]
  88.130 Created atlas bitmap 4096x3104 [mipmap]
  88.163 Created atlas bitmap 8192x2272 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
  88.165 Created atlas bitmap 8192x1496 [alpha-mask]
  88.229 Created atlas bitmap 8192x8192 [shadow, linear-magnification, alpha-mask]
  88.261 Created atlas bitmap 8192x8192 [shadow, linear-magnification, alpha-mask]
  88.324 Created atlas bitmap 8192x8180 [shadow, linear-magnification, alpha-mask]
  88.334 Created atlas bitmap 8192x5504 [shadow, linear-magnification, alpha-mask]
  88.338 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
  88.338 Created atlas bitmap 2048x240 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
  88.395 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  89.524 Parallel Sprite Loader initialized (threads: 7)
 123.974 Sprites loaded
 124.072 Generated mipmaps (4) for atlas [9] of size 8192x8192   
 124.107 Generated mipmaps (4) for atlas [10] of size 8192x2816   
 124.159 Generated mipmaps (3) for atlas [11] of size 8192x4432   
 124.236 Generated mipmaps (3) for atlas [12] of size 8192x8192   
 124.285 Generated mipmaps (3) for atlas [13] of size 8192x4336   
 124.299 Generated mipmaps (3) for atlas [14] of size 4096x3216   
 124.310 Generated mipmaps (3) for atlas [15] of size 4096x1840   
 124.380 Generated mipmaps (3) for atlas [16] of size 4096x3104   
 124.424 Generated mipmaps (5) for atlas [17] of size 8192x2272   
 124.436 Generated mipmaps (3) for atlas [23] of size 8192x2352   
 124.654 Custom mipmaps uploaded (1942)
 125.924 Factorio initialised
 173.130 Loading level.dat: 1226144 bytes.
 173.130 Info Scenario.cpp:204: Map version 1.1.104-0
 173.218 Checksum for script /opt/games/factorio/temp/currently-playing/control.lua: 3702463597
 182.403 Info BlueprintShelf.cpp:724: Saving blueprint storage.
 184.850 Quitting: user-quit.
 185.459 Goodbye

Tested on

dontdieych commented 2 months ago

Can confirm working well in Apple Macbook Air M2 15' 8G. Audio sound crackling(not always). Same with mpv, firefox(youtube).

Fresh new game start had give me 60fps.

System:
  Host: a-macbookair Kernel: 6.10.6-401.asahi.fc40.aarch64+16k arch: aarch64
    bits: 64
  Desktop: KDE Plasma v: 6.1.4 Distro: Fedora Linux Asahi Remix 40 (KDE
    Plasma)
Machine:
  Type: ARM System: Apple MacBook Air (15-inch, M2, 2023) details: N/A
CPU:
  Info: quad core Model N/A [MT MCP] speed (MHz): avg: 1500
    min/max: 600:660/2424:3504
Graphics:
  Device-1: agx-t8112 driver: asahi v: kernel
  Device-2: display-subsystem driver: apple_drm v: N/A
  Device-3: h7-display-pipe driver: N/A
  Display: wayland server: Xwayland v: 24.1.2 compositor: kwin_wayland
    driver: N/A resolution: 1440x932
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 24.2.0-asahi20240727
    renderer: Apple M2 (G14G B0)
Info:
  Memory: total: 8 GiB note: est. available: 7.3 GiB used: 6.67 GiB (91.4%)
  Processes: 356 Uptime: 2d 23h 24m Shell: fish inxi: 3.3.34