I used NVenc_2.0_pkg with Quadro K4000. At graphics driver version 311.15, nvenc is able to reach 170 FPS, but I updated Driver version to 320.00, nvenc performance downgraded to 120 FPS with the same 1080p yuv stream. After debugging, NVEnc interface cannot get preset config, or interface m_pEncodeAPI->nvEncGetEncodePresetConfig returned NV_ENC_ERR_INVALID_VERSION.
From the nvEncoder sample: The NVENC error at src\CNVEncoder.cpp:1282 code=15
(NVENC indicates that an invalid struct version was used by the client) “nvStatus”
Invalid struct version? how can we fix this problem?