iPortalTeam / ImmersivePortalsMod

Non-Euclidean in Minecraft. See through portals and teleport seamlessly.
https://qouteall.fun/immptl/
Apache License 2.0
445 stars 107 forks source link

low FPS and high CPU usage when moving after creating portal #1243

Closed HappyAlexRomania closed 1 year ago

HappyAlexRomania commented 1 year ago

According to your testing, does the issue occur with ONLY Immersive Portals mod and Farbic API?

Yes

Describe the issue

I was making a non-euclidean map and I had some portals created already. I made a new portal somewhere else and after creating a portal, my CPU would go really high and the FPS of the game would get really low everytime I moved or loaded chunks. Looking around was fine. Deleting that portal didn't fix anything. It still lagged a lot while moving. It happened twice, but the first time it happened I somehow managed to fix the lag by rejoining the world. The second time it happened, rejoining didn't work and I decided to record a clip. I only had the Immersive portals, Pehkui and worldedit mods installed. The version I used was 1.19.3. Today I joined the map and changed my base scale to 0.5, then back to 1 again and it somehow fixed itself like as nothing would've happen. Even though I managed to fix the lagging issue in my map, I wanted to report this because I know it would happen soon for other players.

https://user-images.githubusercontent.com/95385133/211193809-061008dc-11da-4060-9507-be2cbfaa72f4.mp4

How to get the issue:

Post the log here

[13:13:09] [Render thread/INFO]: Received Dimension Int Id Sync
[13:13:09] [Render thread/INFO]: 
minecraft:overworld -> 0
immersive_portals:alternate1 -> 2
immersive_portals:alternate2 -> 3
minecraft:the_nether -> -1
immersive_portals:alternate3 -> 4
immersive_portals:alternate4 -> 5
minecraft:the_end -> 1
immersive_portals:alternate5 -> 6
[13:13:09] [Server thread/INFO]: Happy_AlexRO joined the game
[13:13:09] [Render thread/INFO]: WorldRenderer reloaded minecraft:overworld
[13:13:09] [Render thread/ERROR]: Null RenderChunk class_2338{x=-14, y=-54, z=4}
[13:13:09] [Render thread/INFO]: [System] [CHAT] You are using a preview version of Immersive Portals mod which is not yet stable. Report issues:https://github.com/qouteall/ImmersivePortalsMod/issues
[13:13:10] [Render thread/INFO]: Loaded 254 advancements
[13:13:23] [Server thread/INFO]: Saving and pausing game...
[13:13:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:overworld The corri-doors'/minecraft:overworld
[13:13:24] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_end The corri-doors'/minecraft:the_end
[13:13:24] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate2 The corri-doors'/immersive_portals:alternate2
[13:13:24] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate4 The corri-doors'/immersive_portals:alternate4
[13:13:24] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate5 The corri-doors'/immersive_portals:alternate5
[13:13:24] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate3 The corri-doors'/immersive_portals:alternate3
[13:13:24] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate1 The corri-doors'/immersive_portals:alternate1
[13:13:24] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_nether The corri-doors'/minecraft:the_nether
[13:13:24] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 2581ms or 51 ticks behind
[13:14:22] [Server thread/INFO]: Saving and pausing game...
[13:14:22] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:overworld The corri-doors'/minecraft:overworld
[13:14:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_end The corri-doors'/minecraft:the_end
[13:14:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate2 The corri-doors'/immersive_portals:alternate2
[13:14:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate4 The corri-doors'/immersive_portals:alternate4
[13:14:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate5 The corri-doors'/immersive_portals:alternate5
[13:14:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate3 The corri-doors'/immersive_portals:alternate3
[13:14:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate1 The corri-doors'/immersive_portals:alternate1
[13:14:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_nether The corri-doors'/minecraft:the_nether
[13:16:21] [Server thread/INFO]: Saving and pausing game...
[13:16:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:overworld The corri-doors'/minecraft:overworld
[13:16:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_end The corri-doors'/minecraft:the_end
[13:16:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate2 The corri-doors'/immersive_portals:alternate2
[13:16:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate4 The corri-doors'/immersive_portals:alternate4
[13:16:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate5 The corri-doors'/immersive_portals:alternate5
[13:16:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate3 The corri-doors'/immersive_portals:alternate3
[13:16:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate1 The corri-doors'/immersive_portals:alternate1
[13:16:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_nether The corri-doors'/minecraft:the_nether
[13:23:21] [Server thread/INFO]: Saving and pausing game...
[13:23:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:overworld The corri-doors'/minecraft:overworld
[13:23:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_end The corri-doors'/minecraft:the_end
[13:23:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate2 The corri-doors'/immersive_portals:alternate2
[13:23:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate4 The corri-doors'/immersive_portals:alternate4
[13:23:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate5 The corri-doors'/immersive_portals:alternate5
[13:23:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate3 The corri-doors'/immersive_portals:alternate3
[13:23:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate1 The corri-doors'/immersive_portals:alternate1
[13:23:21] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_nether The corri-doors'/minecraft:the_nether
[13:24:16] [Server thread/INFO]: Saving and pausing game...
[13:24:16] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:overworld The corri-doors'/minecraft:overworld
[13:24:16] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_end The corri-doors'/minecraft:the_end
[13:24:16] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate2 The corri-doors'/immersive_portals:alternate2
[13:24:16] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate4 The corri-doors'/immersive_portals:alternate4
[13:24:16] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate5 The corri-doors'/immersive_portals:alternate5
[13:24:16] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate3 The corri-doors'/immersive_portals:alternate3
[13:24:16] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate1 The corri-doors'/immersive_portals:alternate1
[13:24:16] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_nether The corri-doors'/minecraft:the_nether
[13:33:23] [Server thread/INFO]: Saving and pausing game...
[13:33:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:overworld The corri-doors'/minecraft:overworld
[13:33:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_end The corri-doors'/minecraft:the_end
[13:33:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate2 The corri-doors'/immersive_portals:alternate2
[13:33:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate4 The corri-doors'/immersive_portals:alternate4
[13:33:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate5 The corri-doors'/immersive_portals:alternate5
[13:33:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate3 The corri-doors'/immersive_portals:alternate3
[13:33:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld immersive_portals:alternate1 The corri-doors'/immersive_portals:alternate1
[13:33:23] [Server thread/INFO]: Saving chunks for level 'ServerWorld minecraft:the_nether The corri-doors'/minecraft:the_nether
qouteall commented 1 year ago

You only allocated 2048 MB memory to the game which is not enough. The mojang lanucher only allocate 2GB by default. Allocate more RAM to Minecraft https://filmora.wondershare.com/game-recording/how-to-allocate-more-ram-to-minecraft.html

qouteall commented 1 year ago

Close because no reply.