Move xlock after initial window listing - XErrorLock uses static fields so when you use them recursively they collide and do weird things. This keeps the two xlocks from colliding. Build obs textures based on returned pixmap texture types to ensure compatibility during copies. (prevents glCopyImageSubData failed due to texture incompatibilities) Fix alpha check by using pixmap depth instead of checking channel sizes (wrong on nvidia and maybe amd hardware) Fix X error checking, now you will get 1 BadAlloc when pixmap allocation fails instead "glCopyImageSubData failed" every frame. (occurs on Gnome under special circumstances)
Linux XShm capture plugin This plugin uses the MIT-SHM extension for the X-server to capture the desktop. Todo: - handle resolution changes of screens - handle adding/removing screens while recording - support different depths Contributing: If you are interested in helping out with the plugin, please drop by in the #obs-dev channel on quakenet. References: - http://www.x.org/releases/current/doc/xextproto/shm.html