Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > Technical threads

Technical threads All discussions about technical issues

Reply
 
Thread Tools Display Modes
  #61  
Old 01-26-2012, 09:46 PM
Codex Codex is offline
Approved Member
 
Join Date: Nov 2007
Location: Hoppers Crossing, Vic, Australia
Posts: 624
Default

Quote:
Originally Posted by icarus View Post
Except I have not ever seen any games use over 2 gb vram even at 2650 x 1600 res with AA at 16x super and I have seen Cod use well over 2 Gb with no AA or AF. That seems exceptional to me.
There are a few reasons why I think this may the case. Mind you I'm only speculating here:

1) I believe the code base of CoD lives in the managed world, i.e. .NET and it makes unmanaged function calls to the DX API to render the graphics. This style of programming model is inherently a more memory intensive operation and slower (only slightly) as there's lots of storing of memory heaps and stacks and buffers going on. But it means more manageable code, no need to worry about memory leaks as much as unmanaged code and easier to update / modify.

2) We're dealing with a flight simulation that needs to create a land mass which is not only accurate but vast as seen from the sky, this means more memory is needed than the average game to store the environment. On top of all that, you have textures and buffers (pixel, vertex, shaders etc.), and 3D models with a higher than average poly count.

3) Optimization. I don't think CoD is properly optimized, hence why it's going through a complete rewrite at the moment.

Last edited by Codex; 01-26-2012 at 09:49 PM.
Reply With Quote
  #62  
Old 01-26-2012, 10:30 PM
Liz Lemon's Avatar
Liz Lemon Liz Lemon is offline
Approved Member
 
Join Date: Apr 2011
Posts: 111
Default

Quote:
Originally Posted by icarus View Post
Except I have not ever seen any games use over 2 gb vram even at 2650 x 1600 res with AA at 16x super and I have seen Cod use well over 2 Gb with no AA or AF. That seems exceptional to me.
So what? That doesn't change the fact that there are games that use over 2gb of vram - and cod is one of those titles.

Also keep in mind that the game is using a deferred rendering pipeline. That means that the game is rendering to multiple buffers - all of which take up space that is directly tied to resolution.
Reply With Quote
  #63  
Old 01-26-2012, 10:34 PM
icarus icarus is offline
Approved Member
 
Join Date: Aug 2011
Posts: 323
Default

Quote:
Originally Posted by Codex View Post
There are a few reasons why I think this may the case. Mind you I'm only speculating here:

1) I believe the code base of CoD lives in the managed world, i.e. .NET and it makes unmanaged function calls to the DX API to render the graphics. This style of programming model is inherently a more memory intensive operation and slower (only slightly) as there's lots of storing of memory heaps and stacks and buffers going on. But it means more manageable code, no need to worry about memory leaks as much as unmanaged code and easier to update / modify.

2) We're dealing with a flight simulation that needs to create a land mass which is not only accurate but vast as seen from the sky, this means more memory is needed than the average game to store the environment. On top of all that, you have textures and buffers (pixel, vertex, shaders etc.), and 3D models with a higher than average poly count.

3) Optimization. I don't think CoD is properly optimized, hence why it's going through a complete rewrite at the moment.
Agreed, which makes it more memory intensive than other games or even other sims. I've seen it in Evga Precision peak at 2.5 Gb vram! That is exceptionally high and most likely a result of #3 not so much #2.
Reply With Quote
  #64  
Old 01-26-2012, 10:38 PM
icarus icarus is offline
Approved Member
 
Join Date: Aug 2011
Posts: 323
Default

Quote:
Originally Posted by Liz Lemon View Post
So what? That doesn't change the fact that there are games that use over 2gb of vram - and cod is one of those titles.

Also keep in mind that the game is using a deferred rendering pipeline. That means that the game is rendering to multiple buffers - all of which take up space that is directly tied to resolution.
Name one that uses 2.5 gb vram with no AA or AF applied. Crysis2 and BF3 use 1-1.5 gB with 16x AA and 16x AF and there is no sim that uses 2.5 Gb with no AA and AF. CoD uses so much, not because it is so complex, it is because it is not optimized. That is why they are redoing the graphics engine.

BTW, I'm not being negative here, I'm being positive. When this is optimized there will be hope for those with less than 3 Gb ram.

Last edited by icarus; 01-26-2012 at 11:54 PM.
Reply With Quote
  #65  
Old 01-27-2012, 01:17 AM
SEE SEE is offline
Approved Member
 
Join Date: Oct 2009
Posts: 1,678
Default

The discussion regards Vsync and Triple Buffering interested me based on the frame rate integer jumps that Ataros mentioned.

I have always had Vsync enabled and triple Buffers set but decided to test a MP session with Vsync disabled and Triple buffers Off. Apart from the screen tearing, I was acheivineg 80+ fps at altitude and game play was much better even in the hotspots were FPS sink badly - it seemed much smoother even when fps went below 30.

I am torn wether to put up with the screen tearing (which isn't so bad that its unplayable with headtracking) or go back to Vsync capping at 60hz

EDIT: After writing this I did a bit of googling and found this interesting article regards Vsync/Triple Buffering and the advantages/disadvantages.


http://www.tweakguides.com/Graphics_9.html


This link explains how Triple Buffering works - why it isn't supported in DirectX3D, etc.

http://www.anandtech.com/show/2794/1
__________________
MP ATAG_EvangelusE

AMD A8 5600K Quad Core 3.6 Ghz - Win 7 64 - 8Gb Ram - GTX660ti 2Gb VRAM - FreeTrack - X52 - Asus 23' Monitor.

Last edited by SEE; 01-27-2012 at 03:24 AM.
Reply With Quote
  #66  
Old 01-27-2012, 01:40 AM
Codex Codex is offline
Approved Member
 
Join Date: Nov 2007
Location: Hoppers Crossing, Vic, Australia
Posts: 624
Default

I agree with that tweak guide. It's comes down to personal preference. We've all got different hardware and its a matter of trying different settings.
Reply With Quote
  #67  
Old 01-27-2012, 05:33 AM
Chivas Chivas is offline
Approved Member
 
Join Date: Oct 2007
Posts: 1,769
Default

I have less than 3 gigs of vram and have never had a CTD, or Launcher exe problem, or frame rate issue. It tells me the code isn't all bad, but an optimization/rewrite of the code it still urgently required. Hopefully the next patch will fix most of the performance issues, and the developers can put more resources in fixing the game play issues.
__________________
Intel core I7 950 @ 3.8
Asus PT6 Motherboard
6 gigs OCZ DDR3 1600
Asus GTX580 Direct CU II
60gigSSD with only Windows7 64bit, Hotas Peripherals, and COD running on it
500gig HD Dual Boot
Samsung 32"LG 120hz
MSFF2 Joystick
Cougar Throttle
Saitek Pro Rudder pedals
Voice Activation Controls
Track IR 5 ProClip
Reply With Quote
  #68  
Old 01-27-2012, 09:57 AM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Quote:
Originally Posted by KG26_Alpha View Post
Interesting stuff Ataros.

It seems since Vista Win 7 triple buffering has had some changes.


"Q
Can anyone let me know whether the triple buffering and vsync in the Nvidia Control Panel work for DirectX games?


A
The 'triple buffering' option does affect rendering behavior within the modern DirectX APIs.
The 'vertical synchronization' control is less cooperative: in Windows XP, it applies to both OpenGL and DirectX 9 APIs; in Windows Vista and Windows 7,
it only affects the OpenGL APIs.
"

http://forums.nvidia.com/index.php?showtopic=173860
I think he must know what he is talking about

However there are many different opinions and discussions on other forums like guru3D, etc. Some say only OGL lines of code are present inside the drivers.

Another opinion is that an application itself must have triple buffering enabled and some applications enable it by default when a user switches vsynk on inside the app (but not in drivers). Some apps like Left for Dead and BF3 have tripple buffering as a separate checkbox in settings.

We do not know how CloD is programmed and need to benchmark it with various settings to find out. IIRC when I switched vsync ON in drivers I had some issues. Maybe ingame CloD vsync uses TB.

ATI Catalyst still lists triple buffering inside OGL section only. I run vsynk off to be on a safe side. Having TrackIR smoothing set to max helps me to avoid tearing. It still happens but on very rare occasions. Reducing settings also helps with it.

For NV users to be on a safe side I would install D3D Overrider to force triple bufering ON and test it. It is free
Download and install recent RivaTuner, find the D3D Overrider executable inside the install folder and copy it somewhere. you can now uninstall RivaTuner. D3D Overrider does not require RivaTuner to run.

Last edited by Ataros; 01-27-2012 at 10:11 AM.
Reply With Quote
  #69  
Old 01-27-2012, 04:15 PM
icarus icarus is offline
Approved Member
 
Join Date: Aug 2011
Posts: 323
Default

Quote:
Originally Posted by Chivas View Post
I have less than 3 gigs of vram and have never had a CTD, or Launcher exe problem, or frame rate issue. It tells me the code isn't all bad, but an optimization/rewrite of the code it still urgently required. Hopefully the next patch will fix most of the performance issues, and the developers can put more resources in fixing the game play issues.
You are lucky or you have a lot turned down. I have nearly the same rig as you with more ram and 2x gtx 580 3 gb and it stutters and looks bad with no AA or AF even with decent fps. CoD uses way more video ram than you have so you must have it turned way down or fly over water all the time. It uses upwards of 2.5 gb vram and I have a few things turned down and that is with no AA or AF remember. Turn those on and it would be a slide show for everyone, that's for sure. That is proof of a need for optimization. I look forward to the next patch and stutter free flying.


I also have had a couple of CTD's and the launcher doesn't respond sometimes when you change settings and it reboots the game. BTW, why does the game have to restart whenever you change video settings?

EDIT: "On the other hand, locating a memory leak can take many long months of dedicated work by some extremely qualified programmers." -Luthier today. There well may be memory leaks which I had suspected.

Last edited by icarus; 01-27-2012 at 05:28 PM.
Reply With Quote
  #70  
Old 01-27-2012, 06:26 PM
SEE SEE is offline
Approved Member
 
Join Date: Oct 2009
Posts: 1,678
Default

Quote:
Originally Posted by Ataros View Post

For NV users to be on a safe side I would install D3D Overrider to force triple bufering ON and test it. It is free
Download and install recent RivaTuner, find the D3D Overrider executable inside the install folder and copy it somewhere. you can now uninstall RivaTuner. D3D Overrider does not require RivaTuner to run.
Thanks Ataros. Using the QM 'Intercept Bombers - London' by starting with the comabat scenario and then flying low alt over Tower Bridge/Parliament I tried the following:-

1. Vysinc Disabled. (Pre render frames=1 NVidia CP)

2. Vysinc enabled. (Pre render frames=1 NVidia CP)

3. Vsync Enabled + (Triple Buffering - Pre Render Frames =3 Nvidea CP)

4. Vsync Enabled + (Triple Buffering Forced D3D Overrider).


I expected to see differences in performance but didn't except for Screen Tearining in 1 above. In fact, just having Vsync enabled in 2 above seemed just as good as 3, 4, and 1 but without the screen tearing....
__________________
MP ATAG_EvangelusE

AMD A8 5600K Quad Core 3.6 Ghz - Win 7 64 - 8Gb Ram - GTX660ti 2Gb VRAM - FreeTrack - X52 - Asus 23' Monitor.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:03 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.