The gamebar works, but not as convenient as nvidia Experience. Gamebar has a quirk with the microphone, where you have to switch it off and on again to make it work.That's good to know, I'm a simpleton when it comes to recording video, windows has "game bar" built in and sense I use an xbox controller it's a single button push away.
In nVidia, you can bind any button to record and stop and/or record the last 5 mins. There's nothing simpler. It had some problems in the past, but they're all sorted now. You just download and install it, then it's always there in the background waiting for you to press the magic key definitely easier than the game bar, which I had to use in the past when nVidia had problems after updates. nVidia Experience also does some other useful things.