I updated my laptop to Ubuntu 16.04 and I now have this same problem. Screen capture works but window capture is all black. On Ubuntu 15.10 everything worked fine.
System:
Processor: AMD E1-2500 APU with Radeon(TM) HD Graphics
Physical Memory: 3219MB Total
Kernel Version: Linux 4.4.0-21-generic
Distribution: "Ubuntu" "16.04"
OBS 0.14.1 (linux)
My log file is full of these errors messages:
Code:
error: glCopyImageSubData failed, glGetError returned 0x502
error: device_copy_texture (GL) failed
Seems like an OpenGL error so I assume it's a driver issue? But as far as I can tell I just have a newer version of the same Mesa driver on 16.04. Here's the outputs of 'glxinfo | grep OpenGL' from both Ubuntu 16.04 and 15.10:
Ubuntu 16.04
Code:
$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD KABINI (DRM 2.43.0, LLVM 3.8.0)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.2.0
OpenGL core profile shading language version string: 4.10
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.2.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
Ubuntu 15.10
Code:
$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD KABINI (DRM 2.43.0, LLVM 3.6.2)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.0.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
Any help would be greatly appreciated!