gpu: run a single representative scene per tool by default
glmark2 (terrain) and vkmark (texture) now each run one ~10s scene instead of the full multi-scene sweep, cutting the headed part to about a minute. Scene seconds and the vkmark scene are tunable via GLMARK2_DURATION, VKMARK_DURATION and VKMARK_BENCH.
This commit is contained in:
parent
27753b0aba
commit
8e9fd82e8e
3 changed files with 16 additions and 7 deletions
|
|
@ -158,8 +158,10 @@
|
|||
# (from /sys/class/drm: the dGPU is the card with no connected connector)
|
||||
glxinfo -B | tee glxinfo-$TAG.txt
|
||||
vulkaninfo --summary | tee vulkan-$TAG.txt
|
||||
glmark2 -b :duration=30 2>&1 | tail -25 | tee glmark2-$TAG.txt
|
||||
vkmark --duration 60 2>&1 | tail -30 | tee vkmark-$TAG.txt
|
||||
# One representative scene each (fast, comparable); tune with GLMARK2_DURATION,
|
||||
# VKMARK_DURATION and VKMARK_BENCH (texture|shading|vertex).
|
||||
glmark2 -b terrain:duration=10 2>&1 | tail -25 | tee glmark2-$TAG.txt
|
||||
vkmark -b texture:duration=10 2>&1 | tail -30 | tee vkmark-$TAG.txt
|
||||
phoronix-test-suite benchmark pts/vkmark # if available in cache
|
||||
# Confirm which GPU rendered: grep -i 'device\|renderer' glxinfo-$TAG.txt
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue