machine_setup/ansible/roles/graphics/tasks/freebsd_intel.yaml

42 lines
991 B
YAML
Raw Normal View History

2022-10-16 01:51:43 +00:00
- name: Install packages
package:
name:
- drm-kmod
- libva-intel-media-driver # va-api support for broadwell (2014) and newer.
- libva-intel-driver # va-api support until after coffeelake (2017).
- vulkan-loader
- libva-utils # for vainfo
- vdpauinfo # for vdpauinfo
- libvdpau-va-gl # vdpau support
2023-03-22 22:05:33 +00:00
- vulkan-tools # For vulkaninfo
2022-10-16 01:51:43 +00:00
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
- name: Install loader.conf
copy:
src: "files/{{ item }}_loader.conf"
dest: "/boot/loader.conf.d/{{ item }}.conf"
mode: 0644
owner: root
group: wheel
loop:
- intel_power
- intel_hw_accel_video
2022-10-16 02:18:45 +00:00
- name: Install service configuration
copy:
src: "files/intel_{{ item }}_rc.conf"
dest: "/etc/rc.conf.d/{{ item }}"
mode: 0644
owner: root
group: wheel
loop:
- kld