Configure the Windows Instance

Setting up a Windows instance on your cloud environment is similar to setting up a real machine. This section walks you through setting up TightVNC for your remote connection, then the audio and video components you’ll need.

Before You Begin

You will need the game_admin_password and the game_public_ips from the log output to login in the game machine.

You can find the output in the Bastion-UI.

  1. Make sure the cluster is UP.

  2. Go to the Commands page of your cluster.

  3. Click the OUTPUT button.

You can find both in the JSON file.

(Optional) Change the VNC Password

The default VNC password is set to 1genvid6. Although the port is not accessible outside the trusted IPs set by the system (which is only the external IP of the developer machine IP by default), it is still a good idea to change the password to something only your team knows.

To modify the TightVNC configuration, click the TightVNC icon in the notification area of the taskbar.

TightVNC Icon Toolbar

This opens the TightVNC configuration dialog where you can change the Primary password. After making your changes, restart TightVNC for them to take effect.

TightVNC Configuration

Install the Virtual Audio Cable

Because the instance doesn’t have real speakers, the Genvid SDK uses virtual drivers. The SDK installation process adds a link to your desktop to start the driver install on your cluster.

  1. Launch the desktop link 1 - Install VBAudio.

    Run with PowerShell

    If a Windows Security dialog appears, click Yes.

    User Access Control

    A window will pop up and the script downloads the installer and starts it.

  2. Click Install Driver when the VBAudio installer appears.

    VBAudio Install Driver

    If a Windows Security dialog appears, click Install.

    Windows Security
  3. Click OK when the installer finishes.

Important

You shouldn’t reboot when this step completes, as you still need to install the video drivers. Wait until after installing the video drivers to reboot.

Install the NVIDIA GRID Drivers

The Genvid SDK uses NVIDIA GRID drivers for the cluster in order to process game video. The SDK installation process adds a link to your desktop to start the driver install on your cluster.

  1. Launch the desktop link 2 - Install NVIDIA GRID Drivers.

    This opens the NVIDIA download dialog for the driver.

    NVIDIA Driver Download page
  2. Click OK.

  3. When the NVIDIA software license agreement appears, click AGREE AND CONTINUE.

    NVIDIA Driver Download and Run

    If a Windows Security dialog appears, click Yes.

  4. Select either Express or Custom installation, then click NEXT.

    NVIDIA Driver Download and Run

    If you choose Custom, follow the steps provided to set up your installation.

  5. When installation finishes, you’re prompted to reboot the machine. Restart it now to finish the setup.

The machine only needs a few seconds to restart, then you can reconnect to it.

NVIDIA Driver Download and Run

Note

When you reboot the game machine, you will have to close the Server Manager Dashboard again.

Set Up the Display

After you reconnect to the cluster, you need to configure the virtual desktop. The SDK installation process adds links to your desktop to launch the desktop configuration setup.

  1. Launch the desktop link 3 - Change Desktop Resolution.

    This opens the Display window. There should now be 2 displays with the newest (#2) using the NVIDIA VGX drivers.

  2. Select the display using NVIDIA VGX (usually #2).

  3. Under Multiple displays, select Make this my main display.

  4. Under Resolution, select 2560x1600.

    Note

    This won’t affect either the game or the stream resolution, since the game runs windowed.

    Configure NVIDIA display.
  5. Click OK.

    If you changed the resolution during this process, click Keep Changes.

  6. Launch the desktop link 4 - Manage 3D Settings.

    This opens the NVIDIA Control Panel.

    While you can select most 3D options you want, we recommend you set Power Management to favor performance.

  7. Go to 3D Settings -> Manage 3D Settings

  8. Under Power management mode, select Prefer maximum performance.

  9. Click Apply.

    NVIDIA 3D Settings
  10. Launch the desktop link 5 - Shutdown with Sysprep.

    This will generalize the VM so the image created from it can be used to spin up other VMs.

    The link will start a small window that will disappear once the process is finished and the machine will automatically shutdown.

Time Source

By default, the machine is configured to sync its clock with Azure’s recommended time server: time.windows.com.

See the Azure documentation for more information

Finish Customizing the Game Machine

You can now customize and install any runtime libraries or special software you want on the machine. Although you can update the game later, you can save some setup time if nothing is likely to change.