1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Far Cry 2 IQ and performance optimization guide - tips and tricks.

Discussion in 'Games' started by newconroer, Oct 29, 2008.

  1. newconroer

    newconroer

    Joined:
    Jun 20, 2007
    Messages:
    2,977 (1.14/day)
    Thanks Received:
    294
    EDIT:

    Another 'hotfix' for AMD/ATi has been released, as of Wednesday the 29th, October.
    You can view information and find a link here:
    http://forums.techpowerup.com/showthread.php?t=75020

    If you are using an Nvidia GT200 card, it is recommended to use the (currently) Beta 180.43 drivers.
    If you are using an Nvidia non GT200 card, you may encounter issues with the BETA drivers while running Far Cry 2. Another option is to use the latest WHQL.

    AMD/ATi users:

    Edge Detect and Adaptive Anti Aliasing: The game will not render the increased IQ enough for you to notice, and the performance hit is something you will notice, in a bad way.
    High Quality AF: This is not recognized by the game, leave it off.
    Texture Preference: "High Quality" is not recognized by the game, leave it off.
    MipPap Detail Level: "High Quality" is not recognized by the game, leave it off.
    Flip Queue size. This is usually up to the individual, though no specific variable or 'undefined' seems to make a difference. I would leave it on 3, and also head to your Far Cry 2 user folder (My Documents/My Games/Far Cry 2/)
    and edit the GamerProfile.xml. There is a line near the top that reads: MaxDriverBufferedFrames="0" (by default). Changing to a value of "3" can reduce any possible conflicts.
    Catalyst A.I.: For some ATi cards, setting this to "Low" or "Normal," can result in increased performance up to several frames on average. "Advanced," and "High" seem to attempt to make too much work out of simple situations, thus reducing performance.


    Nvidia users:

    Gamma correction: I did not see a difference in either IQ or performance.
    Transparency AntiAliasing: The game will not render the increased IQ, when this is set to "Super" sample mode. Though the performance loss may be noticeable. Using "Multi" sample may not provide a difference in either IQ or performance, but if it makes you feel better, use it.
    Texture Quality: "High Quality" is not recognized by the game, leave it off.
    Force MipMaps: "Off" This is not necessary for this application.
    Max Pre-rendered frames: This is usually up to the individual, though no specific variable or 'undefined' seems to make a difference. I would leave it on 3, and also head to your Far Cry 2 user folder (My Documents/My Games/Far Cry 2/) and edit the GamerProfile.xml. There is a line near the top that reads: MaxDriverBufferedFrames="0" (by default). Changing to a value of "3" can reduce any possible conflicts.
    Multi-Thread: I always force this on, but if you have issues, using "Auto" or "Off" for troubleshooting, is recommended.

    -------------------------------------------------------------------------------

    Starter - general recommendation:

    DX10 - IQ: You will see smoother water reflections, and possibly more shadow coverage on distant landscaping(remember that shadow coverage can be manually controlled through the console).
    - Performance: Noticeably worse for some users, particularly ATi GPU owners : The small IQ gains do not justify the performance degredation.
    DX9 Vista - IQ: Overall identical to DX10, minus the contrasting water reflections and shadow coverage.
    - Performance: Noticeably better for a large portion of users(this may vary from system to system).
    DX9 XP - IQ: Overall identical to DX10, minus the contrasting water reflections and shadow coverage.
    - Performance: Noticeably better for a large portion of users[although only slightly compared to Vista DX9](this may vary from system to system).

    AA - 2X or 4X (High end GPU users might opt for 4X. In some situations it will provide better performance, and/or the performance loss is so minute, that it's worth it)
    Vsync - Optional, performance loss is marginal (this may vary from system to system)

    Note that for the settings below, while a lot of users report that moving from Ultra High to Very High, makes no noticeable image impact, you should also remember however, that the majority them can actually hurt performance on high-end systems, if you do not use the maximum available setting. The exception to this rule would be Shadows and Geometry, which will be mentioned below.[/I]

    Real Trees - Very High (Max) A setting of Medium or lower results in static, non moving trees. High to Very High seems to have no IQ difference or performance difference.
    Fire - Very High (Max) Using High instead of Very High seems to affect the color grading and particle density of the flames, though it's very hard to see the difference. Performance seems irrelevant.
    Physic - Very High (Max) I haven't figured out the extent of this parameter. I imagine in battle situations, a lower setting may improve performance for some people, but this hasn't been the case for myself.

    Vegetation - Very High (Max) Performance and IQ between Very High and High seems irrelevant.
    Shading - Ultra High (Max) Performance and IQ between Ultra High and Very High seems irrelevant.
    Terrain - Ultra High (Max) Performance and IQ between Ultra High and Very High seems irrelevant.
    Geometry* - Very High Performance between Ultra High and Very High can result in a difference of a few to several frames. I cannot see a loss in IQ. Moving from Very High to High seems irrelevant. Moving to Medium, is a considerably large performance boost. The downside is that you lose some of the density and 'fullness' of objects and sprites such as trees (though they seem to be the thing most affected). However you can rectify this issue, with the GFX_LODScale console setting listed beneath this section.
    Post - High (Max) Performance between High and Medium seems irrelevant, as does IQ.
    Texture - Ultra High (Max)Performance and IQ between Ultra High and Very High seems irrelevant.
    Shadow*** - Very High Performance between Ultra High and Very High can result in a difference of a few to several frames. I cannot see a loss in IQ
    Ambient - High (Max)** Performance between High and Medium seems irrelevant, as does IQ.
    HDR/Bloom**** - On/Off Performance with Bloom and/or HDR on, can be sever for some, and irrelevant for others. This is purely down to the user's hardware.

    * Geometry in DX10 cannot be set lower than "high."
    ** Ambient is locked at "high" in DX10.
    *** If you use the shadow range console parameters listed in the next section, you will notice that close range shadows lose some of their clarity and resolution quality. However, this only seems to come into play if you are running anything less than Ultra. When using Ultra shadows, you can combine that with the shadow range commands, and keep both your increased distance IQ as well as up close resolution IQ.
    **** HDR and Bloom can both be enabled/disabled in DX9. Yet only Bloom is available in DX10. The full effect of either HDR or Bloom is only in full force, when the other is enabled as well, whilst in DX9 mode.



    Console commands and parameters:

    Console commands:

    ~ - Open/Close Console
    ? - List available commands
    Page Up - Scroll up
    Page Down - Scroll down

    You can copy, cut and paste text into the console, as well as shift-highlight text too.
    Remember to not use quotation marks or an equals sign around your numerical value settings. I.e.

    gfx_LODscale 0 - Correct
    gfx_LODscale="0" - Incorrect


    I haven't used all of the possible parameters here, because the remaining ones seem to make no noticeable visual and / or performance difference.


    Gfx_ClusterLODScale 0.7 [Default 0.8] A lower setting results in less sprites 'popping' into view, and/or they load at farther distances, so it's less noticeable. Slight IQ increase here when in motion, without a performance hit.
    Gfx_HemiQuality 1 [Default is based off your in-game video settings.] You should hardly be able to tell between a setting of 2 (Highest quality) and 1 (Medium quality), but you gain a frame or two.
    Gfx_KillLODScale 0.9 [Default is 1] This will show you some more detail on objects(primarily) from a distance. 0.9 should have no performance hit, and give you a the same IQ as 0.8-0.5 (anything lower is wasted frames).
    Gfx_LeavesShadowRatio 1 [Default is 0.5] This will increase the density of the shadows around trees and the shadows cast by trees on everything. The higher the value the better the IQ. Performance impact is 0.
    Gfx_LODScale 0.5 [Default is 1] This will increase the 'plushness' of all sprites, textures and objects whether up close or at a distance. The lower you set it, the better IQ. A setting of lower than 0.5 is not recommended.
    Gfx_RealTreesLODScale 0 [Default is 1] This is an odd parameter. The higher you set it numerically, the thinner and less dense trees become. But frames improve, however moving to "0" increases IQ AND frame rate in some conditions, but others, you lose a frame or two.
    Gfx_SunShadowRange1* 30 [Default is 8] This controls the bulk quality of shadows and the texturing filter. If you notice, by default the filtering line can easily be seen when moving towards objects or terrain. That ugly filtering line that turns low resolution into high resolution. Setting this to 30 should give you enough of a distance, that you won't have to worry about that again. Performance loss is minimal, a few frames if that.
    Gfx_SunShadowRange0* 14 [Default is 4] This is the base shadow setting, that works in conjuction with ShadowRange 1. Think of it as a 'fine tuning' parameter. If you've set your ShadowRange1 to 30, you may notice that there's still a slight filtering layer in motion. Even though it's not as heavy as the previous one, you can tighten up the shadows LOD range and quality even more, by raising this variable's value. However, the higher you go, the worse the quality of close range shadows become. I wouldn't go over 12 or 14. Performance loss is less than ShadowRange1.
    Gfx_SunShadowRange2 160 [Default is 80] This second (technically third) sun shadow variable, controls how far into the distance an object's shadows are cast based on the sun's position. I.e. the higher the value, the more landscape shadows you will see(quality based on distance is determine by ShadowRange0 and ShadowRange1 only)A setting of 160 increases IQ, with minimal FPS loss.
    Gfx_TerrainLODScale 0 [Default is 1] This will allow textures on distance objects, primarily mountains, to be increased. Performance loss should be less than two frames for high end GPU users.

    *I believe both of these parameters also control the filtering line when the sun is not around; i.e. at night time etc.

    The use of DX 9, 2xAA(or 4xAA if necessary) and Medium Geometry will net you a considerable performance boost, and then you can turn around and spend some of it on the increased IQ with the settings above. Remember, that the perfromance at Medium Geometry, with increased console IQ settings, will still be better, than High/Vhigh/Uhigh Geometry at default console IQ settings.


    Or if you're insisting on using DX10, 4xAA, Ultra Geometry, or some combination of IQ enhancing parameters, and/or you just need better performance, you can reverse some of these previously mentioned parameters:

    Gfx_ClusterLODScale 1 or 2 [Default 0.8] This will cause more sprites to show up while in motion(like grass getting more dense) but from default to 1 shouldn't be killer on your eyes if you're ok with the game under stock conditions. If you're desperate, try 2, and see if it's acceptable or not in regards to IQ. FPS gain at a level of 2, should be at least five or more FPS.
    Gfx_HemiQuality 0 [Default is based off your in-game video settings.] You will see more of an IQ loss between 0 and 1 than you did with 1 and 2. The performance gain will scale relatively the same as moving from a level of 2 down to 1, so expect about three to four frames at a setting of 0.
    Gfx_KillLODScale 1.5 or 2 [Default is 1] You will lose some object draw and slight texture reduction at a distance, but for most this might be fairly acceptable given the fast paced action of the game in which they don't notice such things. You should gain a few frames.
    Gfx_LeavesShadowRatio 1 [Default is 0.5] As mentioned above, this will not affect performance, so it's up to you.
    Gfx_LODScale 1.5 or 2 [Default is 1] This is probably the most noticeable feature in terms of IQ and performance. Moving above default of 1, can result in noticeably cheaper quality objects and textures, but should provide several frames depending on how far you take it.
    Gfx_RealTreesLODScale 0 or 1 [Default is 1] As mentioned above this is an odd parameter, some might truly get better performance at a setting of 0, which gives the best viewing quality. I'd leave it at 1 or 0.
    Gfx_SunShadowRange2 60 [Default is 80] If you don't worry about mid-range to distant shadow draw from objects, you can decrease this from 80 down to 60, to pick-up a few frames. Going to 40 or less makes a noticeably negative IQ difference.
    Gfx_TerrainLODScale 1 [Default is 1] Leaving this at default of 1 should be enough. The gains from anything over 1 seem too minimal to be worth it, unless you don't mind the game looking fairly awful.


    As a word of warning, when you are adjusting the settings in the console, sometimes the game can 'flake' out, and when you enter a new command, it will drop to desktop with a black screen then come back. This is not supposed to happen. Every change should happen in real time. If you get thrown back and forth between the desktop, stop, exit the game and try it again.

    If you are content with a batch of settings, you can setup a configuration file and tell the game to load it from the console.

    Make a new .txt file in your Far Cry 2 user folder, which is My Games for both Xp and Vista. You can name it whatever, let's say "IQ.cfg"
    Place the commands inside the file and do not use the "=" sign between the variable itself and the numerical value. I.e. gfx_LODScale 0.5 not gfx_LODScale=0.5
    When you run the game, open the console with the tilda key "~" and type "Exec IQ.cfg" -no quotes.

    At this point I haven't figured out how to force the game to load with these settings automatically, whether from the configuration file or some other means.

    Also, sorry I don't have any 'lesser' systems to run the game on, to see how these settings affect it. Most of my testbed and backup machines are in pieces at this time. Feel free to give them a whirl and report back.

    If you find anything here to be false, wrong, and/or you can improve on, feel free to make mention and share your findings.

    Lastly...apologies for another Far Cry 2 thread!
    Last edited: Oct 30, 2008
    FilipM, BraveSoul, Frogger and 2 others say thanks.
  2. Maelstrom

    Joined:
    Sep 10, 2008
    Messages:
    534 (0.25/day)
    Thanks Received:
    159
    Location:
    VA/PA
    Thx very informative and helpful =D
  3. wolf2009 Guest

    very nice
  4. BraveSoul

    Joined:
    Jul 28, 2008
    Messages:
    987 (0.45/day)
    Thanks Received:
    164
    very detailed post.. well done Gfx_KillLODScale 2 DX9 seems to improve pfs a lillte :)
  5. Hayder_Master

    Hayder_Master

    Joined:
    Apr 21, 2008
    Messages:
    5,173 (2.23/day)
    Thanks Received:
    638
    Location:
    IRAQ-Baghdad
    mmmm, as i expect for new drivers
  6. newconroer

    newconroer

    Joined:
    Jun 20, 2007
    Messages:
    2,977 (1.14/day)
    Thanks Received:
    294
    Updated to include console navigation commands.
  7. raptori

    raptori

    Joined:
    Mar 20, 2008
    Messages:
    635 (0.27/day)
    Thanks Received:
    62
    I don't have any issue while using the new 180.43 beta and you can see my card is not G200 "sooner it'll become" but to be honest I'm not seeing big improvement over 178.24.. not zero improvement but not big.
  8. Live OR Die

    Live OR Die

    Joined:
    May 19, 2007
    Messages:
    3,895 (1.47/day)
    Thanks Received:
    383
    i maxed this game ezy, wish crysis was more like this game

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page