Jump to content

Forge 1.11.2 client-side hangs up on texture mipmap and upload


Lant

Recommended Posts

Please help me to solve a problem with run Minecraft. My hardware: CPU Intel Core I7-4790K (not overclocked), RAM 16GB, Video AMD R9-285 2GB, hdd+ssd. Operating system Xubuntu 17.04 / x64, file system ext4.

Minecraft version 1.11.2, Forge versions 1.11.2-13.20.0.2298, some parameters to run Java:

 

$tmp = </mnt/e/Games/Minecraft_Launcher>
java -Xmx4096M -Djava.library.path="$tmp/versions/Forge 1.11.2/natives" -cp "<very-very long string with all paths to all libraries>"  -Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.ignorePatchDiscrepancies=true -Djava.net.useSystemProxies=true -Dfile.encoding=UTF-8 -Xms4096M -XX:+UseG1GC -XX:ConcGCThreads=8 net.minecraft.launchwrapper.Launch --username Lant --version Forge 1.11.2 --gameDir $tmp --assetsDir "$tmp/assets" --assetIndex 1.11.2 --uuid 00000000-0000-0000-0000-000000000000 --accessToken null --userType legacy --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker --versionType Forge --width 1920 --height 1080

 

While starting Minecraft, a hang appears on splash screen (see screenshot). Memory value on up and texture file on bottom constantly changing. In some cases all runs normally (~10%), game run normally, all mods working ok. But in other 90% cases game hangs up on splash. In system monitor I see a full load of one core of processor, task is looped and hangs. It only remains to kill a dead task.

 

I see a log files 'fml-client-latest.log', collect them all from various cases (run and hang) and store on directory with various numbers. On all logs I see a hang on string:

[23:09:40] [Client thread/DEBUG] [FML/]: Bar Finished: Texture mipmap and upload took 0.328s

On 'hanges logs' this string does not exist, but on 'normal runs' - exist.

 

I don't know what is it, but I think that it is some with memory allocations, some buffers overflows and some insufficient... Can you help me?

20170517 - Minecraft Screenshot 1.jpg

Link to comment
Share on other sites

Second addition. I delete all mods. Upgrade Forge to 2299. Game starts only in ~10% cases, in 90% cases it's hang up.

Something with java options... I don't know where...

 

I have change my launcher file:

 

tmp="/mnt/e/Games/Minecraft_Launcher"
gamemain="1.11"
gamever="1.11.2"
forge="1.11.2-13.20.0.2299"

javaparm1="fml.ignoreInvalidMinecraftCertificates=true"
javaparm2="fml.ignorePatchDiscrepancies=true"
javaparm3="java.net.useSystemProxies=true"
javaparm4="file.encoding=UTF-8"
javaparm5="java.library.path=$tmp/versions/$gamever/natives"
javaparms="-D$javaparm1 -D$javaparm2 -D$javaparm3 -D$javaparm4 -D$javaparm5"
javaparms="$javaparms -Xmx4096M -Xms4096M -XX:+UseG1GC -XX:ConcGCThreads=8"

libpath="$tmp/libraries/net/minecraftforge/forge/$forge/forge-$forge-universal.jar"
libpath="$libpath:$tmp/libraries/by/ely/authlib/1.5.24.4/authlib-1.5.24.4.jar"
libpath="$libpath:$tmp/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar"
libpath="$libpath:$tmp/libraries/com/google/guava/guava/17.0/guava-17.0.jar"
libpath="$libpath:$tmp/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar"
libpath="$libpath:$tmp/libraries/com/mojang/netty/1.6/netty-1.6.jar"
libpath="$libpath:$tmp/libraries/com/mojang/realms/1.10.16/realms-1.10.16.jar"
libpath="$libpath:$tmp/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar"
libpath="$libpath:$tmp/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar"
libpath="$libpath:$tmp/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar"
libpath="$libpath:$tmp/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar"
libpath="$libpath:$tmp/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar"
libpath="$libpath:$tmp/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar"
libpath="$libpath:$tmp/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar"
libpath="$libpath:$tmp/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar"
libpath="$libpath:$tmp/libraries/commons-codec/commons-codec/1.9/commons-codec-1.9.jar"
libpath="$libpath:$tmp/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar"
libpath="$libpath:$tmp/libraries/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar"
libpath="$libpath:$tmp/libraries/it/unimi/dsi/fastutil/7.0.12_mojang/fastutil-7.0.12_mojang.jar"
libpath="$libpath:$tmp/libraries/java3d/vecmath/1.5.2/vecmath-1.5.2.jar"
libpath="$libpath:$tmp/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar"
libpath="$libpath:$tmp/libraries/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar"
libpath="$libpath:$tmp/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar"
libpath="$libpath:$tmp/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar"
libpath="$libpath:$tmp/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar"
libpath="$libpath:$tmp/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar"
libpath="$libpath:$tmp/libraries/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar"
libpath="$libpath:$tmp/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar"
libpath="$libpath:$tmp/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar"
libpath="$libpath:$tmp/libraries/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar"
libpath="$libpath:$tmp/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar"
libpath="$libpath:$tmp/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar"
libpath="$libpath:$tmp/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar"
libpath="$libpath:$tmp/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar"
libpath="$libpath:$tmp/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar"
libpath="$libpath:$tmp/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar"
libpath="$libpath:$tmp/libraries/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar"
libpath="$libpath:$tmp/libraries/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar"
libpath="$libpath:$tmp/libraries/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar"
libpath="$libpath:$tmp/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar"
libpath="$libpath:$tmp/libraries/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar"
libpath="$libpath:$tmp/libraries/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar"
libpath="$libpath:$tmp/libraries/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar"
libpath="$libpath:$tmp/libraries/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar"
libpath="$libpath:$tmp/libraries/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar"
libpath="$libpath:$tmp/libraries/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar"
libpath="$libpath:$tmp/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar"
libpath="$libpath:$tmp/versions/$gamever/$gamever.jar"

cd $tmp

java -cp $libpath $javaparms net.minecraft.launchwrapper.Launch --username Lant --version Forge $gamever --gameDir $tmp --assetsDir "$tmp/assets" --assetIndex $gamemain --uuid 00000000-0000-0000-0000-000000000000 --accessToken null --userType legacy --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker --versionType Forge --width 1920 --height 1080

 

All libraries listed in alphabetical order. Java parameters separated to individual strings. What about game parameters?

 

In a log file last string before hanging:

 

[Client thread/INFO]: Created: 512x512 textures-atlas

And hang up after this. "Texture mipmap and upload" show various files in last string on bottom

(for example, minecraft:items/mutton_raw). Adding mods decrease probability of success run, I suppose that in this case there are more files load, and probability of hang is increase.

Edited by Lant
Link to comment
Share on other sites

Okay, Error is detected. This is splash (drawing of splash)

 

I have disable a splash screen on 'config\splash.properties' file - and all work fine with all mods. 100% work without hangs and loopings.

Therefore this is a splash screen cause hangs. I suppose that drawing of status bar with very fast and quick listing of files in splash - cause game to hang. It's a need to some reduce splash screen updates, for example no more 5-10 times per second. How to do this? Create a some buffer where loading state saves, while game starts. DO NOT update a splash with these updates, update only this buffer. Start a parallel independed task which run 5-10 times per second to output buffer and draw a splash. Output made - task executed. And 5-10 times per second, absolutely independ to main process.

Link to comment
Share on other sites

It has nothing to do with the speed of the splash updates, your screen renders it every frame anyways.

It's a issue with your specific graphics card/drive set that doesn't like multi-threaded rendering.

There isn't anything you can do besides just disabling the loading screen.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.