# Using a GPU for dispaying IP cameras in vision

**URL:** <https://forum.inductiveautomation.com/t/using-a-gpu-for-dispaying-ip-cameras-in-vision/94996>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [August 22, 2024, 6:48am UTC](https://forum.inductiveautomation.com/t/using-a-gpu-for-dispaying-ip-cameras-in-vision/94996 "2024-08-22T06:48:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frane\_van\_der\_Walt](https://avatars.discourse-cdn.com/v4/letter/f/c4cdca/32.png) [@Frane\_van\_der\_Walt](https://forum.inductiveautomation.com/u/Frane_van_der_Walt)\
**Post date:** [August 22, 2024, 6:48am UTC](https://forum.inductiveautomation.com/t/using-a-gpu-for-dispaying-ip-cameras-in-vision/94996/1 "2024-08-22T06:48:09Z")

</div>

Hi, I would like to know how to set Ignition to use my server's GPU? We have configured multiple IP cameras (30 in total, but only 6 - 8 live on one window at a time) that need to stream video to the operator, and currently the video is lagging. So we are thinking of transferring the application to a beefy server that has a GPU that is not currently used. The server is currently used for other image processing and control functions, so I don't want the Ignition to use all the CPU. Is there a setting somewhere to transfer the video streaming to the GPU?  
It is an NVIDIA Ampere GPU

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 22, 2024, 1:30pm UTC](https://forum.inductiveautomation.com/t/using-a-gpu-for-dispaying-ip-cameras-in-vision/94996/2 "2024-08-22T13:30:50Z")

</div>

The video is lagging on the _client_, during display? Hardware on the gateway won't make any difference, and GPU hardware on the client probably won't make any difference either; Java Swing is generally CPU-only. Especially if you're directly using our IP Camera component, which manually deals with image data in Java code.

If the video is lagging due to server transcoding or something, it's _possible_ different gateway hardware would help, but I doubt that's actually your problem or that it's going to help, unfortunately.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [August 22, 2024, 2:13pm UTC](https://forum.inductiveautomation.com/t/using-a-gpu-for-dispaying-ip-cameras-in-vision/94996/3 "2024-08-22T14:13:25Z")

</div>

You'll just have to reduce the quality of the stream to be able to handle multple videos at once

---

<div class="post-metadata">

**Author:** ![automatisation](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@automatisation](https://forum.inductiveautomation.com/u/automatisation)\
**Post date:** [August 22, 2024, 2:31pm UTC](https://forum.inductiveautomation.com/t/using-a-gpu-for-dispaying-ip-cameras-in-vision/94996/4 "2024-08-22T14:31:42Z")

</div>

We had to define ignition specific stream profiles in our cameras to be able to reduce cpu overusage in the client.  
Quality is a bit lower but at least, it's smoother.

Basically, on the cameras, we reduced the resolution, upped the compression and reduced the image rate. On Vision, if I remember correctly, we played with the buffer size.

You can try to go Perspective for this issue but you might encounter issues if you connect in https to your project but the cameras can only handle http : [Perspective Video Stream http and https mixed content](https://forum.inductiveautomation.com/t/perspective-video-stream-http-and-https-mixed-content/48739)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 22, 2024, 2:38pm UTC](https://forum.inductiveautomation.com/t/using-a-gpu-for-dispaying-ip-cameras-in-vision/94996/5 "2024-08-22T14:38:25Z")

</div>

If the clients are lagging, there's really only two knobs to tweak:

- Reduce the resolution of the MJPEG stream. (My Image Streamer module will help you do this at the gateway for many consumers at once, instead of in the camera.)

- Turn off scaling in the IP Camera Viewer component.

Java Swing does not use any local GPU.

---

<div class="post-metadata">

**Author:** ![Frane\_van\_der\_Walt](https://avatars.discourse-cdn.com/v4/letter/f/c4cdca/32.png) [@Frane\_van\_der\_Walt](https://forum.inductiveautomation.com/u/Frane_van_der_Walt)\
**Post date:** [March 20, 2025, 7:10pm UTC](https://forum.inductiveautomation.com/t/using-a-gpu-for-dispaying-ip-cameras-in-vision/94996/6 "2025-03-20T19:10:05Z")

</div>

Hi Pturmel - can you provide me with a link to My Image Streamer) - what is the cost?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 20, 2025, 7:14pm UTC](https://forum.inductiveautomation.com/t/using-a-gpu-for-dispaying-ip-cameras-in-vision/94996/7 "2025-03-20T19:14:06Z")

</div>

Start here, and read it all (download link at the end):

> [@Automation Professionals' Image Streamer Driver Module](https://forum.inductiveautomation.com/t/automation-professionals-image-streamer-driver-module/29371):
>
> Automation Professionals is pleased to announce a Release Candidate for its new driver module, supporting the live Network Image transmission format of [Keyence CV-5000](https://www.keyence.com/products/vision/vision-sys/cv-5000/index.jsp) machine vision controllers, plus support for common Network Video streams via [OpenCV](https://opencv.org/). Stream metadata is exposed as OPC items, and the output streams are Motion JPEG. The IP Camera Viewer Component in Vision can consume these streams, making it possible to integrate IP Cameras that don't have MJPEG support or have poor support f…

Pricing is in this document:

[https://www.automation-pros.com/Module%20Sales-2024-11-05.pdf](https://www.automation-pros.com/Module%20Sales-2024-11-05.pdf)

---

<div class="post-metadata">

**Author:** ![Frane\_van\_der\_Walt](https://avatars.discourse-cdn.com/v4/letter/f/c4cdca/32.png) [@Frane\_van\_der\_Walt](https://forum.inductiveautomation.com/u/Frane_van_der_Walt)\
**Post date:** [March 20, 2025, 7:56pm UTC](https://forum.inductiveautomation.com/t/using-a-gpu-for-dispaying-ip-cameras-in-vision/94996/8 "2025-03-20T19:56:02Z")

</div>

Thanks! Can you send me your contact details? I would like to arrange a call with you, and get set up

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 20, 2025, 8:27pm UTC](https://forum.inductiveautomation.com/t/using-a-gpu-for-dispaying-ip-cameras-in-vision/94996/9 "2025-03-20T20:27:34Z")

</div>

Send an email to my [sales address](mailto:sales@automation-pros.com).
