This article explains how to disable GPU and/or limit which GPUs SAFR users. This is assumed to be useful only for testing and not something that is likely needed by most users.
Argus or Virgo
Use Windows Device Manager and disable the Nvidia Device
Virgo
Set following on each feed:
- accelerator=cpu, gpu or auto
- accelerator.gpu-id attribute
Windows
Disable the device in Windows Device Manager
or
File: C:\Program Files\RealNetworks\SAFR\face-service\config\config
HTFS will automatically use all available GPUs. You need to update the config file to tell it what GPUs you want it to use as follows:
Switch All compute from GPU to CPU:
Linux
Service (HTFS / Face Service)
HTFS will automatically use all available GPUs. You need to update the config file to tell it what GPUs you want it to use as follows:
File: /opt/RealNetworks/SAFR/face-service/config/config
Switch All compute from GPU to CPU:
Video Gateway
In case of virgo running in Docker you can update the compose file and bounce the virgo instance.
Run following commands:
Edit docker-compose.yml to add in the environment variable as follows:
docker-compose.yml file location:
- /opt/RealNetworks/SAFR/virgo/app
Restore docker with following command: