<bwidawsk> Hi. I'm looking to use megaglest for bechmarking the linux Intel GL driver. To do this, I need the have megaglast totally scriptable (run and exit from command line, and collect fps)
<bwidawsk> it seems almost all of this is already there, but I can't put all the pieces together
<bwidawsk> (and I can't figure out hot to get fps on the console)
<bwidawsk> I was hoping --auto-test=,,exit + --load-scenario would work, but it doesn't seem to
<bwidawsk> tomreyn: yes, I'm one of the devs for the i965 driver in mesa, and I've been spending a bit of time trying to expand our set of benchmarks
...
<bwidawsk> also I couldn't seem to get fps to console
<bwidawsk> you can add it here if you feel like being extra nice
http://dri.freedesktop.org/wiki/Benchmarking/
...
<filux> my idea to do this is "timeout 5m ./megaglest --load-scenario=benchmark" and add a line in the scenario to send result to console
<bwidawsk> filux: that's exactly what I'd want
<bwidawsk> 5 minutes is a bit too long, maybe in the 30-60s range
<bwidawsk> to get statistically significant data I have to run the thing 18-20 times
<filux> heh that was example, ok so you need shorter benchmark also
<bwidawsk> I mean, whatever you think is best - if 5m is the best you can do for good data, I'll take it
<bwidawsk> unigine benchmarks take about that long
...
<bwidawsk> btw, here's one of the the hodgepodge scripts we currently use to run the other benchmarks - if you want to get an idea for what we're willing to put up with :-)
...
<bwidawsk> oops, this: https://gitlab.com/bwidawsk/sixonix/blob/master/base.sh
...
<tomreyn> okay, i got it working
<tomreyn> we just lack a proper benchmark
<filux> I tested a bit this situation with slightly improved our benchmark and in my opinion optimal time is 70s and for now in console you will get something like "Your result: avg RenderFps = 59."
<filux> is that what you are looking for?
<bwidawsk> filux: yeah, that would be fine. Sometimes it's nice to have the min, if it drops down below 30 fps or something
<bwidawsk> but avg is fine
<bwidawsk> sometimes we see driver devs do stupid things to improve the average, but the per frame variance is high
1. Download special version of benchmark:
gfx-benchmark.7z2. Unpack it to: ~/.megaglest/scenarios/
3. Launch benchmark by:
timeout 70s ./megaglest --load-scenario=gfx-benchmark
4. Result in the console should look like: "Your result: avg RenderFps = 59."