OpenVisualCloud / Smart-City-Sample

The smart city reference pipeline shows how to integrate various media building blocks, with analytics powered by the OpenVINO™ Toolkit, for traffic or stadium sensing, analytics and management tasks.
BSD 3-Clause "New" or "Revised" License
189 stars 81 forks source link

VCAC-A Card build not working #741

Closed goanto closed 3 years ago

goanto commented 3 years ago

Hi, recently we tried to deploy Smart City framework with VCAC-A card. In analytics container, we got an error related to vaapipostproc. We changed from Xeon to vcac-a by changing cmake to cmake -DPLATFORM=VCAC-A. It got reflected in the cmake process. With VCAC-A build, we are getting error as below. Screenshot (162) We tried with Xeon in same environment it was working fine, screeshot for cmake -DPLATFORM=Xeon is below Screenshot (163) Kindly look into this issue

nnshah1 commented 3 years ago

@goanto Can you confirm the settings with which the container are launched? It also seems as if the container may be running on the host system that doesn't have a GPU - can you confirm the container is targetting the VCAC-A card?

goanto commented 3 years ago

@nnshah1, I followed the smart city instruction for making platform with VCAC-A card. i Executed the below command Cmake -DPLATFORM=VCAC-A .. It shows me that the platform is changed from Xeon to VCAC-A We use a VCAC-A card and configured the Centos Kernel on top of it. The images are created with make. The base image for analytics section is changed to smtc_analytics_common_vcac-a_gst. I ran with traffic scenario, the base image for traffic scenario is changed to the above. For deployment i tried with Docker_Swarm and Kubernetes. Docker Swarm showed the above error.

nnshah1 commented 3 years ago

@goanto - what is the command you use to deploy?

goanto commented 3 years ago

@nnshah1 I used make start_docker_swarm for docker swarm and when I tried for k8s I used make start_kubernetes.