Quark Oddities

Quark Oddities

22M Downloads

Binding "Open Chat" control to non-keyboard input (or unbound input) results in log spam

QUEWEX opened this issue · 2 comments

commented

https://pastebin.com/Ri0GnW2s

Specifically, you can see, at the end of the log file, instances of:

[25Jun2022 13:49:35.123] [Render thread/ERROR] [com.mojang.blaze3d.platform.Window/]: ########## GL ERROR ##########
[25Jun2022 13:49:35.123] [Render thread/ERROR] [com.mojang.blaze3d.platform.Window/]: @ Render
[25Jun2022 13:49:35.123] [Render thread/ERROR] [com.mojang.blaze3d.platform.Window/]: 65539: Invalid key -1

I do not know why a control refers to the renderer, but the title is my conclusion from troubleshooting.
"-1" refers to an unbound key, "3" refers to mouse button 4. Issue also present if bound to left click/mouse button 1 ("0") or right click/button 2 ("1"). I am uncertain if I exhaustively tested every other control, but I have only observed the issue with the Open Chat control. While this pastebin log was pulled from a test instance, you can see in a regular session, the error can appear several times a second over the period of hours. (Gnomebot is a logfile host used by the modded minecraft discord, it allows for a larger file than permitted by free pastebins).

Tested on:
Minecraft 1.18.2
Java jdk-17.0.1
Forge 40.1.0

Quark 3.2-358
AutoRegLib 1.7-53

These are the only mods installed in the 1.18.2 instance.

I have also noticed this in a 1.16.5 pack, running:

Minecraft 1.16.5
Java jre1.8.0_181
Forge 36.2.23

Quark 2.4-321
AutoRegLib 1.6-49

I did not observe this issue on 1.12.2 versions of Quark, despite also unbinding the Open Chat command there. I am uncertain whether the issue arose at some point between 1.12.2 and 1.16.5 as I have not run any interim versions.

Clearly it is a relatively minor issue, but for bloating the log file, but I have seen it mentioned in other error logs in the past and I haven't noticed any references back to Quark as the culprit. There is one older reference to this issue on this github, 3047, but the conclusion pointed to Serene Seasons (which may have been the source of the user's freezing and he only reported the error spam believing it was relevant).

This is not related to user's graphics drivers, despite how the error message is phrased. It has been reported several times in error logs and packs and persists even if drivers are fully up to date. The fact that it occurs only when unbinding the Open Chat also suggests it is not related to the user's drivers.

commented

Same problem, almost exactly the same error message. did you find a solution?

mine is a bit different, but it's in the log files:

[16:10:53] [main/ERROR]: ########## GL ERROR ##########
[16:10:53] [main/ERROR]: @ Render
[16:10:53] [main/ERROR]: 65539: Invalid key -1

I've been searching almost all afternoon until I came across this, I also have quark so it might make sense, the version I use is Quark-r2.4-322 in minecraft 1.16.5-forge-36.2.34
AutoRegLib-1.6-49

commented

I simply do not unbind the control, binding it instead to a valid keyboard key that I'll never hit, like F9 (or variant thereof, ctrl/alt/etc).

This is why I mention it's a relatively minor problem. It's clearly unintended behavior and a bug of some kind, but its effects on the end user aren't significant. I imagine there are more important bugs to get fixed.