I am trying to use a Quadro P6000 on CentOS 7 using driver version 390.59 and video codec SDK 8.2.16 to encode HEVC video. If I have intra refresh disabled it works fine. As soon as I enable intra refresh (NV_ENC_CONFIG_HEVC::enableIntraRefresh = true), it fails with error code 8 (NV_ENC_ERR_INVALID_PARAM) on the encoder initialization call on line 273 in NvEncoder.cpp.
I have verified that intra refresh is supported in HEVC on the card by checking the capabilities. I have also tried changing other parameters to see if maybe I have some invalid combination of parameters. I have not been able to get it to work. Also, using the exact same parameters, including enabling intra refresh, with H264 works just fine.
Does anyone have any idea what I may be doing wrong or how to further toubleshoot this?