NVENC can't initalize on OBS 31.0.1 Flatpak

Malo1301

New Member
I recently switched to the Flatpak version of OBS after being unable to fix a segfault with the deb version, and noticed I couldn't use NVENC at first, it just wasn't there. After some research, I saw some GitHub issues mentioning you need to set up CUDA for NVENC to work with the Flatpak version of OBS, so I did just that and I could now use NVENC! The problem is, it worked until I rebooted, since I found no way to make NVENC work or even just appear in OBS...
The logs mention obs-nvenc.so can't initialize, my problem probably has something to do with this.
 

Attachments

  • 2025-02-12 12-39-59.txt
    13.8 KB · Views: 18

AaronD

Active Member
...unable to fix a segfault with the deb version...
What distro are you using? For most people, the deb "just works".

I'm not surprised that a container (flatpak, snap, etc.) has problems with physical resources. Part of the purpose of containerizing is to keep things isolated. No threats or personal info gets past the "castle wall". You can nickel-and-dime a bunch of holes in that wall, to grant specific access to this, and that, and something else, etc., but by the time you do that, you've completely negated the security purpose and kept the inefficiency. I think the better thing to do is to fix the native segfault and then keep that version.

If you're just fed up and you're okay with switching distros, then I'd recommend Ubuntu Studio:
It has a low-latency kernel, so it responds faster than most distros, to things that need it, and it comes with a TON of media and creativity apps preinstalled and already working. OBS is one of them, running natively.
 
Top