NVENC encoder disappeared?

UVCRR20

New Member
Today, I was given a rude shock when I tried to stream. I opened OBS, started setting up my stream, hit "Start Streaming," and was hit with the "failed to start stream" error. The error mentioned RTMP for whatever reason, but I figured I needed to switch encoders to get the stream working again. So I did, switching from x264 to the GStreamer H.264 and back, not realizing the fundamental issue until I saw my stream was chugging at sub-15 FPS and OBS was using over 50% of my CPU: NVENC was straight-up gone. I don't have the option to select it as my encoder right now and I'm stuck with CPU encoders.

For added context, I last streamed to Twitch on March 12, outputting just fine. I'm running the latest version of the Flathub install of OBS Studio (29.0.2, released 6 weeks ago, according to the Software app in Fedora), and I have the latest version of the Nvidia driver (525.89.02) on my system.

Is OBS suddenly unable to see my GPU? Do I need to update any other software? Why is the NVENC encoder just...gone?
 

Attachments

  • 2023-03-22 18-06-23.txt
    15.9 KB · Views: 136

Harold

Active Member
In order to use nvenc, you need to be actively using the nvidia drivers and not the mesa drivers
 

UVCRR20

New Member
Oh god, I forgot to mention I'm on Fedora 37.
In order to use nvenc, you need to be actively using the nvidia drivers and not the mesa drivers
Am I not already doing that? I can bring up the Nvidia X Server Control Panel just fine. How would I determine which is active? I don't think I've ever tinkered with Mesa, I had Novel way back when I started with Fedora 33 or so and directly replaced it with Nvidia.
 

Harold

Active Member
The log you provided shows you currently using the mesa drivers instead of the nvidia ones.
 

Tuna

Member
Flatpak nvidia driver needs to be in sync with the host system iirc. If that is not the case, it will probable revert to software rendering (llvmpipe in the log). So you may need to update flatpak nvidia driver to match to the one in your system.
 

UVCRR20

New Member
Flatpak nvidia driver needs to be in sync with the host system iirc. If that is not the case, it will probable revert to software rendering (llvmpipe in the log). So you may need to update flatpak nvidia driver to match to the one in your system.
How would I do this? I don't think I ever installed the Nvidia driver via Flatpak.
 
Top