Caipi

New Member
This is a sort of update post asking again for any possible help with this issue: Since upgrading to a RTX 4070 Super from an RTX 3060 Ti back in June I have consistently struggled with the same error ending my streams and crashing my GPU seemingly at random (nvEncEncodePicture failed: 4 (NV_ENC_ERR_INVALID_DEVICE): Device passed to the API is invalid). No single thing seems to trigger it, it might happen an hour into stream, 4 hours in, or not at all. The attached log is from recent test stream where the error occurred at timestamp 17:24:41.454.

Below is a comprehensive list of everything I've already tried over half a year of troubleshooting with no success:
  • Updated GPU Drivers
  • Uninstalled/ Reinstalled OBS
  • Checked for temps and/or performance abnormalities
  • Removed SE.Live
  • Disabled HAGS
    • Error still occurred, and having it off was negatively affecting performance, hence why it is switched back on in the attached log
  • Used DDU to uninstall and Reinstall drivers
    • Did this when initially installing new GPU, and again to try and fix the error
  • Rolled back GPU drivers as far back as possible within reason using DDU
    • Tried a version of the drivers older than the 2/22/24 release, which had been noted to cause issues
  • Sent to repairs under warranty in case of faulty hardware
    • ASUS sent back a brand new unit
  • Reseated GPU in the slot/ checked connections
I want to emphasize that I have had ZERO issues with the GPU outside of being live on OBS. Everything I've learned so far seems to point to the issue being localized entirely to the NVENC functionality of the card, and that it's not exactly an issue of faulty hardware, but instead something to do with the drivers and how they work with encoding in OBS on this card, despite the fact that it should easily be able to keep up (the RTX 3060 Ti never had this issue on the same encoding settings).

I am also aware that should this really be a compatibility issue that NVIDIA and/or OBS needs to address and fix in an update there is nothing to be done until they do. As it stands it seems to me that I really only have two less than desirable options until then: Either attempt to stream using software encoding instead, or stream using a different application entirely. This post is one last ask for any kind of help just in case, and in the event that there still aren't any answers, to catalogue and raise awareness for the issue so that it might be seen by someone who can fix it. Thank you.
 

Attachments

  • 2025-01-09 15-01-16.txt
    391.6 KB · Views: 10

qhobbes

Active Member
Do everything that you can in the analyzer, including disabling HAGS and updating your drivers. The newest driver was released over a month ago.

 

Caipi

New Member
Alright, just did another run with HAGS off, Admin Mode, absolute newest driver (Vers. 566.36, released 12/5/24), one game capture, etc. Unfortunately, this time came up with arguably worse results; Stream not only ended due to the error, but OBS completely crashed and so did the GPU, to the point where it reset all my display settings and turned off 2/3 monitors until I restarted the PC. Here is the log as well as the crash log(s):
 

Attachments

  • 2025-01-09 22-43-03.txt
    34.8 KB · Views: 4
  • Crash 2025-01-09 21-11-40.txt
    137.8 KB · Views: 3
  • Crash 2025-01-10 01-02-07.txt
    64 bytes · Views: 3
Top