devs-immortal / Paradise-Lost

Paradise awaits...
https://immortaldevs.net/paradise-lost/
MIT License
199 stars 43 forks source link

Massive FPS loss with high GPU usage (Paradise Lost 1.18.1 Beta 1.6.5 RC1) (AMD RX 570) #594

Closed YurgenSchn closed 2 years ago

YurgenSchn commented 2 years ago

With Paradise Lost 1.18.1 Beta 1.6.5 RC1 installed, my fps plummits from 450fps (at regular settings, 18 chunks) to 55-60fps, everywhere - even on Overworld... Reducing settings doesn't seem to matter. The added input delay resembles vsync, but it's not smooth and has screen tearing. In the Aether dimension, i saw no visual glitches nor experienced any weird FPS problems (aside from it being low), like stutters or freezes. In beta 1.6.3.2 for 1.17.1, this issue doesn't happen, and the game runs perfectly fine.

PC SPECS: CPU: i5 10400F RAM: 16GB GPU: RX 570 4GB (21.12.1) Windows 10 21H2

MINECRAFT INFO: Version 1.18.1 Fabric Loader 0.12.12 Fabric API 0.46.1

Extra Mods: Sodium 0.4.0 alpha6 to boost vanilla FPS, and Iris 1.2.0 to push the GPU further with shaders. The fps does go lower with shaders, and testing with Paradise Lost exclusively, the FPS drops from 150 to around 40fps.

Without Paradise Lost withoutParadiseLost

With Paradise Lost withParadiseLost

Paradise Lost, but small window (FPS goes up quite a lot to 250, but not normal still) image

Usage metrics (it's in Portuguese, but should be understandable) image

Mod Version

1.6.5 - 1.18

Fabric API Version

0.46.1

Relevant log output

[17:13:34] [main/INFO]: Loading Minecraft 1.18.1 with Fabric Loader 0.12.12
[17:13:35] [main/INFO]: Loading 65 mods:
    - cardinal-components-base 4.0.1 via the_aether
    - cardinal-components-entity 4.0.1 via the_aether
    - crowdin-translate 1.3+1.17 via the_aether
    - customportalapi 0.0.1-beta49-1.18 via the_aether
    - fabric 0.46.1+1.18
    - fabric-api-base 0.4.1+b4f4f6cd65 via fabric
    - fabric-api-lookup-api-v1 1.5.0+17be577f65 via fabric
    - fabric-biome-api-v1 6.0.1+ded849a965 via fabric
    - fabric-blockrenderlayer-v1 1.1.9+3ac43d9565 via fabric
    - fabric-command-api-v1 1.1.6+3ac43d9565 via fabric
    - fabric-commands-v0 0.2.5+b4f4f6cd65 via fabric
    - fabric-containers-v0 0.1.18+d154e2c665 via fabric
    - fabric-content-registries-v0 0.4.5+6f53a73d65 via fabric
    - fabric-crash-report-info-v1 0.1.8+3ac43d9565 via fabric
    - fabric-dimensions-v1 2.1.9+a1d9bbf565 via fabric
    - fabric-entity-events-v1 1.4.5+6b21378a65 via fabric
    - fabric-events-interaction-v0 0.4.16+bfa23f1765 via fabric
    - fabric-events-lifecycle-v0 0.2.6+b4f4f6cd65 via fabric
    - fabric-game-rule-api-v1 1.0.10+3ac43d9565 via fabric
    - fabric-item-api-v1 1.3.0+691a79b565 via fabric
    - fabric-item-groups-v0 0.3.3+3ac43d9565 via fabric
    - fabric-key-binding-api-v1 1.0.8+c8aba2f365 via fabric
    - fabric-keybindings-v0 0.2.6+b4f4f6cd65 via fabric
    - fabric-lifecycle-events-v1 1.4.10+c15ca33565 via fabric
    - fabric-loot-tables-v1 1.0.8+3ac43d9565 via fabric
    - fabric-mining-level-api-v1 1.0.3+3ac43d9565 via fabric
    - fabric-mining-levels-v0 0.1.8+b4f4f6cd65 via fabric
    - fabric-models-v0 0.3.3+3ac43d9565 via fabric
    - fabric-networking-api-v1 1.0.18+3ac43d9565 via fabric
    - fabric-networking-v0 0.3.5+b4f4f6cd65 via fabric
    - fabric-object-builder-api-v1 1.11.1+3b82842e65 via fabric
    - fabric-object-builders-v0 0.7.9+3ac43d9565 via fabric
    - fabric-particles-v1 0.2.9+526dc1ac65 via fabric
    - fabric-registry-sync-v0 0.9.0+befed49e65 via fabric
    - fabric-renderer-api-v1 0.4.10+b0b66fc365 via fabric
    - fabric-renderer-indigo 0.4.13+b0b66fc365 via fabric
    - fabric-renderer-registries-v1 3.2.7+b4f4f6cd65 via fabric
    - fabric-rendering-data-attachment-v1 0.3.4+7242e9d765 via fabric
    - fabric-rendering-fluids-v1 0.1.18+3ac43d9565 via fabric
    - fabric-rendering-v0 1.1.9+b4f4f6cd65 via fabric
    - fabric-rendering-v1 1.10.3+6b21378a65 via fabric
    - fabric-resource-conditions-api-v1 1.0.1+13eda06565 via fabric
    - fabric-resource-loader-v0 0.4.11+3ac43d9565 via fabric
    - fabric-screen-api-v1 1.0.7+3ac43d9565 via fabric
    - fabric-screen-handler-api-v1 1.1.11+3ac43d9565 via fabric
    - fabric-structure-api-v1 2.1.0+0a73a6c265 via fabric
    - fabric-tag-extensions-v0 1.2.5+3ac43d9565 via fabric
    - fabric-textures-v0 1.0.9+3ac43d9565 via fabric
    - fabric-tool-attribute-api-v1 1.3.5+fb3b57b465 via fabric
    - fabric-transfer-api-v1 1.5.6+b4f4f6cd65 via fabric
    - fabricloader 0.12.12
    - gud_csl 1.0.0 via the_aether
    - gud_recipe_confidence 1.0.2 via the_aether
    - incubus_core 1.7-rc.2 via the_aether
    - iris 1.2.0-pre
    - java 17
    - minecraft 1.18.1
    - moretags 2.0.2 via the_aether
    - org_anarres_jcpp 1.4.14 via iris
    - org_joml_joml 1.10.2 via sodium
    - org_slf4j_slf4j-api 1.7.12 via iris
    - reach-entity-attributes 2.1.1 via the_aether
    - sodium 0.4.0-alpha6+build.14
    - the_aether 1.6.5-rc.1+1.18.1
    - trinkets 3.1.0 via the_aether
[17:13:35] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/C:/Users/Yurgen/AppData/Roaming/.minecraft/libraries/net/fabricmc/sponge-mixin/0.10.7+mixin.0.8.4/sponge-mixin-0.10.7+mixin.0.8.4.jar Service=Knot/Fabric Env=CLIENT
[17:13:35] [main/INFO]: Compatibility level set to JAVA_16
[17:13:35] [main/INFO]: Compatibility level set to JAVA_17
[17:13:35] [main/INFO]: Loaded configuration file for Sodium: 29 options available, 1 override(s) found
[17:13:35] [main/WARN]: Force-disabling mixin 'features.sky.MixinWorldRenderer' as rule 'mixin.features.sky' (added by mods [iris]) disables it and children
[17:13:35] [main/INFO]: Trying to switch memory allocators to work around memory leaks present with Jemalloc 5.0.0 through 5.2.0 on Windows
[17:13:38] [main/WARN]: @Inject(@At("INVOKE")) Shift.BY=3 on fabric-lifecycle-events-v1.mixins.json:client.WorldChunkMixin::handler$zeh000$onLoadBlockEntity exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning.
[17:13:39] [main/WARN]: @Inject(@At("INVOKE_ASSIGN")) Shift.BY=2 on gud_recipe_confidence.mixins.json:IngredientMixin::handler$zjl002$init exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning.
[17:13:39] [Render thread/WARN]: Method overwrite conflict for method_22920 in sodium.mixins.json:features.buffer_builder.intrinsics.MixinBufferBuilder, previously written by net.coderbot.iris.mixin.vertices.block_rendering.MixinBufferBuilder_SeparateAo. Skipping method.
[17:13:40] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[17:13:41] [Render thread/INFO]: Setting user: YrN_Br
[17:13:42] [Render thread/INFO]: [Indigo] Different rendering plugin detected; not applying Indigo.
[17:13:42] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 build 10
[17:13:44] [Render thread/INFO]: Shaders are disabled because enableShaders is set to false in iris.properties
[17:13:44] [Render thread/INFO]: Shaders are disabled
[17:13:44] [Render thread/INFO]: Hardware information:
[17:13:44] [Render thread/INFO]: CPU: 12x Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
[17:13:44] [Render thread/INFO]: GPU: Radeon RX 570 Series (Supports OpenGL 3.2.14802 Core Profile Forward-Compatible Context 21.12.1 30.0.14011.3017)
[17:13:44] [Render thread/INFO]: OS: Windows 10 (10.0)
[17:13:45] [Render thread/WARN]: Method overwrite conflict for getNativeMemoryUsage in sodium.mixins.json:features.debug.MixinDebugHud, previously written by net.coderbot.iris.mixin.MixinDebugScreenOverlay. Skipping method.
[17:13:45] [Render thread/INFO]: Narrator library for x64 successfully loaded
[17:13:45] [Render thread/INFO]: Reloading ResourceManager: Default, EM32D, Old Lighting - Night Only, VanillaTweaks - Old Lava.zip, VanillaTweaks - Old Sounds.zip, VanillaTweaks - Unobtrusive.zip, Fabric Mods (Custom Portal Api, Fabric API, Fabric API Base, Fabric API Lookup API (v1), Fabric Biome API (v1), Fabric BlockRenderLayer Registration (v1), Fabric Command API (v1), Fabric Commands (v0), Fabric Containers (v0), Fabric Content Registries (v0), Fabric Crash Report Info (v1), Fabric Dimensions API (v1), Fabric Entity Events (v1), Fabric Events Interaction (v0), Fabric Events Lifecycle (v0), Fabric Game Rule API (v1), Fabric Item API (v1), Fabric Item Groups (v0), Fabric Key Binding API (v1), Fabric Key Bindings (v0), Fabric Lifecycle Events (v1), Fabric Loot Tables (v1), Fabric Mining Level API (v1), Fabric Mining Levels (v0), Fabric Models (v0), Fabric Networking API (v1), Fabric Networking (v0), Fabric Object Builder API (v1), Fabric Object Builders (v0), Fabric Particles (v1), Fabric Registry Sync (v0), Fabric Renderer API (v1), Fabric Renderer - Indigo, Fabric Renderer Registries (v1), Fabric Rendering Data Attachment (v1), Fabric Rendering Fluids (v1), Fabric Rendering (v0), Fabric Rendering (v1), Fabric Resource Conditions API (v1), Fabric Resource Loader (v0), Fabric Screen API (v1), Fabric Screen Handler API (v1), Fabric Structure API (v1), Fabric Tag Extensions (v0), Fabric Textures (v0), Fabric Tool Attribute API (v1), Fabric Transfer API (v1), Fabric Loader, Custom Shader Lib, Recipe Confidence, Incubus Core, Iris, More Tags, Reach Entity Attributes, Sodium, Paradise Lost - The Aether Reborn, Trinkets)
[17:13:45] [Render thread/INFO]: [STDOUT]: Inject generated resource packs.
[17:13:49] [Worker-Main-21/WARN]: Method overwrite conflict for method_24128 in sodium.mixins.json:features.texture_updates.MixinSpriteInterpolated, previously written by net.id.incubus_core.mixin.client.InterpFixMixin. Skipping method.
[17:13:50] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Alto-falantes (Realtek(R) Audio)
[17:13:50] [Render thread/INFO]: Sound engine started
[17:13:50] [Render thread/INFO]: Created: 2048x2048x1 minecraft:textures/atlas/blocks.png-atlas
[17:13:50] [Render thread/INFO]: Created: 512x256x1 minecraft:textures/atlas/signs.png-atlas
[17:13:50] [Render thread/INFO]: Created: 2048x1024x1 minecraft:textures/atlas/banner_patterns.png-atlas
[17:13:50] [Render thread/INFO]: Created: 2048x1024x1 minecraft:textures/atlas/shield_patterns.png-atlas
[17:13:50] [Render thread/INFO]: Created: 512x512x1 minecraft:textures/atlas/chest.png-atlas
[17:13:50] [Render thread/INFO]: Created: 1024x512x1 minecraft:textures/atlas/beds.png-atlas
[17:13:50] [Render thread/INFO]: Created: 1024x512x1 minecraft:textures/atlas/shulker_boxes.png-atlas
[17:13:52] [Render thread/INFO]: Created: 512x512x0 minecraft:textures/atlas/particles.png-atlas
[17:13:52] [Render thread/INFO]: Created: 512x512x0 minecraft:textures/atlas/paintings.png-atlas
[17:13:52] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/mob_effects.png-atlas
[17:14:35] [Render thread/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[17:14:35] [Render thread/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[17:14:35] [Render thread/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[17:14:35] [Render thread/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[17:14:35] [Render thread/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[17:14:35] [Render thread/INFO]: Reloading ResourceManager: Default, Fabric Mods (Fabric Tool Attribute API (v1), Incubus Core, More Tags, Paradise Lost - The Aether Reborn, Trinkets)
[17:14:35] [Render thread/INFO]: Loaded 7 recipes
[17:14:35] [Render thread/INFO]: Loaded 1150 advancements
[17:14:35] [Render thread/INFO]: Applied 0 biome modifications to 0 of 68 new biomes in 1.036 ms
[17:14:35] [Render thread/INFO]: [fabric-registry-sync] Loaded registry data [file 1/4]
[17:14:36] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[17:14:36] [Server thread/INFO]: Starting integrated minecraft server version 1.18.1
[17:14:36] [Server thread/INFO]: Generating keypair
[17:14:36] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[17:14:36] [Render thread/INFO]: Preparing spawn area: 0%
[17:14:36] [Render thread/INFO]: Preparing spawn area: 0%
[17:14:37] [Render thread/INFO]: Preparing spawn area: 0%
[17:14:39] [Render thread/INFO]: Preparing spawn area: 0%
[17:14:39] [Render thread/INFO]: Preparing spawn area: 0%
[17:14:39] [Render thread/INFO]: Preparing spawn area: 0%
[17:14:39] [Render thread/INFO]: Preparing spawn area: 0%
[17:14:39] [Render thread/INFO]: Preparing spawn area: 11%
[17:14:40] [Render thread/INFO]: Preparing spawn area: 32%
[17:14:40] [Render thread/INFO]: Preparing spawn area: 60%
[17:14:41] [Render thread/INFO]: Preparing spawn area: 83%
[17:14:41] [Render thread/INFO]: Time elapsed: 5191 ms
[17:14:41] [Server thread/INFO]: Changing view distance to 12, from 10
[17:14:41] [Server thread/INFO]: Changing simulation distance to 8, from 0
[17:14:41] [Server thread/INFO]: YrN_Br[local:E:b1aeba29] logged in with entity id 143 at (-85.69999998807907, 69.0, 286.30000001192093)
[17:14:41] [Server thread/INFO]: YrN_Br joined the game
[17:14:42] [Render thread/INFO]: Started 10 worker threads
[17:14:42] [Render thread/INFO]: Loaded 13 advancements
[17:14:42] [Render thread/INFO]: Creating pipeline for dimension OVERWORLD
[17:14:54] [Server thread/INFO]: Saving and pausing game...
[17:14:54] [Server thread/INFO]: Saving chunks for level 'ServerLevel[Criativo - Paradise Lost]'/minecraft:overworld
[17:14:54] [Server thread/INFO]: Saving chunks for level 'ServerLevel[Criativo - Paradise Lost]'/the_aether:the_aether
[17:25:51] [Render thread/INFO]: Stopping!
[17:25:51] [Server thread/INFO]: YrN_Br lost connection: Disconnected
[17:25:51] [Server thread/INFO]: YrN_Br left the game
[17:25:51] [Server thread/INFO]: Stopping singleplayer server as player logged out
[17:25:51] [Server thread/INFO]: Stopping server
[17:25:51] [Server thread/INFO]: Saving players
[17:25:51] [Server thread/INFO]: Saving worlds
[17:25:51] [Server thread/INFO]: Saving chunks for level 'ServerLevel[Criativo - Paradise Lost]'/minecraft:overworld
[17:25:52] [Server thread/INFO]: Saving chunks for level 'ServerLevel[Criativo - Paradise Lost]'/the_aether:the_aether
[17:25:52] [Server thread/INFO]: ThreadedAnvilChunkStorage (Criativo - Paradise Lost): All chunks are saved
[17:25:52] [Server thread/INFO]: ThreadedAnvilChunkStorage (the_aether): All chunks are saved
[17:25:52] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[17:25:52] [Render thread/INFO]: Stopping worker threads

Other mods

Cant put mods, but there's a screenshot *Final Iris v1.2.0 wouldn't change anything, as the bug persists without any other mods.

image

Additional Information

No response

DbpGaming commented 2 years ago

same issue, even without sodium, on a amd 4500u apu drops from solid 60 to 12fps

CDAGaming commented 2 years ago

The issue has been isolated to the recent changes made to Incubus Core. Due to the severity of this issue, a second release candidate will be deployed with the 1.18+ ports using Incubus Core 1.6.3, which is not effected from this issue.

Standby for announcement later tonight.

CDAGaming commented 2 years ago

@DbpGaming @YurgenSchn The 1.18.1 and 22w05a (1.18.2) files at https://github.com/devs-immortal/Paradise-Lost/releases/tag/b1.6.5-rc.1 (Now using Incubus Core b1.6.x)

I will leave this issue pinned, but closed with the following message: Those that have this issue on the 1.18.1 and 1.18.2 builds from earlier then Time of posting, should immediately re-download from the releases page

CDAGaming commented 2 years ago

As an additional note: Worlds already generated in the Release Candidate will still work just fine in this re-uploaded version of rc1