[[Enhance the ATI Experience]]
It is, of course, a well known fact that Doom 3 is a game which performs best when using boards by nVidia. This has left ATI fans frustrated and eager for a driver update or some other fix. Since ATI has not yet responded, a way of improving the way Doom 3 handles on ATI cards has been posted on the Beyond3D forums. According to the author, the performance increase can increase frame rate from 34fps in 1280x1024 to 48fps. Changes would, of course, depend on each individual set-up. A further suggestion from the forum is that the fix really kicks-in if vsync is enabled. Please feel free to post your experience with the fix on the MegaGames Forums.
The fix involves changing some code which can be found in the Doom 3 pak000.pk4 file. For those not interested in the technical side of the fix, an already changed file is available by following the download tab above. Extract so that the shader file goes under doom3baseglprogs. This replaces a dependent texture read with equivalent math, which runs better on ATI cards, but seems to run slower on NV boards, so only apply this if you got an ATI card.
...this should be good enough proof that ATI hardware can run Doom3 just as good if not better than nVidia, and that we can pass on all the "ATI suck in OpenGL", "ATI's drivers suck" etc. into the trashcan where it belongs.
The full, do-it-yourself, fix is as follows:
I picked up Doom3 today and let be begin by saying it's a kickass game so far. A few minuses like weapon reload (which I find add nothing to a game, except annoyance, so I don't know why many devs keep adding it to their games), but overall much above my expectations.
Anyway, to the fun part, exploring the technology.
I think I've found the source of why this game runs comparably slow on ATI hardware vs. nVidia at the moment, and found a solution to the problem.
First, open your doom3base folder. Doubleclick on the pak000.pk4 file. In the "window can't open this file .. .bla bla" dialog, go on and associate the file with an app like WinRar. With this file open in WinRar, go to the glprogs directory in the file. In there you'll find the shaders. The interaction.vfp file seems to be the main rendering shader. Altering this shader to output a constant color turns most objects into that constant color, except for stuff like computer screens etc.
So doubleclick the interaction.vfp file to open it (you may have to associate the .vfp extension with a text editor like notepad or wordpad first since we're going to edit the file). Scroll down to the fragment shader. You'll find these rows:
Code:
PARAM subOne = { -1, -1, -1, -1 };
PARAM scaleTwo = { 2, 2, 2, 2 };
Add this right below them:
Code:
PARAM specExp = { 16, 0, 0, 0 };
Now scroll down to this:
Code:
# perform a dependent table read for the specular falloff
TEX R1, specular, texture[6], 2D;
Comment out that line by adding a "#" to it, and add another line that will do the same thing with math instead, so it should look like this:
Code:
# perform a dependent table read for the specular falloff
# TEX R1, specular, texture[6], 2D;
POW R1, specular.x, specExp.x;
Save the file and close your text editor. WinRar will ask if you want to update the file in the archive, select yes. Close WinRar and enjoy about 40% higher performance in Doom3. Haven't done extensive testing yet, but my performance went from 34fps in 1280x1024 to 48fps.
Conclusion and discussion:
I don't want to complain about Carmack's work, I still consider him to be the industry leader in graphics engines. Though when I read the shader it striked me how many texture accesses it did compared to the relatively short shader, even for stuff that could just as well be done with math for a small cost in instructions. Using a dependent texture lookup for POW evaluation makes a lot of sense for R200 level hardware due to instruction set limits, but for R300 and up it's much better to just spend the three cycles it takes to evaluate POW with math instead of risking texture cache trashing with a dependent texture read, which may be much more costly, especially since the access pattern in this case will be far from linear. Also, using math improves the quality too, even though it may not be very noticable in this game.
I should point out though that I'm not sure if the constant specular factor 16 that I chose is the one that the game uses, so output may be slightly different, but if this solution will be worked into the game in a future patch, then this is easily configurable by the game so that there won't be a difference, except a lot faster.
An interesting follow-up discussion may be why this dependent texture lookup is much slower on our hardware than on nVidia. Maybe there's an architectural difference that's to blame, or maybe something else? The main point here though is that this should be good enough proof that ATI hardware can run Doom3 just as good if not better than nVidia, and that we can pass on all the "ATI suck in OpenGL", "ATI's drivers suck" etc. into the trashcan where it belongs.
[[Previous Doom 3 Optimizations]]
Doom 3 has caused upheaval in the gaming community, especially since most players lack the necessary specs to make the most of their experience. Thanks to our readers we have traced a few ways that most gamers can enhance their experience fighting the hell-breathing monsters that are after their fellow marines.
Light at the end of the barrel
While gamers everywhere are struggling to calm their trigger fingers following the Doom 3 experience, many are already complaining about the need for more light. Thanks to a bit of duct tape and a lot of ingenuity, Glen 'FrenZon' Murphy has created the Duct Tape Mod, a solution to all our Mars vision troubles. A link to the files and a brief description of the mod is available by following the download tab above.
Cheap Cards Not Choppy Games
Another kind soul has taken pity on the poor gamers tackling Doom 3 with the Radeon 8500, 9000 and 9200 series of cards and has released a Graphics Optimization Guide, guaranteed to solve the OpenGL Blues of all low-end ATI card owners. A link to the guide is also available by following the download tab above.
Finally a kind Megagames reader, you know who you are Slijkhuis, has sent in another way to get a very definite performance boost. This guide works by releasing a lot of CPU resources and manages to do so by eliminating the need to decompress data while playing the game. According to our benefactor, there is a catch! By using the fix, you temporarily can't connect to pure multiplayer servers. You have been warned (although there is a way back)
The Guide
After installation, the Doom III Folder consists only of the doom3.exe and some .PK4 files. Those PK4 files includes the entire game (sounds, videos, textures etc.) compressed. They are normally uncompressed in mid game, which is very hard on your CPU. We can unpack them and thus take the strain of your CPU.
1. Make a copy of ALL the files in C:Program FilesDoom 3base. This is some big filage, but if you want to revert to MP without reinstalling you need to do it.
2. Unrar the following .pk4 files (just pretend they are .rar's and open them with winrar) into the C:Program FilesDoom 3base folder (each one should unrar a single folder such as textures or models):
pak000.pk4
pak001.pk4
pak002.pk4
pak003.pk4
pak004.pk4 (This one has many files, put them all in Base and overright any that apply.
3. Now delete the files above (pak000-004) or move them to another folder for storage so you can revert to multiplayer.
When you want to revert to multiplayer, restore everything you had before and get rid of the new stuff. I'm not sure if the folder maps is the same or not, so make sure you back that up.
When in the original Doom3 /base folder (that is, before the unpacking), you would have thse folders and files "maps" "savegames" "config.spec" "doomConfig.cfg" "doomkey" game00.pk4" and "gamex86.dll", nothing else.
ALSO DO THIS! If you open DoomConfig.cfg (C:programfilesdoom3base) in notepad and change (make sure to save a backup copy) seta image_cacheMegs "32" to a higher number, such as 128 or 265 (depends on RAM, use 256 for a gig, 128 for 512mb) you will see a big increase too. You also have to change the seta image_useCache to "1" and seta image_cacheMinK to approx "20480" (or higher)
There you have it, since the CPU wont have to unpack the textures, sounds, etc...there is a MASSIVE performance increase at the expense of no MP and requiring more HD space.
Please feel free to post your experiences using these fixes and Mod in the User Comments section.
SHOW COMMENTS (324)
HIDE COMMENTS (324)
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onok when i first changed the code in doom 3 (for ATI improvements) i only saw a small upgrade in performance. infact it was the 4.8 drivers that gave me the most performance gain. but i did miss something, i did not turn on my "vertical sync". talk about a change ;).after you edit the "pak000,pk4" file found in doom 3 you need to go to your desktop and go: right click, properties, setting, advance, 3d, opengl, custom, and vertiacal sync set to default on. now run the game and you will see a big jump in power.with my ati 9800 xt i was able to moved from 1024 X 768 res. to 1152 X 864 res. in both cases i had the computer on ultra and had everything set to yes, but used no iq.try this and you to will see a performance gain (only for ATI). right now i do beat out my friends fx5950 with the same type of rig. does that mean ati is better? no, both card are great and who really cares if one is 10 fps faster, if the game looks great then i am happy.i agree with most people on this site, why fight over video cards or games lets work together to make everyone have the best experience... and i too will post this on a few sites, because it can help people.
Doom 3 Enhance the Experience Pt2
Submitted by omar (not verified) ondo u think V9520 home Theatre 128MB (Geforce FX 5200) is good toplay Domm 3 on, will it make it laggy, or will it be good graphics.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onATI is still for little kids who don't know any better.Yeah hmmmm where WAS Ati's booth at gencon anyway...oooh that's right, they weren't there!
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onOOOO ATI wasnt at gencon who gives a f**k they dont have to b there
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) ondo u think V9520 home Theatre 128MB (Geforce FX 5200) is good toplay Domm 3 on, will it make it laggy, or will it be good graphics.it is all about the rest of your computer ar well... do you have 512+ mb of ram and 2000+ cpu? if yes then at medium to low and at 800 X 600 res or lower you will get a smooth game play. if this seems to low for you then do not buy the game
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onlol ati cant show up for every gay little party, stupid nvidiots, ATI is about DOING not hyping, not showing off, not partying.
Doom 3 Enhance the Experience Pt2
Submitted by Pimpin_Whity (not verified) onATI vs nVidia is like Dodge Viper vs Toyota Supra (ATI being the Viper and the Supra being the nVidia). Supra is all hype (movies, little kids thinking they know ****) but when it comes to actually performing, well, it's not going anywhere except back to the shop, lol. now i've distirbed all the ricer boys here, hahaha.and BTW, i didn't even know that gencon exists, lol.
Doom 3 Enhance the Experience Pt2
Submitted by Pimpin_Whity (not verified) onand now to contribute to the actual topic. someone posted earlier (too many posts to look, but u know who u are) that if u change the renderer from "best" to "arb2". this make a very big difference too, u guys should do it.
Doom 3 Enhance the Experience Pt2
Submitted by Pimpin_Whity (not verified) onu can change the renderer by going to the base directory in doom (C:Doom3base) and opening DoomConfig.cfg then scrolling down to seta r_renderer "xxxx"
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onwell i have never seen so much fighting over who is the best and what game sucks. i am going to put things straight with what we found to be true in ower rigs.what is the best card? well it is hard to say. it is just not a one answer but a whole picture that makes something good.we took a group of computers and ran test with a 6800 ultra (a friend got this when he picked up an alienware computer), x800 XT, 9800XT and an fx 5950. all we did was changed video cards but kept the same computer as is.some basic info on the computers: one barton 2500 (overclocked to 3200) one P4 2.4ghz (overclocked to 3ghz) both of these have 1024mb of ddr 333 ram and a 80gb 7200 rpm hard drive.one EE P4 3.4ghz, and one AMD 64 3400 (overclocked to a close 3800) both of these have 1536 MB of DDR 400 ram and a 74gb 10000 rpm hard drive.with most gamers the first group (who i belong to) will count the most, the second group are for people who have to much money (but i can honestly say the guys who own those rigs are down to earth).games used in test: farcry, doom 3 (with ati we did change the code for performance, we saw no visual effect change to believe that this was unfair), thief 3, homeworld 2, syberia 2 and need for speed underground.between the fx 5950 vs. the 9800xt, the 9800xt was by far the better of the two in both group one and two. but keep in mind we saw nothing wrong with the fx 5950 it just was not as good (visually or fps, when averaged with all of the games)now what we have been waiting for: the 6800 ultra vs. the x800 xt, this was at a split. in the barton 3200 and the p4 3ghz we found that the 6800 ultra was better in most cases. we believe that it is due to a cpu bottle neck problem. now when you go to the EE P4 3.4ghz and the AMD 64 3800 the x800 xt was a monster of a card. played everything at max settings with an average iq and at 1600 x 1200 (nfs underground could not go to 1600 X 1200 res. with any card).so the WINNER that was p
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) oncontinue:so the WINNER that was picked was the "6800 ultra". why? because the average highend user will be using a barton or P4 (non EE version) overclocked. the x800 xt really needs a high end cpu to shine, but the 6800 ultra worked well with the lower end cpu's. now again the x800 xp was far from being bad it was just not as good.so yes the x800 xt is the fastest thing out there but for a larger group who do not need to upgrade motherboards and cpu's the 6800 ultra was the champ.
Doom 3 Enhance the Experience Pt2
Submitted by KLAAS (not verified) onYo Mr Know it all go take your overclocked pieces of **** cpu's and shove them right up your *** those benchmarks mean jack **** squat.
Doom 3 Enhance the Experience Pt2
Submitted by V3rT0 (not verified) onNvidia is way better than ATI.My ATI 9600 XT is slower than My Asus Ge Force FX 5700. I use to get alot of game crashes with my Radeon, i dont with my 5700 from Asus.
Doom 3 Enhance the Experience Pt2
Submitted by KLAAS (not verified) onYou wanna know why they mean jack **** because overclocking the **** PC's automatically gives inaccurate results, even my dog knows that and u down below go buy a proper Radeon 9600XT ie Gigabyte or upgrade your catalyst drivers and configure them properly.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onyes it is true, overclocking is not the same results as a true cpu at that speed (normally o.c. is a little bit slower), but if you use non-overclocked video cards on an overclocked cpu and tested them all the same the results are true. we ran the test from the barton 2500 to the 3200 overclocked (the same for the P4 2.4 ghz to the overclocked 3 ghz) and we saw that the performance would grow as you went up in cpu power, but did not see the big jump until we went to a P4 EE 3.4 ghz or the AMD 64 3400 (we o.c. the amd to give the p4 ee a run for it's money, due to the fact that the p4 ee went up against the fx 51 cpu; the AMD was also the best in the results) each 4 systems used the latest drivers and all of the games were set at the highest playable settings (which ever could run with more detail,eg: higher iq, game visual settings, res., and kept 30 fps would win) we ran the tests over and over again to be sure the results were right.here are some links to show you how overclocked cpu are compaired to regular one of the same level.[url removed] with most gamers (go to the forums and you will see) they use overclocked cpu's and overclocked video cards (again all results in our test were done with non-overclocked video cards) we want great gaming at a fraction of the cost.why did i only use high end stuff?? because that is where all of the fighting is being placed on. what card would be the best for you. yes if you own a 3.2 ghz p4 or higher cpu or an amd 64 3000 +, an ati x800xt is the best for you. but again the majority of gamers own an overclocked system and that is what we looked for, what card is the best for the largest group.unless you have the money and own those expensive systems (for most of you on this sight you do not have those systems) one day when you want performance you will also (with the right equipment) overclock your system.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) oncontinued:again the winner we picked is the 6800 ultra. it was not the fastest with a highend system, but was faster in a mid level rig.
Doom 3 Enhance the Experience Pt2
Submitted by DeQuosaek (not verified) onDoom3 is the best FPS ever made. Half Life 2 will most likely be great too, but it's not around yet.Far Cry doesn't even compare to Doom3. The people's lips don't even move with the speech in the cutscenes. Come on.It plays fine on my ATi card and it's a lot of fun.And for the XBox hater below who said the current XBox uses nVidia and ATi would go as low as to put one in an XBox... The next XBox will be using an ATi chip. (Thank goodness)And the XBox is the best console on the market by far. You can't really fall back on the games excuse anymore either because there are plenty of fun games out for it.
Doom 3 Enhance the Experience Pt2
Submitted by DeQuosaek (not verified) onEr, I meant that he said:... ATi wouldn't go as low ...
Doom 3 Enhance the Experience Pt2
Submitted by Pimpin_Whity (not verified) onDeQuosaek, is the next ****-box going to have an ATI board, really? wow, it might actually have good graphics then, lol. i guess microsoft finally found out that ATI is better. i guess it won't be a ****-box anymore, lol.
Doom 3 Enhance the Experience Pt2
Submitted by Pimpin_Whity (not verified) onoh btw, i disagree with u about FarCry. it's very good and uses the same shadow technique as doom 3, just not all over the place because the enviroment is soooo huge. but as a FPS it's one of the best i've palyed, defenately up there with Doom 3.
Doom 3 Enhance the Experience Pt2
Submitted by Anonymous (not verified) onwindows solitaire is better than doom 3
Doom 3 Enhance the Experience Pt2
Submitted by FarCrier (not verified) onFarCry u say ?tell me what's diffrent between FarCry and Jurrasic Park ? ( not as games , as stories )they both suck !now let's take a look at the GAMEFarCry , I agree one of the best FPS games i played it but the Hero is an ******* who can't be liked , think of Duke Nukem , ppl all over the world know him ....I can't even remmember the name of the hero ... oh yes it was Jack or something , and that Useless ***** u saved what's her role in the game , except ******** ur life up ?the only thing i love about FarCrys Gameplay are Vechiles ... f**k UT f**k HaloFarCry Vechiles are the best FPS/TPS vechiles i've seen ... in terms of physics and fun .FarCrys ending :You kill all the bad guys , you kill the mad ******* , BOOOM everything is done , typical american story ... shallow that is .now back to Doom3 :the story is a cliche .. ppl working on mars .. something went wrong , ppl are now zombies ... deamons came from hell thru a teleport (very very stupid )u r the toughest gay on the universe ( yeah right ) kill kill kill ... hey u might think a bit in the middle but then kill kill killok it's repetitive ... but let's face it , the Horror ( no i didnt feel it .. ) the tension ( yes that's the best part ) the Being Scared of that Dark Corner ( yes alot alot alot ) the Excellent models / graphics / animations / interactions ... is what keeps u coming thru the game .Doom3 vechiles : none that i know offDoom3 Ending :Haven't finished it yet . so u will have to wait .Doom3 performance ?It works fine here . no mods. no config tweaksFarCry Performance ?Slow as hell f**k itGeneral Satisfaction :Doom3 - 5/5FarCry 3.5/5 ( 5/5 if it was freeware or beta )General General Satisfaction:iD software (100/100 ) the leaders in FPS games .CryTochTechFech games (5/10 ) excellent game engine , screwed up game .f**k ATis and f**k NvidiaSI play on a WildCat with 512mb(f**k intel btw)at adual
Doom 3 Enhance the Experience Pt2
Submitted by rc (not verified) onLOL even flash games u find on a dirty n00b side are better than doom 3 man i don´t like this game really i just play it with cool sense but man do not use drugs with this game or u will be f**kedwe did we and we started to feel the being scared in dark rooms we needed a long time to move 2metres and after 30 mins we needed to stop and were shocked it is quite hard to play this game on drugs with dolby surround cause always look if there is really no monster and u could get in problems if u do it :P
Doom 3 Enhance the Experience Pt2
Submitted by Nim (not verified) onWow yet another Doom 3 tweak that doesn't do anything. When will it all end?
Pages
Add new comment