Encoding performance streaming with OBS

Hello! New to CachyOS coming from Nobara. Cachy is the snappiest compute experience I’ve ever had, fantastic.

I’m having an issue when streaming on OBS (obs-studio-browser 31.0.1 from repo) where my encoding is overloading when a video plays from a browser source. Most notably a browser source coming from my chatbot, I’ve tried with the bot both locally and on a 2nd PC. I haven’t had this happen before installing CachyOS (and similarly on Nobara 41). Happening with both Wayland and X11.

My specs are an RTX 3070 and 5800x, NVENC 264 is selected in OBS. Using Nvidia proprietary drivers. Streaming at a bitrate of 4500 at 60fps. These are the settings I’ve been using for 3ish years without issue.

The behavior is that my FPS in game dips from 150 ish to 30 when a video is playing from a browser source and I receive the encoding overloaded message. Why is rendering the browser source so intensive?

Using Nobara 39 and 40 I was able to handle this without issue. But Cachy and Nobara 41 both seem to have this issue.

I tried downgrading the driver from 570 but I broke everything when upgrading again :joy: on a fresh install now.

I’m hoping there’s an answer somewhere because previously this was not happening. Happy to provide whatever logs would help.

Thanks.

Hmm, I wasn’t able to reproduce. So many variables to check though - what browser are you using? Are you using pipewire for video capture? Do you have obs-vkcapture installed?

I don’t stream, but to test I added two screen capture sources - a game(Kingdom Come Deliverance II) and a firefox window playing a youtube video that I popped out into a PIP window.

results: https://www.youtube.com/watch?v=vxmbFZnVdpE (note: you’ll see some frame dips in mangohud when I was switching between windows at the beginning)

Can I see your ‘pacman -Qsq nvidia’ ? And what do you mean downgraded to 570? AFAIK, 570.86.16 was released less than a week ago, unless you were using a beta driver, what did you downgrade from?

Edit: forgot to post my specs, RTX 3060 with an i7-8700k

Hi tofu, thanks for looking into this.

This is what I see running that command on the new install, showing open driver:
egl-gbm
egl-wayland
egl-x11
lib32-libvdpau
lib32-nvidia-utils
lib32-opencl-nvidia
libva-nvidia-driver
libvdpau
libxnvctrl
linux-cachyos-nvidia-open
nvidia-settings
nvidia-utils
opencl-nvidia

I have Firefox installed, not adding a browser window specifically but a ‘browser source’ in OBS. Not sure if the distinction matters, it is how OBS pulls up a browser. The Linux version of OBS doesn’t come with browser sources by default, so the package obs-studio-browser includes it.

obs-vkcapture is not installed, I have tried it in the past to add ‘game capture’ sources but it didn’t seem to accomplish what I hoped.

To clarify what I meant about the driver version, I saw that it was running 570 and I tried to downgrade, and could only see 550 in the repo at the time, may have been looking at the wrong list. That’s what I went down to.