From cde4d7a1b4e305c6945f6c4a92f6644f28fb56c2 Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Mon, 11 Sep 2017 00:30:40 +0200 Subject: [PATCH] Add 3D acceleration for X200s to ansible tree. --- ansible/config_new.yml | 7 +++++-- ansible/files/apt-mark_new/W530/3d_acceleration | 1 - ansible/files/apt-mark_new/minimal/3d_acceleration | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 ansible/files/apt-mark_new/minimal/3d_acceleration diff --git a/ansible/config_new.yml b/ansible/config_new.yml index 2273f11..02af315 100644 --- a/ansible/config_new.yml +++ b/ansible/config_new.yml @@ -74,9 +74,12 @@ - name: ensure minimal X window environment apt: name={{item}} state=present with_lines: cat ~/config/ansible/files/apt-mark_new/minimal/minimal_x | sed -e 's/ *#.*$//' - #- name: ensure 3d acceleration and optimus switch + - name: ensure 3d acceleration core + apt: name={{item}} state=present + with_lines: cat ~/config/ansible/files/apt-mark_new/minimal/3d_acceleration | sed -e 's/ *#.*$//' + #- name: ensure further 3d acceleration and optimus switch # apt: name={{item}} state=present - # with_lines: cat ~/config/ansible/files/apt-mark/3d_acceleration | sed -e 's/ *#.*$//' + # with_lines: cat ~/config/ansible/files/apt-mark_new/W530/3d_acceleration | sed -e 's/ *#.*$//' #- name: ensure user plom is in bumblebee group # user: name=plom groups=bumblebee append=yes - name: ensure basic X tools diff --git a/ansible/files/apt-mark_new/W530/3d_acceleration b/ansible/files/apt-mark_new/W530/3d_acceleration index 7d0ba5b..fe8a7a3 100644 --- a/ansible/files/apt-mark_new/W530/3d_acceleration +++ b/ansible/files/apt-mark_new/W530/3d_acceleration @@ -1,5 +1,4 @@ bumblebee-nvidia libgl1-mesa-dri # tested as necessary for OpenGL 3D acceleration to work -libglu1-mesa # tested as necessary for OpenGL 3D acceleration to work linux-headers-amd64 # tested as necessary to build proper nvidia-driver module primus # bridge by which bumblebee will deliver Nvidia-renderend content to Intel card diff --git a/ansible/files/apt-mark_new/minimal/3d_acceleration b/ansible/files/apt-mark_new/minimal/3d_acceleration new file mode 100644 index 0000000..9d025bb --- /dev/null +++ b/ansible/files/apt-mark_new/minimal/3d_acceleration @@ -0,0 +1 @@ +libglu1-mesa # tested as necessary for OpenGL 3D acceleration to work -- 2.30.2