mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
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.
This commit is contained in:
parent
256749c6d0
commit
de305a7e58
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ trap cleanup EXIT INT HUP TERM
|
||||||
> "${sway_conf}" echo "exec '${srcdir}'/pgo/full-headless-sway-inner.sh '${srcdir}' '${blddir}'"
|
> "${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'
|
# 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
|
# Sway's exit code doesn't reflect our script's exit code
|
||||||
[ -f "${blddir}"/pgo-ok ] || exit 1
|
[ -f "${blddir}"/pgo-ok ] || exit 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue