So when I originally updated to mesa 18 the color depth was all messed up and then later I got another mesa update that completely broke OBS entirely. Now I just get
I've got obs studio 21.1.2 installed from the debian sid repos with mesa 18.0.5. This error vaguely reminds me of what OBS does with mesa if you don't use alphaless textures but in this instance it doesn't matter what that option is set to.
error: glCopyImageSubData failed, glGetError returned 0x502 error: device_copy_texture (GL) failed