summary refs log tree commit diff stats
path: root/results/scraper/box64/211
blob: fc0a3aa11e3e934faeef4741f387595e5ce2ed10 (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
Factorio clients desync
I am running a factorio headless server on a raspberry pi 4. The program starts up fine, but clients always get desyncs a few seconds after joining in. 

I have tried turning on `non_blocking_saving` in server-settings.json. Nothing's changed.

I have also tried running it with qemu-user. It runs correctly, but with 1/10 of the native performance it's unplayable.

Here's factorio's log:

> pi@sahib-raspi ~/t/factorio> factorio --start-server ./saves/sandbox.zip --server-settings server-settings.json -c ~/.config/factorio/config.cfg
Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096
Box64 with Dynarec v0.1.7 9bf7185 built on Jan 14 2022 22:22:16
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 24 Env var
Looking for /home/pi/.nix-profile/bin/factorio
argv[1]="--start-server"
argv[2]="./saves/sandbox.zip"
argv[3]="--server-settings"
argv[4]="server-settings.json"
argv[5]="-c"
argv[6]="/home/pi/.config/factorio/config.cfg"
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
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
   0.002 2022-01-15 13:44:03; Factorio 1.1.50 (build 59278, linux64, headless)
   0.117 Operating system: Linux (Debian 10)
   0.118 Program arguments: "/home/pi/.nix-profile/bin/factorio" "--start-server" "./saves/sandbox.zip" "--server-settings" "server-settings.json" "-c" "/home/pi/.config/factorio/config.cfg"
   0.119 Read data path: /nix/store/bpl7pzx61bp6lmi5qdbhvszvf99n7rjq-factorio-headless-1.1.50/share/factorio/data
   0.119 Write data path: /home/pi/.factorio [417360/939311MB]
   0.119 Binaries path: /nix/store/bpl7pzx61bp6lmi5qdbhvszvf99n7rjq-factorio-headless-1.1.50
   0.173 System info: [CPU:               Intel(R) Pentium(R) 4 CPU 1000MHz, 4 cores, RAM: 3794 MB]
   0.174 Environment: DISPLAY=<unset> WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=<unset> XDG_SESSION_DESKTOP=<unset> XDG_CURRENT_DESKTOP=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.175 Running in headless mode
   0.450 Loading mod core 0.0.0 (data.lua)
   0.756 Loading mod base 1.1.50 (data.lua)
   2.400 Loading mod base 1.1.50 (data-updates.lua)
   2.984 Checksum for core: 1625176034
   2.984 Checksum of base: 321760681
   4.659 Prototype list checksum: 3034860339
   4.862 Info PlayerData.cpp:71: Local player-data.json available, timestamp 1642225413
   4.863 Info PlayerData.cpp:78: Cloud player-data.json unavailable
   4.893 Info GlobalContext.cpp:1301: Resetting config.
   4.913 Factorio initialised
   4.924 Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   4.925 Info ServerMultiplayerManager.cpp:797: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
   4.925 Info ServerMultiplayerManager.cpp:797: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
   4.928 Loading map /home/pi/tmp/factorio/./saves/sandbox.zip: 1176503 bytes.
   5.030 Loading level.dat: 2136748 bytes.
   5.594 Info Scenario.cpp:198: Map version 1.1.50-1
   6.527 Loading script.dat: 95 bytes.
   6.555 Checksum for script /home/pi/.factorio/temp/currently-playing/control.lua: 2183368195
   6.587 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:34197}))
   6.589 Hosting game at IP ADDR:({0.0.0.0:34197})
   6.592 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2?api_version=4
   7.525 Info AuthServerConnector.cpp:68: Obtained serverPadlock for serverHash (q5P8hDKgNeOClOcUzXenXBGMymFCzIHK) from the auth server.
   7.525 Info ServerMultiplayerManager.cpp:797: updateTick(3819) changing state from(CreatingGame) to(InGame)
   7.527 Info UDPSocket.cpp:39: Opening socket for broadcast
   7.534 Info CommandLineMultiplayer.cpp:284: Maximum segment size = 100; minimum segment size = 25; maximum-segment-size peer count = 10; minimum-segment-size peer count = 20
  62.475 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({192.168.0.11:58958}))
  62.479 Refusing connection for address (IP ADDR:({192.168.0.11:58958})), username (nicball). UserVerificationMissing
  63.656 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(IP ADDR:({192.168.0.11:58959}))
  63.663 Info ServerRouter.cpp:467: Replying to connectionRequest for address(IP ADDR:({192.168.0.11:58959})).
  63.669 Info ServerSynchronizer.cpp:607: nextHeartbeatSequenceNumber(3366) adding peer(1)
  63.711 Info ServerMultiplayerManager.cpp:797: updateTick(3819) changing state from(InGame) to(InGameSavingMap)
  63.722 Info ServerMultiplayerManager.cpp:946: updateTick(3819) received stateChanged peerID(1) oldState(Ready) newState(ConnectedWaitingForMap)
  66.762 Info ServerMultiplayerManager.cpp:1013: UpdateTick(3819) Serving map(/home/pi/.factorio/temp/mp-save-0.zip) for peer(1) size(1176727) crc(4045038720)
  66.764 Info ServerMultiplayerManager.cpp:797: updateTick(3819) changing state from(InGameSavingMap) to(InGame)
  66.839 Info ServerMultiplayerManager.cpp:946: updateTick(3819) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
  67.322 Info ServerMultiplayerManager.cpp:946: updateTick(3819) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
  67.526 Info ServerMultiplayerManager.cpp:946: updateTick(3828) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
  67.528 Info ServerMultiplayerManager.cpp:946: updateTick(3828) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
  67.532 Info GameActionHandler.cpp:4994: UpdateTick (3828) processed PlayerJoinGame peerID(1) playerIndex(0) mode(connect)
  67.589 Info ServerMultiplayerManager.cpp:946: updateTick(3834) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
2022-01-15 13:45:11 [JOIN] nicball joined the game
  72.472 Info ServerMultiplayerManager.cpp:946: updateTick(3997) received stateChanged peerID(1) oldState(InGame) newState(DesyncedWaitingForMap)
  72.473 Info ServerMultiplayerManager.cpp:1035: updateTick(3997) received playerDesynced peer (1)
  72.478 Info ServerMultiplayerManager.cpp:797: updateTick(3997) changing state from(InGame) to(InGameSavingMapForDesyncReport)
  90.800 Info ServerMultiplayerManager.cpp:1013: UpdateTick(3997) Serving map(/home/pi/.factorio/temp/mp-save-1.zip) for peer(1) size(3380484) crc(1838171653)
  90.801 Info ServerMultiplayerManager.cpp:797: updateTick(3997) changing state from(InGameSavingMapForDesyncReport) to(InGame)
  90.889 Info ServerMultiplayerManager.cpp:946: updateTick(3997) received stateChanged peerID(1) oldState(DesyncedWaitingForMap) newState(DesyncedCatchingUpWithMapReadyForDownload)
  90.889 Info ServerMultiplayerManager.cpp:946: updateTick(3997) received stateChanged peerID(1) oldState(DesyncedCatchingUpWithMapReadyForDownload) newState(DesyncedSavingLocalVariantOfMap)
  91.273 Info ServerMultiplayerManager.cpp:946: updateTick(3997) received stateChanged peerID(1) oldState(DesyncedSavingLocalVariantOfMap) newState(DesyncedDownloadingMap)
  92.339 Info ServerMultiplayerManager.cpp:946: updateTick(3997) received stateChanged peerID(1) oldState(DesyncedDownloadingMap) newState(DesyncedCreatingReport)
  92.689 Info ServerMultiplayerManager.cpp:1064: Disconnect notification for peer (1)
  92.690 Info ServerMultiplayerManager.cpp:946: updateTick(4017) received stateChanged peerID(1) oldState(DesyncedCreatingReport) newState(DisconnectScheduled)
2022-01-15 13:45:36 [LEAVE] nicball left the game
  92.691 Warning ServerSynchronizer.cpp:125: nextHeartbeatSequenceNumber(4948) address(IP ADDR:({192.168.0.11:58959})) wants a heartbeat(4948) that we don't have.
  92.693 Info ServerSynchronizer.cpp:626: nextHeartbeatSequenceNumber(4949) removing peer(1).
  92.706 Warning ServerSynchronizer.cpp:125: nextHeartbeatSequenceNumber(4949) address(IP ADDR:({192.168.0.11:58959})) wants a heartbeat(4949) that we don't have.

Also, owner of [this issue](https://github.com/ptitSeb/box64/issues/112) has run factorio server successfully. May I ask for your @shyguy80 suggestion? (I don't know how to quote)