OSVR / OSVR-Core

The core libraries, applications, and plugins of the OSVR software platform.
Apache License 2.0
327 stars 123 forks source link

Black screen issue with custom plugin and SteamVR #558

Open ArslanGapizov opened 6 years ago

ArslanGapizov commented 6 years ago

Sympotms:

I tried Tracker Spin plugin OSVR-Vuzix OSVR-Fusion

and had the same problem.

There are OSVR server output:


July 12 02:04:11.333 info [OSVR]: Logging for C:\Program Files\HDK-Software-Suite\OSVR-Core\bin\osvr_server.exe
July 12 02:04:11.333 info [OSVR Server]: Using default config file - pass a filename on the command line to use a different one.
July 12 02:04:11.333 info [OSVR Server]: Using config file 'osvr_server_config.json'.
July 12 02:04:11.333 info [OSVR Server]: Constructing server as configured...
July 12 02:04:11.338 info [OSVR Server]: Loading auto-loadable plugins...
July 12 02:04:11.351 info [OSVR Server]: Loading plugins...
July 12 02:04:11.351 info [OSVR Server]: Instantiating configured drivers...
July 12 02:04:11.351 info [OSVR Server]: Added device: com_osvr_mmone/TrackerSpin
July 12 02:04:11.351 info [OSVR Server]: Successes:
July 12 02:04:11.352 info [OSVR Server]:  - com_osvr_mmone/TrackerSpin
July 12 02:04:11.352 info [OSVR Server]: Aliases found and parsed from config file.
July 12 02:04:11.352 info [OSVR Server]: Display descriptor found and parsed from config file.
July 12 02:04:11.352 info [OSVR Server]: RenderManager config found and parsed from the config file.
July 12 02:04:11.352 info [OSVR Server]: Triggering automatic hardware detection...
July 12 02:04:11.352 info [OSVR Server]: Registering shutdown handler...
July 12 02:04:11.352 info [OSVR Server]: Starting server mainloop: OSVR Server is ready to go!
July 12 02:04:11.353 info [OSVR Server]: Performing hardware auto-detection.
0 0.000785398 0 1
July 12 02:04:11.358 info [OSVR Server]: Added device: com_osvr_Multiserver/OSVRHackerDevKit0
July 12 02:04:11.358 info [OSVR Server]: Added device: com_osvr_Multiserver/OSVRHackerDevKitPrediction0
July 12 02:04:11.361 info [OSVR Server]: Sent path tree to clients.

OSVR server config json:


{
  "description": "This configuration supports orientation-only tracking, with the OSVR HDK. It is configured for RenderManager applications in direct mode on HDK 2.0 optics.",
  "display": "displays/OSVR_HDK_2_0.json",
  "renderManagerConfig": "sample-configs/renderManager.direct.landscape.HDKv2.0.json",

  "drivers": [
    {
      "plugin": "com_osvr_mmone",
      "driver": "TrackerSpin",
      "params": {
        "report_rate": 400.0, /* (default 200.0) - Rate at which reports will be sent */
        "x_of_axis_to_spin_around": 0.0, /* (default 0.0) - How much to spin around X axis */
        "y_of_axis_to_spin_around": 1.0, /* (default 1.0) - How much to spin around Y axis */
        "z_of_axis_to_spin_around": 0.0, /* (default 0.0) - How much to spin around Z axis */
        "rotation_rate_around_axis_in_Hz": 0.1, /* (default 0.1) - How fast to spin the tracker */
        "name": "TrackerSpin" /* (optional) */
      }
    }
  ],
  "aliases": {
    "/me/head": "/com_osvr_mmone/TrackerSpin/tracker/0"
    /* Also tried, the same result
      "/me/head": "/com_osvr_mmone/TrackerSpin/semantic/head"
      */
    /*
      "/headSpace": {
      "translate": [ 0.0, 0.10, -0.07 ],
      "posttranslate": [ 0.0, 1.20, 0.0 ],
      "child": "/com_osvr_mmone/TrackerSpin/tracker/0"
    },
    "/me/head": "/headSpace"
      */
  }
}

The problem: Black screen

Stack on calibration

I tried to switch between direct and extended mode. Firmware is updated. Tried to use hdk 1 and hdk 2. Tried different hardware.

More detailed u can check Report.rtf on dropbox

Thanks for help.

Balderick commented 6 years ago

Testing your osvr setup with custom plugin and osvr applications should prove the problem is SteamVR.

SteamVR has its own support channels