Stereo Rendering with Maya on Linux (OpenGL)

Many folks out there get’s a message like: Warning: Unable to get OpenGL visual with a stereo buffer, trying without //.

Yes that is annoying. But, guess what? It is easy to fix. As long as your graphics card supports it, all you have to do is to add these lines to the “Device” section of your Xorg.conf file:

Driver "nvidia"
Option "AllowDFPStereo" "true"
Option "Stereo" "3"

Also, you can’t work with two hats on at the same time, so in order for this to work, you HAVE to disable the composite extension.
Many people don’t know that Xorg has changed a lot lately, so now you must rather exclude functionality you don’t want, as opposed to before, when every module had to be loaded in the “Module” sections. All you need to load is:

Section "Module"
Load "glx"
EndSection

All the other extensions will be autoprobed by Xorg and the defined driver in the “Device” section.
This brings us to the point. You must disable unwanted extensions, or they will get loaded by default. If you don’t take my word for it, check your Xorg log file.
This includes basic loading of fonts as well.

So, in the “Extensions” section of xorg.conf, MAKE SURE to have:

Section "Extensions"
Option "Composite" "false"
EndSection

If it does not exist, write it.

Now you should see that the driver includes support for stereo buffer rendering, and no more error messages while rendering in Maya.
My Nvidia Controlpanel now looks like this: (after restarting the X server, or rebooting) Also, to be on the safe side, delete the .nvidia-settings-rc file in your home directory with:

cd
rm .nvidia-settings-rc

Notice the stere column in the nvidia controlpanel:

Nvidia with stereo support

Nvidia with stereo support

Advertisements

2 thoughts on “Stereo Rendering with Maya on Linux (OpenGL)

    • Only Quadro cards and FireGL supports stereo rendering, I believe… If you’re using a consumer card, I don’t know if this will work. I only use Nvidia QuadroFX cards on my machines.

      Like

Comments are closed.