30
Mar
09

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


2 Responses to “Stereo Rendering with Maya on Linux (OpenGL)”


  1. 1 habernir
    April 15, 2009 at 10:00

    i have opensuse 111.1 and i do what you write about this : http://baltazaar.wordpress.com/2009/03/30/stereo-rendering-with-maya-on-linux-opengl/

    but it still do the same error

    • July 25, 2009 at 22:32

      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.


Leave a Reply




Baltazaar

Blog Stats

  • 15,933 hits

 

March 2009
M T W T F S S
« Mar   Apr »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Technorati

Add to Technorati Favorites

Top Rated

Email Subscription

Enter your email address to subscribe to this blog and receive notifications of new posts by email.