From d65f08cfad4269eabb9207e2a7a761ea7e93532f Mon Sep 17 00:00:00 2001 From: nocode Date: Sat, 4 Jul 2026 14:10:27 +0200 Subject: [PATCH] fix(i3-config): disable picom in virtual machines to prevent rendering artifacts picom's GPU compositing causes GTK window repaint issues in virtual environments (vmwgfx/llvmpipe), resulting in black content and visual artifacts. Use systemd-detect-virt to skip picom execution on VMs while keeping it enabled on real hardware. The rounded corners feature is sacrificed in VM environments to maintain stable window rendering. --- configs/releng/airootfs/usr/local/share/fws/i3-config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/releng/airootfs/usr/local/share/fws/i3-config b/configs/releng/airootfs/usr/local/share/fws/i3-config index ab66851..8b6ead8 100644 --- a/configs/releng/airootfs/usr/local/share/fws/i3-config +++ b/configs/releng/airootfs/usr/local/share/fws/i3-config @@ -148,7 +148,10 @@ exec_always --no-startup-id sh -c 'pkill -x polybar; sleep 0.3; exec polybar -q ## AUTOSTART ## ############### # picom : coins arrondis (parité visuelle avec Hyprland) — config FWS légère. -exec --no-startup-id picom --config ~/.config/picom.conf +# PAS en machine virtuelle : le compositing sur GPU virtuel (vmwgfx/llvmpipe) +# rate le repaint des fenêtres GTK → contenus noirs/artefacts. Les coins +# arrondis sont sacrifiés en VM ; sur matériel réel picom se lance normalement. +exec --no-startup-id sh -c 'systemd-detect-virt --quiet || exec picom --config ~/.config/picom.conf' exec --no-startup-id dunst exec --no-startup-id nm-applet exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1