Hello,
I am having the same error since the OBS update to version 24.0.3 and my video drivers are up-to-date. Reinstalling them did not solve the issue. Something else is going on.
The error does not occur when my graphics hardware, a GTX 1060, is outputting over HDMI. However, when I am going to stream, I normally stream console games, and so my graphics card is not in use, only my onboard video.
Previously, this did not prove to be an issue. OBS happily utilised the otherwise idle graphics card and used a minimal amount of CPU. Now, no matter what I do, it ignores the GPU's existence. It also doesn't matter which GPU ID I put in the GPU box in settings (0, 1, 2, etc.).
This certainly appears to be a bug with 24.0.3 as it is new behaviour and there was never a problem until now.