aboutsummaryrefslogtreecommitdiff
path: root/pgo
diff options
context:
space:
mode:
authorheather7283 <heather7283@protonmail.com>2024-11-19 15:59:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-12-08 08:10:43 +0000
commitde305a7e58950d243b1e170cbb3df4ddbc8202e0 (patch)
treedb165300c5d153f098b548e3ca9fcc71bb5fc5e5 /pgo
parentterm: get_font_dpi(): remove invalid assertion (diff)
pgo: run sway with --unsupported-gpu flag
Sway refuses to run if it detects an nvidia GPU on the system, causing pgo build to fail. Adding --unsupported-gpu flag disables this behaviour.
Diffstat (limited to 'pgo')
-rwxr-xr-xpgo/full-headless-sway.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgo/full-headless-sway.sh b/pgo/full-headless-sway.sh
index 524bf42b..8f6812b3 100755
--- a/pgo/full-headless-sway.sh
+++ b/pgo/full-headless-sway.sh
@@ -18,7 +18,7 @@ trap cleanup EXIT INT HUP TERM
> "${sway_conf}" echo "exec '${srcdir}'/pgo/full-headless-sway-inner.sh '${srcdir}' '${blddir}'"
# Run Sway. full-headless-sway-inner.sh ends with a 'swaymsg exit'
-XDG_RUNTIME_DIR="${runtime_dir}" WLR_RENDERER=pixman WLR_BACKENDS=headless sway -c "${sway_conf}"
+XDG_RUNTIME_DIR="${runtime_dir}" WLR_RENDERER=pixman WLR_BACKENDS=headless sway -c "${sway_conf}" --unsupported-gpu
# Sway's exit code doesn't reflect our script's exit code
[ -f "${blddir}"/pgo-ok ] || exit 1