Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: New here and having extreme performance issues with BAT  (Read 5124 times)

0 Members and 1 Guest are viewing this topic.

TheSonoftheMorning

  • member
  • Offline Offline
  • Posts: 6
New here and having extreme performance issues with BAT
« on: January 16, 2017, 04:19:00 AM »

I actually just purchased IL-2 1946 recently and after some research I was convinced I wanted to try CUP. Went through the install process and everything seemed to work fine until I loaded up an actual mission, at which point my FPS practically vanished. Tried running a couple of tracks from the main menu to see if maybe I was just having problems with the mission (specifically I ran 'Kamikaze' track and '109s vs p39s' or some such.) Again I experienced extreme low FPS in both tracks. At this point I tried to turn the graphics all the way down and also tried different RAM settings in the IL-2 Selector, which really only added 2-3 average fps so I began some good old forum archaeology in search of an answer. After making a few more graphics tweaks I found around the site that reportedly helped some people, I was still having the same issue. I knew what it was time to do. I booted up the logfile and went searching. As I suspected I found quite a few java errors and in the end I resolved to try the install again, thinking I had maybe missed a section.

As I was preparing for the install process again, lo and behold CUP had become BAT, and it looked great. After finishing the new and improved install on a clean version of IL-2 4.12.2m earlier today, I was ready to see if my problem persisted. Sadly still experiencing the same problems, Im turning here in hopes of a remedy.

My Specs:
Asus ROG 750jw running Win10
GPU:GTX765m
CPU:i7-4700HQ @2.40GHz
8GB RAM

My Logfile: (I'll be honest, Im not completely certain what red flags I need to be looking for here but using my best judgment to give you the sections of critical information)

AutoMounting SFS files from folder BAT00 finished.
INTERNAL ERROR: Str2FloatClamp() - Clamped 3 -> 2 (delta = -1) to Range 0..2
INTERNAL ERROR: Str2FloatClamp() - Clamped 5 -> 2 (delta = -3) to Range 0..2
INTERNAL ERROR: Str2FloatClamp() - Clamped 3 -> 2 (delta = -1) to Range 0..2
INTERNAL ERROR: Str2FloatClamp() - Clamped 75 -> 32 (delta = -43) to Range 0..32
INTERNAL ERROR: Str2FloatClamp() - Clamped 120 -> 60 (delta = -60) to Range 0..60
INTERNAL ERROR: Str2FloatClamp() - Clamped 600 -> 32 (delta = -568) to Range 0..32
INTERNAL ERROR: Str2FloatClamp() - Clamped 1024 -> 512 (delta = -512) to Range 1..512
INTERNAL ERROR: Can't open file '3DO/Effects/GunShells/GunsmokeI.tga'
WARNING: object '3DO/Effects/GunShells/GunsmokeI.tga' of class 'TTexture2D' not loaded
INTERNAL ERROR: Texture required
WARNING: object '3DO/Effects/GunShells/Cannonsmoke.mat' of class 'TMaterial' not loaded
FM called 'FlightModels/F2G.fmd:URA' is being loaded from File: 'ura'

First thing that sticks out is the above section. Fairly close to the top of the logfile if that's important.

Ship: Value of [IJNMusashi_1942]:<Mesh> not foundCan't set property
java.lang.RuntimeException: Can't set property
   at com.maddox.il2.objects.ships.BigshipGeneric$SPAWN.getS(BigshipGeneric.java:223)
   at com.maddox.il2.objects.ships.BigshipGeneric$SPAWN.LoadShipProperties(BigshipGeneric.java:419)
   at com.maddox.il2.objects.ships.BigshipGeneric$SPAWN.<init>(BigshipGeneric.java:771)
   at com.maddox.il2.objects.ships.ShipJFC1.<clinit>(ShipJFC1.java:22)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Unknown Source)
   at com.maddox.rts.Spawn.get_WithSoftClass(Spawn.java:84)
   at com.maddox.rts.Spawn.get_WithSoftClass(Spawn.java:57)
   at com.maddox.il2.game.Main.preloadChiefClasses(Main.java:243)
   at com.maddox.il2.game.Main3D.beginApp(Main3D.java:1648)
   at com.maddox.il2.game.Main3D.beginApp(Main3D.java:1579)
   at com.maddox.il2.game.MainWin3D.beginApp(MainWin3D.java:212)
   at com.maddox.il2.game.Main.exec(Main.java:432)
   at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)
Problem in spawn: com.maddox.il2.objects.ships.ShipJFC1$IJNMusashi_1942

Next thing I notice is SEVERAL seemingly repeating sections of the above section and others of a similar nature.

FM called 'FlightModels/Fi-156B-2.fmd' is being loaded from Alternative File: 'gui/game/buttons'
FM called 'FlightModels/Fi-156B-2.fmd' is being loaded from Alternative File: 'gui/game/buttons'

The above snippet may not be an error or problem and there's a long section of similar lines following it. Wasn't sure so I included it here to be safe.

Now into the log section when I ran the Kamikaze track:

WARNING: TRenderManager::TriangleList_ProjectiveShadow()- internal buffer overflow.
Too many vertexes or faces per shadow hier mesh!

The only seemingly abnormal thing I can see in the log during the track is a metric truck-load of repetitions of the above line.

Sorry for the huge post, thank you so much in advance just for your time in trying to help me pin down the issue whether it be hardware or something else. Please if there's anything else I can provide that may be of help just let me know.

TheSonoftheMorning
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23996
  • Taking a timeout
    • STFU
Re: New here and having extreme performance issues with BAT
« Reply #1 on: January 16, 2017, 04:41:19 AM »

Before we dig deeper into the issue, could you please show us the beginning of your logfile, especially the whole part where your GPU properties are listed?
Your issue sounds like the game is running on your CPU's integrated Intel HD graphics, not the dedicated NVidia one.

Best regards - Mike
Logged
Don't split your mentality without thinking twice.

TheSonoftheMorning

  • member
  • Offline Offline
  • Posts: 6
Re: New here and having extreme performance issues with BAT
« Reply #2 on: January 16, 2017, 05:19:01 AM »

Here is the beginning of the log.

[Jan 16, 2017 10:12:46 AM] ------------ BEGIN log session -------------
OpenGL provider: Opengl32.dll
OpenGL library:
  Vendor: NVIDIA Corporation
  Render: GeForce GTX 765M/PCIe/SSE2
  Version: 4.5.0 NVIDIA 376.19
  Extensions: GL_AMD_multi_draw_indirect GL_AMD_seamless_cubemap_per_texture GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_bindless_texture GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_compute_shader (The section of text in this "extensions" category is quite the wall of text, if you need more from here I apologize and I'll give you that as well. Just didnt want to include a huge textwall that was ultimately unhelpful to youl
Size: 1920x1080
ColorBits: 32
DepthBits: 24
StencilBits: 8
isDoubleBuffered: true

*** Looking for Advanced CPU Instructions...
  • PentiumPro
  • Multimedia (MMX)
  • 3D (SSE)
  • 3D (SSE2)
  • [-] 3D (3DNow)
    ColourBits 32, ABits 0, ZBits 24
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23996
  • Taking a timeout
    • STFU
Re: New here and having extreme performance issues with BAT
« Reply #3 on: January 16, 2017, 05:41:11 AM »

That's fine, your GPU is configured correctly.
The underlying issue currently is that the game cannot draw the shadow of an object when it comes in sight.
This could either be your plane or the object you're doing your Kamikaze attack on.

Most probably this is because your game isn't running in "perfect" mode.
Please check and make sure that your conf.ini's "[Render_OpenGL]" section has the "perfect" mode values set as listed here (last block is the full section, you can use it for a simple copy&paste job):
https://www.sas1946.com/main/index.php/topic,9756.msg185327.html#msg185327

If the problem still persists, please show us your complete conf.ini file contents and please specify precisely how to reproduce the issue, e.g. which game module, which JSGME options are activated, which DLL set you're using, which mission you're running, which plane, what exactly are you doing to get to that very point where the game starts to show low FPS.

Best regards - Mike
Logged
Don't split your mentality without thinking twice.

TheSonoftheMorning

  • member
  • Offline Offline
  • Posts: 6
Re: New here and having extreme performance issues with BAT
« Reply #4 on: January 16, 2017, 06:48:47 AM »

Okay, using the render settings you provided in the config file does seem to have made a difference, however overall the problem continues to exist. There are some brief moments for a couple of seconds where the frame-rate is okay now, but for the most part it's still like a slideshow :|

The Module selected in the IL-2 Selector is BAT WAW
No JSGME options enabled
using DLL 01

Process is as follows:

Launch game, select "Play Track", select "Kamikaze02.ntrk"

as for the log file I'm not sure how to include the entire thing because of the maximum character count.. :\ I thought it would work if I inserted it as code but I guess not. Thank you for you patience so far
Logged

TheSonoftheMorning

  • member
  • Offline Offline
  • Posts: 6
Re: New here and having extreme performance issues with BAT
« Reply #5 on: January 16, 2017, 06:53:25 AM »

I apologize, I read "show the entire Confi.ini file" as "show the entire log". My mistake.

Confi.ini is as follows:

Code: [Select]
[il2]
title=Il2-Sturmovik 1946
hotkeys=HotKey game

[window]
width=1920
height=1080
ColourBits=32
DepthBits=24
StencilBits=8
ChangeScreenRes=1
FullScreen=1
DrawIfNotFocused=0
EnableResize=0
EnableClose=1
SaveAspect=0
Use3Renders=0
WideScreenFoV=1
UIColor=0
UIDetail=0
UIBackground=rnd

[GLPROVIDER]
GL=Opengl32.dll

[GLPROVIDERS]
Open GL=Opengl32.dll
DirectX=dx8wrap.dll

[NET]
speed=25000
routeChannels=0
serverChannels=31
localPort=21000
remotePort=21000
SkinDownload=1
serverName=No Name
serverDescription=
remoteHost=
localHost=
socksHost=
checkServerTimeSpeed=1
checkClientTimeSpeed=0
disableNetStatStatistics=0
showPilotNumber=1
showPilotPing=1
showPilotName=1
showPilotScore=1
showTeamScore=0
cumulativeTeamScore=0
showPilotArmy=1
showPilotACDesignation=1
showPilotACType=1
filterUserNames=0
reflyKIADelay=0
maxAllowedKIA=-1
reflyKIADelayMultiplier=0.0
reflyDisabled=0
allowMorseAsText=1
allowCustomSounds=1

[MaxLag]
farMaxLagTime=10.0
nearMaxLagTime=2.0
cheaterWarningDelay=5.0
cheaterWarningNum=-1

[chat]
region=(dx=0.6925,dy=0.071666665,x=0.0,y=0.0)

[game]
Arcade=0
HighGore=0
mapPadX=0.6689453
mapPadY=-0.046875
viewSet=33
Intro=1
NoSubTitles=0
NoChatter=0
NoHudLog=0
NoLensFlare=0
iconTypes=3
eventlog=eventlog.lst
eventlogkeep=0
3dgunners=1
ScreenshotType=1
RecordingIndicator=0
MapAlpha=0.99
SaveTrk=1
SkipParatrooperViews=0
NoMissionInfoHud=0
noKillInfoHud=0
BlockMorseChat=0
SmallMapWPLabels=1
ShowMorseAsText=0
IconUnits=0


[HotKey game]
PrintScreen=ScreenShot
P=pause
Pause=pause

[HotKey gui]
Escape=activate

[HookViewFly Config]
timeFirstStep=2.0
deltaZ=10.0

[HookView]
MouseLeft=Len

[HookView Config]
AzimutSpeed=0.1
TangageSpeed=0.1
LenSpeed=1.0
MinLen=1.0
DefaultLen=20.0
MaxLen=3000.0
Speed=6
LeanF=0.2
LeanS=0.2
Raise=0.089999996
RubberBand=0.04

[HotKey builder]
MouseLeft=objectMove
MouseRight=popupmenu
Enter=freeView
Shift MouseLeft=worldZoom
Alt MouseLeft=select+
Alt MouseRight=select-
Alt Ctrl=unselect
PageDown=change+
PageUp=change-
End=change++
Home=change--
Ctrl MouseLeft=insert+
Insert=insert+
NumPad-0=insert+
F=fill
Ctrl MouseRight=delete+
NumPad.=delete+
Delete=delete+
Backspace=cursor
Tab=cursor
F10=land
F11=onLand
NumPad-=normalLand
NumPad+=toLand
NumPad-5=resetAngles
NumPad-8=resetTangage90
NumPad-7=stepAzimut-5
NumPad-4=stepAzimut-15
NumPad-1=stepAzimut-30
NumPad-9=stepAzimut5
NumPad-6=stepAzimut15
NumPad-3=stepAzimut30

[MouseXYZ]
F1=SpeedSlow
F2=SpeedNormal
F3=SpeedFast
MouseRight=XYmove
F4 MouseRight=Zmove
MouseMiddle=Amove
F5 MouseRight=Amove
F6 MouseRight=Tmove
F7 MouseRight=Kmove

[MouseXYZ Config]
RealTime=1

[HotKey Console]
Shift Tab=Activate
[Console]
HISTORY=1024
HISTORYCMD=1024
LOAD=console.cmd
SAVE=console.cmd
LOG=1
LOGTIME=0
LOGFILE=logfile.txt
LOGKEEP=0
FOVlog=1

[sound]
SoundUse=1
SoundEngine=1
Speakers=0
Placement=0
SoundFlags.reversestereo=0
RadioFlags.Enabled=1
RadioEngine=2
MusicVolume=8
ObjectVolume=14
MusState.takeoff=1
MusState.inflight=1
MusState.crash=1
MusFlags.play=1
MasterVolume=14
Attenuation=7
SoundMode=1
SamplingRate=2
NumChannels=2
SoundExt.occlusions=0
SoundFlags.hardware=1
SoundFlags.streams=1
SoundFlags.duplex=1
SoundExt.acoustics=0
SoundExt.volumefx=0
SoundFlags.voicemgr=0
SoundFlags.static=1
VoiceVolume=12
Channels=2
SoundExt.extrender=0
SoundFlags.bugscorrect=0
SoundSetupId=8
ActivationLevel=0.02
Preemphasis=0.85
RadioLatency=0.5
AGC=1
PTTMode=1
SoundFlags.UseRadioChatter=0
SoundFlags.AutoActivation=0
RadioFlags.PTTMode=0
RadioFlags.PlayClicks=0
ActLevel=0
MicLevel=0
SoundFlags.forceEAX1=0

[rts]
;ProcessAffinityMask=1
mouseUse=2
joyUse=1
trackIRUse=1
DisableIME=0
locale=
UseSmartAxis=0
JoyProfile=0

[rts_mouse]
SensitivityX=1.0
SensitivityY=1.0
Invert=0
SensitivityZ=1.0

[rts_joystick]
X=0 1 4 9 16 25 36 49 64 81 100 0
Y=0 1 4 9 16 25 36 49 64 81 100 0
Z=0 10 20 30 40 50 60 70 80 90 100
RZ=0 10 20 30 40 50 60 70 80 90 100 0
FF=0
U=0 10 20 30 40 50 60 70 80 90 100 0
V=0 10 20 30 40 50 60 70 80 90 100 0

[Render_DirectX]
TexQual=3
TexMipFilter=3
TexCompress=0
TexFlags.UseDither=1
TexFlags.UseAlpha=0
TexFlags.UseIndex=0
TexFlags.PolygonStipple=0
TexFlags.UseClampedSprites=0
TexFlags.DrawLandByTriangles=1
TexFlags.UseVertexArrays=1
TexFlags.DisableAPIExtensions=0
TexFlags.ARBMultitextureExt=1
TexFlags.TexEnvCombineExt=1
TexFlags.SecondaryColorExt=1
TexFlags.VertexArrayExt=1
TexFlags.ClipHintExt=0
TexFlags.UsePaletteExt=0
TexFlags.TexAnisotropicExt=0
TexFlags.TexCompressARBExt=1

TexFlags.TexEnvCombine4NV=0
TexFlags.TexEnvCombineDot3=0
TexFlags.DepthClampNV=0
TexFlags.SeparateSpecular=0
TexFlags.TextureShaderNV=0

HardwareShaders=0

Shadows=2
Specular=2
SpecularLight=2
DiffuseLight=2
DynamicalLights=1
MeshDetail=2
VisibilityDistance=3

Sky=2
Forest=3
LandShading=3
LandDetails=2

LandGeom=2
TexLarge=1
TexLandQual=3
TexLandLarge=1

VideoSetupId=15
ForceShaders1x=0
PolygonOffsetFactor=-0.15
PolygonOffsetUnits=-3.0

[Render_OpenGL]
TexQual=3
TexMipFilter=3
TexCompress=0
TexFlags.UseDither=0
TexFlags.UseAlpha=0
TexFlags.UseIndex=0
TexFlags.PolygonStipple=1
TexFlags.UseClampedSprites=0
TexFlags.DrawLandByTriangles=0
TexFlags.UseVertexArrays=1
TexFlags.DisableAPIExtensions=0
TexFlags.ARBMultitextureExt=1
TexFlags.TexEnvCombineExt=1
TexFlags.SecondaryColorExt=1
TexFlags.VertexArrayExt=1
TexFlags.ClipHintExt=1
TexFlags.UsePaletteExt=1
TexFlags.TexAnisotropicExt=1
TexFlags.TexCompressARBExt=0

TexFlags.TexEnvCombine4NV=1
TexFlags.TexEnvCombineDot3=1
TexFlags.DepthClampNV=1
TexFlags.SeparateSpecular=1
TexFlags.TextureShaderNV=1

HardwareShaders=1

Shadows=2
Specular=2
SpecularLight=2
DiffuseLight=2
DynamicalLights=1
MeshDetail=2
VisibilityDistance=3

Sky=2
Forest=3
LandShading=3
LandDetails=2

LandGeom=3
TexLarge=1
TexLandQual=3
TexLandLarge=1

VideoSetupId=17
Water=4
Effects=2
ForceShaders1x=0
PolygonOffsetFactor=-0.0625
PolygonOffsetUnits=-1.0

[DGen]
HistoricalRanks=1
CampaignLength=Medium
[Mods]
RandomSplash=1
netCallsign=

Also I wanted to note that I am currently running base install of BAT with none of the expansions and have also tried all the different setting for max RAM in the IL-2 selector
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23996
  • Taking a timeout
    • STFU
Re: New here and having extreme performance issues with BAT
« Reply #6 on: January 16, 2017, 07:56:00 AM »

One question:
Do you still have the warnings
Code: [Select]
WARNING: TRenderManager::TriangleList_ProjectiveShadow()- internal buffer overflow.
Too many vertexes or faces per shadow hier mesh!
in your logfile? Because I don't have them, but on the other hand I'm running BAT with latest Expansion Pack 5 Part 2.

Basically you've picked a very heavy track for testing.
It's not a BAT fault that the FPS is so low.
I've performed a comparative test on my development PC (a rather weak one, i7-920@2.6 GHz, Nvidia GT 740, 12GB RAM).
Comparing BAT (blue) to Modact 5 (orange) you will see that BAT even performs a little better overall, partly much better than Modact 5.
The general issues are the same, the track has too many objects and effects at the same time.
See the FPS comparison graph here.
The fact that both graphs start at the same point but the blue (BAT) is wider means that BAT rendered more frames, Modact skipped some more.
Click for full size.


Best regards - Mike
Logged
Don't split your mentality without thinking twice.

TheSonoftheMorning

  • member
  • Offline Offline
  • Posts: 6
Re: New here and having extreme performance issues with BAT
« Reply #7 on: January 16, 2017, 08:04:42 AM »

I no longer get those errors in the log. I'll do some testing with some other tracks and such and hopefully I'll see some more frames. If I end up still having some low frames and/or stuttering is there any settings I can change in the Render section of the Confi.ini that may give me a few more frames without reverting back to the previous issues I was having?
Logged

Chupacabras84

  • member
  • Offline Offline
  • Posts: 230
Re: New here and having extreme performance issues with BAT
« Reply #8 on: January 16, 2017, 08:07:19 AM »

Few things you might try.

Set:
Water=0 (Water in WaW set on 0 is kinda ugly so you might try and get back default water for that one)
Effects=1 (You dont need smoke reflection on water)
LandShading=2 (it will keep shadows on most object but will remove shadows on small trees like palms on Hawai, nice boost when looking at 3D trees)

There is also issue with WaW on some not so strong PC's due to number of objects, few people me included experienced it but for most people WaW runs ok for now.
Logged

TheSonoftheMorning

  • member
  • Offline Offline
  • Posts: 6
Re: New here and having extreme performance issues with BAT
« Reply #9 on: January 16, 2017, 08:12:08 AM »

Okay thanks Chupacabra, I'll try messing around with those. and thank you Mike for your help and patience, I very much appreciate it. Hopefully soon I'll be able to get a better PC and wont have to worry about this kinda stuff anyways ;)
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23996
  • Taking a timeout
    • STFU
Re: New here and having extreme performance issues with BAT
« Reply #10 on: January 16, 2017, 08:15:22 AM »

Effects=1 is definitely worth giving a try and it's already mentioned in big red letters in the post I've linked before.
I need to stress though that in my FPS test "Effects=1" is already set.

Water=0 and LandShading=2 frankly is bollocks for a GPU of the 760 class.

Best regards - Mike
Logged
Don't split your mentality without thinking twice.

vpmedia

  • Modder
  • member
  • Offline Offline
  • Posts: 6652
  • www.vpmedia.hu/il2
    • VPMEDIA SKINS
Re: New here and having extreme performance issues with BAT
« Reply #11 on: January 16, 2017, 10:31:30 AM »

Try these settings:

Quote
[Render_OpenGL]
TexQual=3
TexMipFilter=3
TexCompress=2
TexFlags.UseDither=0
TexFlags.UseAlpha=0
TexFlags.UseIndex=0
TexFlags.PolygonStipple=1
TexFlags.UseClampedSprites=1
TexFlags.DrawLandByTriangles=0
TexFlags.UseVertexArrays=1
TexFlags.DisableAPIExtensions=0
TexFlags.ARBMultitextureExt=1
TexFlags.TexEnvCombineExt=1
TexFlags.SecondaryColorExt=1
TexFlags.VertexArrayExt=1
TexFlags.ClipHintExt=0
TexFlags.UsePaletteExt=0

TexFlags.TexAnisotropicExt=1
TexFlags.TexCompressARBExt=1

TexFlags.TexEnvCombine4NV=1
TexFlags.TexEnvCombineDot3=1
TexFlags.DepthClampNV=1
TexFlags.SeparateSpecular=1
TexFlags.TextureShaderNV=1

HardwareShaders=1

Shadows=2
Specular=2
SpecularLight=2
DiffuseLight=2
DynamicalLights=1
MeshDetail=2
VisibilityDistance=3

Sky=2
Forest=3
LandShading=3
LandDetails=2

LandGeom=2
TexLarge=1
TexLandQual=3
TexLandLarge=1

VideoSetupId=17
Water=3
Effects=1

ForceShaders1x=0
PolygonOffsetFactor=-0.0625
PolygonOffsetUnits=-1.0
Pages: [1] 2   Go Up
 

Page created in 0.045 seconds with 25 queries.