Better Foliage

Better Foliage

35M Downloads

[1.14.4] OpenGL Error 1281 (Potential Cause?)

Vatruvius opened this issue · 0 comments

commented

Hello,

I have experienced the OpenGL Error 1281 in my modded 1.12.2 game and resolved it by removing a conflicting mod. In this case with 1.14.4 however, this issue happens whenever Better Foliage is enabled regardless if it is the only mod or not. Looking through the log from launching and playing the game I came across this bit of printed lines specifically about Better Foliage:

�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]: The following texture errors were found.
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]: ==================================================
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]:   DOMAIN bf_gen
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]: --------------------------------------------------
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]:   domain bf_gen is missing 2 textures
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]:     domain bf_gen has 1 location:
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]:       unknown resourcepack type mods.octarinecore.client.resource.GeneratedBlockTexturePack : Better Foliage generated assets
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]: -------------------------
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]:     The missing resources for domain bf_gen are:
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]:       textures/85cfa9e1-f8df-468a-a6ac-6954c5c1f14d.png
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]:       textures/33930271-afc2-4ce5-b7a2-288d807ffcae.png
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]: -------------------------
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]:     No other errors exist for domain bf_gen
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]: ==================================================
�[m�[1;31m[23:36:46] [Client thread/ERROR] [FM.TEXTURE_ERRORS/]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

This message appears in the log regardless if a resource pack is being used or not. I did not crosscheck the printed lines between using a resource pack and not, however, they were of the same format. About ten lines below this these printed lines were highlighted in red:

�[m�[33m[23:36:57] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.removeErroringEntities was corrected from null to false
�[m�[33m[23:36:57] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server.removeErroringTileEntities was corrected from null to false

Followed by this printed line way further down in the log:

�[m�[1;31m[23:37:31] [Client thread/ERROR] [ne.mi.fm.ne.si.IndexedMessageCodec/SIMPLENET]: Received empty payload on channel fml:handshake

And this line further down:

�[m�[1;31m[23:37:35] [Server thread/ERROR] [ne.mi.fm.ne.si.IndexedMessageCodec/SIMPLENET]: Received empty payload on channel fml:handshake

Finally ending with the message we hate to see, OpenGL Error 1281:

�[m�[1;31m[23:38:07] [Client thread/ERROR] [minecraft/GlDebugTextUtils]: OpenGL API ERROR: 1281 (GL_INVALID_VALUE error generated. neither <first> nor <count> can be negative.)

With several thousand lines of angry, red lines until I killed the game instance. I do not know how Minecraft, or Better Foliage, uses Java, but my minor experience in the language leads me to believe it has to do with these failed generated textures. I am not sure if I am heading down the right train of thought here, but I hope these log messages help in solving the issue. Perhaps there is a conflict that I am not seeing, in which case I will happily take that conflict being pointed out to me.

Forge Version: 28.2.0
Better Foliage: 2.5.0
Kottle: 1.4.0
MixinBootstrap: 1.0.3
Various other mods that have been ruled out.