Made this post a while back about #gaming (and related things) on #Linux compared to #Windows. TLDR; gaming performance has been fine, with some minor quirks (at least on #NVIDIA) such as #games performing better somehow without #DLSS than with (which is fine by me) - the only "issue" had to do with #recording/#streaming while also running a #game.
I did some further digging and honestly, I don't think there's much issue/performance hit with gaming while recording on #OBS, using NVIDIA #NVENC. I haven't really done proper testing, but it honestly has been fine. My games hit 144FPS, or close at 1440p Max settings pretty easily w my 3080 Ti. I record them by simply adding a "Window Capture" scene and selecting the appropriate #game window, that's it. People recommended "obs-vkcapture" on my last post, and that's been nice too - with that plugin, you only need a single "Game Capture" scene on OBS, and add a launch param to the game's properties on #Steam. Once you launch the game, OBS will immediately be "hooked" to the game and ready to record. People mentioned that doing it this way should prolly be more performant/efficient, but from my limited testing, both ways seem fine.
One thing I forgot to mention though was #Voicemeeter. Voicemeeter's a really freaking neat audio tool on Windows that allowed you to essentially have a virtual audio interface. It does plenty of things, but what I and most people use it for is to split several application audio into separate audio tracks i.e. #Discord is on one audio track, #Firefox on another, #Spotify on another, and so on. This was essential as it allowed me to record my games while being on a Discord call, or have #YouTube playing and not have any audio but the game's to be included in the recording using OBS.
I did a quick search and found a plugin called "obs-pipewire-audio-capture" that solved this need. If your distro is already using #Pipewire for audio (which I think most/all distro do for the past few years), enabling this plugin is as easy as installing the plugin by downloading it from their #GitHub repo and adding it to OBS's plugins folder. After a restart, you can now add multiple audio tracks as scenes to OBS for each application i.e. Spotify, Discord, Games, etc. and enable/disable any of these tracks accordingly for your recording.
All in all, no issues at all recording while gaming/anything. My only issue now has to do with streaming games to friends while gaming i.e. through Discord. Discord does not yet support this (with audio) on Linux, but there's a custom Discord client that's able to do this called "discord-screenaudio" though with a sizeable performance hit if you're going to be streaming anything intensive such as games - anything else (that isn't intensive) like #Plex, #Netflix, etc. has been (mostly) perfectly fine.
Discord surprised us last year by claiming/maintaining the Discord #Flatpak on #Flathub, PLEASE surprise us again by giving us STREAMING WITH AUDIO.
RE: https://sakurajima.social/notes/9o2j4pgvra