I have been trying for several hours to display the output of the two cameras (or even a single camera in 2D mode) to an Oculus DK2. I have found configuration parameters for the headset that are supposed to work on raspbian (see for instance this and this).
My current config.txt file is the following:
The DK2 displays the stereopi logo for a few seconds, then black screen and LED is orange.
Code: Select all
hdmi_timings=1080 1 33 10 15 1920 1 1 1 13 0 0 0 75 0 165000000 3 hdmi_group=2 hdmi_mode=87 config_hdmi_boost=4 max_framebuffer_width=1080 max_framebuffer_height=1920 display_rotate=3 hdmi_force_hotplug=1 #hdmi_ignore_edid=0xa5000080 hvs_priority=0x32ff hdmi_pixel_freq_limit=400000000 dtparam=audio=on disable_overscan=1 [pi4] dtoverlay=vc4-fkms-v3d max_framebuffers=2 [all] gpu_mem=256 start_x=1 dtoverlay=pi3-disable-bt dtoverlay=dwc2,dr_mode=host
The TFT screen is working, preview option is on, 2D and 3D modes have been tried. Seems like the TFT screen is the one that has been resized by the parameters (it is more narrow and stretched than usual).
Taking a picture using raspistill in the console leads to an ENOSPC error (mmal: mmal_vc_component_enable: failed to enable component: ENOSPC).
I don't know what I am missing.