Please restart OBS and perform a test stream/recording for more than 30 seconds doing as you normally do, including playing games, full camera or whatever you normally do.
Now look inside Help menu. Upload the current log file and paste the url to the log in here. Click on the Analize button to start troubleshooting common issues.
In case you have a faulty install of the driver:
If you're experiencing strange issues or errors that might be related to your GPU drivers, one of the easiest potential fixes is a clean driver installation. Follow the instructions below. 1. Download the latest version of Display Driver...
obsproject.com