Cuda: no image
Posted: Mon Jan 18, 2021 6:24 pm
I have ZM 1.34.22 installed under Ubuntu 18.04 with 6 camera's: 640x360 (4fps, modect), 1920x1080 (2fps, modect), 2560x1440 (10fps, modect), 1280x720 (2fps, modect), 1280x720 (2fps, modect), 3850x2160 (4fps, nodect linked to first camera).
The computer has an AMD Phenom(tm) II X4 955 Processor with 16GB memory and 256SSD for ZM and 1TB SSD for video recordings. For the above config, the CPU runs at 40% (temperature between 40C and 60C). So I experimented with a GPU (an old Nvidia GeForce 610 with 2GB). After installing the required drivers (with multi process service) and setting (the ffmpeg version installed with hardware acceleration available: vdpau, vaapi, cuvid) I set DecoderHWAccelName to Cuvid. With the tool nvidia-smi it was clear that the GPU was used (memory usage of the card would change). The CPU load dropped to 5% and temperature varied between 25C and 30C. The total power consumption of the computer dropped with almost 20W (to 60 from about 80W).
However. There was no video available (recordings were blue screens and preview was blank). So it seems that ffmpeg did send video to the GPU but nothing was captured back. Is there a setting I am missing?
The computer has an AMD Phenom(tm) II X4 955 Processor with 16GB memory and 256SSD for ZM and 1TB SSD for video recordings. For the above config, the CPU runs at 40% (temperature between 40C and 60C). So I experimented with a GPU (an old Nvidia GeForce 610 with 2GB). After installing the required drivers (with multi process service) and setting (the ffmpeg version installed with hardware acceleration available: vdpau, vaapi, cuvid) I set DecoderHWAccelName to Cuvid. With the tool nvidia-smi it was clear that the GPU was used (memory usage of the card would change). The CPU load dropped to 5% and temperature varied between 25C and 30C. The total power consumption of the computer dropped with almost 20W (to 60 from about 80W).
However. There was no video available (recordings were blue screens and preview was blank). So it seems that ffmpeg did send video to the GPU but nothing was captured back. Is there a setting I am missing?