Vray frame buffer missing

The vray frame buffer has gone missing.

I’ve tried this trick:
setAttr “vraySettings.vfbSettingsArr” -type Int32Array 0;
Which worked earlier this morning.

I tried deleting some nonesense in the .ma file.
I deleted my prefs
I restarted maya, and my computer.
I unloaded and reloaded vray.
I reinstalled vray.

This happens even if I just start maya and create a cube and try to render it.
I’m on vray 3.4.06 I think. Maya 2017

I still cannot see my frame buffer. Until I can, I can’t do much.

Any ideas about other ways to fix this?

Evan

Have you tried this mel code:


vrayShowVFB;
window -e -topLeftCorner 1 1 vfbPanelWindow;

No! Haven’t tried that. When I’m back at work tomorrow I’ll give it a shot.
Thanks!

Didn’t work.

When I type in that code it gives me this error message:
// Error: line 2: window: Object ‘vfbPanelWindow’ not found.

Ok. So I’ve figured out the problem…but do not have a solution.
After pulling my hair out for literally hours trying to figure out what is wrong, someone suggested plugging in a second monitor. I did. And lo and behold, there the vray frame buffer window sat like it had always been there. I moved it back onto my primary window and restarted maya. Renders to my second monitor. A monitor I didn’t even have until the frame buffer went missing.

How can I fix this? Is there a way to specify what monitor you want your frame buffer rendering to?
There is a weird workaround that I’m using in the meantime. I click the “Show vray frame buffer” button and while it has focus and before I click anything else I hold down the windows key and then press the left arrow three times and that’ll move it back onto my screen. But this isn’t a great way to work.
Any other ideas would be appreciated.

Thanks!

for ($window in `lsUI -windows`) {
    if (`window -q -exists $window`==0)
        continue;
    if (`window -q -mainWindow $window`!=0)
        continue;
    window -e -tlc 0 0 $window;
}

This ?

One cause of this happening is when you go from a 4k monitor to a 1k. A way to avoid it completely is to not use a floating window, but have it docked in Maya. Not sure if the VFB can do that.

Code:
for ($window in `lsUI -windows`) { if (`window -q -exists $window`==0) continue; if (`window -q -mainWindow $window`!=0) continue; window -e -tlc 0 0 $window; }
this is now implemented as a VFB functionality in the latest official builds. Right click on the VFB icon > Reset VFB position

A way to avoid it completely is to not use a floating window, but have it docked in Maya. Not sure if the VFB can do that.
you can dock the VFB in a viewport space: Panels>Panel>V-Ray Frame Buffer

I do not see that menu option in Maya 2017 with Vray 3.52.

Will give it a shot.

Is this in latest nightly? I am on the latest official build and couldn’t see this option in my Panels>Panel menu in Maya 2017 Update 3.
Unfortunately this feature is not available in Maya 2017

Can you specify which Maya version supports this feature?

All Maya versions except 2017

We’ll keep the panel functionality disabled in future Maya versions as well.

At some point we added this mel function: vrayResetVFBPosition; and it should work for both maya versions where we have a panel and ones where we don’t.
Apart from mel, you can also access it by right clicking the VFB icon in the VRay Shelf.