OBS crashed with a NV_ENC_ERR_INVALID_DEVICE error, need help!

PennyMeowy

New Member
Hello! I hope you guys can help me solve this because I really have no clue!

I started my stream, did a bit of chatting, then pretty much in the very moment I launched the game OBS crashed and gave me that error.
I keep the NVidia drivers up to date, and the game isn't new (it was Kingdom Come: Deliverance).

I tried restarting the stream without even restarting the PC, just closing OBS and opening it again, but launching a different game, and everything went fine.

I'd love to avoid the crash to happen again, do you have any suggestions?
If it helps, the GPU is a 3080ti - let me know if you need any further info
Full logs are attached
 

Attachments

  • 2025-01-09 11-32-23.txt
    183.2 KB · Views: 7

koala

Active Member
Code:
12:43:11.349: device_stagesurface_create (D3D11): Failed to create staging surface (887A0005)
12:43:11.349:   Device Removed Reason: 887A0007
12:43:11.350: device_texture_create (D3D11): Failed to create 2D texture (887A0005)
12:43:11.350:   Device Removed Reason: 887A0007
12:43:13.323: [jim-nvenc] nvenc_encode_tex: nv.nvEncMapInputResource(enc->session, &map) failed: 8 (NV_ENC_ERR_INVALID_PARAM): EncodeAPI Internal Error.
12:43:13.323: Error encoding with encoder 'advanced_video_stream'
This is a hard GPU error. The GPU driver crashed. Hardware issue, may be overheating, improper/failing power supply, improper GPU card seating, defective GPU. You could uninstall and reinstall the most current graphics driver, but if the issue persists you need to check the hardware.
 

PennyMeowy

New Member
Code:
12:43:11.349: device_stagesurface_create (D3D11): Failed to create staging surface (887A0005)
12:43:11.349:   Device Removed Reason: 887A0007
12:43:11.350: device_texture_create (D3D11): Failed to create 2D texture (887A0005)
12:43:11.350:   Device Removed Reason: 887A0007
12:43:13.323: [jim-nvenc] nvenc_encode_tex: nv.nvEncMapInputResource(enc->session, &map) failed: 8 (NV_ENC_ERR_INVALID_PARAM): EncodeAPI Internal Error.
12:43:13.323: Error encoding with encoder 'advanced_video_stream'
This is a hard GPU error. The GPU driver crashed. Hardware issue, may be overheating, improper/failing power supply, improper GPU card seating, defective GPU. You could uninstall and reinstall the most current graphics driver, but if the issue persists you need to check the hardware.
Thank you so much for your time!

Your answer reminded me of something and now I wonder if it's actually connected, you might be able to tell me.
It's been a few days, every time I touch my chair I get a static shock and my cam (which is of course connected to the PC) goes dark for about a second, then comes back.

When you mentioned an improper/failing power supply, I went checking behind my PC and discovered there's a tiny little hole in the plastic of the cable, which means it's not grounded properly anymore I assume - this explains the static shock, but do you think it might have caused the crash as well?
 

koala

Active Member
Such a static shock can make your computer malfunction for a moment, and it's also possible it's creating permanent damage. Depends.

A tiny hole in a cable insulation doesn't necessarily mean there's an issue. It's an issue if it is a power cable and if it's possible someone or something could touch the live copper cable within. Such a power cable must be immediately replaced - it's a danger for everyone. I don't know the regulations in your country, but here in Germany a ground leakage circuit breaker is mandatory that detects even tiny leakage current resulting from such damage by triggering the main fuse.
If it's just some USB or audio cable, it's not that important, since only low voltages are carried by those.

Usually, small static shocks can come from being electrically charged. This can happen all day, for example if you walk in insulating shoes (plastic soles) and have some cloth that provokes electric charging if touched. Synthetics for example. The moment you touch something that's grounded, usually a computer case or a radiator or some metal in general, the charge flows to the earth and you get a slight shock. Yes, this can damage electric devices if the thing you touch while being charged is an electric device.
 
Last edited:
Top