Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
20495 Discussions

Facing issue in decoding 16 H264 input streams with Gstreamer Pipeline.

Madhavan
Beginner
1,414 Views

Hi Team,

 

In our Project, we are having the following requirements.

 

1) Decoding 16 Full HD H264 input streams in parallel using Gstreamer pipeline.

2) Displaying all the decoded frames in single vaapi display. (By reducing the resolution of decoded frames using vappi postproc ).

3) And in parallel, reducing the resolution of decoded frames using vaapi, re encode using vaapi plugin and storing it in the file.

 

But we observe only maximum of 8 channels can be added, as GAM is reaching more than 90% in this case, found using intel_gpu_top command.

 

Shall you please share us the details for the following queries.

 

1) How to improve the GPU performance for above mentioned case, so GAM will be less and we could add more channels for decoding.

2) And what is the minimum VRAM size is required for the above mentioned specification.

3) Any other suggestion from intel, to improve the GPU Performance.

 

Please help us in resolving this issue.

 

Thanks in Advance.

 

 

0 Kudos
6 Replies
Alberto_R_Intel
Moderator
1,401 Views

Madhavan, Thank you for posting in the Intel® Communities Support.


In order for us to provide the most accurate response to your questions, first, we just wanted to confirm a few details about your system:

What is the model of the motherboard?

What is the model of the Intel® processor?

If this is a laptop, what is the model of it?

Is this a new computer?

When did you purchase it?

You mention, "But we observe only maximum of 8 channels can be added, as GAM is reaching more than 90% in this case" Was it working fine before?

When did the issue start?

Did you make any recent hardware/software changes that migth cause this problem?

Does the problem happen at home or in the work environment?

Which Windows* version are you using?

You also said "In our Project":

Are you a developer?

Are you building, designing, or modifying hardware/software?

Are you working with a specific Intel® hardware/software platform?

Please attach the SSU report so we can verify further details about the components in your platform, check all the options in the report including the one that says "3rd party software logs":

https://downloadcenter.intel.com/download/25293/Intel-System-Support-Utility-for-Windows-?product=91600


Any questions, please let me know.


Regards,

Albert R.


Intel Customer Support Technician



0 Kudos
Madhavan
Beginner
1,377 Views

Hi @Alberto_R_Intel , Thanks for the immediate response.

 

Please find the following response for your reference.

Also please find the following details which we used in our project.

 

 

We are using VAAPI plugin in the Gstreamer pipeline, and i915/ i965 drivers.
intel-vaapi-driver : 2.2.0
libva              : 1.8.3

 

 

And sorry we are using 4MP stream ( 2560 x 1440 ) as input file for decoding, and not Full HD input stream ( 1920 x 1080 ) as mentioned in the above thread. This input streams will be of RTSP streaming.

As mentioned before, we have 16 4MP stream. And for each stream we will Display, re encode to smaller resolution and store it in the file, and also reduce the resolution and give for analytics.

Please find the attached Pipeline.jpg file, which you will get the better details for the above mentioned case.

 

What is the model of the motherboard?

What is the model of the Intel® processor?

If this is a laptop, what is the model of it?

Is this a new computer?

When did you purchase it?

 

We are using the customized Appololake Intel Board for our Project.

Also we are using Linux OS in our Project.

 

 

 

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 92
model name : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
stepping : 9
microcode : 0x40
cpu MHz : 799.896
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 21
wp : yes
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 tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault cat_l2 tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust smep erms mpx rdt_a rdseed smap clflushopt intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves ibpb ibrs stibp dtherm ida arat pln pts arch_capabilities
bugs : spectre_v1 spectre_v2
bogomips : 2995.20
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual

 

 

 

You mention, "But we observe only maximum of 8 channels can be added, as GAM is reaching more than 90% in this case" Was it working fine before?

When did the issue start?

Did you make any recent hardware/software changes that migth cause this problem?

Does the problem happen at home or in the work environment?

 

We are freshly trying on this customized Intel board. And since our requirement is minimum of 16 channels, we did benchmarking by adding the channels and validating it.

And This we have observed in the work environment.

 

Which Windows* version are you using?

 

We are using Linux Operating System

Linux (none) 4.12.24-yocto-standard #1 SMP PREEMPT Tue May 18 23:23:53 EDT 2021 x86_64 GNU/Linux

 

You also said "In our Project":

Are you a developer?

Are you building, designing, or modifying hardware/software?

Are you working with a specific Intel® hardware/software platform?

 

Yes, we are developers, and we are modifying software based on our requirements. Also yes we are now working with customized Intel platform.

 

Please attach the SSU report so we can verify further details about the components in your platform, check all the options in the report including the one that says "3rd party software logs":

 

Since we are using customized board, not sure whether we can share this as of now.

 

Please let us know, if you need more details.

 

Thanks in advance.

 

 

0 Kudos
Alberto_R_Intel
Moderator
1,373 Views

Hi Madhavan, You are very welcome, thank you very much for providing that information.


We will do further research on this matter to either provide the details that you are looking for or to point you in the right direction, as soon as I get any updates I will post all the details on this thread.


Regards,

Albert R.


Intel Customer Support Technician


0 Kudos
Alberto_R_Intel
Moderator
1,358 Views

Hello Madhavan, I just received an update on this matter.


After reviewing the case, since you are using a custom Intel® board (Apollo Lake) also customizing and designing software, we recommend to visit, sign in, and submit your inquiry in our Intel® Developer Zone website in order to get support on this matter, and if you need more detailed assistance then get in contact directly with a FAE (Field Application Engineer) through our Intel® Authorized Distributors:

https://www.intel.com/content/www/us/en/forms/developer/standard-registration.html

https://marketplace.intel.com/s/pmp-partner-program/a723b0000008PICAA2/distributor?language=en_US


Regards,

Albert R.


Intel Customer Support Technician



0 Kudos
Madhavan
Beginner
1,348 Views
0 Kudos
Alberto_R_Intel
Moderator
1,329 Views

Hi Madhavan, You are very welcome.


Any other inquiries, do not hesitate to contact us again.


Regards,

Albert R.


Intel Customer Support Technician


0 Kudos
Reply