Import the linux intel graphics role.
This commit is contained in:
parent
4f372514da
commit
35c2779a76
@ -17,3 +17,4 @@ users:
|
||||
zfs_snapshot_datasets:
|
||||
- zroot/linux/archmain/home
|
||||
- zroot/linux/archmain/be
|
||||
graphics_driver: "intel"
|
||||
|
@ -1,6 +1 @@
|
||||
# - name: Install packages
|
||||
# pacman:
|
||||
# name:
|
||||
# - foo
|
||||
# state: present
|
||||
# update_cache: true
|
||||
- include_tasks: "tasks/linux_{{graphics_driver}}.yaml"
|
||||
|
26
ansible/roles/graphics/tasks/linux_intel.yaml
Normal file
26
ansible/roles/graphics/tasks/linux_intel.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
- name: Install packages
|
||||
package:
|
||||
name:
|
||||
- linux-firmware # Arch wiki claims this is needed for hardware video acceleration in skylake or later
|
||||
- xf86-video-intel
|
||||
- mesa
|
||||
- lib32-mesa
|
||||
- vulkan-intel
|
||||
- intel-media-driver # va-api support for broadwell (2014) and newer.
|
||||
- lib32-vulkan-intel
|
||||
- vulkan-icd-loader
|
||||
- lib32-vulkan-icd-loader
|
||||
- libva-utils # for vainfo
|
||||
- vdpauinfo # for vdpauinfo
|
||||
- libvdpau-va-gl # vdpau support
|
||||
- intel-gpu-tools # optional for intel_gpu_top
|
||||
- vulkan-tools # For vulkaninfo
|
||||
state: present
|
||||
|
||||
- name: Configure vdpau to use va-api driver
|
||||
copy:
|
||||
src: vdpau.sh
|
||||
dest: /etc/profile.d/vdpau.sh
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: root
|
Loading…
Reference in New Issue
Block a user