Cdemofile::open: Couldn't Open File Benchmark1.dem for Reading.
: This guide volition continue to be updated based on feedback from everyone. This isn't an attempt to better anyone else's method, but simply give a footstep-by-stride guide for anyone interested.
Concluding updated: sixteen/06/2016 17:44 UTC.
For those of y'all who aren't sure how to criterion Dota 2 on Linux, here's a pocket-size guide. It frustrated me in that location wasn't one, so after getting assistance I'chiliad sharing it with you lot all. One thing a lot of websites miss when doing benchmarks, is easily detailing how others tin can practice their own.
With thanks to people in the GOL IRC and @PimpmuckL on twitter and anybody commenting with improvements.
Benchmarking isn't unremarkably my matter and later on doing more I will totally back Phoronix here, it is very time consuming. Hopefully with this guide not only will I retrieve and accept less headaches, but and so will you.
Note: Remember every demo file will give you different scores. Even with the same hardware your scores tin can however differ from someone else. No single demo file is "the all-time" to utilise.
You can do it iii possible means, you can run it inside Dota 2 directly, you lot can use the Steam Launch options or apply a simple benchmarking script. A fourth style is to run information technology in terminal using the total launch control, but it's better to employ a script than do that.
Of import: Graphical settings can change between API and Resolution adjustments, brand certain they are 100% the same. Pay close attending to the advanced options in Dota 2. The "-autoconfig_level 3" setting is to ensure information technology runs at the Best Looking setting each time.
You tin can find a full list of Dota ii commands here. You can also observe other launch options hither.
I decided to get out the sound on, since it's office of the game it will give a more authentic score overall rather than turning it off. You lot play games with sound on (usually correct?) so why benchmark without sound. I empathise at that place could be audio pipeline issues, but I feel having the sound on makes information technology more than accurate for what you lot can actually expect to achieve in-game yourself. If yous practise want to remove the sound, y'all can use "-nosound".
Getting a demo file
If you desire to benchmark against what Phoronix uses, so you need this demo file.
Download it and move it into the Dota 2 content folder. Find where Dota two is installed and identify it in the main data folder (this should be the default location):
/.local/share/Steam/steamapps/mutual/dota 2 beta/game/dota
There are others you can apply, similar the ones Valve suggested Phoronix to utilize to re-do his initial benchmarks which were incorrect. Otherwise, you can use this file.
Testing within Dota 2 directly
Kickoff you need to enable the in-game panel and pick a graphics API. Y'all do this by setting launch options for Dota 2. Correct click on Dota ii in Steam, click properties, ready launch options to get a screen like this:
For Vulkan:
+con_enable one -vulkan +fps_max 0 -autoconfig_level 3 -high
Note: "-panel" also works in place of "+con_enable ane". They just behave differently, simply it won't affect scores.
For OpenGL
+con_enable one -gl +fps_max 0 -autoconfig_level three -loftier
: If you desire to compare against Phoronix scores, you demand to add in "+timedemo_start 50000 +timedemo_end 51000"
So you can load Dota 2, press the "\" key to go the console open up and run a command like this:
timedemo *demo-file-name*
Run the test directly from Dota 2 launch options
You tin also run the entire exam direct from the launch options (like above) using a command similar the below. I detect this style to be slower, but it's here for referencing if needed. This will then run the demo every bit soon as you play Dota ii.
: If you want to compare against Phoronix scores, you need to add in "+timedemo_start 50000 +timedemo_end 51000"
For Vulkan
-vulkan +timedemo *demo-file-name* +fps_max 0 -novconsole -autoconfig_level iii -high
For OpenGL:
-gl +timedemo *demo-file-name* +fps_max 0 -novconsole -autoconfig_level iii -high
Using a benchmark script
You can save this to a text file, make information technology executable and run it to practise a benchmark.
: If you want to compare against Phoronix scores, you need to add in "+timedemo_start 50000 +timedemo_end 51000"
DEMOFILE=*demo-file-proper noun* WIDTH=1920 # -vulkan or -gl # this should be the default install folder, change it if yours is different (only needed to renaming the criterion file) # rename any existing criterion scores # launch steam and dota2 with criterion mode and the "benchvulkan2" demo file#!/bin/sh
HEIGHT=1080
API="-vulkan"
DOTA2="$Home/.local/share/Steam/steamapps/mutual/dota two beta/game"
cd "$DOTA2"
mv -f "$DOTA2/dota/Source2Bench.csv" "$DOTA2/dota/Source2Bench.csv.ane"
steam -applaunch 570 $API +timedemo $DEMOFILE +demo_quitafterplayback ane +fps_max 0 -autoconfig_level 3 -h $HEIGHT -w $WIDTH -fullscreen -high
Ideally I want to get this to run x amount of times based on a setting, just haven't figured that part out yet.
The results file
The results will be stored in "Source2Bench.csv" inside the chief Dota 2 binder. If you run it multiple times, it will keep adding into this file. I suggest you lot cut the file and paste it somewhere else after testing each API and over again for resolutions. Using a fresh file for each and so y'all don't mix any results up (which is very of import of course).
The results file will resemble this:
FPS = boilerplate
FPS minus FPS Variability = Minimum FPS
On the correct of the document, you will also run into a jumble of different tests together like this:
Quotebenchvulkan2.dem,UNKNOWN, 71.seven, 4.2
First number is the boilerplate FPS, second is the variance to practice the minimum FPS calculation.
Hopefully you found this all helpful.
If you would like to meet more guides, tell me what and I will see what I tin figure out for yous.
Source: https://www.gamingonlinux.com/2016/06/want-to-benchmark-dota-2-on-linux-heres-how-to-do-it/
0 Response to "Cdemofile::open: Couldn't Open File Benchmark1.dem for Reading."
Post a Comment