From 2e60a553b43773ff270986bc354ed3d12b27c68a Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 27 Mar 2017 00:26:38 +0200 Subject: [PATCH] Fix OpenGL/NVidia config. --- ansible/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/config.yml b/ansible/config.yml index 16b5651..ffec8f0 100644 --- a/ansible/config.yml +++ b/ansible/config.yml @@ -88,7 +88,11 @@ - xinit # contains startx - libpam-systemd # needed to start X as non-root - name: ensure 3d acceleration and optimus switch + apt: name={{item}} state=present + with_items: + - linux-headers-amd64 # necessary to build proper nvidia-driver module - libgl1-mesa-dri # necessary for OpenGL 3D acceleration to work + - libglu1-mesa # necessary for OpenGL 3D acceleration to work - bumblebee-nvidia - primus - name: ensure basic X tools -- 2.30.2