multi-display-triple-screen-1.ino

BIOSSTAR BIWCL-PAT: 3.5" Industrial SBC with Intel Wildcat Lake · File : multi-display-triple-screen-1.ino · Language : bash · Use case : Configurer l'affichage simultané sur trois écrans indépendants (HDMI, DP, LVDS) sous Ubuntu 24.04 pour une borne interactive.

Bash script using xrandr to configure three independent video outputs with native resolutions.

Uses xrandr to manage HDMI, DisplayPort, and LVDS outputs. Verify exact connector names with 'xrandr -q' as LVDS detection depends on BIOS. Updated Intel drivers are required for triple 4K streams.

multi-display-triple-screen-1.ino

#!/bin/bash
# Script de configuration multi-écran pour BIWCL-PAT (Ubuntu 24.04)
# Utilise xrandr pour détecter et organiser les sorties HDMI-1, DP-1 et LVDS-1

# 1. Identification des connecteurs actifs
# Sur Wildcat Lake, LVDS est souvent mappé en 'LVDS-1' ou 'eDP-1' selon le BIOS/Kernel
CONNECTORS=$(xrandr | grep " connected" | awk '{print $1}')
echo "Ecrans détectés : $CONNECTORS"

# 2. Définition des résolutions optimales selon la spec BIWCL-PAT
# HDMI 2.1 : 4K @ 60Hz, DP 1.4 : 4K @ 60Hz, LVDS : 1920x1200

# Configuration HDMI (Principal)
xrandr --output HDMI-1 --mode 3840x2160 --rate 60 --primary --rotate normal

# Configuration DisplayPort (Secondaire à droite)
# Note : Vérifier le nom exact (DP-1, DP-2) avec 'xrandr'
xrandr --output DP-1 --mode 3840x2160 --rate 60 --right-of HDMI-1 --rotate normal

# Configuration LVDS (Tertiaire ou interne)
# LVDS est souvent limité à 1080p ou 1920x1200 par la fréquence pixel du contrôleur
xrandr --output LVDS-1 --mode 1920x1200 --below HDMI-1 --rotate normal

echo "Configuration multi-écran terminée. Utilisez 'xrandr' pour vérifier la disposition."

← Back to the board