ahstereo
--------
QUICK_START_FOR_COPY_PASTE
ENABLE_STEREO_ON_NVIDIA
WORKING_NVIDIA_XORG_CONF_FILE
TEST_STEREO
BUILDING_OGRE_FOR_STEREO
Run
nvidia-settings
Set the stereo display to 120Hz
Click "save to xorg.conf file"
Quit nvidia-settings
do this:
cd /tmp
cp /etc/X11/xorg.conf ./xorg.conf.1
nvidia-xconfig -c ./xorg.conf.1 -o ./xorg.conf.2 --stereo=11
sudo cp ./xorg.conf.2 /etc/X11/xorg.conf
restart X (or reboot)
run
glxgears -stereo
run:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.orig
nvidia-settings
Click "X Screen 0" and look for Stereo Mode. If it is set right you are done
and can move on to "Test stereo".
Set up the screen resolution, frequency, and position. The stereo monotor
should have refresh rate >=120Hz.
In "X Server Display Configuration" click "Save to X Configuration File". Save
it as
/tmp/xorg.conf.nvidia-settings
Then:
mkdir -p ~/Projects/xorg_stuff
cd ~/Projects/xorg_stuff
cp /etc/X11/xorg.conf.orig ./xorg.conf.orig
cp /tmp/xorg.conf.nvidia-settings ./xorg.conf.nvidia-settings
cp xorg.conf.nvidia-settings xorg.conf.nvidia-settings-plus-stereo
nvidia-xconfig -c xorg.conf.nvidia-settings-plus-stereo -o xorg.conf.nvidia-settings-plus-stereo --stereo=11
sudo cp xorg.conf.nvidia-settings-plus-stereo /etc/X11/xorg.conf
(OR: just edit the /etc/X11/xorg.conf and add
Option "Stereo" "11"
to the "Screen" section and add
Section "Extensions"
Option "Composite" "Disable"
EndSection
to the end of the file.)
Using a monitor with built in IR transmitter may not work with linux. To use a
separate IR transmitter add this to the Screen section:
Option "DisableBuiltin3DVisionEmitter" "True"
(NOTE: for ASUS VG278H use 12 for HDMI and 11 for DVI)
(10 works ok right after boot. 11 seems better
Then log out and log back in. Run
nvidia-settings
and in "X Screen 0" stereo should be enabled.
NOTE: Read
man nvidia-xconfig
for a list of stereo modes:
0 (Disabled)
1 (DDC glasses)
2 (Blueline glasses)
3 (Onboard stereo)
4 (multi-display clone mode stereo)
5 (SeeReal digital flat panel)
6 (Sharp3D digital flat panel)
7 (Arisawa/Hyundai/Zalman/Pavione/Miracube)
8 (3D DLP)
9 (3D DLP INV)
10 (NVIDIA 3D VISION)
11 (NVIDIA 3D VISION PRO) <-------- use this
12 (HDMI 3D).
This file works with 3 monitors. The stereo monitor is connected to DVI and other 2 to DP (DisplayPort) via DP->DVI connectors. The file is delimited by _____XORG_CONF_DELIMITER____
_____XORG_CONF_DELIMITER____
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 331.20 (buildd@allspice) Wed Dec 18 09:07:35 UTC 2013
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Ancor Communications Inc ASUS VG278HR"
HorizSync 24.0 - 140.0
VertRefresh 50.0 - 122.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro K4000"
EndSection
Section "Screen"
# Removed Option "Stereo" "10"
# Removed Option "nvidiaXineramaInfoOrder" "DFP-0"
# Removed Option "nvidiaXineramaInfoOrder" "DFP-1"
# Removed Option "metamodes" "DVI-I-1: 1920x1080_120 +3840+0, DP-0: 1920x1200_60 +0+0, DP-1: 1920x1200_60 +1920+0"
# Removed Option "metamodes" "DVI-I-1: 1920x1080_120 +3840+0, DP-0: nvidia-auto-select +0+0, DP-1: nvidia-auto-select +1920+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "11"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "DVI-I-1: 1920x1080_120 +3840+0, DP-0: 1920x1200_60 +0+0, DP-1: 1920x1200_60 +1920+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
_____XORG_CONF_DELIMITER____
run
sudo apt-get install mesa-utils
glxgears -stereo
Should render in stereo if it is working.
If eyes are backwards run
nvidia-settings
and in "OpenGL Settings" check "Exchange Stereo Eyes"