Thursday, January 24, 2008

How to get Half Life 2/Other Source Engine Games Running on Intel 945GM

Okay, first of all, make sure you don't expect too much in terms of graphical effects. On 1280x800, I can get ~30fps on high settings, with 2GB Ram and 2.0ghz core 2 duo processor, and 945GM graphics controller, of course! But I'm sure many of you with this card have experienced major crashing when saving, loading or getting to a certain part in a level. I have the fix! Right click on the Half Life 2 icon in steam, click properties, click launch options and enter:
+mat_forcehardwaresync 0. (without full stop)

This will stop the crashing and also improve overall performance. Other tweaks for this section? Enter, instead of the first entry: +mat_forcehardwaresync 0 -dxlevel 70 +mat_bumpmap 0 +mat_specular 0 +map_background none -autoconfig. (without full stop, again)

This will work for most source games, other than source 2007 engine games. For these, replace -dxlevel 70 with -dxlevel 81. This will cause the games to run in Direct X 8 rather than 7, as they require 8.1 to run. Other than this, just close all background applications and hope for the best! If you have any other tweaks, please tell me by just leaving a comment on this blog. Happy gaming, Integrated Graphics users!

Team Fortress 2 is a bit trickier to run, given that it does run on the Source 2007 engine, and has advanced lighting. The game will require lower settings than Half Life 2, so keep this in mind. More RAM can make a big difference in frame rates in TF2, upping 1 to 2 gigs gave me an extra 15fps, which is really quite good. thanks to phillip for the info on dx 81 rather than 80, that was a stupid error on my part. Apparently, crashing is less likely if the dx is on 90, but this causes unplayable framerates. Also, provided by Phillip (god, he seems to do more than me around here) is this nice framerates tweak. make a new file in notepad and call it autoexec.cfg. save it in the TF2 directory and enter any number of the tweaks found here.

For Portal, make the launch commands +mat_picmip 2 +mat_max_worldmesh_vertices 1024.

For all Source 2007 games, compatibility increases further on dxlevel 100 (10) but this does make a noticable frame rate difference in TF2, at least, so this should only be for those who experience very bad crashing, even on the settings I've provided so far.

For more tweaking on any source engine games, here's a list of commands. The most commonly used commands, click here.

Day of Defeat Source isn't too easy to run, but click here and save into game folder to get 10-15 extra frame rate, just a few tweaks.

For Counter Strike Source, many of you may have noticed lag outdoors. The fix I have! In the console, enter
r_3dsky 0. This will turn off the skybox and delete all lag... on most maps. For example, I get well over 3ofps on de_dust2, but less that ten on cs_office. I'll have to find out what distiguishes these two maps, so maybe I can fix the problem. To get the lag down more, try these.

70 comments:

Daniel said...

What framerate do you get when playing Team Fortress 2 in a 30-man server?

Daniel said...

Also if you just use default settings at 1280x800 (or similar) and set everything else to low (still DX9 though), do you get a framerate of 30+ in a full TF2 server?

freestuffyeah said...

on TF2, the graphics can't be on high/1280x800 becuase it runs on the source 2007 engine and is more detailed than the original half life 2, but on lower settings and resolution i can get 40fps, which is acceptible for an fps. in a 30 man server, the frame rate doesn't drop much in comparison to a server with less people, although it can cause more network lag. also, by lower resolution, 800x600 on medium settings works well. hope this helped!

Leon said...

Hey what do you think of these system specs running TF2?

Intel Core 2 CPU at 1.66 GHZ
3 gig RAM
Intel 945GM graphics
Windows XP 2

Ideally I hope to be running at a high resolution/high fps but I am willing to sacrifice as much vid quality as possible to reach it (playing to win heh).

philip said...

I am still having problems with TF2 it crashes during map changes, during joining games, or just random. I have tried playing with the settings and still nothing. Any advice.

freestuffyeah said...

Leon, the best way to know what settings will work best on your computer will work best is just to try it out. My PC has less RAM but a faster processor, so i guess overall your pc should run about the same as mine. However, this may not be true, so just try alot of different graphics settings. sometimes having everything on high and one thing on low can make all the difference. As for Phillip, try changing the dxlevel 80 to 90. This stopped crashing on the computer of a friend of mine, so it could work for you. Close running programs and, if using vista, run as administrator. Different graphical settings could also make a difference.

philip said...

heh. I just got finished trying 90 and it worked but it was running so slow. I am going to try 81,supposedly it is the lowest directX version you can run for TF2. The other problem I was having is that I was doing a duel cone out put to another monitor. I don't use vista. Any ways you think I could speed the game up? p.s. Thanks for all the help I couldn't even get the game to run before.

philip said...

It worked. I changed it to 81 and it ran faster, much much faster, than 90 but the game crashes anytime I change servers. I have not yet looked into map changes.

freestuffyeah said...

cool, i'll add that to the original blog post. just for reference, what resolution/graphics settings are you running it at to on dx 81? and what is the framerate? (to check, either enter cl_showfps 1 into Half Life 2's console, or download fraps from fraps.com) The game crashing on server changes is obviously not great, but at the moment I'm not sure of a solution. If you do find one, please post here.

philip said...

I have had the best luck with 1280 by 768 and running all the settings on low. The results are too unpredictable at the moment but as soon as I narrow down the problem I will let you know.

philip said...

With 81 I was getting 30 to 60 fps but with 90 I only get 3 to 10 which is unplayable. *81 was usually accompanied by a " blue screen of death" or just a game crash. The fps are the same for all resolutions. But I did verify that the most problems came from my 3d settings on my graphics driver. I believe that if your computer runs on 90 it would most likely run better, with better graphics settings, on 81 IF your computer doesn't crash. If you change the priory of hl2 and steam to high it also seems to run smother and crash less. This may not be true for all computer, it may cause more crashes. Still looking for away to pick up the frame rate to 20+ using 90.

freestuffyeah said...

It's good that it's crashing less. some people have reported better frame rates/no crashing on dx level 100 (10), but I haven't had a chance to try this. You should give this a go. Please show your support for this blog by Digging it at digg.com/pc_games/Running_any_Source_Engine_game_on_Intel_
Integrated_945gm (without the gaps,
blogger wouldn't let me put the
link in.

philip said...

DirectX 10 is only for Vista users.

philip said...

Feel free to quote or just steal any info I post. I am not sure what you want me to do with that link. Is it just another blog?

freestuffyeah said...

oh yeah, sorry, forgot you use xp. oh, the link, don't worry.

philip said...

Create a new document titled autoexec.cfg (!!!), make sure its a config file(!!!), found it here and some other useful hints. It can be played around with and see what works for you. he has explinations after //.

http://www.prisonerofwarclan.com/forums/viewtopic.php?t=4671

I saw an fps boost of anywhere from 10-30 depending on the map. I normally don't have any fps issues so this should boost anyones fps.

freestuffyeah said...

cool, adding it right away. thanks.

Michal said...

What about these system specs running CS:Source

Intel Core 2 @1.66
2 GB RAM
Intel 945 GM graphics
Windows XP SP2

Michal said...

I was playing CSS today and add to launching options:

+mat_forcehardwaresync 0 -dxlevel 81 +mat_bumpmap 0 +mat_specular 0 +map_background none

1024x768 and high details:
fps ~13-30, at low details ~30-40

But only fy and gg maps. I can't play on standard maps (fps ~2-13).

philip said...

I might be wrong but I believe that you run can run cs on dxlevel70 if it does you should get much higher frames.

philip said...

Also try running at 800 by 600.

freestuffyeah said...

yeah, as phillip said, cs can be run on dx 7, which does greatly improve frame rates. as most fy and gg maps are user-made, they don't usually have as much detail in environment, and don't use HDR lighting, so this is why they tend to lag less.

Michal said...

Another problem is with my graphics card temperature. When I am playing it's hot (maybe overheating?)
Do You guys have the same?

freestuffyeah said...

mine seems alright. use this tool (http://www.intel.com/design/motherbd/active.htm)
to see what kind of temperature the card's actually at. I'm assuming it's a laptop you're using? Laptops seem to get hotter than they actually are to the touch. As long as you don't get the BSOD or any other crashing, there probably isn't a huge problem. Tell me the temperature in-game with intel's tool, though.

Michal said...

That tool is only for desktops probably (i'm using Toshiba p100-160 laptop)
When i tried to install it i had an error:
"Intel Active Monitor can only be installed on a computer based on an Intel motherboard. Install will now abort"
I have Intell motherboard so i don't now where's the problem

freestuffyeah said...

quite probably. Instead, you should try the universal tool Everest (google it), it costs money but there's a free home edition.

Michal said...

I've done it like philip said dx7, 800x600 and medium settings. I still can't play standard maps(fps 3-10).
Gg and fy maps - average fps around 25-30.I've done test before play and i average fps was 50.
Maybe I am doing something wrong??
Maybe it depends on graphic drivers (i have latest)? I just don't know :/

philip said...

Can you try this. I want you to stair at a wall in a closed off room from the outside. Your frames should be 20 to 30. When you go to an outside area or a non closed room or head out side you go down to 3 to 12 frames. Then it is the sky causing the problem. If that doesn't work try going under water and seeing what your frames are then, should be higher. If it is the sky and you know a fix let me know.

Michal said...

Yes, it is the sky or just open space. I don't know how to fix it :/

freestuffyeah said...

Fixed cs source! enter r_3dsky 0 in the console, turns off skybox, fixes all errors!

Ram Kumar said...

Hey there... have sum prob... Im running on intel 945gm graphics.. Everytime i click on teamfortress.exe it launches n goes till the loading page... then after a while the screen goes black n then an error saying tat hl2.exe has caused an error and have to close the app.. When i look into the details of the error it says sumtin like vguimatsurface.dll has caused the error... Help pls......

Michal said...

r_3dsky 0 ii it really working? I didn't see any changes. For example - fps on de_aztec around 2 :/

freestuffyeah said...

okay, if that didn't work, try this. make a new file in notepad and just enter r_3dsky. save the file in the CS SOurce directory as autoexec.cfg. In the console, enter exec autoexec.cfg. This is what I did, and it seemed to work. On absolutely full settings (including bloom and anti-aliasing) I get about 7-20fps on cs_office. and as for ram kumar, http://snipurl.com/1zupr could be your answer.

Ram Kumar said...

Ohh ok... but i dont get the part where it says in right click tf2 n in launch properties paste tat command!!! Where is it?

Ram Kumar said...

I have edited the config.cfg file n now i can do everytin but play the game... It loads fully n the screen goes blank and then an error appears saying the hl2.exe had caused an error n mode is unknown!!!! Damn!!!! Help plsssss......

Michal said...

I have disabled skybox (r_3dsky 0) but I still have really low fps on standard maps. I can play only on gg maps.

freestuffyeah said...

weird. i can run de_dust2 and cs_office at ~25fps. oh well, hopefully you'll be able to find a solution that works for you.

philip said...

VICTORY!!!!! I have done it finally! I am using dx 9.0 and high res and high settings getting up to 50 fps and down to 13 out side in a full blood bath! Just type in the console mat_max_worldmesh_vertices 1024 if it works you can add it to your autorun.cfg file.

freestuffyeah said...

WOW!!! AWESOME!!!! NICE!!!! THANKS!!!! this does work really well though. I just tried it, thanks!!! anyway, it also improves frame rates in DoD source, so I presume it would work in other Source games as well.

Michal said...

I am confused :/ Can someone explain me step by step from the beginning (like for a child:) what should I do to make CSS playable. Pls help me!!! :)

freestuffyeah said...

okay, copy the cfg file text from the link in the tutorial, and add it to a new notepad document. Save this in the cs source directory as autoexec.cfg. (make sure notepad doesn't save it as .txt) add to it mat_max_worldmesh_vertices 1024 and r_3dsky 0, and save. launch the game. have fun.

Michal said...

You mean this

cl_c4dynamiclight "1"
fog_enable "0"
cl_cmdrate "45"
cl_updaterate "45"
cl_rate "9000"
cl_show_bloodspray "1"
violence_agibs "1"
violence_hgibs "1"
violence_hblood "1"
violence_ablood "1"
cl_downloadfilter nosounds
fps_max "300"
cl_ejectbrass "0"
cl_showfps "2"
rate "20000"
cl_ragdoll_fade_time "4"
dsp_slow_cpu "1"
sv_forcepreload "1"
cl_forcepreload "1"
r_fastzreject "1"

or something else?

freestuffyeah said...

yes, that.

Michal said...

I will chceck that today. Anyway thanks for your help. This blog is really great :)

Florent said...

Hey, thank you for the tips.
I'm french and I have a problem with the last step of your advise.
I made a config file (autoexec.cfg) with the options recommended and all works fine but the "mat_max_worldmesh_vertices 1024". Console wrote : command unknown... So... I don't really understand why.
To explain more, I have about 10/15 fps on assault but if I look at my "feet" (I don't know how to explain better), fps goes 50/60...
If you know why, can you tell me?
Thank you again for your blog, pretty good !
Florent

philip said...

I don't think you being French has much to do with it j/k. What are you computer specs? Also are you running on high res and high graphics settings? Did you try typing it directly into the console or did you just add it to the auto config file?

freestuffyeah said...

ohkay, try http://tinyurl.com/2z8w5m as a cfg file and edit it adding whatever i've said. as for looking at your feet, the command that fixed that for me was r_3dsky 0, so make sure you use that one too.

Florent said...

My specs :
T5500 Core 2 Duo
2GB RAM
Intel GMA 945 GM chipset
I tried to write r_3dsky 0 directly into the console and it works well (I can see the changes in maps such as dust) but it's not really playable (10/15 fps).
I also tried to write these arguments in the link and it works too. In fact, even if I try the low or high graphic settings I get the same fps (10/15, no more). Moreover, on assault or office, the game isn't playable and I think it's because of the mat_max_worldmesh_vertices which didn't work for me.
I'll try your config file tonight.
Thanks for all.

Florent said...

I have the same problem with the new config file (I tried the fps config file).
mat_max_worldmesh_vertices already unknow, do I need half life 2 for this tip works well? By now I have just counter strike source.
If it can help you, I uploaded a screenshot : screen 1
It is on aztec, I have about 50 fps but if I look at behind me (a door where we can see the sky and other stuff through) fps become 12/13... I hope you'll understand and solve my problem. Thank you again, again, again :)

Florent said...

I just setuped TF2 on my computer and I applied the tips, it works fine (mat_max_worldmesh_vertices known !!) on all maps (20 fps outside, 45 fps inside). Playble so !
But I really want to run CS Source and I don't know why you can do it and not me :(
If you still want to help me, I grante you :)

Michal said...

I have the same problem florent with that command. It didn't work for me as well :/

freestuffyeah said...

on second look, the command didn't work for me either. Maybe you're thinking of portal or TF2, where the command does work? anyway, I'm still looking for the fix

0m3g4Muff1n987 said...
This comment has been removed by the author.
0m3g4Muff1n987 said...

Oh my god. I LOVE YOU. I put in these parameters and gave the HL2 a try, and I jumped from a previous >10 FPS max to a max of around 60, mostly around 30. This rocks. Thank you so much, I wish new games worked as well as this did so I could play CoD4 and all that stuff.

Specs:
1.6GHz Intel Core Duo
1GB PC4200 RAM (soon to be 4GB; it's in the mail)
Intel 945GM integrated gfx
Windows Vista Home Premium 32-bit, not SP1 yet because my computer's being g4y, and vista impacts my framerates too btw
I'm on a laptop and all my games look and run like crap.

suspi-maren said...

Hey; thanks a lot for this. Really helped me get the Orange Box running; nearly gave up when I first got it, now I'm playing TF2 with 30 - 40 FPS in 32-man servers. Thanks.

I'm having some problems with Half-Life 2: Deathmatch, DoD, and CSS. I have an Intel 945GM, and I'm currently trying to get CSS to work; all to no avail, despite the list of instructions above. Apparently, the mat_max_verticies (forgot the name exactly; copied and pasted it in for the console) for CSS, HLDM, and DoD all do nothing; along with the other games. This has led to major lag; 10 FPS in open spaces on cs_italy, 40 when looking at the wall or floor. No solutions I've found have done the trick; no autoexec's have fixed things. This goes for all 3 games; any soloutions? If you need more specs, I'll get 'em. I have about 2GB of RAM; about 647MBs in use right now. I set up a -heapsize, and it did nothing.

I CAN play CSS and HLDM, but only on custom maps. TF2 runs fine on its normal maps; which I find strange, seeing that I run it on dxlvl 90.

suspi-maren said...

Oh, and, it seems the problem isn't the sky at all (did 'r_sky 0', though ), but it's the models are too high quality. Whenever I look at buildings, I get laggy.

tajertam said...

hi m8
im having trouble getting tf2 to run on my samsung v25 laptop.

heres my spec
intel pentium 4 cpu 2.66
502mb ram directx 9.0c
intel(r) extreme graphics 82845g controller 64 mb

when i try running tf2 i get an engine error graphics must support pixel shading 1.1 so i then downloaded 3d analyze and tried using this but i can only run this against the steam.exe and when i try tf2 again i get the same error ??
any help would be helpful maybe i need a new laptop to run tf2 ??

thx taj

Aaron5178 said...

I am having the same problem. Outside on de_dust2 i get like 10fps and inside its 40fps. I have tired all of the commands and they don't work. Help plz

50cent252 said...

can you help me run wolfenstein enemy of territory on the highest fps i get like 16-8 on servers like rader, goldrush, Venice and all those heavy maps

Rafael said...

hi... i've tried with portals. but when i pass through it the game crashes.
specs

xps m1210
core duo 2.0
1gb ram
intel 945gm graphics
windows xp sp3

anyone can help?

Aaron said...

have u lauched the game in dx90??

ray p daley said...

I've been trying to write a definitive command line for Portal on the Intel for a while now & this is the current result as it stands.

-applaunch 400 -steam -dxlevel 81 +mat_forcehardwaresync 0 +mat_forcemanagedtextureintohardware 0 +snd_async_prefetch_priority +mat_softwarelighting 1 +mat_reducefillrate 1 +mat_bumpmap 0 + mat_specular 0 +mat_picmip 2 +mat_max_worldmesh_vertices 1024 +map_background none -autoconfig

without specular, vertices & background (and portals depth set to 0) the game runs ok until either a camera laser shines or Glados speaks. If there is any way to disable speech its a sure fire way to stop the game dying.

Iren said...

The link to the autoexec commands is dead, anyone have it?

pwnagemastur said...

When i try running TF2, i get an error...it says : Setup file 'gameinfo.txt' doesn't exist in subdirectory 'hl2'. Check your -game parameter or VCONFIG setting

Brady said...

When I look at the orange portal, my game crashes. "hl2.exe has stopped working"

Rafael said...

i had a similar problem...

i guess it has to do with pirate versions of the game..

I downloaded the original from steam and now works like a charm.

Ridhi Web Expert said...

Is a Intel 945GM Shared memory 224MB Video Card ok to play the min. requirements for World of Warcraft?
THX
Brad Fallon

sharma said...

Is Intel Integrated Grpahics Media Accelorator X3100 a good video card for gaming?
questions to ask at an interview

sharma said...

A game engine is a system designed for the creation and development of video game s ... reusing/adapting the same game engine to create different games.
eb 5 visa

sharma said...

Since the XBOX1 can handle Source engine games like Half-life 2, can't the Wii support Source engine games?

Herman Miller Aeron