GPU advantage

Previous development branch now released as 1.36
Locked
trumee
Posts: 69
Joined: Tue Mar 08, 2011 3:33 pm

GPU advantage

Post by trumee »

Hello,

Is there any advantage of using an Nvidia GPU with zoneminder? I want to reduce the CPU usage without reducing the resolution or frame rate.

Thanks
BaconButty
Posts: 35
Joined: Fri Jun 12, 2020 1:29 pm

Re: GPU advantage

Post by BaconButty »

Not exactly the answer you're looking for, but I used the GPU cores in my AMD APU to lower my CPU usage by about 20%. So it will lower it, but not a huge amount. For 5 cameras, it was good enough to get my usage down from tipping 100% to 70-80%.

Just go into the cameras settings and you can enable hardware decoding under source-> DecoderHWAccelName. Look up the name for the nVidea decoder you want to use. nVidea hardware decoding is generally better supported, so you might get better results.
User avatar
burger
Posts: 390
Joined: Mon May 11, 2020 4:32 pm

Re: GPU advantage

Post by burger »

Search the forums with term 'GPU'. this has been answered multiple times, e.g.
viewtopic.php?f=40&t=29029&hilit=gpu
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Locked