mojira.dev
MC-70205

New Worlds take minutes to open

When I create a new world nothing generates and I slowly drift downwards. Eventually the world appears and I get teleported to ground level.

If I quit the world before it was finished it takes a long time to close but after re-opening the world is there but mobs are not moving and I do not take fall damage.

This happend first in the 1.8 snapshots and does not affect my existing worlds when I open them with a pre-release.

[04:14:35] [Client thread/INFO]: Setting user: sdf1981cgn
[04:14:35] [Client thread/INFO]: (Session ID is token:30c3f2dcdd9f4910a940f9fd47134916:6bfd23864d57491e88abbd7c3944d744)
[04:14:36] [Client thread/INFO]: LWJGL Version: 2.9.2
[04:14:37] [Client thread/INFO]: Reloading ResourceManager: Default
[04:14:38] [Sound Library Loader/INFO]: Starting up SoundSystem...
[04:14:38] [Client thread/WARN]: File minecraft:sounds/mob/ghast/fireball.ogg does not exist, cannot add it to event minecraft:item.fireCharge.use
[04:14:38] [Thread-7/INFO]: Initializing LWJGL OpenAL
[04:14:38] [Thread-7/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[04:14:38] [Thread-7/INFO]: OpenAL initialized.
[04:14:38] [Sound Library Loader/INFO]: Sound engine started
[04:14:40] [Client thread/INFO]: Created: 512x512 textures-atlas
[04:15:10] [Server thread/INFO]: Starting integrated minecraft server version 1.8-pre3
[04:15:10] [Server thread/INFO]: Generating keypair
[04:15:11] [Server thread/INFO]: Converting map!
[04:15:11] [Server thread/INFO]: Scanning folders...
[04:15:11] [Server thread/INFO]: Total conversion count is 0
[04:15:11] [Server thread/INFO]: Preparing start region for level 0
[04:15:12] [Server thread/INFO]: Preparing spawn area: 10%
[04:15:13] [Server thread/INFO]: Preparing spawn area: 23%
[04:15:14] [Server thread/INFO]: Preparing spawn area: 39%
[04:15:15] [Server thread/INFO]: Preparing spawn area: 57%
[04:15:16] [Server thread/INFO]: Preparing spawn area: 75%
[04:15:17] [Server thread/INFO]: Preparing spawn area: 92%
[04:15:17] [Server thread/INFO]: Changing view distance to 32, from 10
[04:15:18] [Server thread/INFO]: sdf1981cgn[local:E:4ee62227] logged in with entity id 183 at (253.5, 68.0, 251.5)
[04:15:18] [Server thread/INFO]: sdf1981cgn joined the game
[04:15:52] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 34044ms behind, skipping 680 tick(s)
[04:15:59] [Client thread/INFO]: [CHAT] Saved screenshot as 2014-09-01_04.15.58.png
[04:16:18] [Server thread/INFO]: Saving and pausing game...
[04:16:18] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[04:18:15] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[04:18:15] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[04:18:16] [Server thread/INFO]: Stopping server
[04:18:16] [Server thread/INFO]: Saving players
[04:18:16] [Server thread/INFO]: Saving worlds
[04:18:16] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[04:18:16] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[04:18:16] [Server thread/INFO]: Saving chunks for level 'New World'/The End

Related issues

Attachments

Comments

migrated
[media]
migrated

Plausible, I've noticed world generation is significantly slower in 1,8-Pre3

migrated

A view distance of 32 and 512x512 textures is a massive workload. Does the delay reduce with lower resolutions and/or smaller textures?

migrated

Well, it seems, that it is indeed the fault of the view distance. If I change it to "2 chunks", world generation is instantaneous.
I still would consider this a bug because once the chunks are generated for the first time it works fine using the long view distance.

Regarding the second remark, I can see how you can get the impression of 512x512 textures:

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

But I do not have a single resource pack installed, this message must be about something else (or maybe another bug?) as you can see in this line:

[04:14:37] [Client thread/INFO]: Reloading ResourceManager: Default
migrated

My mistake with the resource pack. 🙂

Seems like the spawn chunks are created (but not rendered) then, when the view distance is increased to 32 the player is dropped into the world exactly at the point the demand for chunk creation (the difference between 10 and 32 view distance) pushes rendering into the background until complete. Might be an idea to force spawn chunk rendering before considering extended view distance requirements. Alternatively, delay world appearance to the player until at least the spawn chunks are rendered then let the rest generate as they do when a player moves through the world.

migrated

(Unassigned)

Unconfirmed

Minecraft 14w34d, Minecraft 1.8-pre3

Retrieved