Enable multithreading in TF2 and DOD:S

Associate
Joined
9 Jun 2008
Posts
349
This may have already been posted somewhere on ocuk, but someone helped me find a command that enables multithreading (for dual/triple/quad core CPUs) in team fortress 2 and day of defeat: source.

I have an AMD 4200X2 @ 2.8Ghz, this was the effect in Day of Defeat: Source, the fps is displayed bottom right;

Before
After

Quite a considerable increase isn't it? But I guess as my CPU is quite poor now it will increase a lot because it was a bottleneck.



OK so to do this (make sure you have a multiple core CPU!), in the game console add this line:

mat_queue_mode 2

I recommend firstly though you show the fps (net_graph 1 in console, 0 to get rid of it), just so you can see if there is a difference.

To make this permanent:
Open Notepad
Make a document
Add the line mat_queue_mode 2 on its own
Save as autoexec.cfg (Make sure save as 'All files' is selected!)
Save it in (#:/program files/steam/steamapps/username/*day of defeat source/dod/cfg or *team fortress 2/tf/cfg)


Hope this helps some people!
 
Ace trying this now, just had a message coming up to Defrag my games though so that may take a bit.

Also just a quick note i want to get DoD Source how many active servers are up?
 
Nice increase ! :cool:
Is it just TF2 and DOD:S that this can work in, or can other HL2 engined games also have this config applied to them ?

Not sure mate, I haven't tried it. If the command is there on CSS or other mods in the console, I presume it will be. I don't have any other source games installed though, so you'll have to try it mate.

Sinny said:
Also just a quick note i want to get DoD Source how many active servers are up?

Yes mate, there are plenty up. Its not a dead game by far :)
 
Last edited:
ive been using this mat_queue_mode 2 for a while with tf2, didnt know about it working with any other source game and i dont think its ment to until valve release this "update" ive been hearing about that will move counter strike source to the new engine.
 
mqm makes my TF2 crash out after a few minutes of playing :/

still, I get a constant 60+ fps, so I don't mind too much :)
 
I beleive episode 2 uses the updated source engine so I presume it does, just type in mat_queue_mode into the console, press enter, it will give you the options and explanations to what they do.

Last time I tried it (admittedly many months ago) it just turned it into a stuttery mess.
 
ive been using this mat_queue_mode 2 for a while with tf2, didnt know about it working with any other source game and i dont think its ment to until valve release this "update" ive been hearing about that will move counter strike source to the new engine.

you can use it on the CS Source BETA that is out or coming out.
 
I haven't used this purely due to the potential instability of it at the moment (lots of people report that it can crash quite randomly). That, and it breaks the sniper's scope on TF2... so I'll just wait for them to finalise it, I think.
 
I got a crash within 10 seconds of playing. Unfortunate, 'cause the performance boost was nice. I sometimes dip waaay below 60fps when there are 20+ players on screen, hope they finalise this off soon.
 
Ahh I haven't had a single crash yet so I must just be a fortunate one. I need to test the sniper on TF2 though. All the people I have asked to put that command in have reported a nice fps boost, none have reported a crash.
 
Nice find, I'll give it a try when I get home.

I imagine they might still be tuning the engine so that it can run multithreaded, which might explain why it isn't turned on automatically.
 
I just tried again to make sure last time wasn't just bad luck. 3 second crash this time!

It's still worth a try though, apparently it's hit or miss.
 
Back
Top Bottom