Oculus SDK version 0.4.3+ comes with an experimental Linux support for the Oculus Rift DK2. The documentation mentions two general options to run the Rift:
- running the Rift in a twinview configuration using
xrandr(or one of its graphical front-ends) - running the Rift as a separate X server.
My question is: What are the required steps to configure a separate X server for the Rift? In particular:
- Apparently, modern X11 versions no longer have a
xorg.conffile. Is creating axorg.conffile actually required? Or is it possible to make the necessary adjustments in/usr/share/X11/xorg.conf.d/or/etc/X11/xorg.conf.d/, as suggested by this answer? - If it is necessary to create an
xorg.conf: How do I obtain and exactly replicate all non-Rift-related settings of my current default configuration? - If I understand the xorg.conf man page correctly, it is required to define a new
ServerLayoutsection for the Rift, since aServerLayoutis the top level definition of every X server. TheServerLayoutitself binds aScreenand anInputDevicesection. TheScreensection further binds aDevicesection (a graphics device) and aMonitorsection. Therefore, we probably need at least aSeverLayout,InputDevice,Device, andMonitorsection. How would these sections typically look like for an Oculus Rift X server?