sp614x / optifine

1.81k stars 418 forks source link

[Forge] Low FPS on 1.15+ with Forge #4695

Open TheFinkie opened 4 years ago

TheFinkie commented 4 years ago

Description of Issue

I have noticed significantly lower FPS when Forge is installed. This doesn't happen on 1.14.4, only 1.15-1.16. The issue is most prominent in areas with lots of leaves (e.g. modified jungle). I believe it is a compatibility issue between Optifine and Forge, because Forge alone doesn't have problems and Optifine alone doesn't either.

I have included screenshots to illustrate the problem. In these pictures, I am using BSL shaders, but note that the problem is always present regardless of which shader I use (including Shaders Off). No settings have been changed between the screenshots except as noted.

Steps to Reproduce

  1. Install Forge.
  2. Add Optifine to mod folder.
  3. Create world (for reproduction purposes, a Modified Jungle buffet world is best because of its dense leaves).
  4. Look at an area where lots of leaves are in view.
  5. Wait a few minutes for the world to fully load.
  6. Observe the FPS.

OptiFine Version

I have tried:

I can confirm that there is NO problem in:

Installation Method

Explained under Steps to Reproduce

Fabric/Forge Version

I have tried:

I can confirm that there is NO problem in:

Other Installed Mods

NO OTHER MODS besides Forge (and Optifine).

Log Files/Crash Reports

I don't think this section is relevent, but please let me know if you need anything.

F3 Debug Screenshot

Fig.1: Minecraft 1.14.4 with Optifine – runs perfectly. 2020-08-24_19 55 44

Fig. 2: Minecraft 1.14.4 with Optifine & Forge – runs perfectly. 2020-08-24_19 59 38

Fig. 3: Minecraft 1.15.2 with Optifine – runs perfectly. 2020-08-24_20 03 31

Fig. 4: Minecraft 1.15.2 with Optifine & Forge – huge FPS drop. 2020-08-24_20 07 06

Prior Testing

I have done extensive testing, and the results are as written in this report.

Additional Information

If you need any more information, please let me know. As far as I can tell, the problem is with Optifine, but if you think otherwise, please tell me what else could be causing this.

sp614x commented 3 years ago

Tested Modified Jungle world in 1.16.5 with OptiFine G6 and Forge 36.0.0 + OptiFine G6:

OptiFine standalone: image

Forge + OptiFine: image

Please test with G6 for 1.16.x and 1.15.2, it has additional Forge compatibility fixes.

TheFinkie commented 3 years ago

It seems you have proven this to not be an Optifine bug, but for the record, I am still having the issue using the exact versions you used in your screenshots: 2021-02-01_11 09 37 2021-02-01_11 27 14

I guess it's fair to close the issue, but there is definitely something wrong here that only appeared after 1.14.

sp614x commented 3 years ago

Does this also happen without shaders?

sp614x commented 3 years ago

Seeing that the GPU is NVidia with Max-Q Design, this may be due to thermal throttling or the GPU running in power saving mode. You can check in the graphics control panel if the GPU can be switched to Performance mode or something similar.