ubuntu black screen recording code example
Example: ubuntu black screen recording
log out and beside "Sign in" button you will see a small cogwheel. click on it and choose "Ubuntu on Xorg" or "Gnome on Xorg" and you're good to go, OBS should work on that, but this reverts you to using X as display manager.