Skip to content

Commit ab3c01c

Browse files
ci(audience): drop xvfb screen to 160x120 to cut llvmpipe fill rate
1 parent 8bdb0b0 commit ab3c01c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/test-audience-sample-app.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ jobs:
540540
541541
# Why a tiny screen: the per-frame fragment-shader cost on
542542
# mesa-llvmpipe scales with pixel count. 1280x720 = 0.92M
543-
# px per frame; 320x240 = 0.08M px - a 12x reduction in
543+
# px per frame; 160x120 = 0.02M px - a 48x reduction in
544544
# software-rendered fill work, which is the dominant cost
545545
# on Unity 6 Linux. UI Toolkit lays out fine on this size
546546
# because the test never asserts on rendered pixel content,
@@ -552,13 +552,13 @@ jobs:
552552
# carries the negotiation overhead. -force-glcore tells the
553553
# player to skip Vulkan entirely and open a GLX context
554554
# directly, the same path Unity 2021.3 takes by default.
555-
xvfb-run -a --server-args="-screen 0 320x240x24 -ac +extension GLX +render -noreset" -- \
555+
xvfb-run -a --server-args="-screen 0 160x120x24 -ac +extension GLX +render -noreset" -- \
556556
unity-editor \
557557
-batchmode \
558558
-force-glcore \
559559
-screen-fullscreen 0 \
560-
-screen-width 320 \
561-
-screen-height 240 \
560+
-screen-width 160 \
561+
-screen-height 120 \
562562
-projectPath /github/workspace/examples/audience \
563563
-runTests \
564564
-testPlatform StandaloneLinux64 \

0 commit comments

Comments
 (0)