OBS Studio Black Screen at recording games with obs-vkcapture

You could install Wayland. You could also try reverting to the 6.1 LTS kernel, or maybe try the newly released 6.6 kernel. I can’t say whether these options will improve the situation, but they might.

I have [the repo version of] OBS installed (KDE, Wayland, amdgpu, 6.6 kernel) with no apparent issues. The obvious common denominator between your issue and those on the thread previously linked, is the use of Nvidia graphics. Some highlights:

This user has a less than desirable solution, but it worked:

Remember, these issues were from back in January; the cause in your situation might be entirely different; although it seems to tick all the boxes.