02-14-2015 09:16 AM
KNOWN ISSUES
* Frame loss on NVidia TwinView setups. Use an independent X screen for an optimal experience.
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 331.20 (buildd@roseapple) Mon Feb 3 15:07:22 UTC 2014
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
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 "LG Electronics W2443"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "OVR Rift DK2"
HorizSync 30.0 - 150.0
VertRefresh 56.0 - 77.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 670"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 670"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "DVI-I-1: nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "HDMI-0: nvidia-auto-select +0+0 {rotation=left}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
DISPLAY=:0.1 command_to_run
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0 # only the main screen, no Rift
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "ServerLayout"
Identifier "Rift"
Screen 0 "Screen1" 0 0 # only the Rift, no main screen
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
# the remained is identical to the version above...
sudo startx /full/path/to/command -- :1 -layout Rift
02-15-2015 03:35 AM
02-15-2015 04:21 AM
[ 683.686]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 683.687] X Protocol Version 11, Revision 0
[ 683.687] Build Operating System: Linux 3.2.0-70-generic x86_64 Ubuntu
[ 683.687] Current Operating System: Linux fabuntu 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64
[ 683.687] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-45-generic root=UUID=58115c9d-156a-4608-9adb-e20d7ffc9b11 ro quiet splash
[ 683.687] Build Date: 10 December 2014 06:15:52PM
[ 683.688] xorg-server 2:1.15.1-0ubuntu2.6 (For technical support please see http://www.ubuntu.com/support)
[ 683.688] Current version of pixman: 0.30.2
[ 683.688] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 683.688] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 683.690] (==) Log file: "/var/log/Xorg.1.log", Time: Sun Feb 15 11:29:08 2015
[ 683.690] (==) Using config file: "/etc/X11/xorg.conf"
[ 683.690] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 683.691] (++) ServerLayout "Rift"
[ 683.691] (**) |-->Screen "Screen1" (0)
[ 683.691] (**) | |-->Monitor "Monitor1"
[ 683.691] (**) | |-->Device "Device1"
[ 683.691] (**) |-->Input Device "Keyboard0"
[ 683.691] (**) |-->Input Device "Mouse0"
[ 683.691] (**) Option "Xinerama" "0"
[ 683.691] (==) Automatically adding devices
[ 683.691] (==) Automatically enabling devices
[ 683.691] (==) Automatically adding GPU devices
[ 683.691] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 683.691] Entry deleted from font path.
[ 683.691] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 683.691] Entry deleted from font path.
[ 683.691] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 683.691] Entry deleted from font path.
[ 683.691] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 683.691] Entry deleted from font path.
[ 683.691] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 683.691] Entry deleted from font path.
[ 683.691] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 683.691] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 683.691] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 683.691] (WW) Disabling Keyboard0
[ 683.691] (WW) Disabling Mouse0
[ 683.691] (II) Loader magic: 0x7f4186908d40
[ 683.691] (II) Module ABI versions:
[ 683.691] X.Org ANSI C Emulation: 0.4
[ 683.691] X.Org Video Driver: 15.0
[ 683.691] X.Org XInput driver : 20.0
[ 683.691] X.Org Server Extension : 8.0
[ 683.691] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 683.693] (--) PCI:*(0:1:0:0) 10de:1189:1043:841b rev 161, Mem @ 0xf6000000/16777216, 0xe8000000/134217728, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 683.693] Initializing built-in extension Generic Event Extension
[ 683.693] Initializing built-in extension SHAPE
[ 683.693] Initializing built-in extension MIT-SHM
[ 683.693] Initializing built-in extension XInputExtension
[ 683.693] Initializing built-in extension XTEST
[ 683.694] Initializing built-in extension BIG-REQUESTS
[ 683.694] Initializing built-in extension SYNC
[ 683.694] Initializing built-in extension XKEYBOARD
[ 683.694] Initializing built-in extension XC-MISC
[ 683.694] Initializing built-in extension SECURITY
[ 683.694] Initializing built-in extension XINERAMA
[ 683.694] Initializing built-in extension XFIXES
[ 683.695] Initializing built-in extension RENDER
[ 683.695] Initializing built-in extension RANDR
[ 683.695] Initializing built-in extension COMPOSITE
[ 683.695] Initializing built-in extension DAMAGE
[ 683.695] Initializing built-in extension MIT-SCREEN-SAVER
[ 683.695] Initializing built-in extension DOUBLE-BUFFER
[ 683.696] Initializing built-in extension RECORD
[ 683.696] Initializing built-in extension DPMS
[ 683.696] Initializing built-in extension Present
[ 683.696] Initializing built-in extension DRI3
[ 683.696] Initializing built-in extension X-Resource
[ 683.696] Initializing built-in extension XVideo
[ 683.696] Initializing built-in extension XVideo-MotionCompensation
[ 683.696] Initializing built-in extension SELinux
[ 683.697] Initializing built-in extension XFree86-VidModeExtension
[ 683.697] Initializing built-in extension XFree86-DGA
[ 683.697] Initializing built-in extension XFree86-DRI
[ 683.697] Initializing built-in extension DRI2
[ 683.697] (WW) "glamoregl" will not be loaded unless you've specified it to be loaded elsewhere.
[ 683.697] (II) "glx" will be loaded by default.
[ 683.697] (WW) "xmir" is not to be loaded by default. Skipping.
[ 683.697] (II) LoadModule: "glx"
[ 683.697] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
[ 683.703] (II) Module glx: vendor="NVIDIA Corporation"
[ 683.703] compiled for 4.0.2, module version = 1.0.0
[ 683.703] Module class: X.Org Server Extension
[ 683.703] (II) NVIDIA GLX Module 331.113 Mon Dec 1 20:24:35 PST 2014
[ 683.703] Loading extension GLX
[ 683.703] (II) LoadModule: "nvidia"
[ 683.703] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[ 683.704] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 683.704] compiled for 4.0.2, module version = 1.0.0
[ 683.704] Module class: X.Org Video Driver
[ 683.704] (II) NVIDIA dlloader X Driver 331.113 Mon Dec 1 20:01:51 PST 2014
[ 683.704] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 683.704] (++) using VT number 8
[ 683.712] (II) Loading sub module "fb"
[ 683.712] (II) LoadModule: "fb"
[ 683.713] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 683.713] (II) Module fb: vendor="X.Org Foundation"
[ 683.713] compiled for 1.15.1, module version = 1.0.0
[ 683.713] ABI class: X.Org ANSI C Emulation, version 0.4
[ 683.713] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 683.713] (II) Loading sub module "wfb"
[ 683.713] (II) LoadModule: "wfb"
[ 683.713] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 683.713] (II) Module wfb: vendor="X.Org Foundation"
[ 683.713] compiled for 1.15.1, module version = 1.0.0
[ 683.713] ABI class: X.Org ANSI C Emulation, version 0.4
[ 683.713] (II) Loading sub module "ramdac"
[ 683.713] (II) LoadModule: "ramdac"
[ 683.713] (II) Module "ramdac" already built-in
[ 683.713] (EE) Screen 0 deleted because of no matching config section.
[ 683.713] (II) UnloadModule: "nvidia"
[ 683.713] (II) UnloadSubModule: "wfb"
[ 683.713] (II) UnloadSubModule: "fb"
[ 683.713] (EE) Device(s) detected, but none match those in the config file.
[ 683.713] (==) Matched nvidia as autoconfigured driver 0
[ 683.713] (==) Matched nouveau as autoconfigured driver 1
[ 683.713] (==) Matched nvidia as autoconfigured driver 2
[ 683.713] (==) Matched nouveau as autoconfigured driver 3
[ 683.713] (==) Matched modesetting as autoconfigured driver 4
[ 683.713] (==) Matched fbdev as autoconfigured driver 5
[ 683.713] (==) Matched vesa as autoconfigured driver 6
[ 683.713] (==) Assigned the driver to the xf86ConfigLayout
[ 683.713] (II) LoadModule: "nvidia"
[ 683.713] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[ 683.713] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 683.713] compiled for 4.0.2, module version = 1.0.0
[ 683.713] Module class: X.Org Video Driver
[ 683.713] (II) UnloadModule: "nvidia"
[ 683.713] (II) Unloading nvidia
[ 683.713] (II) Failed to load module "nvidia" (already loaded, 32577)
[ 683.713] (II) LoadModule: "nouveau"
[ 683.713] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 683.715] (II) Module nouveau: vendor="X.Org Foundation"
[ 683.715] compiled for 1.15.0, module version = 1.0.10
[ 683.715] Module class: X.Org Video Driver
[ 683.715] ABI class: X.Org Video Driver, version 15.0
[ 683.715] (II) LoadModule: "modesetting"
[ 683.715] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 683.715] (II) Module modesetting: vendor="X.Org Foundation"
[ 683.715] compiled for 1.15.0, module version = 0.8.1
[ 683.715] Module class: X.Org Video Driver
[ 683.715] ABI class: X.Org Video Driver, version 15.0
[ 683.715] (II) LoadModule: "fbdev"
[ 683.715] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 683.716] (II) Module fbdev: vendor="X.Org Foundation"
[ 683.716] compiled for 1.15.0, module version = 0.4.4
[ 683.716] Module class: X.Org Video Driver
[ 683.716] ABI class: X.Org Video Driver, version 15.0
[ 683.716] (II) LoadModule: "vesa"
[ 683.716] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 683.716] (II) Module vesa: vendor="X.Org Foundation"
[ 683.716] compiled for 1.15.0, module version = 2.3.3
[ 683.716] Module class: X.Org Video Driver
[ 683.716] ABI class: X.Org Video Driver, version 15.0
[ 683.716] (II) NVIDIA dlloader X Driver 331.113 Mon Dec 1 20:01:51 PST 2014
[ 683.716] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 683.716] (II) NOUVEAU driver Date: Thu Nov 7 14:56:48 2013 +1000
[ 683.716] (II) NOUVEAU driver for NVIDIA chipset families :
[ 683.716] RIVA TNT (NV04)
[ 683.716] RIVA TNT2 (NV05)
[ 683.716] GeForce 256 (NV10)
[ 683.716] GeForce 2 (NV11, NV15)
[ 683.716] GeForce 4MX (NV17, NV18)
[ 683.716] GeForce 3 (NV20)
[ 683.716] GeForce 4Ti (NV25, NV28)
[ 683.716] GeForce FX (NV3x)
[ 683.716] GeForce 6 (NV4x)
[ 683.717] GeForce 7 (G7x)
[ 683.717] GeForce 8 (G8x)
[ 683.717] GeForce GTX 200 (NVA0)
[ 683.717] GeForce GTX 400 (NVC0)
[ 683.717] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 683.717] (II) FBDEV: driver for framebuffer: fbdev
[ 683.717] (II) VESA: driver for VESA chipsets: vesa
[ 683.717] (++) using VT number 8
[ 683.717] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 683.717] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 683.717] (WW) Falling back to old probe method for modesetting
[ 683.717] (WW) Falling back to old probe method for fbdev
[ 683.717] (WW) Falling back to old probe method for vesa
[ 683.717] (EE) No devices detected.
[ 683.717] (EE)
Fatal server error:
[ 683.717] (EE) no screens found(EE)
[ 683.717] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 683.717] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[ 683.717] (EE)
[ 683.718] (EE) Server terminated with error (1). Closing log file.
02-15-2015 12:28 PM
02-18-2015 02:39 AM
02-18-2015 03:12 AM
02-18-2015 05:12 AM
"FictionX" wrote:
Are there actually any advantages to messing about with a separate x screen instead of just using xrander to sync to the Rift?
02-22-2015 09:40 AM
export DISPLAY=:0.1
icewm --replace &
command_to_run_on_rift
02-22-2015 11:46 AM
06-02-2015 10:55 AM
/usr/local/bin/ovrd &
DISPLAY=:0.1 /usr/local/bin/OculusWorldDemo