googleforgames / global-multiplayer-demo

This multiplayer demo is a cloud first implementation of a global scale, realtime multiplayer game utilising dedicated game servers, utilising both Google Cloud's products and open source gaming solutions.
Apache License 2.0
95 stars 14 forks source link

Add initial Game Client VM Terraform #224

Closed abmarcum closed 4 months ago

abmarcum commented 8 months ago

Add in Terraform and scripts to spin up a Linux Game Client VM. This VM will run the Global Multiplayer Demo Client on a GCP Instance with a NVIDIA GPU.

markmandel commented 4 months ago

Just making an extra note as well - trying to grab the latest client from GCS:

gsutil ls
AccessDeniedException: 403 game-client-vm@mark-world-scale.iam.gserviceaccount.com does not have storage.buckets.list access to the Google Cloud project. Permission 'storage.buckets.list' denied on resource (or it may not exist).

So the VM will need access to read storage buckets in the repo.

markmandel commented 4 months ago

FYI - I'm playing with this in my own branch, lemme know if you want to combine forces.

markmandel commented 4 months ago

Heads up - there's a bug in Nvidia drivers and the latest Kernel version in Debian 12: https://lists.debian.org/debian-stable-announce/2024/02/msg00002.html

It seems to be fixed in debian packages, but not in the GRID drivers 🤦🏻 might have to file an issue.