NVENC Encoding Error while streaming Half Life: Alyx on Quest 2 using Air Link

bigLeg88

New Member
Hi so I've been trying to stream Half Life: Alyx using OBS but every time I get to a loading zone the game crashes when the next level is loading in. I've gotten the same error every time:

"An encoder error occured while streaming:

NVENC Error: get_encoded_packet: nv.nvEncLockBitstream(s, &lock) failed: 8
(NV_ENC_ERR_INVALID_PARAM)"

I'll attach the log file that this error occurred in and if there's any other information I can include to be helpful let me know!
Thanks
IMG_3474 crop.jpg
 

Attachments

  • 2022-07-14 17-53-27.txt
    33.6 KB · Views: 20

PaiSand

Active Member
This is an issue:
17:53:27.391: Avast Antivirus: enabled (AV)
17:53:27.391: Avast Antivirus: enabled (FW)

And found this answer regarding this same issue you can easely search for:
This can occur if you run out of GPU memory. Try turning down texture quality or other graphical settings in your game.
 

bigLeg88

New Member
Thank your for the quick answer! Not sure what I should do about my anti-virus, should I add OBS or HL:A to an exception list or something? A little more direction would be helpful there but thank you so far!

This is an issue:
17:53:27.391: Avast Antivirus: enabled (AV)
17:53:27.391: Avast Antivirus: enabled (FW)

And found this answer regarding this same issue you can easely search for:

The other part of your message is also helpful but I've already turned down the graphics settings in game and made sure that the HMD resolution was scaled down slightly to try to reduce VRAM usage. I'll try running some monitoring software to see exactly what's happening when the stream/encoder crashes.
 
Top