Upvote Upvoted 86 Downvote Downvoted
1 2 3 4 ⋅⋅ 18
mastercomfig - fps/customization config
posted in Customization
1
#1
0 Frags +

Hello!

After being unsatisfied with TF2's performance, both with multiple configs and on default, I decided to create my own config. As a computer programmer, I've examined TF2's source code and have determined exactly what each command does.

The config uses many different CVars and tuned values for optimizing the game's performance like most configs while also improving the quality of the game in terms of visibility, audio, etc where the performance impact is negligible. I've extensively commented the config — there's no secret sauce or mysterious CVars — so if you don't agree with my approach or direction with the config, I hope the comments will help you find the right values for you.

Although I believe that I've put a lot of work into making this the best config ever, I still feel like it is a continuous work in progress which I will iterate upon in the future based on your feedback. I'd love to hear from you about anything regarding the config! If you think I got a value wrong, or if it's just as simple as a comment being confusing to you, I'm here to help and improve the config for you.

Without further ado, here are the links:

In the ZIP, just open the tf2cfg folder and extract the mastercomfig folder to tf/custom. Launch options, helpful comments and customization options are in comfig.cfg located in the tf/custom/mastercomfig/cfg folder.

Hello!

After being unsatisfied with TF2's performance, both with multiple configs and on default, I decided to create my own config. As a computer programmer, I've examined TF2's source code and have determined exactly what each command does.

The config uses many different CVars and tuned values for optimizing the game's performance like most configs while also improving the quality of the game in terms of visibility, audio, etc where the performance impact is negligible. I've extensively commented the config — there's no secret sauce or mysterious CVars — so if you don't agree with my approach or direction with the config, I hope the comments will help you find the right values for you.

Although I believe that I've put a lot of work into making this the best config ever, I still feel like it is a continuous work in progress which I will iterate upon in the future based on your feedback. I'd love to hear from you about anything regarding the config! If you think I got a value wrong, or if it's just as simple as a comment being confusing to you, I'm here to help and improve the config for you.

Without further ado, here are the links:

[list]
[*] [url=https://github.com/mastercoms/tf2cfg]repository[/url]
[*] [url=https://github.com/mastercoms/tf2cfg/releases/latest]latest release[/url]
[*] [url=https://github.com/mastercoms/tf2cfg/releases]version history[/url]
[/list]

In the ZIP, just open the [b]tf2cfg[/b] folder and extract the [b]mastercomfig[/b] folder to [b]tf/custom[/b]. Launch options, helpful comments and customization options are in [b]comfig.cfg[/b] located in the [b]tf/custom/mastercomfig/cfg[/b] folder.
2
#2
8 Frags +

Any benchmarks against pre existing configs?

Any benchmarks against pre existing configs?
3
#3
12 Frags +
// These settings will boost your performance on a 4 core CPU
// loop through the leaf asynchronously
cl_threaded_client_leaf_system 1

Have you play tested with this enabled, it's been awhile since I've tried but in the past it caused crashes usually within a few minutes.

[code]// These settings will boost your performance on a 4 core CPU
// loop through the leaf asynchronously
cl_threaded_client_leaf_system 1[/code]

Have you play tested with this enabled, it's been awhile since I've tried but in the past it caused crashes usually within a few minutes.
4
#4
8 Frags +
VulcanAny benchmarks against pre existing configs?

This is in the readme file:

Benchmarks and comparisons to Comanglia's config and default will be available soon. For now, just see for yourself!
[quote=Vulcan]Any benchmarks against pre existing configs?[/quote]
This is in the readme file:
[quote]Benchmarks and comparisons to Comanglia's config and default will be available soon. For now, just see for yourself![/quote]
5
#5
17 Frags +
Comanglia
// These settings will boost your performance on a 4 core CPU
// loop through the leaf asynchronously
cl_threaded_client_leaf_system 1

Have you play tested with this enabled, it's been awhile since I've tried but in the past it caused crashes usually within a few minutes.

I found that the culprit for crashes was actually r_queued_decals 1 (at least in my case and one of my friend's), which should be turned off anyway with low decal counts.

Also, cl_threaded_client_leaf_system isn't actually used by default in the base Source 2013 engine, though I've left it in the config in the event that TF2's engine uses it (through extension of the base engine, or lack of an update for that system).

VulcanAny benchmarks against pre existing configs?

I haven't personally done any benchmarks, mostly because I use Linux and it won't be an accurate representation of performance since most configs don't have Linux specific CVars, and ToGL (which is what Valve uses to convert DirectX to OpenGL) messes up performance statistics.

I'd love if someone could make their own benchmarks at this point.

[quote=Comanglia][code]// These settings will boost your performance on a 4 core CPU
// loop through the leaf asynchronously
cl_threaded_client_leaf_system 1[/code]

Have you play tested with this enabled, it's been awhile since I've tried but in the past it caused crashes usually within a few minutes.[/quote]

I found that the culprit for crashes was actually r_queued_decals 1 (at least in my case and one of my friend's), which should be turned off anyway with low decal counts.

Also, cl_threaded_client_leaf_system isn't actually used by default in the base Source 2013 engine, though I've left it in the config in the event that TF2's engine uses it (through extension of the base engine, or lack of an update for that system).

[quote=Vulcan]Any benchmarks against pre existing configs?[/quote]

I haven't personally done any benchmarks, mostly because I use Linux and it won't be an accurate representation of performance since most configs don't have Linux specific CVars, and ToGL (which is what Valve uses to convert DirectX to OpenGL) messes up performance statistics.

I'd love if someone could make their own benchmarks at this point.
6
#6
4 Frags +

I used the config for a day or so and after like 2 hours (?) my game started to seize up and teh RAM usage was just over 1GB. Had to restart my game, would that have been a delayed effect of cl_threaded_client_leaf_system 1 or because of the changes you've made to memory settings in the cfg?

I used the config for a day or so and after like 2 hours (?) my game started to seize up and teh RAM usage was just over 1GB. Had to restart my game, would that have been a delayed effect of cl_threaded_client_leaf_system 1 or because of the changes you've made to memory settings in the cfg?
7
#7
6 Frags +

Is there any reason phong is disabled while bumpmaps and specular are untouched? Does mat_phong 0 give more of an fps boost than mat_bumpmap 0?

Is there any reason phong is disabled while bumpmaps and specular are untouched? Does mat_phong 0 give more of an fps boost than mat_bumpmap 0?
8
#8
10 Frags +

ye think im gonna wait up on those benchmarks

ye think im gonna wait up on those benchmarks
9
#9
5 Frags +
_KermitI used the config for a day or so and after like 2 hours (?) my game started to seize up and teh RAM usage was just over 1GB. Had to restart my game, would that have been a delayed effect of cl_threaded_client_leaf_system 1 or because of the changes you've made to memory settings in the cfg?

That's strange. When did you last try my config and what do you mean by seize up?

High RAM usage is fine, though. It means the game is caching more assets for less stuttering and shorter load times.

It's just the memory settings in the cfg, as you said, though the only side effect should be high memory usage, not any performance issues.

ZeRo5Is there any reason phong is disabled while bumpmaps and specular are untouched? Does mat_phong 0 give more of an fps boost than mat_bumpmap 0?

As said in the bottom of my post with a note, I haven't gone through all of the mat CVars. I just haven't investigated bumpmap and specular and that's why they're not in the config. I don't know if they're good or bad yet. Sorry if my statement about "popular/most important CVars" was confusing. I'll change the wording to be less so.

[quote=_Kermit]I used the config for a day or so and after like 2 hours (?) my game started to seize up and teh RAM usage was just over 1GB. Had to restart my game, would that have been a delayed effect of cl_threaded_client_leaf_system 1 or because of the changes you've made to memory settings in the cfg?[/quote]

That's strange. When did you last try my config and what do you mean by seize up?

High RAM usage is fine, though. It means the game is caching more assets for less stuttering and shorter load times.

It's just the memory settings in the cfg, as you said, though the only side effect should be high memory usage, not any performance issues.

[quote=ZeRo5]Is there any reason phong is disabled while bumpmaps and specular are untouched? Does mat_phong 0 give more of an fps boost than mat_bumpmap 0?[/quote]

As said in the bottom of my post with a note, I haven't gone through all of the mat CVars. I just haven't investigated bumpmap and specular and that's why they're not in the config. I don't know if they're good or bad yet. Sorry if my statement about "popular/most important CVars" was confusing. I'll change the wording to be less so.
10
#10
15 Frags +

I'm going to try to benchmark this config myself on my shitty laptop I'll post the results here.

I'm going to try to benchmark this config myself on my shitty laptop I'll post the results here.
11
#11
15 Frags +

ty for the thorough commenting.

ty for the thorough commenting.
12
#12
7 Frags +
ZeRo5I'm going to try to benchmark this config myself on my shitty laptop I'll post the results here.

Thank you! I'd love to see where I'm in terms of performance, especially on shitty laptops. If you could, please try to find CVars in the config that are suggested to be changed for bad CPUs/GPUs.

nick_ty for the thorough commenting.

No problem!

[quote=ZeRo5]I'm going to try to benchmark this config myself on my shitty laptop I'll post the results here.[/quote]

Thank you! I'd love to see where I'm in terms of performance, especially on shitty laptops. If you could, please try to find CVars in the config that are suggested to be changed for bad CPUs/GPUs.

[quote=nick_]ty for the thorough commenting.[/quote]

No problem!
13
#13
13 Frags +

These are the results I got:

Comanglia stability config:

2639 frames 23.577 seconds 111.93 fps ( 8.93 ms/f) 10.813 fps variability

This config:

2639 frames 25.036 seconds 105.41 fps ( 9.49 ms/f) 8.904 fps variability

The fps difference is barely significant, the graphical difference is very noticeable (gibs, high model detail, high texture detail...).
Keep in mind I'm running the game on a shitty laptop, the results might vary based on your gpu and cpu.

These are the results I got:

Comanglia stability config:
[quote]2639 frames 23.577 seconds 111.93 fps ( 8.93 ms/f) 10.813 fps variability[/quote]
This config:
[quote]2639 frames 25.036 seconds 105.41 fps ( 9.49 ms/f) 8.904 fps variability[/quote]

The fps difference is barely significant, the graphical difference is very noticeable (gibs, high model detail, high texture detail...).
Keep in mind I'm running the game on a shitty laptop, the results might vary based on your gpu and cpu.
14
#14
4 Frags +
Sorry if my statement about "popular/most important CVars" was confusing.

Its my bad I haven't read the entire post :l

[quote]Sorry if my statement about "popular/most important CVars" was confusing.[/quote]
Its my bad I haven't read the entire post :l
15
#15
8 Frags +
ZeRo5These are the results I got

What are your specs? And I think it's more fair to use Comanglia's default, since it uses some of the multithreading CVars I use in mine (unless you've disabled those for this test).

[quote=ZeRo5]These are the results I got
[/quote]

What are your specs? And I think it's more fair to use Comanglia's default, since it uses some of the multithreading CVars I use in mine (unless you've disabled those for this test).
16
#16
3 Frags +
mastercoms What are your specs?

I have an i7-4558U CPU @ 2.80 GHZ and apparently I have two graphic cards? Its telling me I have an AMD Radeon R5 M230 and an Interl Iris graphics 5100. It also has 8 gigs of ram.

mastercoms And I think it's more fair to use Comanglia's default, since it uses some of the multithreading CVars I use in mine (unless you've disabled those for this test).

I'll try that out.
Edit: Isn't the stability config the default one? Were you referring to the toaster one?

[quote=mastercoms] What are your specs?[/quote]
I have an i7-4558U CPU @ 2.80 GHZ and apparently I have two graphic cards? Its telling me I have an AMD Radeon R5 M230 and an Interl Iris graphics 5100. It also has 8 gigs of ram.
[quote=mastercoms] And I think it's more fair to use Comanglia's default, since it uses some of the multithreading CVars I use in mine (unless you've disabled those for this test).[/quote]
I'll try that out.
Edit: Isn't the stability config the default one? Were you referring to the toaster one?
17
#17
10 Frags +

screenshots pls

screenshots pls
18
#18
3 Frags +

I've just tried it out in-game and I can't even move or shoot, whenever I press m1 it just repeats the shooting sound a million times a second, I'm going to try to -default my tf2 then retry it but I don't think it has anything to do with my past configs.
Edit: turns out this only happens in private servers. The config works fine in-game.

[s]I've just tried it out in-game and I can't even move or shoot, whenever I press m1 it just repeats the shooting sound a million times a second, I'm going to try to -default my tf2 then retry it but I don't think it has anything to do with my past configs.[/s]
Edit: turns out this only happens in private servers. The config works fine in-game.
19
#19
4 Frags +
ZeRo5I've just tried it out in-game and I can't even move or shoot, whenever I press m1 it just repeats the shooting sound a million times a second, I'm going to try to -default my tf2 then retry it but I don't think it has anything to do with my past configs.

This also happens when using the experimental settings with Rhapsody's config on a local server, try joining a multiplayer server

[quote=ZeRo5]I've just tried it out in-game and I can't even move or shoot, whenever I press m1 it just repeats the shooting sound a million times a second, I'm going to try to -default my tf2 then retry it but I don't think it has anything to do with my past configs.[/quote]
This also happens when using the experimental settings with Rhapsody's config on a local server, try joining a multiplayer server
20
#20
3 Frags +

im getting a white screen ig pls help

im getting a white screen ig pls help
21
#21
4 Frags +
pureverminZeRo5I've just tried it out in-game and I can't even move or shoot, whenever I press m1 it just repeats the shooting sound a million times a second, I'm going to try to -default my tf2 then retry it but I don't think it has anything to do with my past configs.This also happens when using the experimental settings with Rhapsody's config on a local server, try joining a multiplayer server

It works well online, thanks! Is there any way to fix that tho?

[quote=purevermin][quote=ZeRo5]I've just tried it out in-game and I can't even move or shoot, whenever I press m1 it just repeats the shooting sound a million times a second, I'm going to try to -default my tf2 then retry it but I don't think it has anything to do with my past configs.[/quote]
This also happens when using the experimental settings with Rhapsody's config on a local server, try joining a multiplayer server[/quote]
It works well online, thanks! Is there any way to fix that tho?
22
#22
8 Frags +
ZeRo5I've just tried it out in-game and I can't even move or shoot, whenever I press m1 it just repeats the shooting sound a million times a second.

host_thread_mode 1 causes this. It doesn't work with local servers but helps in other situations. Use host_thread_mode 0 for when you're on a local server.

[quote=ZeRo5]I've just tried it out in-game and I can't even move or shoot, whenever I press m1 it just repeats the shooting sound a million times a second.[/quote]

host_thread_mode 1 causes this. It doesn't work with local servers but helps in other situations. Use host_thread_mode 0 for when you're on a local server.
23
#23
10 Frags +
Mastercomfig// autodetect is broken for fast z rejects, so make it available.
// if it's not supported, it just won't be used
// this setting is usually good to be enabled, but
// if you have a weak CPU and strong CPU, disable this by setting it to 0
// basically, what this does it renders the first pass of a
// scene with a z buffer on the CPU
// then this allows the GPU to quickly render the scene, as the visible parts
// of the scene have already been calculated
r_fastzreject 1

Probably a typo here,

also like to add "r_queued_post_processing" may still be bugged for AMD card users. it's commented in the config by default but may want to put a warning there.

[quote=Mastercomfig]// autodetect is broken for fast z rejects, so make it available.
// if it's not supported, it just won't be used
// this setting is usually good to be enabled, but
// if you have a [u][b]weak CPU and strong CPU[/b][/u], disable this by setting it to 0
// basically, what this does it renders the first pass of a
// scene with a z buffer on the CPU
// then this allows the GPU to quickly render the scene, as the visible parts
// of the scene have already been calculated
r_fastzreject 1[/quote]

Probably a typo here,

also like to add "r_queued_post_processing" may still be bugged for AMD card users. it's commented in the config by default but may want to put a warning there.
24
#24
6 Frags +
ComangliaProbably a typo here,

also like to add "r_queued_post_processing" may still be bugged for AMD card users. it's commented in the config by default but may want to put a warning there.

Thanks for that typo find. I've fixed it.

Well I've seen that's been bugged on various systems/devices, regardless of vendor, so I won't add a specific warning for AMD.

[quote=Comanglia]Probably a typo here,

also like to add "r_queued_post_processing" may still be bugged for AMD card users. it's commented in the config by default but may want to put a warning there.
[/quote]

Thanks for that typo find. I've fixed it.

Well I've seen that's been bugged on various systems/devices, regardless of vendor, so I won't add a specific warning for AMD.
25
#25
4 Frags +
ZeRo5I have an i7-4558U CPU @ 2.80 GHZ and apparently I have two graphic cards? Its telling me I have an AMD Radeon R5 M230 and an Interl Iris graphics 5100. It also has 8 gigs of ram.
I'll try that out.
Edit: Isn't the stability config the default one? Were you referring to the toaster one?

Thanks for the specs. The Intel Iris one is integrated, the driver will most likely prefer the R5 M230 when you're running TF2.

I meant the high quality PC config.

[quote=ZeRo5]
I have an i7-4558U CPU @ 2.80 GHZ and apparently I have two graphic cards? Its telling me I have an AMD Radeon R5 M230 and an Interl Iris graphics 5100. It also has 8 gigs of ram.
I'll try that out.
Edit: Isn't the stability config the default one? Were you referring to the toaster one?[/quote]

Thanks for the specs. The Intel Iris one is integrated, the driver will most likely prefer the R5 M230 when you're running TF2.

I meant the high quality PC config.
26
#26
5 Frags +
z3taim getting a white screen ig pls help

What are your launch options? Do you have any modifications installed?

[quote=z3ta]im getting a white screen ig pls help[/quote]

What are your launch options? Do you have any modifications installed?
27
#27
7 Frags +
smziscreenshots pls

https://plus.google.com/u/0/117509153063276923444/posts/fwXVsAzYjpd

[quote=smzi]screenshots pls[/quote]
https://plus.google.com/u/0/117509153063276923444/posts/fwXVsAzYjpd
28
#28
3 Frags +
smziscreenshots pls

I've added that to the readme. Might move it to the wiki once I get more up.

Edit: moved to wiki.

ZeRo5https://plus.google.com/u/0/117509153063276923444/posts/fwXVsAzYjpd

May I use these screenshots? (and under what conditions/copyright license)

[quote=smzi]screenshots pls[/quote]

I've added that to [url=https://github.com/mastercoms/tf2cfg/blob/master/README.md#screenshots]the readme[/url]. Might move it to the wiki once I get more up.

Edit: moved to wiki.

[quote=ZeRo5]https://plus.google.com/u/0/117509153063276923444/posts/fwXVsAzYjpd[/quote]

May I use these screenshots? (and under what conditions/copyright license)
29
#29
6 Frags +
mastercomsMay I use these screenshots? (and under what conditions/copyright license)

Pay the court a fine or serve your sentence! jk you can use them (for now)

I've just benchmarked the config again and here are the results:

Comanglia's high quality PCs config:

2639 frames 24.612 seconds 107.22 fps ( 9.33 ms/f) 11.100 fps variability

This config:

2639 frames 25.119 seconds 105.06 fps ( 9.52 ms/f) 10.548 fps variability
[quote=mastercoms]May I use these screenshots? (and under what conditions/copyright license)[/quote]
Pay the court a fine or serve your sentence! jk you can use them (for now)

I've just benchmarked the config again and here are the results:

Comanglia's high quality PCs config:
[quote]2639 frames 24.612 seconds 107.22 fps ( 9.33 ms/f) 11.100 fps variability[/quote]

This config:
[quote]2639 frames 25.119 seconds 105.06 fps ( 9.52 ms/f) 10.548 fps variability[/quote]
30
#30
8 Frags +

I would be extremely grateful if anyone would test these configs with Average and Minimum frametimes and well as a graphed out frametime like this.

I would be extremely grateful if anyone would test these configs with Average and Minimum frametimes and well as a graphed out frametime [url=https://techreport.com/r.x/2016_12_7_Radeon_Software_ReLive_Edition_overview/csgo2.png]like this[/url].
1 2 3 4 ⋅⋅ 18
Please sign in through STEAM to post a comment.