How to use OpenGL on Amazon EC2 with Cirrus Logic GD 5446 and NVIDIA GRID K520
If you want to run OpenGL applications on a remote computer on Amazon EC2, you may encounter some challenges with the graphics drivers and the X server. In this article, we will show you how to set up and use OpenGL on an EC2 instance with Ubuntu 14.04 and two VGA devices: Cirrus Logic GD 5446 and NVIDIA GRID K520.
Before you start, you need to have an EC2 instance with Ubuntu 14.04 and the following VGA devices:
Nouveau is an open source driver for NVIDIA cards that may interfere with the installation of the official NVIDIA drivers. To disable it, you need to add some lines to the /etc/modprobe.d/blacklist.conf and /etc/modprobe.d/nouveau-kms.conf files: