RaphiMC / ImmediatelyFast

Speed up immediate mode rendering in Minecraft
https://modrinth.com/mod/immediatelyfast
GNU Lesser General Public License v3.0
288 stars 21 forks source link

Generating buffers is slower by 70x in some cases causing load times to be way longer (Only without sodium) #260

Open forkiesassds opened 1 month ago

forkiesassds commented 1 month ago

I have been having issues with long loading times on the Downloading Terrain screen. Upon profiling this is due to the fact this mod changes how buffers are generated. This might be an NVIDIA driver issue, unsure about that (I am using an NVIDIA Geforce RTX 3060, on Linux driver 555.58.02). Attached bellow are profiler results with and without the mod. The problem gets worse the higher the render distance is.

image image

RaphiMC commented 1 month ago

Upload your game log

forkiesassds commented 1 month ago

https://mclo.gs/Mg7h7fq

Please ignore the JVM SIGBUS crash error, this is an NVIDIA driver bug. If this is a problem caused by another mod in my instance and not this one then it might be some sort of incompatibility.

RaphiMC commented 1 month ago

Known issue. Install sodium to fix that. I might look into excluding chunk buffers from the optimization

forkiesassds commented 1 month ago

Ok then. The only reason why I haven't installed Sodium is because I have been using Embeddium previously, and since the developer has halted development for Fabric 1.20.2+ I have not been using any form of Sodium since Minecraft runs fine on my computer.