DX9 renderer fullscreen

Hi all, I’m experiencing a problem with one specific patch: when I try to turn my dx9 renderer to fullscreen, it freezes with strange artifacts; I tried on both laptop screen and external CRT, nothing works (but only with THIS fisheye shader patch).

When I try to fullscreen, GEL node tells:

00:07:54 ERR : D3DERR_INVALIDCALL in Optimize
00:07:54 - : Texture (Width: 1, Height: 1, Format: X8R8G8B8, Mip Map Count: 1) loaded in 0.000 seconds.
00:07:54 - : [ custom settings ]( custom settings ) loaded in 0.018 seconds.
00:07:57 - : Texture (Width: 1, Height: 1, Format: X8R8G8B8, Mip Map Count: 1) loaded in 0.000 seconds.
00:07:57 - : [ custom settings ]( custom settings ) loaded in 0.019 seconds.
00:07:57 - : a resource loaded in 0.001 seconds.
00:07:57 - : [ custom settings ]( custom settings ) loaded in 0.000 seconds.

And when I come back to windowed:

00:07:47 ERR : D3DERR_INVALIDCALL in Optimize
00:07:47 - : Texture (Width: 1, Height: 1, Format: X8R8G8B8, Mip Map Count: 1) loaded in 0.000 seconds.
00:07:47 - : [ custom settings ]( custom settings ) loaded in 0.018 seconds.
00:07:54 * : Cannot reset device. Try different parameters!
00:07:54 * : Cannot create SwapChain. Try different parameters!

Can anyone help me?
Thanx,
aR

Ok, I found the problem: Optimize node between the mesh and Fisheye shader… it was written in GEL huhuhu…