It looks to me like under ‘Ustawienia enkodera’ the VAAPI setting is the selection for hardware encoding.
I looked it up and I found “Enable hardware encoding for AMD graphics cards in OBS Studio on Linux by selecting “Advanced” in the Output settings and choosing “FFmpeg VPI H264” or “HEVC” for video encoding.”