Slow loading of vvvv (at first)

Hi,
I’ve got a new computer and weirdly, after a fresh reboot VVVV takes ages to load (2-5min). But that’s only the first time after a fresh reboot. Once I went through the long load I can restart VVVV as much as I want, it takes the usual few seconds.
Any ideas anyone?
How can I debug this?

could it be some antivirus program watching every move vvvv.exe makes?

do you start it by .exe or do you double click a .v4p file?

It happens either way.

Only Windows Defender on so far. It should have learnt vvvv after the very first time, no?

Not really, since vvvv is composition of dlls windows defender scanning each and every lib while you run vvvv, it goes even worse, when you do dynamic plugins

Apologies, totally missed the Trouble Shooting section.

In any case, this is unfortunately not the reason. Even with Windows Defender disabled the issue occurs.

+1
new pc, freshly installed last beta x64 and it tooks roughly 3 minutes for vvvv to start up each time.
Windows defender is off

@electrome do you have any other kind of anti virus software running ?
3 minutes is too bad

@andresc4 nope, the pc is basically empty as far as I know. In the next days I’ll clean everything up and reinstall os and everything elese from scratch, I’ll let you know if the problem persist

Same situation here. Only by now the first time loading is reduced to bearable 30sec. It was around 3min the first days too. Ididn’t changed anything.

vvvv scans folders and files besides a v4p patch. did any of you double click a .v4p file that is inside a folder with a huge amount of patches or other folders (e.g. the “Downloads” folder)?

I’m usually starting vvvv.exe via Startmenu. Thus clean and empty.

can you start vvvv with commandline argument /logstartup? this logs the events with time stamps, maybe there we can see what takes so long…

@tonfilm I’ve been away from the pc one day and now the startup seems fixed for no particular reason.
anyway this is the log of today. I will now reset the pc and reinstall everything, then I’ll try again later.

[10:32:35.185] everything you know is wrong
[10:32:35.185] Adding lib\thirdparty\x64 to PATH.
[10:32:35.217] creating SplashScreen
[10:32:35.232] creating GClock
[10:32:35.232] creating GMainloop
[10:32:35.247] creating GLog
[10:32:35.249] creating GApplication
[10:32:35.251] creating GGlobals
[10:32:35.253] creating device listener
[10:32:35.256] creating HID device controller
[10:32:35.267] creating GNodeFactory
[10:32:35.270] creating Gex9Base
[10:32:35.474] Direct3DEx initialized.
[10:32:35.485] ExceptionDialog is disabled. Start vvvv with /showexceptions to enable it.
[10:32:35.532] enumeratig Game Devices...
[10:32:35.544] found Game Devices: 
[10:32:35.547] enumerating Midi Input Ports...
[10:32:35.549] found Midi Input Ports: 
[10:32:35.551] enumerating Midi Output Ports...
[10:32:35.553] found Midi Output Ports: "Microsoft GS Wavetable Synth"
[10:32:35.557] enumeratig TAPI Devices...
[10:32:35.559] found TAPI devices: 
[10:32:35.573] enumeratig Audio Renderer Devices...
[10:32:35.584] found Audio Renderer Devices: "Default DirectSound Device","Default WaveOut Device"
[10:32:35.586] enumeratig Midi Renderer Devices...
[10:32:35.589] found Midi Renderer Devices: "Default MidiOut Device","Microsoft GS Wavetable Synth"
[10:32:35.591] enumeratig External Renderer Devices...
[10:32:35.593] found External Renderer Devices: 
[10:32:35.596] enumeratig Audio Input Devices...
[10:32:35.598] found Audio Input Devices: 
[10:32:35.600] enumeratig Video Input Devices...
[10:32:35.603] found Video Input Devices: 
[10:32:35.626] creating MainForm
[10:32:35.681] creating AddonHost
[10:32:38.609] creating NodeBrowser, WindowSwitcher, Kommunikator
[10:32:38.614] scanning for Externals
[10:32:47.812] 0.v4p //// doesn't exist.
[10:32:47.903] Starting up MainLoop
[10:32:47.908] vvvv is up and running

Back again,reinstalled everything it’s working fine
this is the new log

[13:05:41.804] everything you know is wrong
[13:05:41.806] Adding lib\thirdparty\x64 to PATH.
[13:05:41.863] creating SplashScreen
[13:05:41.876] creating GClock
[13:05:41.880] creating GMainloop
[13:05:41.887] creating GLog
[13:05:41.891] creating GApplication
[13:05:41.893] creating GGlobals
[13:05:41.896] creating device listener
[13:05:41.898] creating HID device controller
[13:05:41.928] creating GNodeFactory
[13:05:41.931] creating Gex9Base
[13:05:41.978] Direct3DEx initialized.
[13:05:42.002] ExceptionDialog is disabled. Start vvvv with /showexceptions to enable it.
[13:05:42.116] enumeratig Game Devices...
[13:05:42.131] found Game Devices: 
[13:05:42.134] enumerating Midi Input Ports...
[13:05:42.137] found Midi Input Ports: 
[13:05:42.140] enumerating Midi Output Ports...
[13:05:42.143] found Midi Output Ports: "Microsoft GS Wavetable Synth"
[13:05:42.181] enumeratig TAPI Devices...
[13:05:42.185] found TAPI devices: 
[13:05:42.193] enumeratig Audio Renderer Devices...
[13:05:42.201] found Audio Renderer Devices: "Default DirectSound Device","Default WaveOut Device"
[13:05:42.203] enumeratig Midi Renderer Devices...
[13:05:42.206] found Midi Renderer Devices: "Default MidiOut Device","Microsoft GS Wavetable Synth"
[13:05:42.209] enumeratig External Renderer Devices...
[13:05:42.212] found External Renderer Devices: 
[13:05:42.220] enumeratig Audio Input Devices...
[13:05:42.223] found Audio Input Devices: 
[13:05:42.226] enumeratig Video Input Devices...
[13:05:42.230] found Video Input Devices: 
[13:05:42.280] creating MainForm
[13:05:42.641] creating AddonHost
[13:05:45.961] creating NodeBrowser, WindowSwitcher, Kommunikator
[13:05:45.972] scanning for Externals
[13:05:57.118] 0.v4p //// doesn't exist.
[13:05:57.207] Starting up MainLoop
[13:05:57.211] vvvv is up and running

Hey, I’m back
New machine, same problem described above. It’s the first time happening on this pc. Each restart takes vvvv about 4 minutes to load. The patch is pretty light and the machine is programmed to run only this task.

The log:

Log.28-08-2018.log (132.8 KB)

Hm couple of shots in the dark here but maybe we get something out of it. Open the vvvv.exe.config file with a text editor (like sublime) and play with the following settings:

  • Disable loadFromRemoteSources and see if it makes any difference
  • Replace the assembly probing line with this: <probing privatePath="lib\core;packs\VVVV.Packs.Image\core"/>

@Elias ok, before trying that I’ve deleted the image pack, since it seems to be the source of the slow start. That seems to have solved the error, still I don’t get why the image pack is causing so much trouble. I’ve it installed on other machines and they all work fine

Must be something around those lines: https://github.com/elliotwoods/VVVV.Packs.Image/blob/master/src/factories/FilterNodeFactory.cs#L71
Maybe I can have a look at it tomorrow.

Hi Ectrome,
I’ve tried your earlier suggestions about changing the config file, which didn’t help.
Also I don’t have Image.pack installed.
However, inspired by Elias’ find I tooks packs out - and voila: in my case it is the DX11 pack!
I wonder if there is a connection to the fact I’m having this new graphics card on board, Intel (Amd) Radeon RX Vega M GL, whose performance and driver support have been an absolute disappointment so far…
M

Just sharing my experience here : I had an incredibly long startup time once that happened to be caused by a Presonus Audiobox USB audio interface … iirc, unplugging the card solved the problem (I think it was not necessary to uninstall the driver).