vainfo:
error: can't connect to X server!
libva info: VA-API version 1.15.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.15 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.4.4 (7bde93561)
vainfo: Supported profile and entrypoints
VAProfileNone : VAEntrypointVideoProc
11th Gen Intel(R) Core(TM) i7-1165G7
When using sample_encode, I found memory leak, I just modified the main function of sample_encode,
Sleep for 50s before the main function exits, and during the sleep,
you can see that the memory has not been released through top commad.
os info: ubuntu 20.04 5.15.0-56-generic
vainfo: error: can't connect to X server! libva info: VA-API version 1.15.0 libva info: User environment variable requested driver 'iHD' libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_13 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.15 (libva 2.12.0) vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.4.4 (7bde93561) vainfo: Supported profile and entrypoints VAProfileNone : VAEntrypointVideoProc
11th Gen Intel(R) Core(TM) i7-1165G7
When using sample_encode, I found memory leak, I just modified the main function of sample_encode, Sleep for 50s before the main function exits, and during the sleep, you can see that the memory has not been released through top commad.
./sample_encode h265 -i test.yuv -o test.h265 -w 1920 -h 1080 -dstw 1920 -dsth 1080 -b 10000 -f 60 -hw -async 1 -u speed
` int TestImpl(void *parg) { std::unique_ptr pPipeline;
}
if defined(_WIN32) || defined(_WIN64)
int _tmain(int argc, msdk_char *argv[])
else
int main(int argc, char *argv[])
endif
{ sInputParams Params = {}; // input parameters from command line
}`