Search code examples
google-cloud-platformnvidiavulkanvga

Enable NVIDIA VGA in Google GCP Instance


Hi I created a Google Compute Engine with Tesla T4 GPU. I want to be able to run some application that renders some graphics. So i need NVIDIA GPU for display.

OS : Ubuntu 18.04

I tried installing the NVIDIA proprietary drivers , still i am unable to see any valid NVIDIA VGA Device.

But the compute instance i created doesn't seem to be exposing the VGA driver for NVIDIA. when i do lshw -c display , it only shows Nvidia as a 3D accelerator and not as VGA Compatible device.

Hence my doubt, how do i enable VGA capability for NVIDA Card on Google Cloud Compute Platform?


Solution

  • Google supports virtual display devices only on Windows instances that use any Windows images or higher.

    Virtual display devices are not compatible with instances running the Sandy Bridge CPU platform.

    Here are the instructions to enable a Virtual Display in GCP instances