Enable NVIDIA VGA in Google GCP Instance - google-cloud-platform

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?

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

Related

Running my OpenGL application over RDP displays nothing

I have an OpenGL application that has a map display window. When I run the application over RDP the map display is blank blank-map-display
Running the same application locally or on AWS Workspaces the map displays correctly.
The machine I've RDP'd to has an NVidia graphics card and running windows 10. I've attempted to force hardware acceleration over RDP but this still doesn't solve the problem. Here is the DirectX Diagnostics details showing the use of HW rendering when I RDP on the machine: dxdiag-rdp. I'm using Nvidia driver version 451.77 which should support RDP for Nvidia GeForce GPUs.
I noted that on AWS Workspaces (and locally) all the DirectX features are enabled: dxdiag-aws-workspaces.
Has anyone got any insight into how to make an OpenGL application run over RDP like it does on AWS Workspaces?

Is it possible to run Carla simulator in Google Linux VM instance

I am trying to run Carla simulator in Google Linux VM instance (Ubuntu 20.4 with GPU NVIDIA Tesla P100 Virtual Workstation). I used NoMachine to remotely connect to the instance.
All the installation steps are done perfectly but when I run Carla simulator, it will show below error
I run the vulkaninfo command on NoMachine then an exception is thrown
build/vulkan-tools-KEbD_A/vulkan-tools-1.2.131.1+dfsg1/vulkaninfo/vulkaninfo.h:477: failed with ERROR_INITIALIZATION_FAILED
However, if I run vulkaninfo command on SSH connection then it results correctly.
I guess that is because there is no physic display for Google VM instance so NoMachine cannot detect it (I even used NoMachine workstation version already).
So, I just wonder if it is possible to graphic display for Google Linux instance? Or is there any better way to do visualize remote connection rather than NoMachine? I would appreciate any suggestions.
Thank you very much in advance
It seems to be an issue with no machine and vulkan as per this other thread.
You could try using Teradici for PCoIP as suggested in GCP's documentation for "Creating a virtual GPU-accelerated Linux workstation". A Free trial period can be requested here.

Running an MS unittest that requires a GPU from TFS Build

We have a series of unit tests that require an NVidia GPU for execution. These tests currently fail (I think) because TFSBuild runs as a windows service and Windows (Windows 7 and later) does not allow windows services to access GPUs. Any ideas on how to get around this problem?
You are correct in that the MS Test Execution Engine on a build server does run as a service (just like the MSBuild process) and that services by default cannot access the GPU because of the "Session 0 Isolation" concept that was introduced in Windows Vista.
From what I've researched the only official way to get around this is to purchase an Nvidia Tesla card and have it run in "Tesla Compute Cluster" (TCC) mode which allows services to access the GPU for computing (like CUDA). There is indirect evidence that some Quadro cards also support TCC mode, but I have not found anything official stating which ones do.
I have a question up on Nvidia's forums asking about an inexpensive card for this exact scenario but it does not have any replies as of yet.
EDIT:
I just acquired an Nvidia Quadro K2200 and can confirm that it does indeed support TCC mode and works great running CUDA Unit tests on my build server during the build process.

Amazon Web Services GPU G2

Today I got setup with AWS GPU G2 instance (g2.2xlarge). I wanted to test out the 3d hardware capability that is offered as mentioned here
http://aws.amazon.com/ec2/instance-types/
Features:
High Frequency Intel Xeon E5-2670 (Sandy Bridge) Processors
High-performance NVIDIA GPU with 1,536 CUDA cores and 4GB of video
memory On-board hardware video encoder designed to support up to eight
real-time HD video streams (720p#30fps) or up to four real-time FHD
video streams (1080p at 30 fps). Support for low-latency frame capture
and encoding for either the full operating system or select render
targets, enabling high-quality interactive streaming experiences.
But when I tried running 3dmark 2011 to try things out. I got an exception "No DXGI adapters found"
Also I noticed, dxdiag says no hardware acceleration available.
So im a bit puzzled as to why I dont see the NVIDIA GPU with 1500+ cuda cores.
Also, It would be great if Azure offered 3d compute capabilities.
To answer my own question, there is some setup required before GPU can be used. One needs to install nvidia grid k520 driver as well as the latest cuda toolkit. Finally install vnc server on the instance and then open relevant ports in the aws instance. Then install vnc client on your local pc and that should give you access to the gpu.
Thanks

ATI Mobility Radeon 4650: "GPU not found. Falling back to CPU device"

I have ATI Mobility Radeon 4650 on my computer. I have installed AMD APP SDK v2.7 with OpenCL 1.2 SDK and opened the sample applications. All of them indicates that GPU is not found. However, according to Getting Started Guide my video card is supported but beta only. I have looked to documentation and tried google but no help. How can I make the SDK to recognize my card? I am currently running on Windows x64.