Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: f2k starts very slowly (Read 5254 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

f2k starts very slowly

F2k V2 beta24 32Bit DUI

Since installing beta 19, f2k starts very slowly.

The message from the console is attached.
Likewise the list of components.

Maybe someone can help me here.

Code: [Select]
Core (2023-01-18 14:27:20 UTC)
    foobar2000 core 2.0 beta 24
foo_burninate.dll (2022-09-25 12:11:46 UTC)
    Audio CD Writer 3.1.1
foo_converter.dll (2023-01-18 14:27:08 UTC)
    Converter 2.0 beta 24
foo_dsp_eq.dll (2023-01-18 14:27:04 UTC)
    Equalizer 1.2.3
foo_dsp_std.dll (2023-01-18 14:27:04 UTC)
    Standard DSP Array 2.0 beta 24
foo_dynamic_range.dll (2011-11-12 23:18:36 UTC)
    Dynamic Range Meter 1.1.1
foo_fileops.dll (2023-01-18 14:27:04 UTC)
    File Operations 2.0 beta 24
foo_freedb2.dll (2023-01-18 14:27:02 UTC)
    Online Tagger 0.9
foo_input_std.dll (2023-01-18 14:27:12 UTC)
    CD Audio Decoder 2.0 beta 24
    FFmpeg Decoders 5.1
    Monkey's Audio Decoder 8.70
    Standard Input Array 2.0 beta 24
foo_jscript_panel3.dll (2023-01-05 14:12:28 UTC)
    JScript Panel 3 3.2.2
foo_masstag.dll (2022-09-19 11:01:54 UTC)
    Masstagger 1.9
foo_quicktag.dll (2010-09-01 10:15:08 UTC)
    Quick Tagger 1.0.3
foo_run.dll (2022-09-19 10:12:20 UTC)
    Run services 0.4.5
foo_ui_columns.dll (2022-10-18 19:20:18 UTC)
    Columns UI 2.0.0-alpha.5
foo_ui_std.dll (2023-01-18 14:27:18 UTC)
    Album List 2.0 beta 24
    Decoding Speed Test 2.0 beta 24
    Default User Interface 2.0 beta 24
    File Integrity Verifier 2.0 beta 24
foo_uie_albumlist.dll (2021-12-01 18:33:26 UTC)
    Album list panel 0.4.2
foo_uie_trackinfo_mod.dll (2022-10-24 10:16:56 UTC)
    Track info panel mod 0.8.0 beta [Jan  5 2007 - 13:36:12]
foo_uie_vis_peakmeter_spectrum.dll (2008-04-19 19:18:50 UTC)
    Peakmeter Spectrum Visualisation 0.2.0.0 beta
foo_uie_wsh_panel_mod.dll (2015-03-28 21:35:52 UTC)
    WSH Panel Mod 1.5.10
foo_unpack.dll (2023-01-18 14:27:08 UTC)
    ZIP/GZIP/RAR/7-Zip Reader 2.0 beta 24

Re: f2k starts very slowly

Reply #1
Looks like one of your plugin's is causing it, maybe remove them one by one starting with the oldest plugin and see if that changes anything.
Who are you and how did you get in here ?
I'm a locksmith, I'm a locksmith.

Re: f2k starts very slowly

Reply #2
Thanks for the answer.

Looks like one of your plugin's is causing it, maybe remove them one by one starting with the oldest plugin and see if that changes anything.

I did that but got no improvement.

Error message: UI Element instantiation failure: UI Element Not Found
This error only occurs after importing my fth.

User Interface initialized in: 0:08.020711

Even after a complete reinstallation and configuration with Beta24 32-bit, the error message is identical.

(sry for google translate)

Re: f2k starts very slowly

Reply #3
I now have F2k installed without my configuration.

The program then started slower again after reading the media library.

Code: [Select]
Components loaded in: 0:00.008121
Configuration read in: 0:00.000656
foobar2000 v2.0 beta 24 x64 [standard]
Playlist #0 loaded in 0:00.033654
Watching: I:\02_Musik
User Interface initialized in: 0:05.758404
FFmpeg version: 5.1
Startup time : 0:05.803925
Library initialized after 0:05.854736

Re: f2k starts very slowly

Reply #4
(?) 5 secs is slow for you?

Mine, with just 100 tracks on library.
[14:00:47] Startup time : 0:03.996752

Without a clear reference of what you expect to not be slow, your pc config and the actual size of your library... I don't see the problem. It also depends on your UI layout.

 

Re: f2k starts very slowly

Reply #5
So far I had only used cui layout and v1.6.
I guess I'm a bit spoiled by that. ;)

Then I guess I have to be content with that.

Thanks for youre answer.

Re: f2k starts very slowly

Reply #6
v2 is usually faster, but it depends on your config (and old plugins are slower). How much it takes on 1.6 for you? Also you can not really compare DUI vs CUI...

Re: f2k starts very slowly

Reply #7
User Interface initialized in: 0:08.020711
That's the problem. My User Interface (DUI) is initialized in 1s on first start. My portable CUI: User Interface initialized in: 0:01.926418. Try to start foobar2000 in safe mode.

Components are obviously not the problem, they are monitored by "Components loaded in: 0:00.085175"

Re: f2k starts very slowly

Reply #8
Thing is components loading time is not related to actual components elements loaded.

JS/SMP panels are considered part of User interface. If you go safe-mode they are disabled too. Your User Interface would report lower values and that would still give zero info, since the interface elements being slow are the ones needing other components.
I mean, this may be just semantics, but if the JS , WSH or peak meter panels are the slow ones, then components are the problem XD

That's why I stated "It also depends on your UI layout.", components may add additional time to the interface loading.

Re: f2k starts very slowly

Reply #9
v2 is usually faster, but it depends on your config (and old plugins are slower). How much it takes on 1.6 for you? Also you can not really compare DUI vs CUI...
Startup time : 0:02.430174


User Interface initialized in: 0:08.020711

That's the problem. My User Interface (DUI) is initialized in 1s on first start. My portable CUI: User Interface initialized in: 0:01.926418. Try to start foobar2000 in safe mode.

Components are obviously not the problem, they are monitored by "Components loaded in: 0:00.085175"

How do i start foobar in safe mode?

But it can't be because: UI Element instantiation failure: UI Element Not Found
Foobar doesn't seem to find a UI componente.

Re: f2k starts very slowly

Reply #10
Why don't you just post your current UI layout? It would be much faster... Also what do you have on WSH and JS panels?

Also I don't really understand... if you are missing a UI element, are you able to notice which one?
X

For safe-mode, terminate the process at Task Manager. Then restart, it will ask you about it.

Re: f2k starts very slowly

Reply #11
ok

What should i post: DUI.fth and Screenshot & component list ?

Re: f2k starts very slowly

Reply #12
Cui layout attached.

But my problem is my DUI layout. Safe-mode didn't change anything.

Re: f2k starts very slowly

Reply #13
Save mode should show this:
Quote
Components loaded in: 0:00.005705
Configuration read in: 0:00.000778
foobar2000 v2.0 beta 24 x64 [standard]
UI Element instantiation failure: UI Element Not Found
UI Element instantiation failure: UI Element Not Found
UI Element instantiation failure: UI Element Not Found
UI Element instantiation failure: UI Element Not Found
UI Element instantiation failure: UI Element Not Found
UI Element instantiation failure: UI Element Not Found
UI Element instantiation failure: UI Element Not Found
Playlist #45 loaded in 0:00.000102
UI Element instantiation failure: UI Element Not Found
User Interface initialized in: 0:00.258176
FFmpeg version: 5.1
Startup time : 0:03.388528
Terminate with Task Manager doesn't work here anymore, added running file to fb2k folder. https://foobar-users.de/index.php?msg=27462

Re: f2k starts very slowly

Reply #14
Start in Safe mode:

Code: [Select]
Components loaded in: 0:00.007597
Configuration read in: 0:00.002379
foobar2000 v2.0 beta 24 x64 [standard]
UI Element instantiation failure: UI Element Not Found
UI Element instantiation failure: UI Element Not Found
UI Element instantiation failure: UI Element Not Found
UI Element instantiation failure: UI Element Not Found
UI Element instantiation failure: UI Element Not Found
Playlist #0 loaded in 0:00.050941
UI Element instantiation failure: UI Element Not Found
Album List refreshed in: 0:00.000931
[b]User Interface initialized in: 0:07.479968[/b]
FFmpeg version: 5.1
Startup time : 0:09.905466


Re: f2k starts very slowly

Reply #16
here is my layout and my DUI .fth in the attachment.
Code: [Select]
Core (2023-01-18 14:26:34 UTC)
    foobar2000 core 2.0 beta 24
foo_burninate.dll (2022-09-25 12:10:00 UTC)
    Audio CD Writer 3.1.1
foo_converter.dll (2023-01-18 14:26:22 UTC)
    Converter 2.0 beta 24
foo_dsp_eq.dll (2023-01-18 14:26:16 UTC)
    Equalizer 1.2.3
foo_dsp_std.dll (2023-01-18 14:26:16 UTC)
    Standard DSP Array 2.0 beta 24
foo_fileops.dll (2023-01-18 14:26:16 UTC)
    File Operations 2.0 beta 24
foo_freedb2.dll (2023-01-18 14:26:16 UTC)
    Online Tagger 0.9
foo_input_std.dll (2023-01-18 14:26:34 UTC)
    CD Audio Decoder 2.0 beta 24
    FFmpeg Decoders 5.1
    Monkey's Audio Decoder 8.70
    Standard Input Array 2.0 beta 24
foo_jscript_panel3.dll (2023-01-20 01:15:16 UTC)
    JScript Panel 3 3.2.5
foo_quicktag.dll (2022-09-22 18:42:30 UTC)
    Quick Tagger 1.1.1
foo_run.dll (2022-09-19 10:14:04 UTC)
    Run services 0.4.5
foo_ui_std.dll (2023-01-18 14:26:24 UTC)
    Album List 2.0 beta 24
    Decoding Speed Test 2.0 beta 24
    Default User Interface 2.0 beta 24
    File Integrity Verifier 2.0 beta 24
foo_unpack.dll (2023-01-18 14:26:28 UTC)
    ZIP/GZIP/RAR/7-Zip Reader 2.0 beta 24

Re: f2k starts very slowly

Reply #17
Your theme-file is ok:
Quote
Components loaded in: 0:00.119421
Configuration read in: 0:00.003062
foobar2000 v2.0 beta 24 x64 [portable]
Watching: F:\mp3
Playlist #0 loaded in 0:00.007198
JScript Panel 3.1.6 (Text Reader by marc2003): initialised in 494 ms
JScript Panel 3.1.6 (flag v2 by grimes): initialised in 0 ms
JScript Panel 3.1.6 (rating v2 by grimes): initialised in 0 ms
JScript Panel 3.1.6 (Thumbs by marc2003): initialised in 263 ms
JScript Panel 3.1.6 (flag v2 by grimes): initialised in 0 ms
UI Element instantiation failure: UI Element Not Found
User Interface initialized in: 0:01.588447
FFmpeg version: 5.1
Startup time : 0:01.747924
Playlist #2 loaded in 0:00.000291
Playlist #3 loaded in 0:00.000183
Playlist #4 loaded in 0:00.000568
Playlist #5 loaded in 0:00.000394
Playlist #6 loaded in 0:00.000336
Playlist #7 loaded in 0:00.000139
Playlist #8 loaded in 0:00.000191
Playlist #9 loaded in 0:00.000072
Playlist #10 loaded in 0:00.000069
Playlist #11 loaded in 0:00.000142
Playlist #12 loaded in 0:00.000068
Playlist #13 loaded in 0:00.000100
Playlist #14 loaded in 0:00.000678
Playlist #15 loaded in 0:00.000098
Playlist #16 loaded in 0:00.000107
Playlist #17 loaded in 0:00.000726
Playlist #18 loaded in 0:00.000891
Playlist #19 loaded in 0:00.000148
Playlist #20 loaded in 0:00.000268
Playlist #21 loaded in 0:00.000227
Playlist #22 loaded in 0:00.000263
Playlist #23 loaded in 0:00.000098
Playlist #24 loaded in 0:00.000076
Playlist #25 loaded in 0:00.000221
Playlist #26 loaded in 0:00.000657
Playlist #27 loaded in 0:00.000114
Playlist #28 loaded in 0:00.000072
Playlist #29 loaded in 0:00.000827
Playlist #30 loaded in 0:00.000096
Playlist #31 loaded in 0:00.001731
Playlist #32 loaded in 0:00.000301
Playlist #33 loaded in 0:00.000750
Playlist #34 loaded in 0:00.000273
Playlist #35 loaded in 0:00.000126
Playlist #36 loaded in 0:00.000074
Playlist #37 loaded in 0:00.000061
Playlist #38 loaded in 0:00.000728
Playlist #39 loaded in 0:00.000103
Playlist #40 loaded in 0:00.000070
Playlist #41 loaded in 0:00.000230
Playlist #42 loaded in 0:00.000109
Playlist #43 loaded in 0:00.000071
Playlist #44 loaded in 0:00.000109
Playlist #45 loaded in 0:00.000894
Playlist #46 loaded in 0:00.000178
Playlist #47 loaded in 0:00.000068
Playlist #48 loaded in 0:00.000270
Playlist #49 loaded in 0:00.000548
Playlist #50 loaded in 0:00.000463
Playlist #51 loaded in 0:00.000468
Playlist #52 loaded in 0:00.000130
Playlist #53 loaded in 0:00.000218
Playlist #54 loaded in 0:00.000630
Playlist #55 loaded in 0:00.000075
Playlist #56 loaded in 0:00.000074
Playlist #57 loaded in 0:00.000070
Playlist #58 loaded in 0:00.000169
Playlist #59 loaded in 0:00.000120
Playlist #60 loaded in 0:00.000392
Playlist #61 loaded in 0:00.000114
Playlist #62 loaded in 0:00.000081
Playlist #63 loaded in 0:00.000188
Playlist #64 loaded in 0:00.000335
Playlist #65 loaded in 0:00.001339
Playlist #66 loaded in 0:00.000164
Playlist #67 loaded in 0:00.000156
Playlist #68 loaded in 0:00.000103
Playlist #69 loaded in 0:00.000120
Playlist #70 loaded in 0:00.000191
Playlist #71 loaded in 0:00.000251
Library initialized after 0:01.837774

Strange!

EDIT: The reason for "UI element not found": you didn't install "Waveform minibar (mod)".

Re: f2k starts very slowly

Reply #18
with a portable CUI installation the console looks like this:

Code: [Select]
Components loaded in: 0:00.237009
Configuration read in: 0:00.011684
foobar2000 v2.0 beta 24 x64 [portable]
Watching: I:\02_Musik
Playlist #0 loaded in 0:00.029028
JScript Panel 3.2.5 (Text Reader by marc2003): initialised in 276 ms
JScript Panel 3.2.5 (flag v2 by grimes): initialised in 0 ms
JScript Panel 3.2.5 (rating v2 by grimes): initialised in 0 ms
JScript Panel 3.2.5 (Thumbs by marc2003): initialised in 36 ms
JScript Panel 3.2.5 (flag v2 by grimes): initialised in 0 ms
UI Element instantiation failure: UI Element Not Found
Album List refreshed in: 0:00.000509
User Interface initialized in: 0:02.644010
FFmpeg version: 5.1
Startup time : 0:02.936121
Album List refreshed in: 0:00.596344
Library initialized after 0:03.716519

Re: f2k starts very slowly

Reply #19
...EDIT: The reason for "UI element not found": you didn't install "Waveform minibar (mod)".

Great. First problem solved. THX to grimes

Re: f2k starts very slowly

Reply #20
I have now done a clean install with foobar2000 v2.0 beta 18 x64.

Same layout, same components and same media library.

Console:

Code: [Select]
Components loaded in: 0:00.084591
Configuration read in: 0:00.002737
foobar2000 v2.0 beta 18 x64 [standard]
Watching: I:\02_Musik
JScript Panel 3.2.5 (Text Reader by marc2003): initialised in 37 ms
JScript Panel 3.2.5 (flag v2 by grimes): initialised in 0 ms
JScript Panel 3.2.5 (rating v2 by grimes): initialised in 0 ms
JScript Panel 3.2.5 (Thumbs by marc2003): initialised in 22 ms
JScript Panel 3.2.5 (flag v2 by grimes): initialised in 0 ms
Album List refreshed in: 0:00.000685
User Interface initialized in: 0:00.494216
FFmpeg version: 5.1
Startup time : 0:00.633211
Album List refreshed in: 0:00.955424
Library initialized after 0:01.701966

Normal fast start. From beta 19 the program starts much more slowly.

Re: f2k starts very slowly

Reply #21
I have now installed the beta18, beta19 and beta20 one after the other.
After the update to Beta20, the start time increases from around 1.5 to around 8 to 9 seconds.
This will not change until beta 24.

See the consoles in the appendix.

Re: f2k starts very slowly

Reply #22
Changelog Beta 20

Quote
Added "low memory mode" in 32-bit build, restoring pre-beta18 style tag caching semantics.
        Located in advanced preferences / general.
        If foobar2000 cannot start up due to memory usage, it can be emergency-enabled by putting "enable_low_mem_mode" file in the profile folder.
    Misc search bug fixes.
    Playlist group layout optimizations reverted (no more scrollbar jumping around stupidly), unless in the new low memory mode.
    Fixed various RIFF64 WAV reading bugs.
    Fixed blank edit menu shown when no items are enabled.


Re: f2k starts very slowly

Reply #24
What is needed?

first:

- AMD Ryzen 5 2400G with Radeon Vega Graphics       3.60 GHz
- RAM 16,0 GB
- Win10 64-Bit-operating system, x64-based processor