I’m attempting to run 8 simultaneous encoding sessions in realtime on a laptop with a Quadro P5000.
Running 4 streams goes fine so far, as soon as I increase it to 6 or 8 after a while I get the following exception (it comes sooner with 8 streams running than with 6, this could possibly indicate a memory issue, yet all disk, memory and cpu gauges remain normal):
Unhandled exception at 0x00007FFA15B97D5F (nvwgf2umx.dll) in AppTest.exe: 0xC0000005: Access violation reading location 0x0000000000000074.
I’m using Driver version: 397.93
I’ve grabbed the NvEncoderD3D11 and created an instance of it for each stream, not sure if this is the way to go.
I’m running on windows 10 and using the most recent Video_Codec_SDK_8.2.15
With 8 Streams and a constant stream of frames it also crashes on me after running perfectly smooth for a few 1000 frames :)
[update1]
Here is a similar crash again…
Unhandled exception at 0x00007FF9BB907D5F (nvwgf2umx.dll) in Unity.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.
[/update1]
[update2]
After updating to Video_Codec_SDK_8.2.16 and restarting my laptop I get the following exception after about 412 frames:
Unhandled exception at 0x00007FFCCA493596 (nvwgf2umx.dll) in Unity.exe: 0xC0000005: Access violation reading location 0x0000000000000018.
Unhandled exception at 0x00007FFC2C1F3596 (nvwgf2umx.dll) in Simulator.exe: 0xC0000005: Access violation reading location 0x0000000000000018. (this second exception is from a compiled executable)
I have a crash dump and log if needed.
[/update2]
Just sent an email with the last two crash reports.
I’ve tested it with the latest Unity 2018.2.10f1 aswell and the same issue occurs.
[Update]
Just ran it again without repeating SPS/PPS but still with IDR frames (every 60 frames) same crash occurred again. Awaiting further instructions…
[/Update]