Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95a is out! (03/26/21); Blog post: Skill Changes, Part 2 (07/15/21)

Pages: 1 2 3 [4] 5 6 7

Author Topic: Mod Troubleshooting Guide (Read BEFORE posting!)  (Read 86208 times)

Histidine

  • Admiral
  • *****
  • Posts: 3352
    • View Profile
    • Bitbucket profile
    • Email
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #45 on: June 19, 2020, 06:06:04 PM »

Hi, so iam having an unknown issue with what i presume to be a mod that crashes my game after a couple of saves or after i leave the game running for a while. its probably not my memory either as i allocated 8gb to the game and these crashes happen regardless. here is what i have found that might be the cause of the issue. any help would be much appreciated.

https://pastebin.com/wGDhccyf
May be an issue with a mod doing something strange. See crossposted bug report and Alex's reply here
Logged

Rei Akiba

  • Ensign
  • *
  • Posts: 16
    • View Profile
    • Email
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #46 on: July 14, 2020, 08:14:50 AM »

i need help... This problem happened after i defeated the luddic church that invaded my colony, but they still have some ship survived, so I "join the battle" Or join the pursuit" But it crashed as soon as I clicked it

8099067 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.combat.CombatFleetManager$O0.getLocation(Unknown Source)
   at com.fs.starfarer.combat.CombatFleetManager.advanceSeenEnemies(Unknown Source)
   at com.fs.starfarer.combat.CombatFleetManager.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
« Last Edit: July 14, 2020, 11:01:20 AM by Rei Akiba »
Logged

Histidine

  • Admiral
  • *****
  • Posts: 3352
    • View Profile
    • Bitbucket profile
    • Email
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #47 on: July 15, 2020, 11:52:53 PM »

That's a rare bug you can't fix, but it's fixed in next Starsector version.
Logged

MagicKarpson

  • Ensign
  • *
  • Posts: 15
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #48 on: August 06, 2020, 09:34:11 PM »

I noticed that hullmods from BRDY and More hull mods are missing from the game, even after finding blueprints for them. Here are my mods.

1. Adjusted Sector
2. Anvil Industries
3. Arsenal Expansion
4. Automatic Orders
5. Better Colonies
6. Blackrock Drive Yards
7. CWSP
8. Combat Analytics
9. Combat Chatter
10. Commissioned Crews
11. Common Radar
12. Console Commands
13. Diable Avionics
14. Disassemble reassemble
15. Extratential Lanestate Union
16. Hyperddrive
17. Kadur Remnant
18. Lazylib
19. Magiclib
20. Mayasuran Navy
21. Missing Ships
22. More Hullmods
23. Nexerelin
24. Oculian Armada
25. Ruthless Sector
26. Second Wave Options
27. Shadowyards
28. Ship/Weapon Pack
29. Skilled Up
30. Speed Up
31. Starship Legends
32. Sylphon RnD
33. Terraforming + Station Construction
34. Unknown Skies
35. Vayra's Sector
36. Vayra's Ship Pack
37. ZZ Graphics Lib
 
Logged

flarg

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #49 on: August 09, 2020, 09:09:06 AM »

16920 [Thread-4] ERROR com.fs.starfarer.loading.SpecStore  - Ship system [diableavionics_draftarmor] not found in ship_systems.csv
17006 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: Fatal: ship_systems.csv is missing systems
java.lang.RuntimeException: Fatal: ship_systems.csv is missing systems
   at com.fs.starfarer.loading.SpecStore.this.super(Unknown Source)
   at com.fs.starfarer.loading.SpecStore.ÒO0000(Unknown Source)
   at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


Unable to open SS now with the new diableavionics update
Logged

Histidine

  • Admiral
  • *****
  • Posts: 3352
    • View Profile
    • Bitbucket profile
    • Email
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #50 on: August 09, 2020, 05:02:01 PM »

@MagicKarpson: Check your filters at the bottom of the hullmod screen, the relevant factions/categories may not have been checked after learning.

@flarg: Do a clean install of Diable Avionics (delete old folder before copying new one). (Always update mods in this way)

Logged

FangABXY

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #51 on: August 15, 2020, 02:21:31 PM »

Got an error that doesn't seem to match the common ones that have been listed above. Gameplay has been mostly normal, slightly slower than vanilla but not problematic. It worked fine yesterday but when I loaded it up today, the main menu load worked, but loading my save file failed and returned an error message (cause exception?). The normal thing I did was begin the vayra's ship pack bounty subquests, working through about three bounties and salvaging several of the specially modified ships.

I have (all enabled)
Diable Avionics 2.53 rc1
Fluff Ship Pack 0.1.11 playtest release
Foundation of Borken 0.2.4-RC3
Galaxy Tigers Faction 1.4.4
LazyLib 2.4f
MagicLib 0.29
Nexerelin 0.96g
Ship/weapon pack 1.11.0
Terraforming and Station Construction 5.4.1
Tiandong Heavy Industries 1.2.1a
Vayra's Sector 3.1.5
Vayra's Ship Pack 1.1.4
Vesperon Combine 1.2.0
zz GraphicsLib 1.4.2

Here's the log portion where everything starts going wrong;

85143 [Thread-11] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.90477294
85155 [Thread-4] WARN  exerelin.utilities.ExerelinConfig  - Faction config sector not found, using default
85156 [Thread-4] WARN  exerelin.utilities.ExerelinConfig  - Faction config everything not found, using default
85156 [Thread-4] WARN  exerelin.utilities.ExerelinConfig  - Faction config domain not found, using default
85156 [Thread-4] WARN  exerelin.utilities.ExerelinConfig  - Faction config galaxytigers_memes not found, using default
85156 [Thread-4] WARN  exerelin.utilities.ExerelinConfig  - Faction config galaxytigers_drone_guard not found, using default
85156 [Thread-4] WARN  exerelin.utilities.ExerelinConfig  - Faction config vesperon not found, using default
85156 [Thread-4] WARN  exerelin.utilities.ExerelinConfig  - Faction config hvb_hostile not found, using default
85156 [Thread-4] WARN  exerelin.utilities.ExerelinConfig  - Faction config vayra_domain not found, using default
85157 [Thread-4] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Nexerelin (data/config/exerelin/diplomacyConfig.json)]
85160 [Thread-11] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.918904
85173 [Thread-4] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\Nexerelin (data/config/exerelin/allianceNames.json)]
85175 [Thread-11] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.923869
85180 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Error loading
85181 [Thread-4] ERROR com.fs.starfarer.campaign.save.CampaignGameManager  -
---- Debugging information ----
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :
class               : com.fs.starfarer.campaign.fleet.FleetMember
required-type       : com.fs.starfarer.campaign.fleet.FleetMember
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number         : 610025
class[1]            : java.util.WeakHashMap$Entry
class[2]            : [Ljava.util.WeakHashMap$Entry;
converter-type[1]   : com.thoughtworks.xstream.converters.collections.ArrayConverter
class[3]            : java.util.WeakHashMap
class[4]            : data.hullmods.FOB_BowlWorkShop$WorkShopData
class[5]            : java.util.HashMap
converter-type[2]   : com.thoughtworks.xstream.converters.collections.MapConverter
class[6]            : com.fs.starfarer.campaign.ModAndPluginData
class[7]            : com.fs.starfarer.campaign.CampaignEngine
converter-type[3]   : com.fs.starfarer.campaign.save.I
version             : not available
-------------------------------
com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :
class               : com.fs.starfarer.campaign.fleet.FleetMember
required-type       : com.fs.starfarer.campaign.fleet.FleetMember
converter-type      : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
line number         : 610025
class[1]            : java.util.WeakHashMap$Entry
class[2]            : [Ljava.util.WeakHashMap$Entry;
converter-type[1]   : com.thoughtworks.xstream.converters.collections.ArrayConverter
class[3]            : java.util.WeakHashMap
class[4]            : data.hullmods.FOB_BowlWorkShop$WorkShopData
class[5]            : java.util.HashMap
converter-type[2]   : com.thoughtworks.xstream.converters.collections.MapConverter
class[6]            : com.fs.starfarer.campaign.ModAndPluginData
class[7]            : com.fs.starfarer.campaign.CampaignEngine
converter-type[3]   : com.fs.starfarer.campaign.save.I
version             : not available
-------------------------------
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:503)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:429)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:281)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:73)
   at com.thoughtworks.xstream.converters.collections.ArrayConverter.unmarshal(ArrayConverter.java:55)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:503)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:429)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:281)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:503)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:429)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:281)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:73)
   at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryInt oMap(MapConverter.java:110)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:98)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:92)
   at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:87)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:503)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:429)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:281)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:503)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:429)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:281)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:70)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
   at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1486)
   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1466)
   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1346)
   at com.fs.starfarer.campaign.save.CampaignGameManager.super(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.dialogDismissed(Unknown Source)
   at com.fs.starfarer.ui.N.dismiss(Unknown Source)
   at com.fs.starfarer.ui.impl.K.dismiss(Unknown Source)
   at com.fs.starfarer.campaign.save.LoadGameDialog.actionPerformed(Unknown Source)
   at com.fs.starfarer.ui.newnew.buttonPressed(Unknown Source)
   at com.fs.starfarer.ui.I.Ò00000(Unknown Source)
   at com.fs.starfarer.ui.I.processInput(Unknown Source)
   at com.fs.starfarer.ui.O0Oo.o00000(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: com.thoughtworks.xstream.io.StreamException:
   at com.thoughtworks.xstream.io.xml.StaxReader.pullNextEvent(StaxReader.java:73)
   at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:148)
   at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:135)
   at com.thoughtworks.xstream.io.xml.AbstractPullReader.hasMoreChildren(AbstractPullReader.java:87)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:333)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:281)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   ... 67 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[610025,78]
Message: An invalid XML character (Unicode: 0x{2}) was found in the value of attribute "{1}" and element is "13".
   at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(Unknown Source)
   at com.thoughtworks.xstream.io.xml.StaxReader.pullNextEvent(StaxReader.java:58)
   ... 73 more
85183 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 11
85183 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 12
85183 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 13
85183 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 14
85192 [Thread-11] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading progress: 0.93494475
85192 [Thread-11] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Releasing context
85192 [Thread-11] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Released context
85192 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 15
85193 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 16
85193 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 17
85193 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 18
85193 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 19
85193 [Thread-4] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Loading stage 20


Logged

Histidine

  • Admiral
  • *****
  • Posts: 3352
    • View Profile
    • Bitbucket profile
    • Email
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #52 on: August 15, 2020, 06:10:05 PM »

See here and here for an explanation.
Thought: You might be able to find all variants in the mod with the bugged character, and search for those variant names in the save file (or search for the character directly, if it can be copied into the search field). Then delete the unwanted characters.
Logged

FangABXY

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #53 on: August 15, 2020, 11:07:40 PM »

See here and here for an explanation.
Thought: You might be able to find all variants in the mod with the bugged character, and search for those variant names in the save file (or search for the character directly, if it can be copied into the search field). Then delete the unwanted characters.

Thanks for the help. It took me a while to understand fully, but i deleted the undesirable characters and the save loads without fail. One of your links mentioned the Foundation of Borken mod's file location data/variants/FOB_gnophkeh_Standard.variant having a line:

 "displayName": "\u0013Standard",

and "cleaning it up" would prevent the problem from happening again in the future but exactly what did "cleaning it up" mean?
Logged

Rei Akiba

  • Ensign
  • *
  • Posts: 16
    • View Profile
    • Email
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #54 on: September 30, 2020, 09:27:54 AM »

just started the game to continue my last save and then immediatelly crashed....hel please?



634695 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.ui.A.new.super(Unknown Source)
   at com.fs.starfarer.ui.A.new.<init>(Unknown Source)
   at com.fs.starfarer.campaign.ui.String.<init>(Unknown Source)
   at com.fs.starfarer.ui.P.super(Unknown Source)
   at com.fs.starfarer.campaign.ui.oOOo.addIconFor(Unknown Source)
   at com.fs.starfarer.campaign.ui.oOOo.<init>(Unknown Source)
   at com.fs.starfarer.ui.impl.StandardTooltipV2$9.public.float(Unknown Source)
   at com.fs.starfarer.ui.impl.StandardTooltipV2$9.beforeShown(Unknown Source)
   at com.fs.starfarer.campaign.C.o00000(Unknown Source)
   at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
   at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Logged

Barantar

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #55 on: October 31, 2020, 09:04:48 AM »

Why am I getting 10 fps in 400 point battle (graphicslib test mission) with GTX 1080 8Gb with graphicslib and gpu is utilized only 7%? Turning off every option in grahhicslib config brings back solid 60fps and gpu is utilized at 12%.

Specs:
- i5-2500k
- GTX 1080 8gb
- 16Gb ram
- ssd

vmparams are set correctly with 8gb allocated memory and starsector.exe and java.exe are forced to use gtx1080 in Nvidia control panel.
Logged

Dark.Revenant

  • Admiral
  • *****
  • Posts: 2700
    • View Profile
    • Sc2Mafia
    • Email
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #56 on: October 31, 2020, 09:55:55 PM »

Why am I getting 10 fps in 400 point battle (graphicslib test mission) with GTX 1080 8Gb with graphicslib and gpu is utilized only 7%? Turning off every option in grahhicslib config brings back solid 60fps and gpu is utilized at 12%.

Specs:
- i5-2500k
- GTX 1080 8gb
- 16Gb ram
- ssd

vmparams are set correctly with 8gb allocated memory and starsector.exe and java.exe are forced to use gtx1080 in Nvidia control panel.

Your CPU, being 5 years older than your video card, is pretty heavily bottlenecked there.  Note that Starsector is, for basically any modern video card, always going to be CPU-bottlenecked.  You could be running a GTX 680 or something and see little to no difference in performance.  On top of that, GraphicsLib basically tacks several additional renderers on top of the game (the ships are redrawn potentially three additional times each, not to mention all the shader buffers & other setup miscellany, and the lighting engine).

Between 10 and 60 fps (I kind of doubt those are the averages reported at the end of the run; you need to let it finish or the results are too unreliable), it's no surprise the one with 6x the frames pushes your GPU harder than the other.

I ran the benchmark at windowed 1080p with GraphicsLib and LazyLib alone, sounds enabled, with vsync off and the frame limiter set to 165.  GraphicsLib had the deluxe preset.
Run length: 18.8 minutes
Average FPS: 51.6
Minimum FPS: 22.1
Average Frame Variance: 4.39 ms
Perceived Game Speed: 99%
Battle Size: 802

I ran again with GraphicsLib's shaders disabled (the other non-shader scripts were left on).
Run length: 20.1 minutes
Average FPS: 80.2
Minimum FPS: 28.1
Average Frame Variance: 3.15 ms
Perceived Game Speed: 100%
Battle Size: 762

If we consider the average frame rates and account for the slightly smaller battle size that the second run wound up with, we can conclude that GraphicsLib's Deluxe-preset shaders are eating up about 1/3 of my potential performance.  A 33% reduction in FPS is more-or-less what anyone using GraphicsLib should expect.  This is all CPU-limited, as I mentioned before.
Logged

Barantar

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #57 on: November 01, 2020, 01:05:06 AM »

Why am I getting 10 fps in 400 point battle (graphicslib test mission) with GTX 1080 8Gb with graphicslib and gpu is utilized only 7%? Turning off every option in grahhicslib config brings back solid 60fps and gpu is utilized at 12%.

Specs:
- i5-2500k
- GTX 1080 8gb
- 16Gb ram
- ssd

vmparams are set correctly with 8gb allocated memory and starsector.exe and java.exe are forced to use gtx1080 in Nvidia control panel.

Your CPU, being 5 years older than your video card, is pretty heavily bottlenecked there.  Note that Starsector is, for basically any modern video card, always going to be CPU-bottlenecked.  You could be running a GTX 680 or something and see little to no difference in performance.  On top of that, GraphicsLib basically tacks several additional renderers on top of the game (the ships are redrawn potentially three additional times each, not to mention all the shader buffers & other setup miscellany, and the lighting engine).

Between 10 and 60 fps (I kind of doubt those are the averages reported at the end of the run; you need to let it finish or the results are too unreliable), it's no surprise the one with 6x the frames pushes your GPU harder than the other.

I ran the benchmark at windowed 1080p with GraphicsLib and LazyLib alone, sounds enabled, with vsync off and the frame limiter set to 165.  GraphicsLib had the deluxe preset.
Run length: 18.8 minutes
Average FPS: 51.6
Minimum FPS: 22.1
Average Frame Variance: 4.39 ms
Perceived Game Speed: 99%
Battle Size: 802

I ran again with GraphicsLib's shaders disabled (the other non-shader scripts were left on).
Run length: 20.1 minutes
Average FPS: 80.2
Minimum FPS: 28.1
Average Frame Variance: 3.15 ms
Perceived Game Speed: 100%
Battle Size: 762

If we consider the average frame rates and account for the slightly smaller battle size that the second run wound up with, we can conclude that GraphicsLib's Deluxe-preset shaders are eating up about 1/3 of my potential performance.  A 33% reduction in FPS is more-or-less what anyone using GraphicsLib should expect.  This is all CPU-limited, as I mentioned before.

Got it, need to upgrade CPU, thank you  :)
Logged

Dhodho

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #58 on: December 18, 2020, 02:24:46 AM »

https://pastebin.com/QGLJudH5
I been having problems with my game crashing with Fatel:Null I checked my starsector Logs and apparently it has something to with sfx's, I've tryed using openAL but it has not worked I don't know what to do, to fix this.
This crash keeps happening randomly whenever I fight high tech ships

If im correct about 44 mods in total
List of mods: Alphabetical
Autosave
Better Colonies
Blackrock Drive Yards
Common Radar
Console Commands
Dassult-Mikoyan Engineering 1.18
DIABLEAVIONICS
DisassembleReassemble_v1.6.9
DIYPlanets
ED Shipyard
GraphicsLib
HMI
HMI_Brighton
HMI_Supervillains
JP_RC
KAdur Remnant
Kingdom of Terra
LazyLib
Luddic_Enhancement
MagicLib
Mayasuran Navy
Missing Ships
More HullMods
Nexerelin
ORA
PulseIndustry
Scalartech
SCY
Seeker_UC
Shadowyards
Ship And Weapons Pack
SkilledUp
SpeedUP
Starship Legends
Tahlan
Terraforming And Station Contruction
Tiandong Heavy Industries 1.2.1a
Torchships
Underworld
UnknownSkies
Vayra's Sector
Vayra's Ship Pack
Version Checker
« Last Edit: December 18, 2020, 02:41:03 AM by Dhodho »
Logged

Histidine

  • Admiral
  • *****
  • Posts: 3352
    • View Profile
    • Bitbucket profile
    • Email
Re: Mod Troubleshooting Guide (Read BEFORE posting!)
« Reply #59 on: December 19, 2020, 05:32:00 PM »

It's failing to load the sounds from disk. Try a reinstall first.
Logged
Pages: 1 2 3 [4] 5 6 7