From 1042cb2ea7cfcfb7adbdb596f50ea9572394c20b Mon Sep 17 00:00:00 2001 From: histalek Date: Mon, 16 Dec 2024 12:43:48 +0100 Subject: [PATCH] feat(sway/wayland): Set some wlroots env vars Using the vulkan renderer explicitly seems to get rid of some XWayland windows starting up blacked out. Disabling the direct scanout to work around some issues i'm running into with Proton apps. --- .config/environment.d/50-wayland.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/environment.d/50-wayland.conf b/.config/environment.d/50-wayland.conf index af36e65..47de65d 100644 --- a/.config/environment.d/50-wayland.conf +++ b/.config/environment.d/50-wayland.conf @@ -8,3 +8,7 @@ CLUTTER_BACKEND=wayland QT_QPA_PLATFORMTHEME=qt6ct QT_WAYLAND_DISABLE_WINDOWDECORATION=1 + +# Experimenting with some wlroots env vars +WLR_SCENE_DISABLE_DIRECT_SCANOUT=1 +WLR_RENDERER=vulkan