Stereo: Difference between revisions

Jump to navigation Jump to search
731 bytes added ,  17 March 2016
→‎Linux: Sorry if this isn't appropriate -- my first edit. Recently went through the hassle of trying to get stereo to work on Linux. This section was a huge help, and wanted to clarify it a bit with some of my findings.
(→‎Linux: Sorry if this isn't appropriate -- my first edit. Recently went through the hassle of trying to get stereo to work on Linux. This section was a huge help, and wanted to clarify it a bit with some of my findings.)
Line 21: Line 21:
[[Zalman Stereo]] is supported by [[Coot]]; no drivers or other software must be installed.
[[Zalman Stereo]] is supported by [[Coot]]; no drivers or other software must be installed.


NVidia 3D Vision 2: Using NVidia's 346.35 driver on RHEL/CentOS/SL 7, I changed /etc/X11/xorg.conf (see http://us.download.nvidia.com/XFree86/Linux-x86_64/346.35/README/xconfigoptions.html) to have
NVidia 3D Vision and 3D Vision 2: Requires the appropriate hardware as detailed above. With the NVidia proprietary graphics drivers installed, 3D Vision will work with a few minor tweaks. The Xorg configuration file needs to be edited (usually located at /etc/X11/xorg.conf -- see [http://us.download.nvidia.com/XFree86/Linux-x86_64/346.35/README/xconfigoptions.html] for more information) to recognize that the NVidia 3D vision receiver is connected. This is done by adding an option for stereo mode under the section labeled "Screen":
     Section "Device"
     Section "Screen"
      Driver      "nvidia"
       Option      "Stereo" "10"
       Option      "Stereo" "10"
      ---------(etc) ----------
     EndSection
     EndSection
but there was no stereo (coot only shows a slightly rotated view), nor was there any hint in /var/log/Xorg.0.log that stereo is disabled. In fact, stereo ''is'' disabled, due to the Composite Extension (see http://us.download.nvidia.com/XFree86/Linux-x86_64/346.35/README/xcompositeextension.html). If this extension is itself disabled by
 
    Section "Extensions"
This can be done in a single step by running the following command as root:
      Option    "Composite" "Disable"
     [~]# nvidia-xconfig --stereo=10
     EndSection
 
then the login screen (gdm) crashes (discussed at https://devtalk.nvidia.com/default/topic/556113/3d-vision-and-composite-option). The only way out is to install a different display manager, like documented at e.g. http://jensd.be/?p=125 (confirmed by Dirk Kostrewa in 9/2014). This works well - I'm now using lightdm and the MATE desktop with a NVidia Quadro K420 and a BenQ XL2420TX. The graphics performance is very good for electron density inspection and fitting.
This should be enough to get stereo working. However, note that there is a major issue on linux with window compositing causing stereo images to display improperly. This is a problem with the window display manager, and is not inherent to Xorg or NVidia. If you try to turn on stereo in Coot in a display manager that makes use of the Xorg compositing extension (e.g., Gnome3, or Unity in Ubuntu) then what you will see when you activate hardware stereo is a slight rotation of the view, but stereo remains disabled. In order to get around this problem, you must use a display manager that does not make use of compositing as part of its eye candy. This author has found the MATE desktop to work quite well for this purpose (and may in fact be one of the few that still does not use software compositing by default). Note that you ''do not'' need to disable the Compositing extension in the Xorg configuration file to make this work -- this will allow you to switch back to Gnome3, Unity, etc when you don't need stereo if you prefer! Not disabling the window compositing extension globally allows for a more flexible setup depending on your preferred workflow.


===Mac OS X===
===Mac OS X===
3

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu