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

34 lines
787 B
YAML
Raw Normal View History

2024-01-21 20:58:18 +00:00
- name: Install packages
package:
name:
- drm-kmod
- vulkan-loader
- libva-utils # for vainfo
- vdpauinfo # for vdpauinfo
- libvdpau-va-gl # vdpau support
- mesa-gallium-va # Accelerated video decoding
- mesa-gallium-vdpau # Accelerated video decoding
2024-05-05 15:19:03 +00:00
- radeontop
2024-01-21 20:58:18 +00:00
- vulkan-tools # For vulkaninfo
state: present
2024-05-10 22:51:17 +00:00
- name: Install loader.conf
copy:
src: "files/{{ item }}_loader.conf"
dest: "/boot/loader.conf.d/{{ item }}.conf"
mode: 0644
owner: root
group: wheel
loop:
- amd_adaptive_backlight_management
2024-01-21 20:58:18 +00:00
2024-02-11 19:59:55 +00:00
- name: Install service configuration
copy:
src: "files/amd_{{ item }}_rc.conf"
dest: "/etc/rc.conf.d/{{ item }}"
mode: 0644
owner: root
group: wheel
loop:
- kld