Hello There, Guest! Register

Enabling mutlicore support for TF2
copulatingduck
Following in Gordon's Footsteps


Posts: 7,518
Joined: Apr 2008
#1
09-23-2008, 12:10 PM

In an effort to increase the performance of my TF2, I tried enabling support for multicore-whatsamawhozits (multithreading?)

There's lots of sweet info in the link as well, you should read up on all of it.

Most helpful TF2 thread ever

Code:
mat_queue_mode 2
r_threaded_client_shadow_manager 1
r_threaded_particles 1
r_threaded_renderables 1
cl_threaded_bone_setup 1
cl_threaded_client_leaf_system 1
host_thread_mode 1

That's what did it for me. Just put that in your autoexec.cfg (mine is located in  C:\Program Files\Steam\steamapps\USERNAMEHERE\team fortress 2\tf\cfg). Sometimes my computer just crashed whenever I started the game, other times it ran much smoother, and I was getting roughly double the fps I had before. Dunno how many people haven't been utilizing multiple cores, since it's not enabled by default in TF2 (it's buggy), but hopefully this will help some of you out there.

Unfortunately, this was only tested over the course of a single night for me - my computer has a virus or something now (my lab group is full of retards), so I won't be playing TF2 for at least a few days.


Ripped like paper
raped with ease
hey scrub nerd pyros
suck on these
Reply
copulatingduck
Following in Gordon's Footsteps


Posts: 7,518
Joined: Apr 2008
#2
09-23-2008, 12:14 PM

In before someone makes fun of my spelling


Ripped like paper
raped with ease
hey scrub nerd pyros
suck on these
Reply
CaffeinePowered
Mad Hatter
*******

Posts: 12,998
Joined: Mar 2008
#3
09-23-2008, 12:15 PM

Are you using an AMD or Intel?

Also if you are using an AMD are you using the dual core optimizer?


[Image: caffsighl7.jpg]Â[Image: 1184299259221.gif]
Sig by Joel
Reply
Spore
2 guys, no cups necessary


Posts: 2,587
Joined: Mar 2008
#4
09-23-2008, 12:18 PM

I need to get a multicore processor first :< My Pentium 4 has served me so well though (:


Feeling generous? Karf is a respectable human being. http://i.imgur.com/MTVw5.png
Thank you, Mr. Pelican.
Reply
copulatingduck
Following in Gordon's Footsteps


Posts: 7,518
Joined: Apr 2008
#5
09-23-2008, 12:19 PM

(09-23-2008, 12:15 PM)CaffeinePowered link Wrote: Are you using an AMD or Intel?

Also if you are using an AMD are you using the dual core optimizer?

AMD, which might make a difference. And yes I'm using the optimizer, and no, it does nothing for TF2. As I understand it, multicore support isn't enabled by default because it's basically unfinished code on Valve's part, something they're working to finish by the time L4D comes out.


Ripped like paper
raped with ease
hey scrub nerd pyros
suck on these
Reply
[fr31ns]Karrde
The Handy Murse


Posts: 2,655
Joined: May 2008
#6
09-23-2008, 12:48 PM

I'd use it, but it tends to get glitchy after a while.  For some, it does nothing, and some play well with it.  Really a crapshoot.


<+Karrde> welp, time to learn some basic patterning skills
<@Negate> 12121212121212121212
<@Negate> there is a simple pattern
<+Karrde> I changed my mind.  Gonna cosplay as a gay demon from hell and get negate raped instead XD
<+Caffeine`work> Karrde: Gay demon? Why would you need to cosplay just go as yourself
<+FlyingMongoose> Caffeine`work: Karrde would actually have to tone it down some.
Reply
cbre88x
Seabreeze: That Damn Sniper


Posts: 2,835
Joined: Apr 2008
#7
09-23-2008, 12:49 PM

(09-23-2008, 12:19 PM)CopulatingFuuuuuck link Wrote: [quote author=CaffeinePowered link=topic=1462.msg40770#msg40770 date=1222190151]
Are you using an AMD or Intel?
Also if you are using an AMD are you using the dual core optimizer?
AMD, which might make a difference. And yes I'm using the optimizer, and no, it does nothing for TF2. As I understand it, multicore support isn't enabled by default because it's basically unfinished code on Valve's part, something they're working to finish by the time L4D comes out.
[/quote]

Word on the street is that the Source engine will get proper multicore support after the release of L4D.


Reply
copulatingduck
Following in Gordon's Footsteps


Posts: 7,518
Joined: Apr 2008
#8
09-23-2008, 01:48 PM

(09-23-2008, 12:49 PM)cbre88x link Wrote: [quote author=CopulatingFuuuuuck link=topic=1462.msg40774#msg40774 date=1222190378]
[quote author=CaffeinePowered link=topic=1462.msg40770#msg40770 date=1222190151]
Are you using an AMD or Intel?
Also if you are using an AMD are you using the dual core optimizer?
AMD, which might make a difference. And yes I'm using the optimizer, and no, it does nothing for TF2. As I understand it, multicore support isn't enabled by default because it's basically unfinished code on Valve's part, something they're working to finish by the time L4D comes out.
[/quote]

Word on the street is that the Source engine will get proper multicore support after the release of L4D.
[/quote]

Word on the street is it's gonna get pushed back some more. :p

I'm just tired of taking performance hits waiting for valve to get on the ball with this, luckily it seemed to work out alright for me.


Ripped like paper
raped with ease
hey scrub nerd pyros
suck on these
Reply
jorge
It's pronounced yor-ge


Posts: 923
Joined: Mar 2008
#9
09-23-2008, 02:51 PM

[Image: lolbot-sewing-machine.jpg]












Reply
Versus
My fursona is a blops attack dog


Posts: 10,103
Joined: Mar 2008
#10
09-23-2008, 04:07 PM

(09-23-2008, 02:51 PM)jðrge link Wrote: [Image: lolbot-sewing-machine.jpg]

nice 2ghz singlecore

edit: definitely trying.



Reply
KarthXLR
Free of STD's ... lolwut?


Posts: 9,927
Joined: May 2008
#11
09-23-2008, 04:57 PM

Wait, so this whole time, TF2 has been running on a single core on my dual core?

I thought this was an automatic thing...
Reply
KorJax
BRB, Posting


Posts: 1,376
Joined: Jun 2008
#12
09-23-2008, 05:20 PM

Why would you need this really?  I mean, source isn't very resource demanding in reguards to CPU's, and if you already have a dual/quad core chances are you can run TF2 just fine in the CPU department.


[Image: a731e9e08c48b218b111e3275e851e8e.gif]
Reply
CaffeinePowered
Mad Hatter
*******

Posts: 12,998
Joined: Mar 2008
#13
09-23-2008, 05:59 PM

Tried it and I didn't notice any positive difference, I did note that it did stutter at points after turning this on.


[Image: caffsighl7.jpg]Â[Image: 1184299259221.gif]
Sig by Joel
Reply
[fr31ns]Karrde
The Handy Murse


Posts: 2,655
Joined: May 2008
#14
09-23-2008, 06:17 PM

Just a note though.  TF2 does multicore the particles on the 2nd core.  What we're really talking about is multithreading.


<+Karrde> welp, time to learn some basic patterning skills
<@Negate> 12121212121212121212
<@Negate> there is a simple pattern
<+Karrde> I changed my mind.  Gonna cosplay as a gay demon from hell and get negate raped instead XD
<+Caffeine`work> Karrde: Gay demon? Why would you need to cosplay just go as yourself
<+FlyingMongoose> Caffeine`work: Karrde would actually have to tone it down some.
Reply
CaffeinePowered
Mad Hatter
*******

Posts: 12,998
Joined: Mar 2008
#15
09-23-2008, 06:20 PM

Something to note would be what are the commands to turn it off, does putting those things in autoexec make TF2 always multithread, or does commenting out the lines turn it off.


[Image: caffsighl7.jpg]Â[Image: 1184299259221.gif]
Sig by Joel
Reply
Versus
My fursona is a blops attack dog


Posts: 10,103
Joined: Mar 2008
#16
09-23-2008, 06:24 PM

I tried it, had occasional graphical oddities, such as it disappearing and reappearing a dozen times in a few seconds, but I'm getting a much higher FPS.



Reply
ToiletDuck
BRB, Posting


Posts: 921
Joined: Apr 2008
#17
09-23-2008, 06:27 PM

i've performed this technique with great results. it seems to feel better, but i did notice for like 1 second when i died things were chugging, meh.


[Image: vhs51j.gif]
[Image: rrmvpd.gif]
[Image: 5wfajm.gif]
[Image: 33cmd7m.gif]
[Image: s3g8xs.gif]
[Image: 2dmbam1.gif]
[Image: 1e5tuv.gif]
[Image: 1fzo94.jpg]
Reply
[fr31ns]Karrde
The Handy Murse


Posts: 2,655
Joined: May 2008
#18
09-23-2008, 06:48 PM

(09-23-2008, 06:20 PM)CaffeinePowered link Wrote: Something to note would be what are the commands to turn it off, does putting those things in autoexec make TF2 always multithread, or does commenting out the lines turn it off.

I think Mat_queue_mode either needs to be set to 1 or -1 to turn off.  Otherwise everything else is 0 to turn off.  I've got it all off so I can check.

*edit*

yeah, it's -1 for MQM and 0 for the rest.


<+Karrde> welp, time to learn some basic patterning skills
<@Negate> 12121212121212121212
<@Negate> there is a simple pattern
<+Karrde> I changed my mind.  Gonna cosplay as a gay demon from hell and get negate raped instead XD
<+Caffeine`work> Karrde: Gay demon? Why would you need to cosplay just go as yourself
<+FlyingMongoose> Caffeine`work: Karrde would actually have to tone it down some.
(This post was last modified: 09-23-2008, 06:51 PM by [fr31ns]Karrde.)
Reply
copulatingduck
Following in Gordon's Footsteps


Posts: 7,518
Joined: Apr 2008
#19
09-23-2008, 10:39 PM

(09-23-2008, 05:20 PM)KorJax link Wrote: Why would you need this really?  I mean, source isn't very resource demanding in reguards to CPU's, and if you already have a dual/quad core chances are you can run TF2 just fine in the CPU department.

Well I have a X2 4200+, and TF2 ALWAYS used the entirety of a single core. The fact that enabling this has improved my performance a lot just goes to show you that a ~1.1GHz core is not necessarily enough to run TF2. And yes, orange box games actually ARE very cpu intensive.


Ripped like paper
raped with ease
hey scrub nerd pyros
suck on these
Reply
K2
BRB, Posting
*

Posts: 1,373
Joined: May 2008
#20
09-23-2008, 11:31 PM

I tried this at TFT. I got a 10-15 fps boost, but my game would keep randomly freezing up for a few seconds every once and a while. I might try it again later, but for now it's looking like it's not stable enough to work on my computer.
Reply


Forum Jump:


Users browsing this thread: 10 Guest(s)