Skip to content

Commit 39ec2b4

Browse files
committed
pts/ffxiv-endwalker-1.0.0: Initial commit
1 parent 05ddba9 commit 39ec2b4

File tree

5 files changed

+359
-0
lines changed

5 files changed

+359
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0"?>
2+
<!--Phoronix Test Suite v10.0.1-->
3+
<PhoronixTestSuite>
4+
<Downloads>
5+
<Package>
6+
<URL>https://download.finalfantasyxiv.com/ys8glaimvmykn88p/ffxiv-endwalker-bench.zip</URL>
7+
<FileName>ffxiv-endwalker-bench.zip</FileName>
8+
<FileSize>2376241167</FileSize>
9+
</Package>
10+
</Downloads>
11+
</PhoronixTestSuite>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
set -o errexit -o pipefail -o nounset -o noclobber
3+
4+
mkdir -p ffxiv-endwalker-bench
5+
unzip ffxiv-endwalker-bench.zip -d ffxiv-endwalker-bench
6+
rm -r ffxiv-endwalker-bench/screenshots # Prevent benchmark from automatically taking screenshots
7+
cp "$(dirname -- "${BASH_SOURCE[0]}")/run.sh" ffxiv-endwalker
8+
chmod +x ffxiv-endwalker
9+
rm ffxiv-endwalker-bench.zip
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0"?>
2+
<!--Phoronix Test Suite v10.0.1-->
3+
<PhoronixTestSuite>
4+
<ResultsParser>
5+
<ResultScale>Score</ResultScale>
6+
<ResultProportion>HIB</ResultProportion>
7+
<OutputTemplate>SCORE=#_RESULT_#</OutputTemplate>
8+
</ResultsParser>
9+
<ResultsParser>
10+
<ResultScale>Frames Per Second</ResultScale>
11+
<ResultProportion>HIB</ResultProportion>
12+
<OutputTemplate>SCORE_FPSAVERAGE=#_RESULT_#</OutputTemplate>
13+
</ResultsParser>
14+
</PhoronixTestSuite>

pts/ffxiv-endwalker-1.0.0/run.sh

Lines changed: 241 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,241 @@
1+
#!/bin/bash
2+
set -o errexit -o pipefail -o nounset -o noclobber
3+
4+
ARGS="$(getopt -o "w:h:m:q:" -n "$0" -- "$@")"
5+
eval set -- "$ARGS"
6+
WIDTH= HEIGHT= MODE= QUALITY=
7+
while true; do
8+
case "$1" in
9+
-w) WIDTH="$2"; shift 2;;
10+
-h) HEIGHT="$2"; shift 2;;
11+
-m) MODE="$2"; shift 2;;
12+
-q) QUALITY="$2"; shift 2;;
13+
--) shift; break;;
14+
*) echo "Internal error!" >&2; exit 1;;
15+
esac
16+
done
17+
18+
CONFIG=("[EVN]")
19+
CMDLINE=(SYS.Language=0 SYS.Fps=0)
20+
21+
if [ -z "$WIDTH" -o -z "$HEIGHT" ]; then
22+
echo "Missing -w <width> or -h <height>" >&2
23+
exit 1
24+
fi
25+
CMDLINE+=(SYS.ScreenWidth="$WIDTH" SYS.ScreenHeight="$HEIGHT" SYS.FullScreenWidth="$WIDTH" SYS.FullScreenHeight="$HEIGHT")
26+
27+
case "$MODE" in
28+
fullscreen) CMDLINE+=(SYS.ScreenMode=1);;
29+
windowed) CMDLINE+=(SYS.ScreenMode=0);;
30+
borderless) CMDLINE+=(SYS.ScreenMode=2);;
31+
*) echo "Missing -m fullscreen|windowed|borderless" >&2; exit 1;;
32+
esac
33+
34+
case "$QUALITY" in
35+
maximum)
36+
CONFIG+=(SPEC_DX11=0)
37+
CMDLINE+=(
38+
SYS.WaterWet_DX11=1
39+
SYS.OcclusionCulling_DX11=0
40+
SYS.LodType_DX11=0
41+
SYS.ReflectionType_DX11=3
42+
SYS.AntiAliasing_DX11=1
43+
SYS.TranslucentQuality_DX11=1
44+
SYS.GrassQuality_DX11=3
45+
SYS.ShadowLOD_DX11=0
46+
SYS.ShadowVisibilityTypeSelf_DX11=1
47+
SYS.ShadowVisibilityTypeOther_DX11=1
48+
SYS.ShadowTextureSizeType_DX11=2
49+
SYS.ShadowCascadeCountType_DX11=2
50+
SYS.ShadowSoftShadowType_DX11=1
51+
SYS.PhysicsTypeSelf_DX11=2
52+
SYS.PhysicsTypeOther_DX11=2
53+
SYS.TextureFilterQuality_DX11=2
54+
SYS.TextureAnisotropicQuality_DX11=2
55+
SYS.Vignetting_DX11=1
56+
SYS.RadialBlur_DX11=1
57+
SYS.SSAO_DX11=4
58+
SYS.Glare_DX11=2
59+
SYS.DepthOfField_DX11=1
60+
SYS.ParallaxOcclusion_DX11=1
61+
SYS.Tessellation_DX11=1
62+
SYS.GlareRepresentation_DX11=1
63+
SYS.DistortionWater_DX11=2
64+
)
65+
;;
66+
high-desktop)
67+
CONFIG+=(SPEC_DX11=1)
68+
CMDLINE+=(
69+
SYS.WaterWet_DX11=1
70+
SYS.OcclusionCulling_DX11=1
71+
SYS.LodType_DX11=0
72+
SYS.ReflectionType_DX11=3
73+
SYS.AntiAliasing_DX11=1
74+
SYS.TranslucentQuality_DX11=1
75+
SYS.GrassQuality_DX11=3
76+
SYS.ShadowLOD_DX11=1
77+
SYS.ShadowVisibilityTypeSelf_DX11=1
78+
SYS.ShadowVisibilityTypeOther_DX11=1
79+
SYS.ShadowTextureSizeType_DX11=2
80+
SYS.ShadowCascadeCountType_DX11=2
81+
SYS.ShadowSoftShadowType_DX11=1
82+
SYS.PhysicsTypeSelf_DX11=2
83+
SYS.PhysicsTypeOther_DX11=2
84+
SYS.TextureFilterQuality_DX11=2
85+
SYS.TextureAnisotropicQuality_DX11=1
86+
SYS.Vignetting_DX11=1
87+
SYS.RadialBlur_DX11=1
88+
SYS.SSAO_DX11=3
89+
SYS.Glare_DX11=2
90+
SYS.DepthOfField_DX11=1
91+
SYS.ParallaxOcclusion_DX11=1
92+
SYS.Tessellation_DX11=1
93+
SYS.GlareRepresentation_DX11=1
94+
SYS.DistortionWater_DX11=2
95+
)
96+
;;
97+
high-laptop)
98+
CONFIG+=(SPEC_DX11=2)
99+
CMDLINE+=(
100+
SYS.WaterWet_DX11=1
101+
SYS.OcclusionCulling_DX11=1
102+
SYS.LodType_DX11=1
103+
SYS.ReflectionType_DX11=0
104+
SYS.AntiAliasing_DX11=1
105+
SYS.TranslucentQuality_DX11=0
106+
SYS.GrassQuality_DX11=2
107+
SYS.ShadowLOD_DX11=1
108+
SYS.ShadowVisibilityTypeSelf_DX11=1
109+
SYS.ShadowVisibilityTypeOther_DX11=1
110+
SYS.ShadowTextureSizeType_DX11=1
111+
SYS.ShadowCascadeCountType_DX11=2
112+
SYS.ShadowSoftShadowType_DX11=1
113+
SYS.PhysicsTypeSelf_DX11=2
114+
SYS.PhysicsTypeOther_DX11=2
115+
SYS.TextureFilterQuality_DX11=2
116+
SYS.TextureAnisotropicQuality_DX11=0
117+
SYS.Vignetting_DX11=1
118+
SYS.RadialBlur_DX11=1
119+
SYS.SSAO_DX11=3
120+
SYS.Glare_DX11=2
121+
SYS.DepthOfField_DX11=1
122+
SYS.ParallaxOcclusion_DX11=1
123+
SYS.Tessellation_DX11=1
124+
SYS.GlareRepresentation_DX11=0
125+
SYS.DistortionWater_DX11=2
126+
)
127+
;;
128+
standard-desktop)
129+
CONFIG+=(SPEC_DX11=3)
130+
CMDLINE+=(
131+
SYS.WaterWet_DX11=1
132+
SYS.OcclusionCulling_DX11=1
133+
SYS.LodType_DX11=1
134+
SYS.ReflectionType_DX11=0
135+
SYS.AntiAliasing_DX11=0
136+
SYS.TranslucentQuality_DX11=0
137+
SYS.GrassQuality_DX11=1
138+
SYS.ShadowLOD_DX11=1
139+
SYS.ShadowVisibilityTypeSelf_DX11=1
140+
SYS.ShadowVisibilityTypeOther_DX11=0
141+
SYS.ShadowTextureSizeType_DX11=1
142+
SYS.ShadowCascadeCountType_DX11=1
143+
SYS.ShadowSoftShadowType_DX11=0
144+
SYS.PhysicsTypeSelf_DX11=2
145+
SYS.PhysicsTypeOther_DX11=1
146+
SYS.TextureFilterQuality_DX11=1
147+
SYS.TextureAnisotropicQuality_DX11=0
148+
SYS.Vignetting_DX11=0
149+
SYS.RadialBlur_DX11=1
150+
SYS.SSAO_DX11=0
151+
SYS.Glare_DX11=2
152+
SYS.DepthOfField_DX11=1
153+
SYS.ParallaxOcclusion_DX11=0
154+
SYS.Tessellation_DX11=0
155+
SYS.GlareRepresentation_DX11=0
156+
SYS.DistortionWater_DX11=2
157+
)
158+
;;
159+
standard-laptop)
160+
CONFIG+=(SPEC_DX11=4)
161+
CMDLINE+=(
162+
SYS.WaterWet_DX11=1
163+
SYS.OcclusionCulling_DX11=1
164+
SYS.LodType_DX11=1
165+
SYS.ReflectionType_DX11=0
166+
SYS.AntiAliasing_DX11=0
167+
SYS.TranslucentQuality_DX11=0
168+
SYS.GrassQuality_DX11=1
169+
SYS.ShadowLOD_DX11=1
170+
SYS.ShadowVisibilityTypeSelf_DX11=1
171+
SYS.ShadowVisibilityTypeOther_DX11=0
172+
SYS.ShadowTextureSizeType_DX11=1
173+
SYS.ShadowCascadeCountType_DX11=1
174+
SYS.ShadowSoftShadowType_DX11=0
175+
SYS.PhysicsTypeSelf_DX11=2
176+
SYS.PhysicsTypeOther_DX11=0
177+
SYS.TextureFilterQuality_DX11=1
178+
SYS.TextureAnisotropicQuality_DX11=0
179+
SYS.Vignetting_DX11=0
180+
SYS.RadialBlur_DX11=1
181+
SYS.SSAO_DX11=0
182+
SYS.Glare_DX11=2
183+
SYS.DepthOfField_DX11=1
184+
SYS.ParallaxOcclusion_DX11=0
185+
SYS.Tessellation_DX11=0
186+
SYS.GlareRepresentation_DX11=0
187+
SYS.DistortionWater_DX11=2
188+
)
189+
;;
190+
*)
191+
echo "Missing -q maximum|high-desktop|high-laptop|standard-desktop|standard-laptop" >&2
192+
exit 1
193+
;;
194+
esac
195+
196+
declare -A CMDLINE2CONFIG=(
197+
[SYS.Language]=LANGUAGE
198+
[SYS.ScreenWidth]=SCREENWIDTH_DX11
199+
[SYS.ScreenHeight]=SCREENHEIGHT_DX11
200+
[SYS.ScreenMode]=SCREENMODE_DX11
201+
202+
[SYS.WaterWet_DX11]=WaterWetness_DX11
203+
[SYS.OcclusionCulling_DX11]=OcclusionCulling_DX11
204+
[SYS.LodType_DX11]=LodType_DX11
205+
[SYS.ReflectionType_DX11]=ReflectionType_DX11
206+
[SYS.AntiAliasing_DX11]=AntiAliasing_DX11
207+
[SYS.TranslucentQuality_DX11]=TranslucentQuality_DX11
208+
[SYS.GrassQuality_DX11]=GrassQuality_DX11
209+
[SYS.ShadowLOD_DX11]=ShadowLOD_DX11
210+
[SYS.ShadowVisibilityTypeSelf_DX11]=ShadowVisibilityTypeSelf_DX11
211+
[SYS.ShadowVisibilityTypeOther_DX11]=ShadowVisibilityTypeOther_DX11
212+
[SYS.ShadowTextureSizeType_DX11]=ShadowTextureSizeType_DX11
213+
[SYS.ShadowCascadeCountType_DX11]=ShadowCascadeCountType_DX11
214+
[SYS.ShadowSoftShadowType_DX11]=ShadowSoftShadowType_DX11
215+
[SYS.PhysicsTypeSelf_DX11]=PhysicsTypeSelf_DX11
216+
[SYS.PhysicsTypeOther_DX11]=PhysicsTypeOther_DX11
217+
[SYS.TextureFilterQuality_DX11]=TextureFilterQuality_DX11
218+
[SYS.TextureAnisotropicQuality_DX11]=TextureAnisotropicQuality_DX11
219+
[SYS.Vignetting_DX11]=Vignetting_DX11
220+
[SYS.RadialBlur_DX11]=RadialBlur_DX11
221+
[SYS.SSAO_DX11]=SSAO_DX11
222+
[SYS.Glare_DX11]=Glare_DX11
223+
[SYS.DepthOfField_DX11]=DepthOfField_DX11
224+
[SYS.ParallaxOcclusion_DX11]=Parallax_DX11
225+
[SYS.Tessellation_DX11]=WaterTess_DX11
226+
[SYS.GlareRepresentation_DX11]=GlareRepresentation_DX11
227+
[SYS.DistortionWater_DX11]=DistortionWater_DX11
228+
)
229+
for ARG in "${CMDLINE[@]}"; do
230+
KEY="${ARG%%=*}"
231+
VALUE="${ARG#*=}"
232+
if [[ -v "CMDLINE2CONFIG[$KEY]" ]]; then
233+
CONFIG+=("${CMDLINE2CONFIG[$KEY]}=$VALUE")
234+
fi
235+
done
236+
237+
cd ffxiv-endwalker-bench
238+
rm -f ffxivbenchmarklauncher.ini
239+
(IFS=$'\n'; echo "${CONFIG[*]}" > ffxivbenchmarklauncher.ini)
240+
${USE_WINE:-} game/ffxiv_dx11.exe "${CMDLINE[@]}" "$@"
241+
grep -E "SCORE(_FPSAVERAGE)?=" ffxivbenchmarklauncher.ini > "$LOG_FILE"
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<?xml version="1.0"?>
2+
<!--Phoronix Test Suite v10.0.1-->
3+
<PhoronixTestSuite>
4+
<TestInformation>
5+
<Title>FFXIV Endwalker Benchmark</Title>
6+
<AppVersion>1.0</AppVersion>
7+
<Description>
8+
This test calculates the score from the FFXIV Endwalker Benchmark, released in 2021.
9+
10+
Technically a Windows-only benchmark, but also runs at near-native performance under Linux with wine+dxvk (e.g., with the USE_WINE config)</Description>
11+
<ResultScale>Score</ResultScale>
12+
<Proportion>HIB</Proportion>
13+
<TimesToRun>3</TimesToRun>
14+
</TestInformation>
15+
<TestProfile>
16+
<Version>1.0.0</Version>
17+
<SupportedPlatforms>Windows</SupportedPlatforms>
18+
<SoftwareType>Game</SoftwareType>
19+
<TestType>Graphics</TestType>
20+
<License>Non-Free</License>
21+
<Status>Verified</Status>
22+
<SupportedArchitectures>x86_64</SupportedArchitectures>
23+
<RequiresDisplay>TRUE</RequiresDisplay>
24+
<EnvironmentSize>5100</EnvironmentSize>
25+
<ProjectURL>https://jp.finalfantasyxiv.com/benchmark/download/</ProjectURL>
26+
<Maintainer>Michael Larabel</Maintainer>
27+
</TestProfile>
28+
<TestSettings>
29+
<Option>
30+
<DisplayName>Resolution</DisplayName>
31+
<Identifier>auto-resolution</Identifier>
32+
<Menu>
33+
<Entry>
34+
<Name>$VIDEO_WIDTH x $VIDEO_HEIGHT</Name>
35+
<Value>-w $VIDEO_WIDTH -h $VIDEO_HEIGHT</Value>
36+
</Entry>
37+
</Menu>
38+
</Option>
39+
<Option>
40+
<DisplayName>Mode</DisplayName>
41+
<Identifier>mode</Identifier>
42+
<Menu>
43+
<Entry>
44+
<Name>Full Screen</Name>
45+
<Value>-m fullscreen</Value>
46+
</Entry>
47+
<Entry>
48+
<Name>Windowed</Name>
49+
<Value>-m windowed</Value>
50+
</Entry>
51+
<Entry>
52+
<Name>Borderless Windowed</Name>
53+
<Value>-m borderless</Value>
54+
</Entry>
55+
</Menu>
56+
</Option>
57+
<Option>
58+
<DisplayName>Quality</DisplayName>
59+
<Identifier>quality</Identifier>
60+
<Menu>
61+
<Entry>
62+
<Name>Maximum</Name>
63+
<Value>-q maximum</Value>
64+
</Entry>
65+
<Entry>
66+
<Name>High Desktop</Name>
67+
<Value>-q high-desktop</Value>
68+
</Entry>
69+
<Entry>
70+
<Name>High Laptop</Name>
71+
<Value>-q high-laptop</Value>
72+
</Entry>
73+
<Entry>
74+
<Name>Standard Desktop</Name>
75+
<Value>-q standard-desktop</Value>
76+
</Entry>
77+
<Entry>
78+
<Name>Standard Laptop</Name>
79+
<Value>-q standard-laptop</Value>
80+
</Entry>
81+
</Menu>
82+
</Option>
83+
</TestSettings>
84+
</PhoronixTestSuite>

0 commit comments

Comments
 (0)