Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Loading Fonts" takes >2 minutes

Closed
FliegendeWurst opened this issue Mar 5, 2019 · 4 comments
Closed

"Loading Fonts" takes >2 minutes #980

FliegendeWurst opened this issue Mar 5, 2019 · 4 comments
Labels
Bug GUI Suggestion
Milestone

Comments

@FliegendeWurst
Copy link

FliegendeWurst commented Mar 5, 2019

What happens?

The client takes about three minutes to start.

Exact steps to reproduce?

  • Launch Impact
  • Wait
Game output
[21:25:38] [main/INFO]: Loading tweak class name clientapi.load.ClientTweaker
[21:25:38] [main/INFO]: Using primary tweak class name clientapi.load.ClientTweaker
[21:25:38] [main/INFO]: Loading tweak class name baritone.launch.BaritoneTweaker
[21:25:38] [main/INFO]: Calling tweak class clientapi.load.ClientTweaker
[21:25:38] [main/INFO]: Injecting into ClassLoader
[21:25:38] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.7.11 Source=file:.minecraft/libraries/org/spongepowered/mixin/0.7.11-SNAPSHOT/mixin-0.7.11-SNAPSHOT.jar Service=LaunchWrapper Env=UNKNOWN
[21:25:38] [main/INFO]: FML platform manager could not load class cpw.mods.fml.relauncher.CoreModManager. Proceeding without FML support.
[21:25:39] [main/INFO]: Initialized Mixin bootstrap
[21:25:39] [main/INFO]: Setup Mixin Environment
[21:25:39] [main/INFO]: Registered Bytecode Transformes
[21:25:39] [main/INFO]: Compatibility level set to JAVA_8
[21:25:39] [main/ERROR]: Mixin config mixins.impact.json does not specify "minVersion" property
[21:25:39] [main/INFO]: Loaded Mixin Configurations
[21:25:39] [main/INFO]: Calling tweak class baritone.launch.BaritoneTweaker
[21:25:39] [main/ERROR]: Mixin config mixins.baritone.json does not specify "minVersion" property
[21:25:39] [main/INFO]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker
[21:25:39] [main/INFO]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker
[21:25:39] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinBlock, name: clientapi.load.mixin.MixinBlock
[21:25:39] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinEntity, name: clientapi.load.mixin.MixinEntity
[21:25:39] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinEntityLivingBase, name: clientapi.load.mixin.MixinEntityLivingBase
[21:25:39] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinEntityPlayerSP, name: clientapi.load.mixin.MixinEntityPlayerSP
[21:25:39] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinEntityRenderer, name: clientapi.load.mixin.MixinEntityRenderer
[21:25:39] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinFontRenderer, name: clientapi.load.mixin.MixinFontRenderer
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinGuiBossOverlay, name: clientapi.load.mixin.MixinGuiBossOverlay
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinGuiConnecting, name: clientapi.load.mixin.MixinGuiConnecting
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinGuiDisconnected, name: clientapi.load.mixin.MixinGuiDisconnected
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinGuiGameOver, name: clientapi.load.mixin.MixinGuiGameOver
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinGuiIngame, name: clientapi.load.mixin.MixinGuiIngame
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinGuiIngameMenu, name: clientapi.load.mixin.MixinGuiIngameMenu
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinGuiSpectator, name: clientapi.load.mixin.MixinGuiSpectator
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinItemRenderer, name: clientapi.load.mixin.MixinItemRenderer
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinLayerArmorBase, name: clientapi.load.mixin.MixinLayerArmorBase
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinMinecraft, name: clientapi.load.mixin.MixinMinecraft
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinNetHandlerLoginClient, name: clientapi.load.mixin.MixinNetHandlerLoginClient
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinNetHandlerPlayClient, name: clientapi.load.mixin.MixinNetHandlerPlayClient
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinNettyPacketDecoder, name: clientapi.load.mixin.MixinNettyPacketDecoder
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinNettyPacketEncoder, name: clientapi.load.mixin.MixinNettyPacketEncoder
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinNetworkManager, name: clientapi.load.mixin.MixinNetworkManager
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinParticleManager, name: clientapi.load.mixin.MixinParticleManager
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinRender, name: clientapi.load.mixin.MixinRender
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinRenderItem, name: clientapi.load.mixin.MixinRenderItem
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinRenderLivingBase, name: clientapi.load.mixin.MixinRenderLivingBase
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinRenderManager, name: clientapi.load.mixin.MixinRenderManager
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinTimer, name: clientapi.load.mixin.MixinTimer
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.capi.json:MixinWorldClient, name: clientapi.load.mixin.MixinWorldClient
[21:25:40] [main/WARN]: Error loading class: Config (java.lang.ClassNotFoundException: The specified class 'Config' was not found)
[21:25:40] [main/WARN]: @Mixin target Config was not found mixins.impact.json:optifine.MixinConfig
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinAnvilChunkLoader, name: baritone.launch.mixins.MixinAnvilChunkLoader
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinBlockPos, name: baritone.launch.mixins.MixinBlockPos
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinChunkProviderClient, name: baritone.launch.mixins.MixinChunkProviderClient
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinChunkProviderServer, name: baritone.launch.mixins.MixinChunkProviderServer
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinChunkRenderContainer, name: baritone.launch.mixins.MixinChunkRenderContainer
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinChunkRenderWorker, name: baritone.launch.mixins.MixinChunkRenderWorker
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinEntityLivingBase, name: baritone.launch.mixins.MixinEntityLivingBase
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinEntityPlayerSP, name: baritone.launch.mixins.MixinEntityPlayerSP
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinEntityRenderer, name: baritone.launch.mixins.MixinEntityRenderer
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinMinecraft, name: baritone.launch.mixins.MixinMinecraft
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinNetHandlerPlayClient, name: baritone.launch.mixins.MixinNetHandlerPlayClient
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinNetworkManager, name: baritone.launch.mixins.MixinNetworkManager
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinRenderChunk, name: baritone.launch.mixins.MixinRenderChunk
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinRenderList, name: baritone.launch.mixins.MixinRenderList
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinVboRenderList, name: baritone.launch.mixins.MixinVboRenderList
[21:25:40] [main/ERROR]: Classloader restrictions [PACKAGE_CLASSLOADER_EXCLUSION] encountered loading mixins.baritone.json:MixinWorldClient, name: baritone.launch.mixins.MixinWorldClient
[21:25:40] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[21:25:42] [main/INFO]: Setting user: yes
[21:25:46] [main/WARN]: Skipping bad option: lastServer:
[21:25:46] [main/INFO]: LWJGL Version: 2.9.4
[21:25:47] [main/INFO]: Reloading ResourceManager: Default
[21:25:47] [Sound Library Loader/INFO]: Starting up SoundSystem...
[21:25:48] [Thread-3/INFO]: Initializing LWJGL OpenAL
[21:25:48] [Thread-3/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[21:25:48] [Thread-3/INFO]: OpenAL initialized.
[21:25:48] [Sound Library Loader/INFO]: Sound engine started
[21:25:50] [main/INFO]: Created: 1024x512 textures-atlas
[21:25:54] [main/INFO]: Loading Fonts
[21:28:08] [main/INFO]: Checking for Updates
[21:28:08] [main/INFO]: Loading Users
[21:28:10] [main/INFO]: Initialized 115 mods!
[21:28:10] [main/FATAL]: Unable to load spam config file: Spam config file is in invalid format
[21:28:10] [main/ERROR]: ########## GL ERROR ##########
[21:28:10] [main/ERROR]: @ Pre render
[21:28:10] [main/ERROR]: 1282: Invalid operation
[...]
[22:27:09] [main/INFO]: Stopping!
[22:27:09] [main/INFO]: SoundSystem shutting down...
[22:27:09] [main/WARN]: Author: Paul Lamb, www.paulscode.com
Additional Client Info
  • Impact Version: 4.5

  • Using Optifine? No

  • Using LiteLoader? No

  • Enabled mods: irrelevant

  • Operating System: openSUSE Tumbleweed

@LeafHacker
Copy link
Contributor

LeafHacker commented Mar 5, 2019

Looks like the font TTF is loaded from disk into memory and processed three separate times in FontManager.init(), which probably doesn't help

@leijurv
Copy link
Member

leijurv commented Mar 6, 2019

😻

@leijurv leijurv closed this as completed Mar 7, 2019
@leijurv leijurv added Bug Suggestion GUI labels Mar 7, 2019
@leijurv leijurv added this to the 4.6 milestone Mar 7, 2019
@leijurv
Copy link
Member

leijurv commented Mar 7, 2019

made about 3x faster

@0-x-2-2
Copy link
Contributor

0-x-2-2 commented Mar 10, 2019

Looks like the font TTF is loaded from disk into memory and processed three separate times in FontManager.init(), which probably doesn't help

made about 3x faster

processed three separate times

HMMM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GUI Suggestion
Projects
None yet
Development

No branches or pull requests

4 participants