Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Totally And Utterly Resolved Non SteamVR-OSVR Issue] Steamvr Compositor Issue/s #75

Closed
Balderick opened this issue Jul 3, 2016 · 77 comments

Comments

@Balderick
Copy link

Balderick commented Jul 3, 2016

N.B. If You Have Been Directed Here Through OSVR Support Please read the comments from most recent backwards to try and track issues in reverse chronological order to best understand my most recent status regarding configuration being used etc.

CURRENTLY

No Headset Detected (108)

Main current issue seems to be usb device (ir camera) firmware issue with usb 3.0 female ports. steamvr does not detect device. running latest current steam client, steamvr, osvr control, osvr runtime 1204 and latest osvr drivers. Latest drivers firmware and everything else which meeans nvidia 368.81 drivers. Regardless of which osvr_server.config.json or sample file is used all that is shown in osvr server output is what is listed at OSVR/OSVR-Docs#63

Before launching osvr server i check that all OSVR devices are showing as well and healthy in devices app, control panel device and printers as well as in device manager.

OSVR Control gives ` >#?v
Version 1.92 Mar 24 2016

Tracker:1.8.4.415 `

SteamVR Compositor Is Not Available (400)

After receiving a HDK 1.4 kit on Thursday it took me till late on Friday to get drivers installed with no problem devices showing in device manager. It took another twelve hours + of applying workarounds, reinstalling drivers and searching the interweb to work out i had to try rolling back from 1197 to 1194 core and steamvr-osvr drivers to improve chances of a steamvr title to launch. My HDK display appeared to die on Saturday evening and spent most of Sunday to work out my hdk was stuck in direct mode and not dead.
The furthest in set up process i have been is launching steamvr and being asked to switch to direct mode but steamvr compositor can not start when steamvr restarts in direct mode. Using 1197 runtime and steamvr-osvr drivers i managed to go through room setup before being asked to switch to direct mode.

Describe the issue you've encountered. What is the exepected and actual behavior? What steps have you tried to fix the problem?
osvr audio device showing as problem device i.e. unusable, not started in device manager. windows devices and devices and printers showing no ssues with displays but nvidia control panel sees hdk display as using portrait. selecting landscape helps with steamvr issues/errors (400 and 109). To help with steamvr setup and osvr complaining about no beacon configuration done i used https://www.youtube.com/watch?v=MObPn_U4IYg but allthough the file appeared to save osvr could never use it. The other bugs still needing workarounds applied are described well in this video. https://www.youtube.com/watch?v=1ZaboSUUpcI I do not expect drivers to be an issue on modern operating systems. Killing hardware makes the drivers not fit for purpose.

Steps to reproduce the problem

How can the problem be reproduced?
Plug in and power up HDK
Launch OSVR client
Start Steam
Start SteamVR
Switch to direct mode using steamvr ui
Can not get passed "compositor is not running (400)" dialogue. Clicking the "launch compositor" button does nothing. If i start steamvr with hdk in extended mode after deleting steamvr.vrsettings the compositor (white meshed environment) is visible in hdk display. The compositor never loads after switching to direct mode.

The enable/disable direct mode switches that come with osvr runtime work as expected the majority of the time. Roughly 3 out of 10 times get unexpected behaviour ranging from appearing to do nothing and nothing. i.e. gets stuck in direct mode after steamvr switched from extended to direct mode.
Getting osvr audio device not be shown as trouble device in device manager is an issue in its own right but steamvr not starting compositor is what is stopping any app to launch as expected in vr mode imo.

System configuration

Please specify any relevant system configuration information.

  • Graphics card(s): Main display: 4K TV 3840x2160 Intel 530 igpu
    HDK Display: 1920x1080 Asus Matrix Nvidia GTX 980TI discrete gpu
  • Operating system: windows 10 x64
  • Version of SteamVR: Current stable
  • Version of SteamVR-OSVR: 1194 and 1197 tested. Both failed to allow launching of any steamvr title.

After finding 1.2.6 and 1.2.7 drivers installed at same time i suspect what caused this to happen is same thing that has caused hdk display to die. I double checked my downloads folder and am 100 per cent positive i did not install 1.2.6 drivers. The only currently available drivers from https://github.com/OSVR/OSVR-HDK-Windows-Drivers/releases are 1.2.7

OSVR audio device has issues with driver management. It is a problem device. I need to disconnect usb from i/o on pc and use device manger to show hidden devices. Only after deleting all disconnected devices and drivers allows the reinstall of driver for osvr audio device with no issue or problems.

Attached files

Please attach the following files:

Notes

N.B. Two HDK's and 100 + hours down and still not one steamvr app launched successfuly. :-(

Now that i have faceplate removed am currently working my way through https://www.youtube.com/watch?v=GLgxJxbsalM to try and get going again

Why isn't there a screwdriver for removing faceplate included with hdk? I used a 00 phillips screwdriver with care and still rounded off a screwhead probably due to the screws being overtightened on assembly imho.

HDK was stuck in direct mode but still can not get passed "compositor not available (400)".

@Balderick Balderick changed the title OSVR Software Killed Another HDK #OSVR Software Killed Another HDK# Steamvr Compositor Issue/s Jul 4, 2016
@Balderick Balderick changed the title #OSVR Software Killed Another HDK# Steamvr Compositor Issue/s ~~OSVR Software Killed Another HDK~~ Steamvr Compositor Issue/s Jul 4, 2016
@Balderick Balderick changed the title ~~OSVR Software Killed Another HDK~~ Steamvr Compositor Issue/s Steamvr Compositor Issue/s Jul 4, 2016
@Balderick
Copy link
Author

Balderick commented Jul 5, 2016

HDK

#What is the HDK?
The HDK or Hacker Development Kit is a virtual reality HMD designed to bring the benefits of the OSVR ecosystem to fans of VR out of the box. Not only does it allow you to experience VR, its support for the OSVR ecosystem means access to the growing range of VR controllers and technologies that support the ecosystem.

There are two HDKs currently available:

  • HDK 1 – Designed to provide all the essential technology you need to experience VR.
  • HDK 2 – Designed to deliver mind bending visual experiences with more advanced technology.

#Why is it called a Hacker Development Kit? Is it for developers or consumers?
The HDK is for both.
The HDK was designed to embody the vision of the software platform – to allow for unrestricted innovation for developers and to deliver innovation to consumers.
It was created to address the needs of the emerging VR industry that requires flexibility and technology that is open to evolution. This to help power innovation and allow owners of the hardware to access the latest technologies as soon as they are supported by the ecosystem.
While this is something we will continue if a consumer focused iteration is released, the Hacker Development Kit exists to be that perfect fit between industry innovation and the evolution of a consumer’s needs and true to the OSVR software – it is open source.

https://www.razersupport.com/osvr-hacker-dev-kit/

Why have i had two hdk's and never experienced vr?

@godbyk
Copy link
Contributor

godbyk commented Jul 5, 2016

Do you have the HDK plugged into the Intel card or the nVidia card? It may be that SteamVR has trouble with direct mode on dual-card machines. Do things work as expected in extended mode?

@russell-taylor
Copy link

The latest nVidia drivers prevent DirectMode from operating on dual-GPU machines with non-HDCP-compliant displays. You should be able to run in extended mode, where the laptop is on the Windows display. You can put the display into that state using the DisableDirectMode program that should ship with the SDK.

@Balderick
Copy link
Author

Balderick commented Jul 5, 2016

Please specify any relevant system configuration information.

Graphics card(s): Main display: 4K TV 3840x2160 Intel 530 igpu HDK Display: 1920x1080 Asus Matrix Nvidia GTX 980TI discrete gpu

The hdk needs to be plugged into discrete card as the igpu (onboard - intel 530 graphics on a i7 6700k cpu ) does not support vr . The two gpus are being used as there is only one hdmi port on nvidia discrete card. I'll look into seeing if there is such a thing as a display port to hdmi adapter or other cable options that i could use to get both displays working from nvidia gpu only.

All latest news, reddit and update info say everything should work with latest nvidia drivers.

Both the enable/disable direct mode switches that ship with osvr runtime and steamvr ui work fairly reliably for me.

I am going to test osvr content before retrying steamvr with hdk in extended mode (not direct mode) before considering rolling back nvidia drivers.

@Balderick
Copy link
Author

Balderick commented Jul 6, 2016

Can now confirm more unexpected behaviour. Since receiving hdk 1.4 have very rarely put the hmd display on head due to nothing launching as expected. When trying OSVR content from https://www.osvr.org/featured.html#page-1 not one launches as expected.

DreadEye VR demo, Showdown (direct mode), Cityscape Repairman, SightLine The Chair and even the Palace Demo mentioned in documentation which is not even listed as official osvr content does not launch as expected.
Even extended mode is not working as expected as after viewing the extended desktop in hdk display it is upside down.
After setting landscape in nvidia control panel settings the extended desktop in hdk is upside down. If i try to launch anything (steamvr or osvr content) in hdk and i go back to nvidia control panel the orientation has changed to portrait and changing it back to landscape gives a rotated portrait with task bar at side instead of bottom of screen - which is not the true extended desktop.
When any osvr content is launched a stereoscopic window opens on main display. The hdk display just stays blank due to being in direct mode.

So i got drivers (osvr) that windows hates and are actualy causing wdf_violation bluescreen of death,
no VR content showing in hdk display other than a borked unusable extended desktop.

Where do i start debugging this shit? It would appear everything is FUBAR as nothing is working as expected for me.

Having no z axis and reversed x axis on tracker view and led calibration settings not saving or being usable adds to that list of things not working as expected. I can add more believe you me ....

Nothing in latest updates works for me predicably or reliably.

I am needing help to work all this out. Being told "latest version fixes that" is not helping at all nor is being given outdated and irrelevant information.

@Balderick
Copy link
Author

@godbyk With refernce too https://www.reddit.com/r/OSVR/comments/4qrin6/news_osvr_runtime_more_update/d4vy4x3 please put the orientation issue higher on your priority list.

@Balderick
Copy link
Author

Balderick commented Jul 6, 2016

How does latest nvidia drivers break osvr direct mode?
Nvidia are OSVR partners; aren't they?
How can OSVR partners break OSVR support?

I just updated to 368.69 purely because of https://www.nvidia.co.uk/download/driverResults.aspx/104828/en-uk
https://youtu.be/6jJr-DMLka8 and still hope to use hdk to enjoy such content in VR mode.

Upgrading gpu driver seems to have helped extended mode as what i see in extended mode in hmd is expected behaviour i.e. correct orientation

OSVR content is still running in windowed mode on main display and but not in hmd though.

Steamvr is loving the new gpu driver simply get green lights on launch. Have only tried extended mode so far but can complete room setup and the tutorial appears to be alive now too. I even got to launch a game in vr mode. However ....

... it is coming back to needing main display and hmd connected to same gpu. Steamvr support pages demand this for vive when seeing errors 400 and 109. https://support.steampowered.com/kb_article.php?ref=8566-SDZC-9326#headset
Steam compositor loads when launching elite dangerous in extended mode but nothing gets rendered in hmd (other than compositor)

I found it is possible to purchase male display port to female hdmi 2.0 adapters which should allow me to connect both displays to same gpu so other than rolling back to older drivers i might have to chomp at the bit for a while longer yet.

But can i wait to try out the new steam-osvr drivers ....

@Balderick
Copy link
Author

Balderick commented Jul 9, 2016

Everything works as expected with 1197 osvr runtime, 209 build steamvr-osvr drivers and current stable steamvr with 368.69 drivers; up until trying to launch an app. The 400 and 109 issue/s are no longer reproducible. The orientation issue and direct/extended mode switching isues are no longer reproducible for me. Still can not get any steamvr app to show in hmd as expected though.

Getting wdf_violation bsod when powering down or restarting pc with hdk connected and powered up is still reproducible.

Rolling back to 365.19 drivers with current steamvr stable and current osvr runtime is a no go. I can see only one osvr steamvr beta version available (osvrsvvr) but not sure which osvr runtime versions to be trying.

@rpavlik
Copy link
Member

rpavlik commented Jul 9, 2016

Should not need a beta of steamvr. If the hdk was "killed" that's a known hardware issue, contact support for RMA.

You might consider unplugging the USB when booting for now.

@rpavlik
Copy link
Member

rpavlik commented Jul 9, 2016

If you still have GPUs from two vendors, then rolling back to a pre 367 driver is the only solution that will help getting direct mode apps to work: you can even see the NVIDIA driver release notes at least for the first 368 release driver, they mention intentionally breaking HDK support on multi GPU systems. If there is another reason you can't roll back that driver and can't go to a single GPU, I suggest contacting NVIDIA to let them know the trouble their decision is causing you and many others.

@godbyk
Copy link
Contributor

godbyk commented Jul 9, 2016

From the release notes for nVidia driver version 368.69:

With R367 and future NVIDIA drivers, Crescent Bay and Open Source Virtual Reality development kit headsets will not work with VRWorks Direct Mode in systems that contain GPUs from multiple vendors (e.g. NVIDIA and Intel). For such systems, please disable the Intel integrated graphics (from the system BIOS) in order to use Direct Mode.

@Balderick
Copy link
Author

Balderick commented Jul 9, 2016

When i started this thread i did believe my hdk was dead. After removing faceplate to access reset switches i noticed the tracking leds were not flashing but were on. I then realised i should try disconnecting hdk rebooting system and reconnecting hdk once again. The switches that install with runtime for enabling and disabling direct mode were functional once again.
I have since had the hdk get stuck in direct mode but simply disconnected hdk and used device manager to show hidden devices to uninstall the display adaptor and then reboot and try reconnecting hdk again. Seems to be a reliable reproducible workaround for getting unstuck from direct mode.

And again tio clarify latest gpu drivers (368.69) with 1194 and 1197 osvr runtime and steamvr-osvr drivers have no issue of switching to and from direct mode (most of the time). It is getting steamvr and osvr apps to launch and show up in hmd that is the issue here.

Rolling back to 365.19 drivers with 1194 and 1197 runtime and steamvr-osvr drivers did not work out well. direct mode switching was even less predictable. Should i be using older runtime and steamvr-osvr drivers and steamvr beta with older drivers?

Disabling igpu and installing another nvidia gpu has not helped either. steamvr simply gives error 108 hmd not detected. Windows is detecting all osvr hdk hardware with no issues in control panel, devices app and device manager. Tracking has stopped working when i start osvr server.

I admit to causing PEBCAK, i admit to being unable to descrbe things well, i admit i even need to RTFM but i know that i do not need to apply for another RMA so that i can be asking all the same questions in another months time.

Rebooting with hdk connected and powered causes wdf_violation bsod consistently in all methods tried listed above when restarting or shutting down. Yes i disconnect power and usb to work around that.

Is there any useful information i can give so we can get these issues resolved?

@Balderick
Copy link
Author

Balderick commented Jul 11, 2016

So this is how i read:

With R367 and future NVIDIA drivers, Crescent Bay and Open Source Virtual Reality development kit headsets will not work with VRWorks Direct Mode in systems that contain GPUs from multiple vendors (e.g. NVIDIA and Intel). For such systems, please disable the Intel integrated graphics (from the system BIOS) in order to use Direct Mode.

what i see is

Direct Mode in systems that contain GPUs from multiple vendors

as meaning a gtx 950 with one hdmi port could be used to run primary display ( 4K TV in my case) paired with a gtx 980 ti for running hmd. Nvidias release notes discriminate multiple gpus of varying vendors. Nowhere does it specify sli (combined nvidia gpu's ) or single gpu for both primary display and hmd.

If my tv and hmd are hdmi only choice of connection to pc that means there has to be two available hdmi ports on pc.

Using nvidia gtx 950 for primary display along with nvidia gtx 980 ti appears to be fine in device manager. In nvidia control panel all the display layout, configuration and settings appear to be configured correctly for both displays. There is no trouble switching from and to direct mode using 1197 runtime and steamvr osvr drivers with nvidia 368.69 drivers. I now no longer even get the 400 and 109 errors as s steamvr simply does not detect hmd giving error 108. why? because steamvr is looking for primary and hmd connected to same gpu. ref: Error 208 section of https://support.steampowered.com/kb_article.php?ref=8566-SDZC-9326#headset reads:

Make sure that your Vive’s link box and the monitor or TV you use as a primary display are plugged into the same graphics card. If you are connected to your onboard display adapter, you will see an Intel HD Graphics device listed in your SteamVR system report. Onboard cards, such as those connected to a PC’s motherboard, will not be powerful enough to use the Vive. Reconnect your Vive to your PC’s dedicated graphics card.

With a dual nvidia set up with gtx 950 as primary display and gtx 980 ti as hmd due to both having only one hdmi port each does not even get close to what nvidia describes as to what should happen with an exclusively nvidia only gpu setup. It certainly is not the behaviour i see with 368.69 drivers; nor is it what i see with a nvidia and integrated intel gpu combination.. In fact; if anything, Direct mode switching seems to be more reliable with the intel/nvidia combo.

Windows is having issues with tracking camera now too; which is definitely an osvr software/driver issue. I have no usb 2.0 ports which is what windows is saying i need to try and do for tracking camera to work as expected.

So i opened up geforce experience and discover it is saying my pc is now not VR capable. Why? possibly because my primary display and hmd are not connected to same nvidia gpu.

Looks like both valves's steamvr and nvidias's vrworks are looking for same thing but osvr/steamvr-osvr are not even aware.

@Balderick
Copy link
Author

Balderick commented Jul 12, 2016

So still trying to get hdk to behave as expected and/or as described in official documentation. Not even trying to get steamvr apps running but just trying to get a working osvr server config working. After recovering hdk from being stuck in direct mode once more, making sure all my mobo device drivers are up to date, making sure there are no firmware updates for any hardware on this machine available and spending 40+ hours trying to research, troubleshoot and remedy all the issues i am having with osvr hdk and osvr software.

My main focus has shifted from trying to get by steamvr errors and is now trying to work out why osvr server has stopped giving positional tracking, tracker viewer broke and can not calibrate leds by using videotrackercalibibration utility. OSVR/OSVR-Docs#63

Very little of the official information in osvr docs seems to be relevant to or even refer to recent builds of osvr hdk, osvr runtime and steamvr-osvr drivers .

OSVR HDK is the hardware deveolpment platform of OSVR Organisation. Please document it as such in the OSVR software documentation. https://www.youtube.com/watch?v=dxeQVBwyh8Y

Getting to see what should happen with recent releases of osvr hardware and software in Proxishs's videos has been truely life saving. Those videos are in fact the main motivation for continuiuning my vr quest/odyssey on a daily basis.

All my hardware currently being used is advertised as More than VR Ready and/or VR Ready. I spent all my life savings on this vr rig . It is a beast of a machine. Asus Maximus VIII Extreme running a water cooled i7 6700k and an Asus Matrix GTX 980 Ti with pci-e nvme solid state storage and 32GB of ddr4 RAM.

Why is OSVR hardware and software not ready for my vr machine?

Have to admit this put a smile on my face when i saw it https://www.reddit.com/r/OSVR/comments/4rxbph/release_hdk2_already/

aahhhhh the irony!

@Balderick
Copy link
Author

Balderick commented Jul 12, 2016

Can anybody confirm the latest runtime (1204) and the latest steamvr-osvr drivers (209--1197) works as expected with steam vr apps?

Can anybody confirm Team Fortress 2 runs in VR mode at all nowadays?

@godbyk
Copy link
Contributor

godbyk commented Jul 12, 2016

I do my testing with the latest runtime and the latest (non-beta) version of SteamVR.

@Balderick
Copy link
Author

Balderick commented Jul 12, 2016

what steamvr-osvr driver build/version are you using with the osvr 1204 runtime?

Can anybody confirm the info at https://support.steampowered.com/kb_article.php?ref=8566-SDZC-9326#gen-pc is relevant or good advice for osvr hdk and osvr software users? i.e. does steam need to be running as admin for steamvr apps to work with osvr?

@Balderick
Copy link
Author

Balderick commented Jul 13, 2016

Have found connecting a 24" 1080p monitor to same GPU as hdk hmd has indeed allowed osvr demos/apps to load in hmd but I need to switch or move primary display for different osvr demos. The demos are not using ir positional tracking so were not very enjoyable or impressive.
Ir positional tracking is not working because osvr server is using saved beacon calibration config from videotracking configuration utility. There is nothing in osvr documentation that i can find describing how to remove the saved beacon config or how to switch back from using the saved config that video tracking configuration utility created to start using ir positional tracking again.
I thought the whole point of saving beacon calibration was so that ir tracking worked when starting osvr server without the need to put hmd in front of camera.

Too many of my questions and issues are being left unanswered and unresolved here. The main issue is the lack of accurate and relevant information in readme.md's as well as that information made available in one easily accessible place. I still think that it is not my osvr hardware that is at fault. All the issues listed are known and documented osvr software issues and very few of the documented workarounds are even relevant never mind actual working workarounds.

I opened another osvr support ticket so will stop asking questions and trying to communicate what issues I am having and what I am trying to do to get by them here as the monologue is not easy reading even for me.

@godbyk
Copy link
Contributor

godbyk commented Jul 13, 2016

A support ticket is a better channel for issues unrelated to the SteamVR-OSVR software itself. This issue tracker is only for the latter.

@Balderick
Copy link
Author

Balderick commented Jul 13, 2016

Could a support ticket help in getting the steamvr-osvr team to drop a couple of gears?
Maybe somebody at osvr support could at least take me through troubleshooting steps to actually confirm what issues I am hitting and thus determine if the issues are osvr hardware, osvr software, steam, steamvr or operating system related issues?

@godbyk
Copy link
Contributor

godbyk commented Jul 13, 2016

From reading what you've been reporting here, I thought you'd already determined that yourself.

I'll be honest, though, this issue report has meandered quite a bit and I've lost track of what the current problem is that you're experiencing.

@Balderick
Copy link
Author

Balderick commented Jul 13, 2016

;-)
I can not prove or confirm the multi GPU configuration, the primary display management, the orientation or broken ir tracking are osvr hardware, osvr software, steam, steamvr or operating system issue/s.

The only change has been adding a 1080p monitor to same GPU as hdk hmd by using dvi . The outcome is I can now run some osvr demos/apps from https://www.osvr.org/featured.html but am having to change primary display, orientation and other GPU related settings to get them to run in hmd.
I have not removed the gtx 950 or reenabled igpu. All I did was connect a another monitor but to the same GPU as the hdk hmd is connected to.
Am running latest nvidia drivers 368.69 with osvr runtime 1204.

I have not tried the latest runtime with latest steamvr-osvr drivers as there is no 1204 version of steamvr-osvr drivers and nobody has confirmed if the 1204 runtime with the 209build 1197 version steamvr-osvr drivers are compatible. AFAIK runtime and steamvr-osvr driver version need to be matching pair to work as expected.

I did ask twice. ;-)

Vast majority of the issues I am seeing are in fact listed as open issues in osvr-core and rendermanager issue trackers.

Steam support steamvr pages are proving very helpful. They contain much useful information for osvr users imho.
The ironic thing is the information for errors 109, 208 and 400 errors highlight the need for primary display and hmd to be connected to same GPU which is exactly how i got my rig to run osvr content as expected.

@godbyk
Copy link
Contributor

godbyk commented Jul 13, 2016

While we generally try to build a new SteamVR-OSVR plugin when we rebuild OSVR-Core specifically to avoid this confusion, it's not actually necessary. The interface to the Core libraries rarely changes and the SteamVR-OSVR driver will work with almost any OSVR server version you can get your hands on. (The latest SteamVR-OSVR plugin does require a fairly modern OSVR-RenderManager, though.)

@Balderick
Copy link
Author

Balderick commented Jul 13, 2016

ahh k thanks for clarifying that.

I use runtime installer which installs render manager components but not the full set of rendermanager tools. Is it safe to assume the latest version of osvr runtime uses the latest version render manager components?

Yes i understand the limitations of older osvr apps needing older versions of render manager installed. That is the main contributing factor to why i am not really interested in running older osvr applications. The main reason for me trying to run osvr apps is to prove my osvr hardware is not defective. ;-)
My main incentive for getting osvr hdk was to play steamvr games. The thing that motivates me in continuing to try and get osvr software working as expected is to play steamvr games.

As an nvidia shield (tablet and adroid tv) device user the android support of hdk has me intrigued but i ain't going there till i understand what is going on here on pc platform.

Can you confirm the example game of TF2 on steamvr-osvr readme.md is even relevant nowadays?
All i get is a dialogue box saying something like "TF2 is not a vr game. Trying to run it in vr mode will drastically reduce performance." that is with and without -vr launch parameter for that game.

I dare even say the readme.mds for steamosvr-osvr drivers and render manager are useless. They seem to convey mainly outdated and irrelevant information. Same for the Getting Started doc.

So now we know main display and hmd need to be connected to same gpu and that both Valve and Nvidia support pages explicitly DEMAND this and we know that osvr apps can run as expected on my rig i think the broken ir tracking is now the thing i would most like to troubleshoot; before going on to test steamvr and vr games again.

i used the videotrackingconfiguration utility to save beacon configs. ir tracking has not worked since. How do i delete the saved beacon configs?
I can confirm video tracker graphical window has started showing again as well as the command prompt window when launching tracker viewer. Since saving the beacon calibration config the green light on camera has never litten up when osvr server is started. Using windows camera app i can confirm both the camera and led array on hmd are alive.

Why doesn't uninstalling and reinstalling osvr runtime reset video tracking calibration saved configs?

Even using revo uninstaller (which finds 40MB + of files and registry entries) and a registry cleaner in preparation for reinstalling osvr runtime does not help reset beacon calibration config.

@godbyk
Copy link
Contributor

godbyk commented Jul 13, 2016

Is it safe to assume the latest version of osvr runtime uses the latest version render manager components?

Yes.

As an nvidia shield (tablet and adroid tv) device user the android support of hdk has me intrigued

Android support is still a work-in-progress. You can follow its development by monitoring the OSVR-Android-Build repository.

Can you confirm the example game of TF2 on steamvr-osvr readme.md is even relevant nowadays?

I haven't tried it personally, so I can't say. You could ask on Reddit or in the Gitter chat rooms, though.

I dare even say the readme.mds for steamosvr-osvr drivers and render manager are useless. They seem to convey mainly outdated and irrelevant information.

That could very well be. I do intend to update the SteamVR-OSVR README for the next release.

If you've found specific problems in either of the READMEs, please file individual issue reports citing the erroneous or outdated information and we'll get it updated. Or even better, you can edit the file directly and submit the changes for review.

How do i delete the saved beacon configs?

The filename is set in the OSVR server config file (under the calibrationFile key). By default it's a file named videotrackerCombinedCalibrationFile13.json or similar based on the HDK version. For more information on the calibration utility, you'll need to either contact OSVR support or read through the relevant code and docs in the OSVR-Core repository. I don't know much about it myself.

[...] the green light on camera has never litten up when osvr server is started

I believe the camera light turns green once the video-based tracker plugin is loaded. Are you seeing any error messages when you start up the OSVR server? Does it say anything about the plugin?

Why doesn't uninstalling and reinstalling osvr runtime reset video tracking calibration saved configs?

I don't know the answer to that either. I'd suggest contacting [email protected] and they can direct your request to someone who knows more about it than I do.

@Balderick
Copy link
Author

Thanks for the feedback @godbyk it is appreciated. I really appreciate developers simply do not have the time for hand holding every osvr user step by step with an issue. I am sure the readme.md's would benefit greatly of being updated. I should have more free time once i get osvr hdk working so will try to help in contributing to that or at least making suggestions as issues!.

I did make a post listing what i can see when launching osvr server; somewhere here on github recently, and will try to find it ....

I'll add the specific tracking issue in my already opened osvr.org support ticket.

@Balderick
Copy link
Author

Balderick commented Aug 21, 2016

Just an observation but must say the 1.96 firmware and 1607 build windows seems to have made great advances regarding all the usb device issues i was having. We are getting closer.

@godbyk
Copy link
Contributor

godbyk commented Aug 21, 2016

Yes, @rpavlik has been making great strides in the firmware updates!

I just pushed yet another build (255) that should fix a couple more bugs when the HDK is in direct mode. Can you test that build for me? Before you do, delete the vr*.txt log files so we can start fresh. (Easier for me to see which logs are new that way.)

@Balderick
Copy link
Author

Made sure steamvr.vrsettings and system reports are deleted.

System report from latest build runtime and 255 build steamvr osvr drivers, enabling direct mode and then launching server with default .json -
vrserver.txt
vr monitor showed in top left corner of main display with the 108 error. No compositor in hmd.

@godbyk
Copy link
Contributor

godbyk commented Aug 21, 2016

This log says, osvr: OSVRTrackedDevice::Activate(): Display startup timed out! Check to make sure you have the OSVR server running before you start SteamVR. (If it's been running for a bit, you might shut it down and restart it.)

@Balderick
Copy link
Author

Balderick commented Aug 21, 2016

vrserver.txt

hmm used vr*.txt to search for and delete files. Getting unexpected behaviour. Vr Monitor gui is showing button actions and names. Missing translation files in system report etc

Let me get cleaned up and i'll get back to you later on today.

@godbyk
Copy link
Contributor

godbyk commented Aug 21, 2016

Hmm.. we're still getting that message.

  • When the OSVR server running, also run osvr_print_tree and paste the results here.
  • Does the OSVR Tracker Viewer show the axes moving and rotating when you move and rotate the HDK?
  • Do you have any firewalls or antivirus running that might block communications with the server?
  • Do any 'native' (non-SteamVR) OSVR applications work?

@Balderick
Copy link
Author

Balderick commented Aug 21, 2016

  1. Using osvr central to print tree another command prompt window shows but disappears before i can read or copy text. Same result if i use the .exe directly. Does the info get saved to file somewhere?
  2. Tracker viewer does not show any reaction to hmd movement in front of camera (no rotational or positional tracking)
  3. Only windows firewall and windows defender are active. Never had any firewall app permission for osvr or any warnings
  4. osvr palace 6.9.1 only shows display 1 as available display with hdk in direct mode. palace gets rendered on main display

ahh i just noticed i forgot too unblock the 255 download before extracting drivers. Sorry my bad.

The rotational and positional tracking never started working again even after i got the camera working again. I suspect it was the 1.96 firmware upgrade that caused the camera to start working again; somehow.

@godbyk
Copy link
Contributor

godbyk commented Aug 21, 2016

The firmware upgrade only impacts the HDK. It's not a camera firmware upgrade.

Try running the osvr_print_tree program from a command prompt:

  1. Hold down the Windows key and press R. Type cmd and press Enter.
  2. At the command prompt, change to the location where you installed OSVR. For example: cd "C:\Program Files\OSVR\Runtime\bin" or cd "C:\Program Files\OSVR\SDK\bin". Don't forget the quotation marks.
  3. Type osvr_print_tree.exe and press Enter.
  4. If you can see output from the program, you can save it to a file: osvr_print_tree.exe > osvr_print_tree.log. Then you can upload the osvr_print_tree.log file.

@Balderick
Copy link
Author

osvr_print_tree.txt

@Balderick
Copy link
Author

Balderick commented Aug 21, 2016

Here is another system report after unblocking the downloaded zip. Still have hard to decribe stuff goiing on but basically vr monitor gui
vrmonpng
is fubar.
vrserver.txt

I'll be back later on today

@godbyk
Copy link
Contributor

godbyk commented Aug 21, 2016

Oh, weird! I've never seen the SteamVR monitor do that. You might right-click on SteamVR in the library and run an integrity check. Or just uninstall/delete it entirely and reinstall a fresh copy.

Also, let's delete the entries from steamvr.vrsettings that have to do with direct mode. Let's see if we can get it running in extended mode first.

@Balderick
Copy link
Author

Found windows was using work group so set up home network. After installing the latest runtime i tried tracker viewer and video calibration utility.

Tracker viewer does not detect rotational or positional tracking. Camera does not get switched on. Command prompt output gives `C:\Program Files\OSVR\Runtime\bin>OSVRTrackerView.exe
Aug 24 19:49:16.656 notice [OSVR]: Log file created in C:\Users\Tron\AppData\Local\OSVR\Logs
Aug 24 19:49:16.656 notice [OSVR]: Log file name starts with "OSVRTrackerView"
Aug 24 19:49:16.672 notice [OSVR]: Logging for C:\Program Files\OSVR\Runtime\bin\OSVRTrackerView.exe
Aug 24 19:49:16.765 info [OSVR: org.osvr.trackerview]: OSVR client context initialized for org.osvr.trackerview

[TrackerViewer] No arguments passed: default is as if you passed the following:
--pose /me/hands/left --pose /me/hands/right --pose /me/head
You can specify --pose or --orientation then a path, as many times as you want.
Pass the argument --help for more info.

Aug 24 19:49:18.028 info [OSVR]: Z:\j\workspace\OSVR-Core-Build-Win\BIT\64\TRACING\OFF\VS\12\host\windows\src\osvr\Common\ClientInterface.cpp:38: Interface initialized for /me/hands/left
Aug 24 19:49:18.028 info [OSVR]: Z:\j\workspace\OSVR-Core-Build-Win\BIT\64\TRACING\OFF\VS\12\host\windows\src\osvr\Common\ClientInterface.cpp:38: Interface initialized for /me/hands/right
Aug 24 19:49:18.028 info [OSVR]: Z:\j\workspace\OSVR-Core-Build-Win\BIT\64\TRACING\OFF\VS\12\host\windows\src\osvr\Common\ClientInterface.cpp:38: Interface initialized for /me/head
Aug 24 19:49:17.982 notice [OSVR: org.osvr.trackerview]: Could not connect to OSVR server in the timeout period allotted of 200ms
Aug 24 19:49:18.028 info [OSVR: org.osvr.trackerview]: Could not resolve source for /me/hands/left
Aug 24 19:49:18.028 info [OSVR: org.osvr.trackerview]: Could not resolve source for /me/hands/right
Aug 24 19:49:18.028 info [OSVR: org.osvr.trackerview]: Could not resolve source for /me/head
vrpn_Endpoint::send_pending_reports(): No TCP connection
vrpn_Connection_IP::send_pending_reports: Closing failed endpoint.

C:\Program Files\OSVR\Runtime\bin>`

Video tracking calibration utility does switch on camera and can see the leds on hdk hmd faceplate; again now. Tracking is very jittery though and then camera/video sync freezes . On initial locking of leds the numbers for beacons all appear where they are expected to (where the leds are) but then it is like they all get "sucked" into a small area and the camera can never tell them all apart again.
trackutil2

@godbyk
Copy link
Contributor

godbyk commented Aug 24, 2016

This message from Tracker Viewer:

Aug 24 19:49:17.982 notice [OSVR: org.osvr.trackerview]: Could not connect to OSVR server in the timeout period allotted of 200ms

sounds like it can't connect to the OSVR server, which is the same sort of error we're seeing in the SteamVR-OSVR log files.

Either the server isn't running (which I don't think is the case, since we've double-checked that in the past), or there's some problem communicating with it. If we can't communicate with the server, it's because either the server isn't listening for incoming communication requests or because there's something preventing those requests from getting to the server (or responses from the server getting to the client).

When you ran Tracker Viewer, did the OSVR server log show a message about a new client being connected?

While the server is running, please run netstat -a at a command prompt and paste the output here. That will show us what services are listening on which ports. We'll see if the OSVR server is in that list.

@Balderick
Copy link
Author

Balderick commented Aug 24, 2016

yes a new client is started if osvr server is running when tracker viewer is run.

Aug 24 22:12:16.123 notice [OSVR]: Log file created in C:\Users\Tron\AppData\Local\OSVR\Logs
Aug 24 22:12:16.123 notice [OSVR]: Log file name starts with "osvr_server"
Aug 24 22:12:16.123 notice [OSVR]: Logging for C:\Program Files\OSVR\Runtime\bin\osvr_server.exe
Aug 24 22:12:16.159 info [OSVR Server]: Using default config file - pass a filename on the command line to use a different one.
Aug 24 22:12:16.159 info [OSVR Server]: Using config file 'osvr_server_config.json'.
Aug 24 22:12:16.159 info [OSVR Server]: Constructing server as configured...
Aug 24 22:12:16.199 info [OSVR Server]: Loading auto-loadable plugins...
Aug 24 22:12:16.409 info [OSVR Server]: Loading plugins...
Aug 24 22:12:16.409 info [OSVR Server]: Instantiating configured drivers...
Aug 24 22:12:16.409 notice [OSVR Server]: Added device: org_osvr_filter_videoimufusion/HeadFusion
Aug 24 22:12:16.487 info [OSVR: org.osvr.analysisplugin]: OSVR client context initialized for org.osvr.analysisplugin
Aug 24 22:12:16.518 info [OSVR]: Z:\j\workspace\OSVR-Core-Build-Win\BIT\64\TRACING\OFF\VS\12\host\windows\src\osvr\Common\ClientInterface.cpp:38: Interface initialized for /com_osvr_Multiserver/OSVRHackerDevKitPrediction0/semantic/hmd
Aug 24 22:12:16.518 info [OSVR]: Z:\j\workspace\OSVR-Core-Build-Win\BIT\64\TRACING\OFF\VS\12\host\windows\src\osvr\Common\ClientInterface.cpp:38: Interface initialized for /com_osvr_VideoBasedHMDTracker/TrackedCamera0_0/semantic/hmd/front
Aug 24 22:12:16.518 info [OSVR Server]: Successes:
Aug 24 22:12:16.518 info [OSVR Server]:  - com_osvr_VideoBasedHMDTracker/VideoBasedHMDTracker
Aug 24 22:12:16.518 info [OSVR Server]:  - org_osvr_filter_videoimufusion/VideoIMUFusion
Aug 24 22:12:16.518 info [OSVR Server]: Aliases found and parsed from config file.
Aug 24 22:12:16.518 info [OSVR Server]: Display descriptor found and parsed from config file.
Aug 24 22:12:16.518 info [OSVR Server]: RenderManager config found and parsed from the config file.
Aug 24 22:12:16.518 info [OSVR Server]: Triggering automatic hardware detection...
Aug 24 22:12:16.518 info [OSVR Server]: Registering shutdown handler...
Aug 24 22:12:16.518 info [OSVR Server]: Starting server mainloop: OSVR Server is ready to go!
Aug 24 22:12:16.518 info [OSVR Server]: Performing hardware auto-detection.
directx_camera_server: Using capture device 'USB Video Device' at path '\\?\usb#vid_0bda&pid_57e8&mi_00#9&314fc184&4&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global'
Aug 24 22:12:16.659 notice [OSVR Server]: Added device: com_osvr_Multiserver/OSVRHackerDevKit0
Aug 24 22:12:16.659 notice [OSVR Server]: Added device: com_osvr_Multiserver/OSVRHackerDevKitPrediction0
Video-based tracker: Camera turned on!
Opening camera 0
Video-based tracker: NOTE: Beacon calibration filename videotrackerCombinedCalibrationFile13.json was specified, but not found or could not be loaded. This is not an error: This may just mean you have not yet run the optional beacon pre-calibration step.
Aug 24 22:12:17.066 info [OSVR]: Z:\j\workspace\OSVR-Core-Build-Win\BIT\64\TRACING\OFF\VS\12\host\windows\src\osvr\Client\AnalysisClientContext.cpp:76: Got updated path tree, processing
Aug 24 22:12:17.062 notice [OSVR Server]: Added device: com_osvr_VideoBasedHMDTracker/TrackedCamera0_0
vrpn: Connection request received from 127.0.0.1: 127.0.0.1 51847
Aug 24 22:12:18.068 info [OSVR Server]: Sent path tree to clients.
Aug 24 22:12:18.068 info [OSVR]: Z:\j\workspace\OSVR-Core-Build-Win\BIT\64\TRACING\OFF\VS\12\host\windows\src\osvr\Client\TrackerRemoteFactory.cpp:93: Constructed a TrackerHandler for com_osvr_Multiserver/OSVRHackerDevKitPrediction0@localhost:3883 sensor 0
Aug 24 22:12:18.071 info [OSVR Server]: Performing hardware auto-detection.
Aug 24 22:12:18.068 info [OSVR]: Z:\j\workspace\OSVR-Core-Build-Win\BIT\64\TRACING\OFF\VS\12\host\windows\src\osvr\Client\TrackerRemoteFactory.cpp:93: Constructed a TrackerHandler for com_osvr_VideoBasedHMDTracker/TrackedCamera0_0@localhost:3883 sensor 0
Aug 24 22:12:18.068 info [OSVR: org.osvr.analysisplugin]: Successfully produced handler for /com_osvr_Multiserver/OSVRHackerDevKitPrediction0/semantic/hmd
Aug 24 22:12:18.068 info [OSVR: org.osvr.analysisplugin]: Successfully produced handler for /com_osvr_VideoBasedHMDTracker/TrackedCamera0_0/semantic/hmd/front
Aug 24 22:12:18.068 info [OSVR: org.osvr.analysisplugin]: Connected 2 of 2 unconnected paths successfully
Aug 24 22:12:18.142 info [OSVR Server]: Sent path tree to clients.
vrpn: Connection request received from 127.0.0.1: 127.0.0.1 51846
Aug 24 22:12:20.271 info [OSVR Server]: Performing hardware auto-detection.
Aug 24 22:12:20.342 info [OSVR Server]: Sent path tree to clients.
vrpn: Connection request received from 127.0.0.1: 127.0.0.1 51850
Aug 24 22:12:29.098 info [OSVR Server]: Performing hardware auto-detection.
Aug 24 22:12:29.168 info [OSVR Server]: Sent path tree to clients.
vrpn: Connection request received from 127.0.0.1: 127.0.0.1 51852
Video-IMU fusion: Hold still, measuring camera pose.


NOTE: For best results, during tracker/server startup, hold your head/HMD still closer than 0.3 meters from the tracking camera for a few seconds, then rotate slowly in all directions.

Which gets rotational tracking working and shows that my hdk gyro is not dead!. :-)

And
netstat.txt

@godbyk
Copy link
Contributor

godbyk commented Aug 24, 2016

Proto  Local Address          Foreign Address        State
TCP    127.0.0.1:3883         DESKTOP-JV35IAK:0      LISTENING
UDP    127.0.0.1:3883         *:*

shows OSVR is listening on the usual ports.

These messages:

Video-based tracker: Camera turned on!
Opening camera 0
Aug 24 22:12:18.068 info [OSVR: org.osvr.analysisplugin]: Successfully produced handler for /com_osvr_Multiserver/OSVRHackerDevKitPrediction0/semantic/hmd
Aug 24 22:12:18.068 info [OSVR: org.osvr.analysisplugin]: Successfully produced handler for /com_osvr_VideoBasedHMDTracker/TrackedCamera0_0/semantic/hmd/front
Aug 24 22:12:18.068 info [OSVR: org.osvr.analysisplugin]: Connected 2 of 2 unconnected paths successfully
Video-IMU fusion: Hold still, measuring camera pose.
NOTE: For best results, during tracker/server startup, hold your head/HMD still closer than 0.3 meters from the tracking camera for a few seconds, then rotate slowly in all directions.

make it sound like the camera-based tracker is starting up properly. Does the light on the camera turn green now? If you hold the HDK up to the camera for a minute, it should establish a position and start tracking the position of the HDK using the camera.

@Balderick
Copy link
Author

Balderick commented Aug 24, 2016

The camera light comes on when starting server. The camera detects hmd but can not establish position.
Looks good there. Hold it there ...

@godbyk
Copy link
Contributor

godbyk commented Aug 24, 2016

Getting closer then. When it says that, hold it still for a minute. If it doesn't work, move the HMD around slightly to try to get it to lock on better. It can be a bit finicky sometimes.

It should establish the position and tell you what it is once it's locked on.

@Balderick
Copy link
Author

It did used to work on 1.3 hdk !. Just seems to be getting intermittent info. The axis on tracker viewer display moves smooth and as expected considering positional tracking is not working.

Aug 24 23:15:31.057 info [OSVR Server]: Sent path tree to clients.
vrpn: Connection request received from 127.0.0.1: 127.0.0.1 52166
Video-IMU fusion: Hold still, measuring camera pose...


NOTE: For best results, during tracker/server startup, hold your head/HMD still closer than 0.3 meters from the tracking camera for a few seconds, then rotate slowly in all directions.



That distance looks good, hold it right there.

@godbyk
Copy link
Contributor

godbyk commented Aug 24, 2016

Do the axes in Tracker Viewer change position or do they stay at the origin and just rotate?

The server should continue to print some more info after hold it right there. It'll show you the (x, y, z) coordinates of the HMD.

@Balderick
Copy link
Author

Balderick commented Aug 24, 2016

It should. What i see is the hmd spinning on the z axis (green) at origin with blue and red offset about 45* clockwise to true and the positions are not found even after persevering for five mins.

Not sure what https://www.reddit.com/r/OSVR/comments/4ysv1v/windows_10_anniversary_update_fix/ fixes regarding camera and 1607 win 10.
Worth applying that fix?

@godbyk
Copy link
Contributor

godbyk commented Aug 24, 2016

I haven't tested it yet, but you're welcome to give ti a shot. Can't really hurt anything and it's easy to undo (just set it to 1 instead of 0).

@Balderick
Copy link
Author

It works for me!.

Video-IMU fusion: Hold still, measuring camera pose..........


Video-IMU fusion: Camera pose acquired, entering normal run mode!
Camera is located in the room at roughly  0.0469146 -0.0189539   0.421734

Positional and rotational tracking working in tracker viewer now. :-)

Will go back to trying videotarackingcalibration utility and then steamvr

@godbyk
Copy link
Contributor

godbyk commented Aug 24, 2016

Awesome!

If the tracking it working well enough as is, you don't need to run the calibration utility. I'd just give SteamVR a shot and see how it fares.

@Balderick
Copy link
Author

Balderick commented Aug 24, 2016

Okay, i started osvr server using extended landscape json. Got green lights for camera and hmd so ran room setup in steamvr.
vrserver.txt

I know steamvr needs this to get the info from hdk that it needs.

direct mode testing ...
Steamvr crashes with hmm that should not have happened when using steamvr to switch to direct mode.
vrserver2.txt

@Balderick
Copy link
Author

Balderick commented Aug 25, 2016

Have been using this video tutorial for guidance/sanity check.

https://www.youtube.com/watch?v=TCA0CBXmS2Q

Which explains the 308 error being associated with vr server not dieing when quiting steamvr and/or steam.

Tried testing Elite Dangerous but could not find the launch in vr mode option.

My hdk 1.4 is behaving the best (most predictable) it ever has for sure. Windows 1607, nvidia 372.54, ver 7 camera firmware, 1.96 oled hdk firmware. Running latest runtime and steamvr-osvr drivers.

It would appear all the issues have been resolved and/or the recommended workarounds are at least applying/working. Happy days. :-)

@godbyk
Copy link
Contributor

godbyk commented Aug 25, 2016

Excellent! I'm glad to hear it's (finally) working for you.

@Balderick
Copy link
Author

Big thank you to you.

And apologies to you and everybody else.

@Balderick
Copy link
Author

Balderick commented Aug 27, 2016

Been having a ball testing and just noticed there is 258 steamvr drivers and 1328-264 runtime to check out. Github seems to be out of sync, somehow.

So have had elite dangerous launch in both direct and extended modes. Still working on getting input for game and trying to use steam controller. So with 255 steamvr drivers and 1320-263 runtime here is
directmode.txt and i can see
directmode and
vrerror
if i select YES steam or steamvr crash and or hmd blackscrteens or display gets switched off. OSVR Control reports display switched off if left running and connected when running steamvr and osvr server.

If CANCEL is selected or if that warning is simply ignored elite dangerous launches as expected.

In extended mode steamvr compositor crashes but game still launches if all steamvr errors are ignored.
extndmode.txt
Still get the steamvr disabled warning too.

In general the hdk is a behaving astronomicaly better. Seems far more solid and predictable. Tracking poses are being detected when hmd is 1.5 meters away from camera!. Tracking is spot on and slick with rotational vector enabled for elite dangerous using directmesh json.

Both osvr and steamvr seem to removing their install root directories at uninstall time which is a great timesaver.

Steamvr power saving for hmd is working as well as tutorial and room setup and other steamvr stuff but still not got dashboard working yet.

With each steamvr driver and runtime update my hdk is getting slicker and slicker. Awesome stuff guys. Thank you.

That vr server process issue is going to get reported to steamvr devs today.

@Balderick Balderick changed the title [Unresolved Non SteamVR-OSVR Issue] Steamvr Compositor Issue/s [Totally And Utterly Resolved Non SteamVR-OSVR Issue] Steamvr Compositor Issue/s Nov 12, 2016
@Balderick
Copy link
Author

Just a quick update to confirm what has made my hdk into a vr content munching monster. https://www.reddit.com/r/OSVR/comments/4zrha0/osvr_screen_black/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants