- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OS: ubuntu 20.04
kernel: Intel Linux kernel 5.10
MediaSDK 2022q2
CPU Model: 1165G7 Tiger-lake
We use the YUV data needed by the encoder is filled in by myself. mem type is SYSTEM_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.
Because we would use at least 8 stream encoding we must open lowpower parameters to make sure all encoding process is quick enough.
The following is our sample_encode paramters:
/opt/intel/mediasdk/share/mfx/samples/_bin/sample_encode h265 -gpucopy::on -i cnn.yuv -o test.h265 -nv12 -w 1920 -h 1080 -dstw 1920 -dsth 1080 -b 8000 -f 30 -fps 30 -hw -async 1 -lowpower:on -u speed -timeout 6000 &
/opt/intel/mediasdk/share/mfx/samples/_bin/sample_encode h265 -gpucopy::on -i cnn.yuv -o test.h265 -nv12 -w 1920 -h 1080 -dstw 1920 -dsth 1080 -b 8000 -f 30 -fps 30 -hw -async 1 -lowpower:on -u speed -timeout 6000 &
/opt/intel/mediasdk/share/mfx/samples/_bin/sample_encode h265 -gpucopy::on -i cnn.yuv -o test.h265 -nv12 -w 1920 -h 1080 -dstw 1920 -dsth 1080 -b 8000 -f 30 -fps 30 -hw -async 1 -lowpower:on -u speed -timeout 6000 &
/opt/intel/mediasdk/share/mfx/samples/_bin/sample_encode h265 -gpucopy::on -i cnn.yuv -o test.h265 -nv12 -w 1920 -h 1080 -dstw 1920 -dsth 1080 -b 8000 -f 30 -fps 30 -hw -async 1 -lowpower:on -u speed -timeout 6000 &
/opt/intel/mediasdk/share/mfx/samples/_bin/sample_encode h265 -gpucopy::on -i cnn.yuv -o test.h265 -nv12 -w 1920 -h 1080 -dstw 1920 -dsth 1080 -b 15000 -f 30 -fps 30 -hw -async 1 -lowpower:on -u speed -timeout 6000 &
/opt/intel/mediasdk/share/mfx/samples/_bin/sample_encode h265 -gpucopy::on -i cnn.yuv -o test.h265 -nv12 -w 1920 -h 1080 -dstw 1920 -dsth 1080 -b 15000 -f 30 -fps 30 -hw -async 1 -lowpower:on -u speed -timeout 6000 &
/opt/intel/mediasdk/share/mfx/samples/_bin/sample_encode h265 -gpucopy::on -i cnn.yuv -o test.h265 -nv12 -w 1920 -h 1080 -dstw 1920 -dsth 1080 -b 15000 -f 30 -fps 30 -hw -async 1 -lowpower:on -u speed -timeout 6000 &
/opt/intel/mediasdk/share/mfx/samples/_bin/sample_encode h265 -gpucopy::on -i cnn.yuv -o test.h265 -nv12 -w 1920 -h 1080 -dstw 1920 -dsth 1080 -b 15000 -f 30 -fps 30 -hw -async 1 -lowpower:on -u speed -timeout 6000 &
You can see almost very time the h265 encoder with lowpower params drop this error.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good day to you.
Thanks for posting in Intel Communities.
We tried replicating the issue from our side on the same Intel 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz processor system running Ubuntu 22.04.1 LTS and observed a similar error with the -lowpower:on flag. Additionally, we tried on multiple systems and were not able to get the -lowpower:on flag working.
We are working on this internally with our development team and will get back to you with an update.
Regards,
Jyothis V James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you! James.
If Intel team have any update please reply the topic or send email to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good day to you.
Sorry for the delay in getting back to you.
The HEVC/H.265 Microcontroller (HuC) functionality is not enabled in your system configuration. This is a firmware utilized by the iHD Intel Media Driver to offload media functions from CPU to GPU which comes with power and performance benefits and functionalities like scheduling and media offloading.
Kindly try enabling this functionality by setting the kernel module parameter: i915.enable_guc=2
If you wish to use Bitrate Control Methods (BRC), it is required to enable HuC. However, in the case of Constant QP(CQP), an advanced BR algorithm; loading HuC is not necessary because Video Motion Estimation (VME) engine is used instead of the VDENC video encoder engine.
Reference: https://01.org/linuxgraphics/downloads/firmware
If this clears your query, kindly click the “Accept as Solution” button to indicate that your issue is resolved. This will also help others with a similar issue.
Thanks and Regards,
Jyothis V James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good day to you.
We have not received any update from you yet.
Is your issue resolved? If yes, kindly mark it as solution so that we can stop monitoring this thread. If not, do let us know so that we can assist you better.
Thanks and Regards,
Jyothis V James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good day to you.
We have not heard back from you for the past ten business days. We assume your support request has been resolved and will no longer monitor this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.
Regards,
Jyothis V James
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page