From: Christian Heller Date: Sun, 10 Sep 2017 22:30:40 +0000 (+0200) Subject: Add 3D acceleration for X200s to ansible tree. X-Git-Url: https://plomlompom.com/repos/?p=config;a=commitdiff_plain;h=cde4d7a1b4e305c6945f6c4a92f6644f28fb56c2 Add 3D acceleration for X200s to ansible tree. --- 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