From 5fe0a398f4ccc6d045253c055cde4d67e76fc670 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Fri, 17 Nov 2023 16:40:53 +0100 Subject: [PATCH] Install video drivers Most PCs have an AMD GPU, but some replacements only have Intel. The intel-specific packages can later be excluded, albeit it doesn't hurt to have them installed. Intel-only hosts: - MU02 - MU03 --- setup.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/setup.yaml b/setup.yaml index b9b964d..b08f514 100644 --- a/setup.yaml +++ b/setup.yaml @@ -99,12 +99,25 @@ community.general.xbps: upgrade: true - - name: Install packages + - name: Install common packages community.general.xbps: name: '{{ xbps_install }}' state: present when: xbps_install + - name: Install video drivers + community.general.xbps: + name: + - mesa-dri + - vulkan-loader + - mesa-vulkan-radeon + - amdvlk + - xf86-video-amdgpu + - mesa-vaapi + - mesa-vdpau + - intel-video-accel + - mesa-vulkan-intel + - name: Recursively remove packages community.general.xbps: name: '{{ xbps_remove }}'