From 04c991e775d06e2463405fea4055d014dceef9d4 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 9 Aug 2025 13:30:31 -0400 Subject: [PATCH] Enable hardware accelerated encoding in chromium. --- ansible/roles/base/files/gitconfig_home | 2 +- ansible/roles/base/files/gitconfig_work | 4 +++- ansible/roles/chromium/files/chromium-flags.conf | 2 +- ansible/roles/zfs/tasks/linux.yaml | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ansible/roles/base/files/gitconfig_home b/ansible/roles/base/files/gitconfig_home index 16a4308..7270acf 100644 --- a/ansible/roles/base/files/gitconfig_home +++ b/ansible/roles/base/files/gitconfig_home @@ -50,4 +50,4 @@ [rebase] autoSquash = true autoStash = true - updateRefs = true + updateRefs = false diff --git a/ansible/roles/base/files/gitconfig_work b/ansible/roles/base/files/gitconfig_work index 8767c3e..2985d4c 100644 --- a/ansible/roles/base/files/gitconfig_work +++ b/ansible/roles/base/files/gitconfig_work @@ -39,6 +39,8 @@ # cmd = meld "$LOCAL" "$BASE" "$REMOTE" --output "$MERGED" [includeIf "gitdir:/bridge/"] path = /bridge/git/machine_setup/ansible/roles/base/files/gitconfig_home +[includeIf "gitdir:/persist/"] + path = /bridge/git/machine_setup/ansible/roles/base/files/gitconfig_home [column] ui = auto [branch] @@ -52,4 +54,4 @@ [rebase] autoSquash = true autoStash = true - updateRefs = true + updateRefs = false diff --git a/ansible/roles/chromium/files/chromium-flags.conf b/ansible/roles/chromium/files/chromium-flags.conf index 7e3c40c..c380b9c 100644 --- a/ansible/roles/chromium/files/chromium-flags.conf +++ b/ansible/roles/chromium/files/chromium-flags.conf @@ -1,2 +1,2 @@ --ozone-platform-hint=auto ---enable-features=VaapiVideoDecoder,VaapiIgnoreDriverChecks,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE +--enable-features=VaapiVideoDecoder,VaapiIgnoreDriverChecks,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE,AcceleratedVideoEncoder diff --git a/ansible/roles/zfs/tasks/linux.yaml b/ansible/roles/zfs/tasks/linux.yaml index cd5ad47..5114be9 100644 --- a/ansible/roles/zfs/tasks/linux.yaml +++ b/ansible/roles/zfs/tasks/linux.yaml @@ -1,8 +1,8 @@ - name: Install packages package: name: - - linux-lts-headers - # - linux-headers + # - linux-lts-headers + - linux-headers state: present - name: Check trusted gpg keys