sp614x / optifine

1.78k stars 419 forks source link

Performance of Minecraft 1.19 #7173

Open Krar0mil opened 1 year ago

Krar0mil commented 1 year ago

Hello, It all started with the release of version 1.19 and its optifine, I found several bugs in the game on version 1.19.2. Basically, this is a weak performance of the game in single worlds. I use Optifine HD U H9 and some pre-releases of Optifine HD U l1. I tried to go to the versions without an opt-in, but to no avail. The problem is that FPS drops a lot in some places of the game: when I run and upload new chunks (friezes for 5-8 seconds, this did not happen before in early versions - 1.16-1.17) and in some biomes where there is a lot of foliage (the jungle and mangrove swamps biome began to slow down especially strongly, strangely, but birch le also began to sink). In early versions of optifine, this was not the case, but it looks like the game itself started working badly.

Simply put, a strong performance problem, my rendering and simulation is equal to 20 chunks, the graphics are detailed, soft lighting is a minimum, there are no shaders, and 8192 Megabytes of RAM are allocated for minecraft, the graphics are quite acceptable for the game, but there are problems with the game. I want to play in the local world, but FPS does not allow me to just focus on a quiet game. I searched everywhere on the Internet to find a solution to this problem, looked at Java versions, configured the Nvidia driver, tried to allocate more memory and less, but no, the game itself is already slowing down a lot here. I have re-entered from vanilla, fps in jungles and mangrove swamps even more than in optifine. And shaders work very well, but it's not good without them.

The computer is generally good, here is its characteristic: processor - Intel(R) Core(TM) i3-10100F CPU @ 3.60GHz 3.60 GHz (6 cores), motherboard - B560M PRO-E (MS-7D22), RAM - 16 Gigabytes, graphics card - NVIDIA Geforce GTX 1050 (driver to him the latest version is 526.98) Please trace this problem and thank you in advance, I am waiting for your advice on how to solve this problem. Use Windows 10 (64 bit), Java - jdk 19.0.1

2022-11-26_19 39 13 2022-11-26_19 40 11 2022-11-26_19 40 24 2022-11-26_19 40 32

ZenIsBestWolf commented 1 year ago

Not a bug, first try lowering your Max Framrate (unlimited can cause way too many to render and do this), and adjust settings from there. If you need further help go to the Discord for assistance.

sp614x commented 1 year ago

The memory allocation rate is extreme, 700MB/s with 12fps is not normal.

sp614x commented 1 year ago

Reducing the render distance, simulation distance and biome blend radius should help.

sp614x commented 1 year ago

The GTX 1050 will probably struggle with render distance 20. Seeing that the GPU is at 100%, this seems to be the limiting factor for the FPS.