Question / Help glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed (high cpu load)

#1
I'm having issues with OBS using a lot of cpu even when using NVENC encoding.
The cpu usage seems to be 100% on 2 of my 4 cores regardless of the encoding settings for a 1366x768 stream on a Intel Xeon E3-1220v5 with a GeForce GT710 1Go GPU.
I am using a Ubuntu 18.04 server with TurboVNC running a Mate desktop environment.

My log file states the following:
Code:
12:11:52 PM.164: Initializing OpenGL...
12:11:52 PM.314: Loading up OpenGL on adapter VMware, Inc. llvmpipe (LLVM 7.0, 256 bits)
12:11:52 PM.314: OpenGL loaded successfully, version 3.3 (Core Profile) Mesa 18.3.3, shading language 3.30
12:11:52 PM.387: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.391: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.394: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.397: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.410: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.412: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.415: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.416: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.417: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.419: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.424: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.426: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.429: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.432: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.434: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.437: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.438: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.439: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.440: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500
12:11:52 PM.440: glGetIntegerv(GL_MAX_TEXTURE_ANISOTROPY_MAX) failed, glGetError returned 0x500

with is displaying the following when it loads scene1

Code:
12:11:56 PM.117: - scene 'Scene':
12:11:56 PM.117: glTexParameteri failed, glGetError returned 0x500
12:11:56 PM.117: device_load_texture (GL) failed
12:11:56 PM.610: glTexParameteri failed, glGetError returned 0x500
12:11:56 PM.610: device_load_texture (GL) failed
12:11:56 PM.682: glTexParameteri failed, glGetError returned 0x500
12:11:56 PM.682: device_load_texture (GL) failed
12:11:56 PM.708: glTexParameteri failed, glGetError returned 0x500
12:11:56 PM.708: device_load_texture (GL) failed
12:11:56 PM.745: glTexParameteri failed, glGetError returned 0x500
12:11:56 PM.745: device_load_texture (GL) failed
12:11:56 PM.745: glTexParameteri failed, glGetError returned 0x500
12:11:56 PM.745: device_load_texture (GL) failed
12:11:56 PM.746: glTexParameteri failed, glGetError returned 0x500
12:11:56 PM.746: device_load_texture (GL) failed
12:11:56 PM.769: glTexParameteri failed, glGetError returned 0x500
12:11:56 PM.769: device_load_texture (GL) failed
12:11:56 PM.769: glTexParameteri failed, glGetError returned 0x500
12:11:56 PM.769: device_load_texture (GL) failed
12:11:56 PM.769: glTexParameteri failed, glGetError returned 0x500
12:11:56 PM.769: device_load_texture (GL) failed
My full log file: https://obsproject.com/logs/Jn2ZwpmVIZAR4E3O

Has anyone experienced this before and knows a way to fix it?

Kind regards,
 
#2
I got down to 80% cpu usage on 2 cores by calling obs via /opt/VirgualGL/bin/vglrun -d :1 obs. but that is still very high. anyone any ideas?
 
Top