blob: fdf8c9a928d1939c27050b681fdc9b680bd1cd46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
## Blender
The blender developers wrote a script for benchmarking their app. Download [[benchmark.blend|http://peach.blender.org/wp-content/uploads/movies/benchmark.blend]]. Run blender with ` blender ~/benchmark.blend `, then press alt-P.
## Nexuiz
[[!format txt """
nexuiz-glx -benchmark demos/demo1 -nosound 2>&1 | egrep -e '[0-9]+ frames'
"""]]
Or, you can open the console by pressing '`' (or shift + escape) and enter:
[[!format txt """
timedemo demos/demo1.dem
"""]]
Available demos: demo1-5, bench1, piece-o-cake.
If you want to run demos in a loop, run `nexuiz-glx -nosound` and enter in console:
[[!format txt """
startdemos demos/demo1 demos/demo2
demos
"""]]
## Xonotic
[[!format txt """
xonotic-glx -benchmark demos/the-big-keybench 2>&1 | egrep -e '[0-9]+ frames'
"""]]
## OpenArena
anholt recorded a timedemo for use. The developers may include a canonical timedemo in a future release.
Place [[anholt.cfg|http://people.freedesktop.org/~airlied/scratch/anholt.cfg]] in `~/.openarena/baseoa/`
Place [[anholt.dm_68|anholt.dm_68]] in `~/.openarena/baseoa/demos`
Run openarena using:
[[!format txt """
openarena +exec anholt 2>&1 | egrep -e '[0-9]+ frames'
"""]]
## Quake3 Demo
Install Quake 3 Demo
[[!format txt """
wget ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3ademo-1.11-6.x86.gz.sh
chmod a+x linuxq3ademo-1.11-6.x86.gz.sh
./linuxq3ademo-1.11-6.x86.gz.sh -target ~/q3
cd ~/q3
cp bin/x86/glibc-2.0/q3demo .
./q3demo
"""]]
The timedemo we use is DEMO001. Place the following script in `~/.q3a/demoq3/demo.cfg`
[[!format txt """
timedemo 1
set demodone "quit"
set demoloop1 "demo DEMO001; set nextdemo vstr demodone"
vstr demoloop1
"""]]
Run Quake3 Demo using:
[[!format txt """
cd /q3 && ./q3demo +exec demo 2>&1 | egrep -e '[0-9]+ frames'
"""]]
## Quake3
The timedemo we use is demofour. Place the following script in `~/.q3a/baseq3/demofour.cfg`:
[[!format txt """
timedemo 1
set demodone "quit"
set demoloop1 "demo four; set nextdemo vstr demodone"
vstr demoloop1
"""]]
Run quake3 using:
[[!format txt """
cd /usr/games/quake3 && ./quake3.x86 +exec demofour 2>&1 | egrep -e '[0-9]+ frames'
"""]]
## Enemy Territory
The timedemo we use is "Radar", located at [[http://www.3dcenter.org/downloads/enemy-territory-radar.php|http://www.3dcenter.org/downloads/enemy-territory-radar.php]]. Place the demo in `~/.etwolf/etmain/demos`.
Place the following script in `~/.etwolf/etmain/radar.cfg`
[[!format txt """
timedemo 1
set demodone "quit"
set demoloop1 "demo radar; set nextdemo vstr demodone"
vstr demoloop1
"""]]
Run et using:
[[!format txt """
et +exec radar 2>&1 | egrep -e '[0-9]+ frames'
"""]]
To show fps at runtime, hit '~' and type:
[[!format txt """
/cg_drawfps 1
"""]]
## Doom3 (not the demo)
Go to the console and type
[[!format txt """
timedemo demo001 usecache
"""]]
## UT2004
Set [[MinDesiredFramerate|MinDesiredFramerate]] to 0 in your UT2004.ini in `~/.ut2004/System/UT2004.ini`. You probably also want to set `UseVBO=True` if your driver supports VBOs (UT doesn't automatically set this if the extension is exposed, for some reason).
Then, start a benchmark botmatch with:
[[!format txt """
ut2004 "br-bridgeoffate?spectatoronly=1?numbots=8?quickstart=1?attractcam=1" -benchmark -seconds=60 -nosound
"""]]
The framerate is appended to `~/.ut2004/Benchmark/benchmark.log`:
[[!format txt """
tail -n 1 ~/.ut2004/Benchmark/benchmark.log | awk '{print $5}'
"""]]
|