OS: ubuntu 18
kernel: Intel Linux kernel 5.10.26
Introduce the operation logic of my project. No decoder, The YUV data needed by the encoder is filled in by myself. (also can filled by decoder, same problem, just eliminate decoding effects) . mem type is D3D9_MEMORY. -17 error occurs frequently in the coding process.
MFXVideoSession::virtual mfxStatus SyncOperation(mfxSyncPoint syncp, mfxU32 wait) return -17, and couldn't return to normal, unless destroy and recreate.
If only 265 or 264 is encoded, the problem does not reappear temporarily.
If both h.265 and h.264 is encoded, the problem is appear in a few minutes.
There is another case. If encoder use decoder's allocator, means do transcode, if data's fps is not stable, -17 error is also occuring in encoders sometimes.
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model name: 11th Gen Intel(R) Core(TM) i7-1185G7E @ 2.80GHz
CPU MHz: 785.991
CPU max MHz: 4400.0000
CPU min MHz: 400.0000
L1d cache: 48K
L1i cache: 32K
L2 cache: 1280K
L3 cache: 12288K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 invpcid_single cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect md_clear flush_l1d arch_capabilities
Thanks for reaching out to us.
We are checking on it internally, will get back to you soon with an update.
Could you please share a sample reproducer, so that we can try out the same from our end.
Through continuous attempts during this period, I found that as long as the value of m_mfxencparams.mfx.lowpower is forcibly specified as off, the error of - 17 will not occur again. However, in this case, according to what you said, the encoder will only use EU encoding, which will affect the performance.
If it's convenient, can you provide an email? I'll package and send you the demo I wrote