Files
openvino-runtime-simple-ins…/modules/setup_fedora.sh
T
stornic56 244f4c8b02 update openvino + neo + igc
- Real update capability (derived INSTALL_DIR, replace policy, stable symlink)
- Mesa >= 25.2 transition fix on Debian 13 (mesa-va-drivers/vdpau)
- Robustness: SIGPIPE fixes, dead repair code, EOF stdin, unbound vars,
  trap cleanup (modules + --install), strict booleans, set -euo pipefail in deps/
- Ubuntu 22.04 doc alignment
- Validated end-to-end on Debian 13 + Arc B580 (clinfo 26.31, vainfo iHD OK)"
2026-09-17 15:52:45 -05:00

29 lines
926 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/../core/common.sh"
print_step "Fedora Module – Drivers and Multimedia"
# ---- 1. Instalar NEO completo y herramientas ----
print_substep "Installing Intel Compute Runtime (NEO)"
dnf install -y intel-compute-runtime clinfo vainfo nvtop
# ---- 2. Driver multimedia Intel ----
print_substep "Installing VAAPI Intel driver..."
dnf install -y libva-intel-media-driver
# ---- 3. Paquetes adicionales (VPL, GBM) ----
print_substep "Installing libvpl and mesa-libgbm..."
dnf install -y libvpl mesa-libgbm
# ---- 4. Añadir usuario a grupos ----
print_substep "Adding user to render and video groups (if they exist)..."
if [ -n "${SUDO_USER:-}" ]; then
usermod -a -G render,video "$SUDO_USER"
else
current_user="${SUDO_USER:-$(logname 2>/dev/null || id -un)}"
usermod -a -G render,video "$current_user"
fi