chore
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled

This commit is contained in:
Tobias 2025-10-21 11:49:11 +02:00 committed by GitHub
parent dce2be7571
commit 74616c7b73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1819,11 +1819,8 @@ function setup_hwaccel () {
msg_info "Setting Up Hardware Acceleration"
if ! command -v lspci &>/dev/null; then
msg_info "Installing pciutils (provides lspci)"
$STD apt -y update && $STD apt -y install pciutils || {
msg_error "Failed to install pciutils — cannot detect GPU"
return 1
}
$STD apt -y update
$STD apt -y install pciutils
fi
# Detect GPU vendor (Intel, AMD, NVIDIA)