From 939b8d400d744a8e8b3930c31f4f4ff2191d3f37 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 28 Jul 2025 11:08:38 +0200 Subject: [PATCH] Update build.func --- misc/build.func | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/build.func b/misc/build.func index adf2c4b3..2294e798 100644 --- a/misc/build.func +++ b/misc/build.func @@ -1214,7 +1214,8 @@ EOF if [[ "$CT_TYPE" == "0" || "$is_vaapi_app" == "true" ]]; then VAAPI_DEVICES=() - for bypath in /dev/dri/by-path/*-render; do + for bypath in /dev/dri/by-path/*-render /dev/dri/renderD*; do + [[ -e "$bypath" ]] || continue dev_target=$(readlink -f "$bypath") || continue pci_addr=$(basename "$bypath" | cut -d- -f1 --complement | sed 's/-render//') pci_info=$(lspci -nn | grep "$pci_addr" || true)