Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
2904 Discussions

sts=MFX_ERR_DEVICE_FAILED(-17), SynchronizeFirstTask, SyncOperation failed at ..

StoneLi
Beginner
490 Views

OS: ubuntu 18

kernel:  Intel Linux kernel 5.10.26

MediaSDK 21.1.3

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.

Labels (1)
0 Kudos
6 Replies
StoneLi
Beginner
479 Views

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 140
Model name: 11th Gen Intel(R) Core(TM) i7-1185G7E @ 2.80GHz
Stepping: 1
CPU MHz: 785.991
CPU max MHz: 4400.0000
CPU min MHz: 400.0000
BogoMIPS: 5606.40
Virtualization: VT-x
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

AthiraM_Intel
Moderator
446 Views

Hi,

 

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.

 

 

Thanks.

 

AthiraM_Intel
Moderator
372 Views

Hi,


Could you please give us an update? Can you share the sample reproducer?


Thanks


StoneLi
Beginner
355 Views

Hi,

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

AthiraM_Intel
Moderator
328 Views

Hi,

 

We will contact you through private message shortly. You can share your sample reproducer in that.

 

 

Thanks.

 

AthiraM_Intel
Moderator
267 Views

Hi,

 

I have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.

 

 

Thanks.

 

Reply