[sway] don't force vulkan on Intel IGP

This commit is contained in:
Gwenhael Le Moine 2024-05-07 13:38:20 +02:00
parent d8f68b8929
commit 7a0423d99d
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -203,7 +203,14 @@ echo "sway Starting: \$( date )"
unset QT_QPA_PLATFORM
# vulklan seems buggy with Intel IGP
if \$(lsmod | grep -q "^i915.*$"); then
export WLR_RENDERER=gles2
else
export WLR_RENDERER=vulkan
fi
export CLUTTER_BACKEND=wayland
export SDL_VIDEODRIVER=wayland
export XDG_SESSION_DESKTOP=sway