Using gpu-screen-recorder on Wayland with Nvidia

I was trying to screen record using gpu-screen-recorder and gpu-screen-recorder-gtk. But, using the tools as-is seems to use the CPU, not gpu. I used:
gpu-screen-recorder -w screen -f 60 -a "$(pactl get-default-sink).monitor" -o video.mkv

I tried doing prime-run but that resulted in black screen recording with only audio, this however worked in x11.

I also tried to apply the NvFBC patch for Nvidia drivers, with no luck.

Specs: https://0x0.st/HYfn.txt

Thanks for helping!