VVVV hangs / framerate jumps when changing textures

Hello, I´am encoutering some strange behaviour when changing textures on a quad. With every change vvvv hangs for a short time and the framerate jumps, although all textures should be (pre)loaded and according to Renderer(TTY) no textures are destroyed or loaded during change. I tested with betas 20-22, all of which seem to behave the same.

I tried to no avail (all by themselves and in various combinations):

  • “Load In Background” on the FileTexture with and without “Use preloaded Item” enabled
  • Time Modes “Filtered” and “Raw” on the Mainloop
  • Changing the “AsyncThreadPriority” on the Mainloop
  • Renderer in Fullscreen and Windowed Mode
  • Changing the “Presentational Interval” on the Renderer to “Immediatly” and “Wait for Frame”
  • Enabling “Draw Slicewise” on the Quad

I am currently on a MacBook Pro with Win7 Pro 64-bit and Bootcamp Drivers 3.1. The latest DX9, the August 2009 Version of Slim-DX and .Net are installed.

Attached you´ll find two slightly different patches which show the aforementioned problem.

Please give it a try and report your findings.

TexturePreloadBug.zip (938.0 kB)

helo b,

couple o things:

  • the textures you are loading there take up ~485mb of graphics memory. if your card has only 512mb dedicated videomemory that might be the issue.
  • if you have a large number of textures always work with dxt compressed .dds files instead of .pngs. use Texture Converter for easy conversion, or specify it on the preloader (which takes longer to load though)
  • use the Preloader (EX9) module that ships with vvvv instead of your own.
    ** set preload in background and preload to video memory to true
    ** set Use preloaded item on your FileTexture node to true.

hope that helps.