minecraft-linux / mcpelauncher-manifest

The main repository for the Linux and Mac OS Bedrock edition Minecraft launcher.
https://minecraft-linux.github.io
GNU General Public License v3.0
965 stars 99 forks source link

Network performance super slow #446

Open skutter-de opened 3 years ago

skutter-de commented 3 years ago

Sometimes the game can't even load realms. The launcher doesn't even load the news. I died because I tried going into the options and it loaded for nearly a minute until a piglin killed me. I'm running Arch Linux and I for internet i have 100/100 FTTH

sonic2kk commented 3 years ago

Wasn't sure whether or not to make it a separate issue but based on the issue name I decided to comment here, as it is also related to network issues :smile:

I'm having similar network issues but interestingly none of what you described. Worlds with multiplayer enabled take upwards of a minute to load, but worlds with multiplayer disabled load very fast. Realms load reasonably quickly, about 20-30 seconds. The player model on the main menu takes a while to load regardless of the skin being used. The Marketplace seems to be extremely slow too, it took minutes to load and minutes for search entries to load. The download of the music pack also took much longer than it should have - Much longer than my phone takes.

Out of curiosity I tried to create a new mcpelauncher data directory in ~/.local/share/ to see if that made a difference and it didn't, which is what led me to try creating two worlds with and without multiplayer enabled.

Likewise, I'm running on a relatively fast connection of 60/10, so these network speed issues aren't related to my own network.

Below is the log. For reference, the world loaded in around 13:11:15. I was hoping it would have been logged out but sadly not. I also edited out the usernames. It was hung up on the initial "Scheduling AutoCompaction..." step for quite a while. The loading process for the game is also only using one thread, though this is likely not a major issue.

13:07:14 Info  [Launcher] CPU: AuthenticAMD AMD Ryzen 7 3700X 8-Core Processor             
13:07:14 Info  [Launcher] CPU supports SSSE3: YES
13:07:14 Trace [Launcher] Loading hybris libraries
13:07:14 Trace [HybrisUtils] Loaded OS library libm.so.6
13:07:14 Trace [HybrisUtils] Loaded OS library libz.so.1
13:07:14 Trace [HybrisUtils] Loaded OS library /tmp/.mount_MC_068aQG2aG/usr/share/mcpelauncher/lib/native/x86_64/libfmod.so.12.0
13:07:14 Trace [Launcher] Loading Minecraft library
13:07:14 Info  [Launcher] Loaded Minecraft library
13:07:14 Debug [Launcher] Minecraft is at offset 0x0x7fd5c0280000
13:07:14 Info  [Launcher] Game version: 0.0.0.0
13:07:14 Info  [Launcher] Applying patches
13:07:14 Info  [Launcher] Initializing JNI
13:07:14 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeRegisterThis
13:07:14 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeUnregisterThis
13:07:14 Info  [Launcher] Executing main thread
13:07:14 Trace [JniSupport] Invoking nativeRegisterThis
13:07:14 Trace [JniSupport] Invoking ANativeActivity_onCreate
13:07:14 Warn  [Main] Android stub called
13:07:14 Warn  [Main] Android stub called
13:07:14 Warn  [Main] Android stub called
13:07:14 Warn  [Main] Android stub called
13:07:14 Info  [Launcher] Loading gamepad mappings
13:07:14 Trace [Launcher] Loading gamepad mappings: /tmp/.mount_MC_068aQG2aG/usr/share/mcpelauncher/gamecontrollerdb.txt
13:07:14 Info  [Launcher] Creating window
13:07:14 Info  [Minecraft] android_main starting. internalDataPath is '/internal', externalDataPath is '/external'
13:07:14 Trace [JniSupport] Invoking start activity callbacks
13:07:14 Info  [Minecraft] NO LOG FILE! - AppPlatform_android::setStorageDirectory - using External dir - CurrentFileStoragePath is now '/home/username/.local/share/mcpelauncher/'
13:07:14 Warn  [Main] Android stub called
13:07:14 Warn  [Main] Android stub called
13:07:14 Warn  [Minecraft] NO LOG FILE! - [Device Lost] The graphics context was gained
13:07:14 Warn  [Minecraft] MinecraftGame::init && MinecraftGame::setSize!
13:07:15 Debug [HttpCallStaticGlue] Successfully registerered HttpCall methods
13:07:15 Debug [XboxLiveAppConfig] Successfully registerered XboxLiveAppConfig methods
13:07:15 Debug [XSAPI.Android] Successfully registerered HttpCall tcuiMethods
13:07:15 Debug [XSAPI.Android] Successfully registerered telemetryMethods
13:08:16 Info  [Minecraft] NO LOG FILE! - opening /home/username/.local/share/mcpelauncher/games/com.mojang/minecraftWorlds/yNgjYJ5cBQA=/db
13:08:16 Info  [Minecraft] NO LOG FILE! - IPv4 supported, port: 19132
13:08:16 Info  [Minecraft] NO LOG FILE! - IPv6 supported, port: 19133
13:08:17 Info  [Minecraft] NO LOG FILE! - Player connected: Username, xuid: 2535428005119103
13:08:29 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Starting...
13:08:29 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Complete.
13:08:29 Trace [Minecraft] NO LOG FILE! - Scheduling AutoCompaction...
13:08:30 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Starting...
13:08:30 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Complete.
13:08:30 Trace [Minecraft] NO LOG FILE! - Scheduling AutoCompaction...
13:10:51 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Starting...
13:10:51 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Complete.
13:10:51 Trace [Minecraft] NO LOG FILE! - Scheduling AutoCompaction...
13:10:52 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Starting...
13:10:52 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Complete.
13:10:52 Trace [Minecraft] NO LOG FILE! - Scheduling AutoCompaction...```epad mappings: /tmp/.mount_MC_068aQG2aG/usr/share/mcpelauncher/gamecontrollerdb.txt
13:07:14 Info  [Launcher] Creating window
13:07:14 Info  [Minecraft] android_main starting. internalDataPath is '/internal', externalDataPath is '/external'
13:07:14 Trace [JniSupport] Invoking start activity callbacks
13:07:14 Info  [Minecraft] NO LOG FILE! - AppPlatform_android::setStorageDirectory - using External dir - CurrentFileStoragePath is now '/home/username/.local/share/mcpelauncher/'
13:07:14 Warn  [Main] Android stub called
13:07:14 Warn  [Main] Android stub called
13:07:14 Warn  [Minecraft] NO LOG FILE! - [Device Lost] The graphics context was gained
13:07:14 Warn  [Minecraft] MinecraftGame::init && MinecraftGame::setSize!
13:07:15 Debug [HttpCallStaticGlue] Successfully registerered HttpCall methods
13:07:15 Debug [XboxLiveAppConfig] Successfully registerered XboxLiveAppConfig methods
13:07:15 Debug [XSAPI.Android] Successfully registerered HttpCall tcuiMethods
13:07:15 Debug [XSAPI.Android] Successfully registerered telemetryMethods
13:08:16 Info  [Minecraft] NO LOG FILE! - opening /home/username/.local/share/mcpelauncher/games/com.mojang/minecraftWorlds/yNgjYJ5cBQA=/db
13:08:16 Info  [Minecraft] NO LOG FILE! - IPv4 supported, port: 19132
13:08:16 Info  [Minecraft] NO LOG FILE! - IPv6 supported, port: 19133
13:08:17 Info  [Minecraft] NO LOG FILE! - Player connected: Username, xuid: 2535428005119103
13:08:29 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Starting...
13:08:29 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Complete.
13:08:29 Trace [Minecraft] NO LOG FILE! - Scheduling AutoCompaction...
13:08:30 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Starting...
13:08:30 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Complete.
13:08:30 Trace [Minecraft] NO LOG FILE! - Scheduling AutoCompaction...
13:10:51 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Starting...
13:10:51 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Complete.
13:10:51 Trace [Minecraft] NO LOG FILE! - Scheduling AutoCompaction...
13:10:52 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Starting...
13:10:52 Trace [Minecraft] NO LOG FILE! - DBStorage - Compaction Complete.
13:10:52 Trace [Minecraft] NO LOG FILE! - Scheduling AutoCompaction...