Shader doesn't load until window opened in Windows 7 x64

OK, this is weird. I have a patch (attached) which uses a shader. On my Win7 x64 machine, when I open the patch the shader is apparently not initialized - the method enumeration box just shows “nil” and nothing comes out of it until I right-click on the shader to open it in an editor. Then it works.

However, even then I get strange behavior; vvvv will frequently crash when exiting, and if I try to open another shader in an editor window, it may show a fault on the first line which is an address access error which it says is probably do to memory corruption.

I have tried all the obvious stuff, such as running vvvv as administrator, and in XP SP3 mode, and uninstalling it and reinstalling, but the same results.

My Win7 (Enterprise x64) machine is an i5-2500K w/8GB and an EVGA superclocked GTX 570 HD.

This works fine on XP SP3 on my Thinkpad x61.

All/any suggestions GREATLY appreciated, as I need more than the 4fps my laptop provides!

w7-shader-bug.zip (6.6 kB)

Oh yeah, the other odd behavior that seems to happen with this is that mouse-middle-click in the window of a patch containing this patch brings up the menu, but sometimes quit doesn’t do anything. Quitting from the sub-patch with the shader in it quits, though.

I think this is related to another thread:

https://discourse.vvvv.org/t/6742

enum issue?

This is the first time I’ve run a system with MS updates on. Seems like this stuff worked a couple of weeks ago…

Thanks!

hm, opening attached patch in b25.1 doesn’t show the ‘nil’ you described. the only strange thing i note is that you spreaded the enum-iobox linked to the effects Technique (which shouldn’t cause any troubles though). you didn’t mention: are you doing this on a multimonitor setup?

just to spare you the time: chances of those things helping with vvvv-problems are near 0.

in cases “quit” is not reacting vvvv has most likely already given up. you should see errors coming down in Renderer (TTY).

Hey joreg! So you were unable to duplicate on Win7 x64?

When I open the patch, that enum-iobox is where the nil shows up. I unloaded 25.1 and reloaded 23, and it works OK there. Went back to 25.1, same problem.

Ayup, this is on a dual-monitor setup, but in this case all patches and renderers are on the primary monitor.

I checked the admin etc. stuff because I noticed another odd behavior: if I run vvvv as admin, I cannot drag-and-drop patches into the root window. Whasup wid dat? If I double-click on an existing patch I can drag and drop patches just fine - and this is with the actual vvvv.exe file set to run as admin, not just the link.

Well, I just tried deleting that enum-iobox, saved and restarted, and it works fine. Yoicks. Problem there?

Thanks!

tested again multiple times on different setups. not able to duplicate.
please try again with upcomming beta>25.1 and start a new topic if still present.

when you do so be alarmed that in the new version vvvv will correctly show you 2 errors in your effect (the new compiler is a bit more sensitive. will be simple to fix, you’ll see).

thats a windows thing, read: http://de.w3support.net/index.php?db=su&id=59051