The lab in MC3007 is used primarily to support the needs of CS488. It consists of workstations with high-end graphics cards that are used for the course material.
Students can access relevant glNN
machines from their linux.student.cs
accounts using ssh gl01
, for example, while logged in to their linux.student.cs
account.
Administrators imaging the machines can follow these instructions before deploying the packages listed below.
sudo apt-get -y install alsa-oss libav-tools libopenal-data libopenal-dev libopenal1 libopenal1 libbulletml-dev \ libbulletml0d2 libglfw-dev libglfw2 libsdl-image1.2 libsdl-mixer1.2 libsdl-mixer1.2-dev libsdl1.2-dev libsdl1.2debian \ libpng12-0 libpng12-0 libpng12-dev freeglut3 freeglut3-dev sudo apt-get -y install libfreetype6-dev libboost-date-time-dev libboost-thread-dev nvidia-cg-toolkit libfreeimage-dev \ zlib1g-dev libzzip-dev libois-dev libcppunit-dev doxygen libxt-dev libxaw7-dev libxxf86vm-dev libxrandr-dev libglu-dev sudo apt-get -y install libalut-dev sudo apt-get install -y libsdl-image1.2-dev sudo apt-add-repository -y ppa:ubuntu-sdk-team/ppa; apt-get update; apt-get -y install qt5-qmake qt5-default libqt5opengl5-dev sudo apt-get install -y libglew-dev
wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add - sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu trusty-getdeb games" >> /etc/apt/sources.list.d/getdeb.list' sudo apt-get update sudo apt-get -y install glc sudo apt-get -y install glc-dev libglc-dev sudo apt-get -y install alsa-oss glc libav-tools libavfilter-extra-3 libavfilter-dev libopenal-data libopenal-dev libopenal1 \ libopenal1:i386 libbulletml-dev libbulletml0d2 libglfw-dev libglfw2 libsdl-image1.2 libsdl-mixer1.2 libsdl-mixer1.2-dev \ libsdl1.2-dev libsdl1.2debian libpng12-0 libpng12-0:i386 libpng12-dev freeglut3 freeglut3-dev
For compatible video cards, the latest OpenGl is installed as follows :
sudo apt-add-repository -y ppa:xorg-edgers/ppa sudo apt-get update sudo apt-get -y install nvidia-current nvidia-settings
sudo apt-get update; apt-get install -y nvidia-cuda-toolkit
In an SSH session, do the following:
export DISPLAY=:0; export XAUTHORITY=/var/run/lightdm/root/:0; glxinfo | grep -i "OpenGL version string"
Make sure to delete old config files in your home directory that may be preventing installed drivers from functioning as expected.