read through this:I'm constantly as soon as I click to start recording, and I wrote Preview could not get dxgi adapter 0
read through this:
https://obsproject.com/forum/threads/could-not-get-dxgi-adapter.3467/
if you have an nvidia card dont use geforce experience.