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

BIOSTAR EdgeComp MS-U320: Fanless Intel Wildcat Lake Industrial Mini PC · File : x86-4k-dual-display-benchmark-9.ino · Language : bash · Use case : Configurer et tester la sortie vidéo dual-screen 4K sur les ports HDMI/DP via Wayland/X11.

Bash script to detect, configure, and stress 4K video outputs on Intel Xe3 controllers.

This script uses xrandr (X11) or weston-info (Wayland) to list HDMI 2.1 and DisplayPort 1.4 outputs. It checks for Intel Xe3 graphics detection via lspci. For execution, ensure i915 or xe drivers are loaded. Run with chmod +x then ./script.sh. Use glmark2 to validate stability under graphical load.

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."

← Back to the board