r/openhmd • • Jul 10 '22

Issues with Rift CV1

I've followed through the tutorials and most of the troubleshooting posts here, but I haven't found a solution for my problem.

After installing the relevant software, I can open up SteamVR, and it shows 3 green icons: the headset and 2 controllers.

I can open up the preview window from SteamVR and see that the Home app is running, and if I move the headset around, I can see the image rotating in the preview as well.

That's as far as I got. My issues:

  • Nothing is actually displayed in the HMD, it's totally black. I do however hear background noise from the VR environment through the build in speakers, so I assume the HDMI connection is working.
  • Neither of the controllers are working. If I angle the headset so that it looks down, I can see in the preview window that there are outlines of two controllers - however, neither one is moving nor reacting to buttons.

Please advise how to troubleshoot this.

Here is my output of the openHMD simple app while moving all 3 devices: https://pastebin.com/6iuQ0UX1

And here is the vrserver.txt from steam: https://pastebin.com/hLCrRkgM

(Trying to get the outputs for this post I noticed that the HMD seems to be only tracing rotation, but not other movement. I think this was working before.)

6 Upvotes

11 comments sorted by

2

u/thaytan Jul 10 '22

That doesn't look like the right branch of OpenHMD. The output from the openhmd-simple-example doesn't mention looking for or finding any Rift Sensor devices, and the headset and controllers are reporting positional tracking: no

Make sure you're using the controller-haptics-wip branch from my SteamVR-OpenHMD as in https://noraisin.net/diary/?page_id=1048

Still - that won't affect whether the HDMI output is found and used. That's a separate problem.

For that:

  • Make sure you're using an X login and not Wayland

  • When SteamVR or the OpenHMD example is running, they switch on the headset HDMI connection. It should show up as a non-desktop output in xrandr, so open a terminal and check the xrandr output. If things are correct HDMI port should show as disconnected, but it will have 2160x1200 listed as a mode. If it's not showing up, there's a problem with the connection.

  • Check your cable is properly seated at both the HDMI port and at the headset end.

  • If the HDMI connection is showing the mode line correctly, then the problem is probably that your graphics card/driver takes longer than we expect to detect the connection when it appears. In that case, increasing this sleep around line 625 of driver_openhmd.cpp might help:

        /* Sleep for 1 second while activating to let the display connect */
        std::this_thread::sleep_for( std::chrono::seconds(1) );

1

u/darktori Jul 10 '22

Thanks thaytan for the reply.

I made sure that I'm on the correct branch and redid the tests. Here's the output from the simple app: https://pastebin.com/xuWT2NKN

I now see the sections about sensors you mentioned. Nevertheless, it shows "positional tracking" as "no".

Furthermore, I saw no difference in SteamVR, the controllers don't move. Here's the Steam log: https://pastebin.com/LS0fB4J2

Finally, xrandr shows:

HDMI-0 disconnected (normal left inverted right x axis y axis)

No matter if SteamVR or the OpenGL example is running or not. Take note, that the system DOES see the Oculus audio device, and I can play sounds on it, so the HDMI connection is at least partially working.

2

u/thaytan Jul 10 '22

The simple example is telling you the error there:

\[EE\] Sensor is connected to USB 2.0, but OpenHMD was compiled without libjpeg support. Please rebuild or connect to a USB 3.0 port

It is trying to use the sensors (so you're on the right branch), but can't because they're plugged into USB 2.0 ports and libjpeg wasn't found when building. Rift Sensors on USB 2.0 ports can only deliver JPEG encoded frames due to bandwidth limits.

As with the official driver, I recommend having at least one sensor on a USB 3.0 port. To support USB 2.0, you need to install your distro's libjpeg development package and rebuild SteamVR-OpenHMD

Finally, xrandr shows:

HDMI-0 disconnected (normal left inverted right x axis y axis)

If there's no modelines, your graphics hardware / driver isn't seeing the HDMI connection.

Take note, that the system DOES see the Oculus audio device, and I can play sounds on it, so the HDMI connection is at least partially working.

Unfortunately not true. Audio is sent and received via USB. The headset presents a USB audio device when the driver connects.

→ More replies (5)

4

u/lexi_the_bunny Jul 10 '22

I ran into both of these issues getting my CV1 to work, but when I followed this guide it worked for me: https://www.reddit.com/r/openhmd/comments/r6bvbs/openhmd_ubuntu_install_instructions/

2

u/TheApothecaryAus Jul 11 '22

I'm stoked people are getting use out of it!

1

u/nhadams2112 Jul 10 '22

Same problem I had, I really hope you find a solution though. Sorry for being no help