Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. Thank you for your support. Tom Speirs

Patreon

PinballX opens extremely slow


Djtrammell

Recommended Posts

PinballX take 3 minutes to open when I add the directoutput pinballx plugin.dll file. If I remove the file from the PinballX plugin folder, PinballX opens immediately. Has anyone had this problem? I need the file in the folder because that's the only way my LEDs work in Pinballx.

Link to comment
Share on other sites

  • 2 weeks later...

For some reason when i download my config files from the Dofconfigtool online it adds additional colors to my config files. For some reason its adding a "L" version for every color, which causes a lot of errors ( i.e  takes along time to boot) Any ideas on how to stop it from adding this? It also shows "L" versions of colors in the table config data for tables. My DofConfigTool doesn't show any "L" colors in any tables, not sure why its downloading with it. Example of colors below:


[Colors DOF]

White=#FFFFFFFF
LWhite=#FFFFFF6F
Red=#FF0000FF
LRed=#FF00006F
Lime=#00FF00FF
LLime=#00FF006F
Blue=#0000FFFF
LBlue=#0000FF6F
Yellow=#FFFF00FF
LYellow=#FFFF006F
Cyan=#00FFFFFF
LCyan=#00FFFF6F
Magenta=#FF00FFFF
LMagenta=#FF00FF6F
Silver=#C0C0C0FF
LSilver=#C0C0C06F
Gray=#808080FF
LGray=#8080806F
Brown=#800000FF
LBrown=#8000006F
Olive=#808000FF
LOlive=#8080006F
Green=#008000FF
LGreen=#0080006F
Purple=#800080FF
LPurple=#8000806F
Teal=#008080FF
LTeal=#0080806F
Navy=#000080FF
LNavy=#0000806F
Dark_red=#8B0000FF
LDark_red=#8B00006F
Black=#000000FF
LBlack=#0000006F
Firebrick=#B22222FF
LFirebrick=#B222226F
Crimson=#DC143CFF
LCrimson=#DC143C6F
Tomato=#FF6347FF
LTomato=#FF63476F
Coral=#FF7F50FF
LCoral=#FF7F506F
Indian_red=#CD5C5CFF
LIndian_red=#CD5C5C6F
Light_coral=#F08080FF
LLight_coral=#F080806F
Dark_salmon=#E9967AFF
LDark_salmon=#E9967A6F
Salmon=#FA8072FF
LSalmon=#FA80726F
Light_salmon=#FFA07AFF
LLight_salmon=#FFA07A6F
Orange_red=#FF4500FF
LOrange_red=#FF45006F
Dark_orange=#FF8C00FF
LDark_orange=#FF8C006F
Orange=#FFA500FF
LOrange=#FFA5006F
Gold=#FFD700FF
LGold=#FFD7006F
Dark_golden_rod=#B8860BFF
LDark_golden_rod=#B8860B6F
Golden_rod=#DAA520FF
LGolden_rod=#DAA5206F
Pale_golden_rod=#EEE8AAFF
LPale_golden_rod=#EEE8AA6F
Dark_khaki=#BDB76BFF
LDark_khaki=#BDB76B6F
Khaki=#F0E68CFF
LKhaki=#F0E68C6F
Yellow_green=#9ACD32FF
LYellow_green=#9ACD326F
Dark_olive_green=#556B2FFF
LDark_olive_green=#556B2F6F
Olive_drab=#6B8E23FF
LOlive_drab=#6B8E236F
Lawn_green=#7CFC00FF
LLawn_green=#7CFC006F
Chart_reuse=#7FFF00FF
LChart_reuse=#7FFF006F
Green_yellow=#ADFF2FFF
LGreen_yellow=#ADFF2F6F
Dark_green=#006400FF
LDark_green=#0064006F
Forest_green=#228B22FF
LForest_green=#228B226F
Lime_green=#32CD32FF
LLime_green=#32CD326F
Light_green=#90EE90FF
LLight_green=#90EE906F
Pale_green=#98FB98FF
LPale_green=#98FB986F
Dark_sea_green=#8FBC8FFF
LDark_sea_green=#8FBC8F6F
Medium_spring_green=#00FA9AFF
LMedium_spring_green=#00FA9A6F
Spring_green=#00FF7FFF
LSpring_green=#00FF7F6F
Sea_green=#2E8B57FF
LSea_green=#2E8B576F
Medium_aqua_marine=#66CDAAFF
LMedium_aqua_marine=#66CDAA6F
Medium_sea_green=#3CB371FF
LMedium_sea_green=#3CB3716F
Light_sea_green=#20B2AAFF
LLight_sea_green=#20B2AA6F
Dark_slate_gray=#2F4F4FFF
LDark_slate_gray=#2F4F4F6F
Dark_cyan=#008B8BFF
LDark_cyan=#008B8B6F
Aqua=#00FFFFFF
LAqua=#00FFFF6F
Light_cyan=#E0FFFFFF
LLight_cyan=#E0FFFF6F
Dark_turquoise=#00CED1FF
LDark_turquoise=#00CED16F
Turquoise=#40E0D0FF
LTurquoise=#40E0D06F
Medium_turquoise=#48D1CCFF
LMedium_turquoise=#48D1CC6F
Pale_turquoise=#AFEEEEFF
LPale_turquoise=#AFEEEE6F
Aqua_marine=#7FFFD4FF
LAqua_marine=#7FFFD46F
Powder_blue=#B0E0E6FF
LPowder_blue=#B0E0E66F
Cadet_blue=#5F9EA0FF
LCadet_blue=#5F9EA06F
Steel_blue=#4682B4FF
LSteel_blue=#4682B46F
Corn_flower_blue=#6495EDFF
LCorn_flower_blue=#6495ED6F
Deep_sky_blue=#00BFFFFF
LDeep_sky_blue=#00BFFF6F
Dodger_blue=#1E90FFFF
LDodger_blue=#1E90FF6F
Light_blue=#ADD8E6FF
LLight_blue=#ADD8E66F
Sky_blue=#87CEEBFF
LSky_blue=#87CEEB6F
Light_sky_blue=#87CEFAFF
LLight_sky_blue=#87CEFA6F
Midnight_blue=#191970FF
LMidnight_blue=#1919706F
Dark_blue=#00008BFF
LDark_blue=#00008B6F
Medium_blue=#0000CDFF
LMedium_blue=#0000CD6F
Royal_blue=#4169E1FF
LRoyal_blue=#4169E16F
Blue_violet=#8A2BE2FF
LBlue_violet=#8A2BE26F
Indigo=#4B0082FF
LIndigo=#4B00826F
Dark_slate_blue=#483D8BFF
LDark_slate_blue=#483D8B6F
Slate_blue=#6A5ACDFF
LSlate_blue=#6A5ACD6F
Medium_slate_blue=#7B68EEFF
LMedium_slate_blue=#7B68EE6F
Medium_purple=#9370DBFF
LMedium_purple=#9370DB6F
Dark_magenta=#8B008BFF
LDark_magenta=#8B008B6F
Dark_violet=#9400D3FF
LDark_violet=#9400D36F
Dark_orchid=#9932CCFF
LDark_orchid=#9932CC6F
Medium_orchid=#BA55D3FF
LMedium_orchid=#BA55D36F
Thistle=#D8BFD8FF
LThistle=#D8BFD86F
Plum=#DDA0DDFF
LPlum=#DDA0DD6F
Violet=#EE82EEFF
LViolet=#EE82EE6F
Orchid=#DA70D6FF
LOrchid=#DA70D66F
Medium_violet_red=#C71585FF
LMedium_violet_red=#C715856F
Pale_violet_red=#DB7093FF
LPale_violet_red=#DB70936F
Deep_pink=#FF1493FF
LDeep_pink=#FF14936F
Light_pink=#FFB6C1FF
LLight_pink=#FFB6C16F
Pink=#FFC0CBFF
LPink=#FFC0CB6F
Antique_white=#FAEBD7FF
LAntique_white=#FAEBD76F
Beige=#F5F5DCFF
LBeige=#F5F5DC6F
Bisque=#FFE4C4FF
LBisque=#FFE4C46F
Corn_silk=#FFF8DCFF
LCorn_silk=#FFF8DC6F
Lemon_chiffon=#FFFACDFF
LLemon_chiffon=#FFFACD6F
Light_golden_rod=#FAFAD2FF
LLight_golden_rod=#FAFAD26F
Light_yellow=#FFFFE0FF
LLight_yellow=#FFFFE06F
Saddle_brown=#8B4513FF
LSaddle_brown=#8B45136F
Sienna=#A0522DFF
LSienna=#A0522D6F
Chocolate=#D2691EFF
LChocolate=#D2691E6F
Peru=#CD853FFF
LPeru=#CD853F6F
Sandy_brown=#F4A460FF
LSandy_brown=#F4A4606F
Burly_wood=#DEB887FF
LBurly_wood=#DEB8876F
Tan=#D2B48CFF
LTan=#D2B48C6F
Rosy_brown=#BC8F8FFF
LRosy_brown=#BC8F8F6F
Moccasin=#FFE4B5FF
LMoccasin=#FFE4B56F
Navajo_white=#FFDEADFF
LNavajo_white=#FFDEAD6F
Peach_puff=#FFDAB9FF
LPeach_puff=#FFDAB96F
Misty_rose=#FFE4E1FF
LMisty_rose=#FFE4E16F
Lavender_blush=#FFF0F5FF
LLavender_blush=#FFF0F56F
Papaya_whip=#FFEFD5FF
LPapaya_whip=#FFEFD56F
Slate_gray=#708090FF
LSlate_gray=#7080906F
Light_slate_gray=#778899FF
LLight_slate_gray=#7788996F
Light_steel_blue=#B0C4DEFF
LLight_steel_blue=#B0C4DE6F
Lavender=#E6E6FAFF
LLavender=#E6E6FA6F
Dim_gray=#696969FF
LDim_gray=#6969696F
Dark_gray=#A9A9A9FF
LDark_gray=#A9A9A96F
Amber=#FFBF00FF
LAmber=#FFBF006F

 

DirectOutput.log

Link to comment
Share on other sites

i don't have DOF since i only have one led strip and no extra toys but in the global config there seems to be setting to clear the log file on startup as well as disable logging. Have you tried setting enable logging to false (temporary for example to see if it makes a difference)

the should be named like this somewhere (i think GlobalConfig_B2SServer.xml )

see https://directoutput.github.io/DirectOutput/class_direct_output_1_1_global_configuration_1_1_global_config.html#a42d2e81f230d9ecfd5f80aa50d31c6a9

<EnableLogging>true</EnableLogging>
<ClearLogOnSessionStart>true</ClearLogOnSessionStart>

if your log file is getting spammed with entries it might cause delays or even not clearing the log on every session start might cause delays if the log file keeps growing and it has to be opened for adding new things

Link to comment
Share on other sites

I'm not sure but i don't think the "LColors" are the cause if i look at your last directoutput.log the 1st log entry starts at 2020.01.17 18:07:41.494 and the last one ends at 2020.01.17 18:07:54.016 so thats only 13 seconds while the exceptions of the "LColors" were occuring. If you want to be sure you could try removing them from your config but i doubt it will have an impact.

If i look at your last posted log.txt i do see the following

16:22:21.9  1/16/2020:  Loaded Plugin:"DirectOutput PinballX Plugin" Version 1 By Swisslizard
16:25:29.1  1/16/2020:  PlugIn: "DirectOutput PinballX Plugin" Initialized OK

and thats indeed 3 minutes between loading and initializing the directoutput plugin so its definatly dof related but i'm can't see what exactly.

when looking at the pinballx directoutput pluigin log you pasted a few posts back i see:

20.01.16 04:22:21.993 Initializing DOF
20.01.16 04:25:28.950 DOF initialized

so it's the DOF initialisation that takes 3 minutes but i don't know why there isn't any log entries between them

I don't know if it would make a difference but your pinball X version is still at 3.74 while latest is 4.06 if i remember correctly.

Did it load faster in the past ? Do you know when the problems started happening like when you added a new toy or after you updated pinball x version or something you changed DOF related ?

Link to comment
Share on other sites

20 hours ago, Draco1962 said:

You probably need to upgrade to v4.06 as there have been a number if changes that may have a positive impact.

I have tried it with v4.06 and still takes 3 mins, but i have found a log that shows whats going on during the 3 mins. Its 56Mbs i had to zip it in order to upload it. There seems to be a lot of debugging going on.

DirectOutputPinballXlog.zip

Link to comment
Share on other sites

On 1/18/2020 at 7:07 AM, joyrider3774 said:

I'm not sure but i don't think the "LColors" are the cause if i look at your last directoutput.log the 1st log entry starts at 2020.01.17 18:07:41.494 and the last one ends at 2020.01.17 18:07:54.016 so thats only 13 seconds while the exceptions of the "LColors" were occuring. If you want to be sure you could try removing them from your config but i doubt it will have an impact.

If i look at your last posted log.txt i do see the following

16:22:21.9  1/16/2020:  Loaded Plugin:"DirectOutput PinballX Plugin" Version 1 By Swisslizard
16:25:29.1  1/16/2020:  PlugIn: "DirectOutput PinballX Plugin" Initialized OK

and thats indeed 3 minutes between loading and initializing the directoutput plugin so its definatly dof related but i'm can't see what exactly.

when looking at the pinballx directoutput pluigin log you pasted a few posts back i see:

20.01.16 04:22:21.993 Initializing DOF
20.01.16 04:25:28.950 DOF initialized

so it's the DOF initialisation that takes 3 minutes but i don't know why there isn't any log entries between them

I don't know if it would make a difference but your pinball X version is still at 3.74 while latest is 4.06 if i remember correctly.

Did it load faster in the past ? Do you know when the problems started happening like when you added a new toy or after you updated pinball x version or something you changed DOF related ?

I have tried it with v4.06 and still takes 3 mins, but i have found a log that shows whats going on during the 3 mins. Its 56Mbs i had to zip it in order to upload it. There seems to be a lot of debugging going on.

DirectOutputPinballXlog.zip

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...