The assertion exposed a bug in the KDE implementation of the Desktop portal. However, it comes with the side effect of exiting OBS Studio in this case, where we can actually make it work (even if buggy). De-escalate the assertion to a warning, and then attempt to find the correct stream to use.
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