
[1.21.1] Removing key bind cause GL Error console log spam
bookerthegeek opened this issue ยท 2 comments
Versions
- Silent Gear: 4.0.12
- Silent's Gems: N/A
- Silent Lib: 10.3.1
- NeoForge: 21.1.114
- Modpack: ATM10 2.36
- Optifine Installed: No
Description of Error and testing Methods
Heyo good peoples! I am here today after noticing something troubling in my logs. Thousands of lines of errors. Really, it was the same error repeating over and over again, multiple times a second. The error that was showing up was as follows:
[19:04:36] [Render thread/ERROR] [mojang/Window]: ########## GL ERROR ##########
[19:04:36] [Render thread/ERROR] [mojang/Window]: @ Pre render
[19:04:36] [Render thread/ERROR] [mojang/Window]: 65539: Invalid key -1
Now, after a bit of internet troubleshooting, I was Informed that is a key binding issue. So, I thought, ok, let's find out. After narrowing it down, I created a new instance with only that mod (and dependencies) installed and tested again. Luckly for you it was a different mod (That issue was posted and resolved over HERE). Everything's good, right? Sadly, if you guessed yes, you'd be wrong.
After playing some more (And not messing with that other mods key binds) that error started coming up again. WTF I thought. So again, another round of testing. The issue this time is I could not figure out what caused the error to show up, only that it randomly does, repeatedly, after a few hours of playtime. (I am assuming that whatever specific thing I am doing that causes the error I don't do very often, otherwise the error would happen more often, and be easier to troubleshoot.)
So I deleted my options file, and played for a day, no errors. I then, repeated for each mod, I would remove the key binds and play for a few hours to see if the error came up. If it didn't, I reset the key binds for that mod and then moved onto the next mods key binds.
Now, after a few days of testing, I narrowed it down to a key bind for silent gear. To test this, deleted my options file and then in game removed all modded key binds (except for the mod with the same issue listed previously) and left the key binds for silent gear alone. After playing (Very annoying btw without key binds for modded items!) for about 10 hours, no error was in the log. The next day I again delete my options file and only removed the key binds for silent gear. After about 2 hours I checked my log and sporadically spread through the log was the error referenced above.
So, then I came here to see if the issue was already reported and found the report HERE and decided to test the information posted there. (I also tried specifically to recreate that posters specific issue and could not) And that let me figure out exactly what was causing this. So, a final test. I again deleted the options file, and this time I only removed the key bind to display traits. Then when holding shift over an iron ingot the log spammed the error. Resetting the key bind and trying again caused no error.
So... I felt this was good enough to bring to your attention. Basically, when that key bind set to nothing, and you hold shift over a silent gear material, this error will occur. I figured I would let you fine people know about it in case it was something that could be fixed. Please note that while this causes no issues in game, it does cause log spam and a marked increase in log file size/length.
Steps to Reproduce the Problem
- Start ATM10
- Remove the key binds for Silent Gear to display material traits
- Open JEI
- Hover over an Iron ingot, and hold down shift
Looks like a duplicate of #782. Please try version 4.0.13, which should have fixed this bug.