- 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
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