How to install obs studio
-sudo apt update
-sudo apt install obs-studio
-you can also start obs by typing : LIBGL_ALWAYS_SOFTWARE=1 obs
-but you have to enter the command everytime so it's recommended you do the following:
-Edit desktop entry. "sudo nano /usr/share/applications/com.obsproject.Studio.desktop" in my system. check yours.
-sudo nano /usr/share/applications/com.obsproject.Studio.desktop
Add env variable to the end of the file. "Exec=env LIBGL_ALWAYS_SOFTWARE=1 obs"
-save and done.