OpenGL Error with both Majora's Mask and Ocarina of Time

Hi, I hadn’t visited Citra in a couple of months, in which games were working perfectly fine, but now I have been greeted with an OpenGL error for both games, causing them to run at 5-9 fps. My specs are i5 4690k @ 4.4, gtx 970.

[ 23.202277] Render.OpenGL video_core\renderer_opengl\renderer_opengl.cpp:DebugHandler:472: API ERROR 1282: GL_INVALID_OPERATION error generated. Function glPopAttrib is deprecated and not available in preview contexts.

EDIT: Occasionally this error also occurs, with a frozen game alongside it.
[ 7.183460] HW.Memory core\memory.cpp:Memory::Read:186: unmapped Read32 @ 0x0000B270

Are you using any overlays, such as ShadowPlay, Dxtory, Fraps, or anything similar? Those are known to do some hacky stuff and slow down Citra.

I’ve tried turning off GeForce experience, and have also tried turning shadowplay off thru the menu. I’ll try turning off the msi afterburner osd and report back.

Error still persists, overlays, aren’t the problem.

SOLUTION: It was Rivatuner Statistics that caused the issue, make sure you disable it through the GUI so that it doesn’t hook to Citra.