LWJGL 3 render to texture offscreen without display
So the way I went by not showing the window seems the way to go, and the error about GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENTapparently wasn't related to this at all and is gone.