x86-4k-dual-display-benchmark-9.ino

BIOSTAR EdgeComp MS-U320: Mini PC industrial sin ventilador Intel Wildcat Lake · Archivo : x86-4k-dual-display-benchmark-9.ino · Lenguaje : bash · Uso : Configurer et tester la sortie vidéo dual-screen 4K sur les ports HDMI/DP via Wayland/X11.

Script Bash para detectar, configurar y estresar las salidas de video 4K en los controladores Intel Xe3.

Este script utiliza xrandr (X11) o weston-info (Wayland) para listar las salidas HDMI 2.1 y DisplayPort 1.4. Verifica la detección de gráficos Intel Xe3 mediante lspci. Para la ejecución, asegúrese de que los controladores i915 o xe estén cargados. Ejecute con chmod +x y luego ./script.sh. Use glmark2 para validar la estabilidad bajo carga gráfica.

x86-4k-dual-display-benchmark-9.ino

#!/bin/bash
# Benchmark affichage dual 4K EdgeComp MS-U320 (Intel Xe3)
# Prérequis: mesa-utils, xrandr (X11) ou weston-info (Wayland)

set -e

echo "1. Identification des écrans connectés..."
if command -v xrandr &> /dev/null; then
    echo "--- Environnement X11 ---"
    xrandr --listmonitors
    echo "--- Configuration actuelle ---"
    xrandr --current
    
    # Exemple forcer mode 4K60 sur HDMI-1 si détecté
    # xrandr --output HDMI-1 --mode 3840x2160 --rate 60 --primary
    echo "Suggestion: Utilisez 'xrandr --setmonitor' pour configurer l'extension."
elif command -v weston-info &> /dev/null; then
    echo "--- Environnement Wayland ---"
    weston-info
else
    echo "Outil de gestion d'affichage non trouvé. Installez x11-xserver-utils ou weston."
    exit 1
fi

echo ""
echo "2. Test de stress graphique (Intel Xe3)..."
# Vérifie la présence des drivers Intel
if lspci | grep -i "Intel.*Graphics"; then
    echo "Driver graphique Intel détecté."
    if command -v glmark2 &> /dev/null; then
        echo "Lancement de glmark2 (limité à 10s pour l'aperçu)..."
        timeout 10 glmark2 --run-forever || true # Arrêt après timeout
    else
        echo "glmark2 non installé. Installation suggérée: sudo apt install glmark2"
    fi
else
    echo "Aucun GPU Intel détecté dans lspci. Vérifiez les drivers i915/xe."
fi

echo ""
echo "Configuration terminée."

← Volver a la ficha