ChristopherHX / mcpelauncher-manifest

EOL use ng, https://github.com/minecraft-linux/mcpelauncher-manifest/tree/ng, This works with 0.12 - 1.16.10.x (excl. beta 1.16.0.67/68), This won't work with the current 1.16.20-200 Versions
GNU General Public License v3.0
218 stars 21 forks source link

Black screen on 1.14.09 (Raspberry Pi 4) #22

Closed NinCollin closed 4 years ago

NinCollin commented 4 years ago

I've managed to extract an APK and get this compiled on a stock install of Raspbian Buster. The game window opens, but just gets stuck on a black screen; there's no crash or exit code.

MESA-LOADER: device is not located on the PCI bus
MESA-LOADER: device is not located on the PCI bus
MESA-LOADER: device is not located on the PCI bus
14:40:58 Info  [Launcher] Version: client f0b4abd / manifest e43d4eb
14:40:58 Trace [Launcher] Loading hybris libraries
14:40:58 Trace [HybrisUtils] Loaded OS library /home/pi/mcpelauncher/mcpelauncher-linux-bin/libs/native/libfmod.so.9.16
14:40:58 Trace [HybrisUtils] Loaded OS library libz.so.1
14:40:58 Info  [Launcher] Creating window
14:40:58 Trace [Launcher] Loading gamepad mappings: /home/pi/mcpelauncher/build/gamecontrollerdb/gamecontrollerdb.txt
14:40:58 Trace [Launcher] Loading gamepad mappings: /usr/local/share/mcpelauncher/gamecontrollerdb.txt
14:40:58 Trace [Launcher] Loading Minecraft library
14:40:59 Info  [Launcher] Loaded Minecraft library
14:40:59 Debug [Launcher] Minecraft is at offset 0xb028c000
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN3App4initER10AppContext
14:40:59 Error [MinecraftSymbols] Unresolved vtable symbol: _ZN3App4quitERKSsS1_
14:40:59 Error [MinecraftSymbols] Unresolved vtable symbol: _ZN3App6updateEv
14:40:59 Error [MinecraftSymbols] Unresolved vtable symbol: _ZN3App16setRenderingSizeEii
14:40:59 Error [MinecraftSymbols] Unresolved vtable symbol: _ZN3App17setUISizeAndScaleEiif
14:40:59 Error [MinecraftSymbols] Unresolved vtable symbol: _ZN3App10wantToQuitEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN14ServiceLocatorI11AppPlatformE15mDefaultServiceE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN11AppPlatform12showKeyboardERKSsibbbiRKN3glm5tvec2IfLNS2_9precisionE0EEE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZNK11AppPlatform22getHardwareInformationEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN17AppResourceLoaderC1ESt8functionIFN4Core10PathBufferISsEEvEE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN10Automation16AutomationClientC2ER13IMinecraftApp
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN14ClientInstance7getUserEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN14ClientInstance15_startLeaveGameEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN14ClientInstance16_syncDestroyGameEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZNK13CommandOutput11getMessagesEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN19CommandOutputSender9translateERKSt6vectorISsSaISsEE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN19CommandOutputSenderC2ERN10Automation16AutomationClientE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN19CommandOutputSenderD2Ev
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN19CommandOutputSender4sendERK13CommandOriginRK13CommandOutput
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN19CommandOutputSender22registerOutputCallbackERKSt8functionIFvR19AutomationCmdOutputEE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN6Common23getGameVersionStringNetEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN30ExternalFileLevelStorageSourceC2EPN4Core15FilePathManagerESt10shared_ptrI22SaveTransactionManagerE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN30ExternalFileLevelStorageSource18createLevelStorageER9SchedulerRKSsRK15ContentIdentityRK19IContentKeyProvider
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN19ResourceLoadManagerC2Ev
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN19ResourceLoadManager4syncE16ResourceLoadType
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN4I18n3getERKSsRKSt6vectorISsSaISsEE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN4I18n14chooseLanguageERKSs
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN4I18n13loadLanguagesER19ResourcePackManagerR19ResourceLoadManagerRKSs
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN5Level16createRandomSeedEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN13LevelSettingsC2Ev
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN13LevelSettingsC2ERKS_
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN13LevelSettings15parseSeedStringERKSsj
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN9Minecraft11getCommandsEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZNK9Minecraft8getLevelEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN17MinecraftCommands15setOutputSenderESt10unique_ptrI19CommandOutputSenderSt14default_deleteIS1_EE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZNK17MinecraftCommands23requestCommandExecutionESt10unique_ptrI13CommandOriginSt14default_deleteIS1_EERKSsib
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN17MinecraftEventingC2ERKSs
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN17MinecraftEventing4initEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN13MinecraftGameC2EiPPc
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN13MinecraftGameD2Ev
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZNK13MinecraftGame8isInGameEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN13MinecraftGame16requestLeaveGameEbb
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN13MinecraftGame24doPrimaryClientReadyWorkESt8functionIFvvEE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN13MinecraftGame21getPrimaryUserOptionsEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN13MinecraftGame24getPrimaryClientInstanceEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN13MinecraftGame14startLeaveGameEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN13MinecraftGame17continueLeaveGameEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN13MinecraftGame14setTextboxTextERKSsi
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN20MinecraftScreenModel32navigateToXblConsoleSignInScreenERKSsS1_
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN20MinecraftScreenModel41navigateToXblConsoleSignInSucceededScreenERKN6Social12SignInResultESt8functionIFvS1_EEb
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN20MinecraftScreenModel11leaveScreenEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN6Social14MultiplayerXBLC2Ev
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZTV22NullTextToSpeechClient
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZNK7Options13getFullscreenEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN7Options13setFullscreenEb
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN15PermissionsFileC2ERKSs
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN19SkinPackKeyProviderC2Ev
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN19PackManifestFactoryC2ER14IPackTelemetry
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN17PackSourceFactoryC2Ev
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN22ResourcePackRepositoryC2ER18IMinecraftEventingR19PackManifestFactoryR29IContentAccessibilityProviderPN4Core15FilePathManagerER17PackSourceFactoryb
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN22ResourcePackRepository21addWorldResourcePacksERKN4Core4PathE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN22ResourcePackRepository12refreshPacksEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN18ContentTierManagerC2Ev
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN19ResourcePackManagerC2ESt8functionIFN4Core10PathBufferISsEEvEERK18ContentTierManagerb
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN19ResourcePackManager8setStackESt10unique_ptrI17ResourcePackStackSt14default_deleteIS1_EE21ResourcePackStackTypeb
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN19ResourcePackManager17onLanguageChangedEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN12PackInstanceC2EP12ResourcePackibP12PackSettings
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZTV17ResourcePackStack
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN17ResourcePackStack3addE12PackInstanceRK22ResourcePackRepositoryb
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN22SaveTransactionManagerC2ESt8functionIFvbEE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN9Scheduler17processCoroutinesENSt6chrono8durationIxSt5ratioILx1ELx1000000000EEEE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN18MinecraftScheduler6clientEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN19ServerCommandOriginC2ERKSsR11ServerLevel22CommandPermissionLevel
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN16EducationOptionsC2EP19ResourcePackManager
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN14ServerInstanceC2ER13IMinecraftAppR30ServerInstanceEventCoordinator
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN14ServerInstance16initializeServerER13IMinecraftAppR9WhitelistP15PermissionsFilePN4Core15FilePathManagerENSt6chrono8durationIxSt5ratioILx1ELx1EEEESsSsSs13LevelSettingsib20ConnectionDefinitionbRKSt6vectorISsSaISsEESsRKN3mce4UUIDER18IMinecraftEventingR22ResourcePackRepositoryRK18ContentTierManagerR19ResourcePackManagerSt8functionIFSt10unique_ptrI12LevelStorageSt14default_deleteIS10_EER9SchedulerEERKSsP9LevelDataSsSsSZ_I16EducationOptionsS11_IS1C_EEPSW_SY_IFvvEES1H_P13ServerMetricsP13DebugEndPointb
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN14ServerInstanceD2Ev
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN14ServerInstance17startServerThreadEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN14ServerInstance13leaveGameSyncEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN14ServerInstance20queueForServerThreadESt8functionIFvvEE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN15SharedConstants12MajorVersionE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN15SharedConstants12MinorVersionE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN15SharedConstants12PatchVersionE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN15SharedConstants15RevisionVersionE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZNK6Social4User11getLiveUserEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN6Social12XboxLiveUser22_handleUISignInNoErrorERN4xbox8services6system14sign_in_resultESt8functionIFvNS_12SignInResultEbEE
14:40:59 Error [MinecraftSymbols] Unresolved vtable symbol: _ZN9GameStore18onStoreInitializedEb
14:40:59 Error [MinecraftSymbols] Unresolved vtable symbol: _ZN9GameStore22onQueryProductsSuccessERKSt6vectorI11ProductInfoSaIS1_EE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN6Social11UserManager17CreateUserManagerEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN2v82V810InitializeEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN2v82V818InitializePlatformEPNS_8PlatformE
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZNK4pplx4taskIN4xbox8services16xbox_live_resultINS2_6system26token_and_signature_resultEEEE3getEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN2gl15getOpenGLVendorEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN2gl17getOpenGLRendererEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN2gl16getOpenGLVersionEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN2gl19getOpenGLExtensionsEv
14:40:59 Error [MinecraftSymbols] Unresolved symbol: _ZN3mce8Platform3OGL12InitBindingsEv
14:40:59 Debug [JNIVM] Unresolved symbol jnivm_android_content_Context_INPUT_METHOD_SERVICE
14:40:59 Debug [JNIVM] Unresolved symbol jnivm_android_content_Context_INPUT_METHOD_SERVICE
14:40:59 Trace [JNIVM] Unresolved symbol set_jnivm_com_mojang_minecraftpe_store_Product_mId
14:40:59 Trace [JNIVM] Unresolved symbol get_jnivm_com_mojang_minecraftpe_store_Product_mId
14:40:59 Trace [JNIVM] Unresolved symbol set_jnivm_com_mojang_minecraftpe_store_Product_mPrice
14:40:59 Trace [JNIVM] Unresolved symbol get_jnivm_com_mojang_minecraftpe_store_Product_mPrice
14:40:59 Trace [JNIVM] Unresolved symbol set_jnivm_com_mojang_minecraftpe_store_Product_mCurrencyCode
14:40:59 Trace [JNIVM] Unresolved symbol get_jnivm_com_mojang_minecraftpe_store_Product_mCurrencyCode
14:40:59 Trace [JNIVM] Unresolved symbol set_jnivm_com_mojang_minecraftpe_store_Product_mUnformattedPrice
14:40:59 Trace [JNIVM] Unresolved symbol get_jnivm_com_mojang_minecraftpe_store_Product_mUnformattedPrice
14:40:59 Trace [JNIVM] Unresolved symbol set_jnivm_com_mojang_minecraftpe_store_Purchase_mProductId
14:40:59 Trace [JNIVM] Unresolved symbol get_jnivm_com_mojang_minecraftpe_store_Purchase_mProductId
14:40:59 Trace [JNIVM] Unresolved symbol set_jnivm_com_mojang_minecraftpe_store_Purchase_mReceipt
14:40:59 Trace [JNIVM] Unresolved symbol get_jnivm_com_mojang_minecraftpe_store_Purchase_mReceipt
14:40:59 Trace [JNIVM] Unresolved symbol set_jnivm_com_mojang_minecraftpe_store_Purchase_mPurchaseActive
14:40:59 Trace [JNIVM] Unresolved symbol get_jnivm_com_mojang_minecraftpe_store_Purchase_mPurchaseActive
14:40:59 Warn  [Launcher] Android stub called
14:40:59 Warn  [Launcher] Android stub called
14:40:59 Warn  [Launcher] Android stub called
14:40:59 Warn  [Launcher] Android stub called
14:40:59 Warn  [Launcher] Android stub called
14:40:59 Info  [Minecraft] android_main starting. internalDataPath is './idata/', externalDataPath is './edata/'
14:40:59 Info  [Minecraft] NO LOG FILE! - AppPlatform_android::setStorageDirectory - using External dir - CurrentFileStoragePath is now '/home/pi/.local/share/mcpelauncher/'
14:40:59 Debug [JNIVM] Unresolved symbol jnivm_android_os_Build_VERSION_SDK_INT
14:40:59 Debug [JNIVM] Unresolved symbol jnivm_android_os_Build_VERSION_SDK_INT
14:40:59 Debug [HttpCallStaticGlue] Successfully registerered HttpCall methods
14:40:59 Debug [XSAPI.Android] Successfully registerered HttpCall methods
14:40:59 Debug [HttpCallStaticGlue] Successfully registerered HttpCall methods
14:40:59 Debug [XboxLiveAppConfig] Successfully registerered XboxLiveAppConfig methods
14:40:59 Debug [XSAPI.Android] Successfully registerered HttpCall tcuiMethods
14:40:59 Trace [XBOXLive] Reading xbox config file
14:40:59 Warn  [Launcher] Android stub called
14:40:59 Warn  [Launcher] EGL stub eglMakeCurrent called
14:40:59 Warn  [Minecraft] NO LOG FILE! - [Device Lost] The graphics context was gained
14:40:59 Warn  [Minecraft] MinecraftGame::init && MinecraftGame::setSize!
Draw call returned Invalid argument. Expect corruption.
14:40:59 Info  [Minecraft] NO LOG FILE! - IPv4 supported, port: 44449
14:40:59 Info  [Minecraft] NO LOG FILE! - IPv6 supported, port: 53798
14:41:21 Info  [Minecraft] NO LOG FILE! - IPv4 supported, port: 53476
14:41:21 Info  [Minecraft] NO LOG FILE! - IPv6 supported, port: 51246

What interests me is that I generated this log using startcommand > output.txt but the first three lines and the line Draw call returned Invalid argument. Expect corruption. (which is probably the issue here) didn't get passed through to the text file, and I had to add them in manually.

ChristopherHX commented 4 years ago

Hmm, is vc4 3d enabled in boot config.txt? If your desktop uses graphics acceleration my pi2 uses software (or disable it) try this OPENSSL_armcap=0 ~/mcpelauncher/build/mcpelauncher-client/mcpelauncher-client -dg ~/.local/share/mcpelauncher/versions/1.14.0.9 But you will likely get light issues, but should run

NinCollin commented 4 years ago

Yeah, I have the vc4-fkms-v3d driver enabled. The command you gave does allow the game to run (though not very well.) I'm not sure what you mean by disabling graphics acceleration in the desktop though.

Do you think maybe compiling the mesa library on my Pi myself (and specifically building it with VC4 support) would make any difference?

ChristopherHX commented 4 years ago

You can hopefully disable desktop acceleration with raspi-config, then restart and the black screen command should work, You cannot start two different mesa versions at the same time( maybe replacing the preinstalled with make install in lastest mesa 1.13.x work too) Look my armhf 1.12.x branch for more details (another Readme)

ChristopherHX commented 4 years ago

graphics acceleration in the desktop, makes use of your gpu to display the window's, like the windows desktop or gnome desktop

ChristopherHX commented 4 years ago

From buster changelog the important parts

raspiconfig -> advanced settings -> xcompmgr -> disable -> reboot and retry the commsnd of my readme which caused the blackscreen