I'm on bazzite, in game mode I'm not able to record at 60fps for 4k,not sure if it's even using my gpu (7900XT)
AMD should be using VA-API but it's not a very good system as it fails or breaks if you look at it the wrong way. I use a tool to stream my desktop to my TV (sunshine) which uses it, and every month VA-API fails with a new error so it has to resort to CPU encoding.