Adding in AMD fixes after framework install

This commit is contained in:
2026-05-20 12:58:02 -06:00
parent be34fb0dc6
commit 836d775d3d
4 changed files with 37 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Shared helpers: logging, sudo, preflight checks, idempotency primitives.
if [[ -t 1 ]]; then
if [[ -t 1 ]] || [[ "${FORCE_COLOR:-0}" == "1" ]]; then
BOLD=$'\033[1m'
DIM=$'\033[2m'
RED=$'\033[31m'

View File

@@ -80,7 +80,11 @@ install_gpu_encoder_packages() {
;;
amd)
# VAAPI (mesa) + Vulkan for AMD hardware encode paths.
yay_install libva-mesa-driver mesa-vdpau vulkan-radeon
# libva-mesa-driver is now provided by mesa (merged upstream); mesa-vdpau
# was removed from official repos. Naming them here makes yay fall back to
# AUR and pull in random forks like mesa-rk35xx-git that advertise
# `provides=(libva-mesa-driver mesa-vdpau)`.
yay_install mesa vulkan-radeon
;;
intel)
yay_install intel-media-driver vulkan-intel