Forum Discussion
wadamw
10 years agoExplorer
Unity 5.1 and 0.6.0 Busts Project (Bad Config or LibOVR)
Trying to update a project using the new Unity 5.1.
I've deleted all the OVR and Oculus folders and plugs from the project. I've put in Unity's FPSController and activated "Virtual Reality Supported" in the PlayerSettings.
But, I get two errors:
[Compositor]ERROR: Cannot start with unsupported graphics API.
Bad config or LibOVR not found. VR disabled.
Not finding any other posts about this. But the Rift (DK2) does not show anything and it's definitely not tracking within Unity. Any ideas?
I've deleted all the OVR and Oculus folders and plugs from the project. I've put in Unity's FPSController and activated "Virtual Reality Supported" in the PlayerSettings.
But, I get two errors:
[Compositor]ERROR: Cannot start with unsupported graphics API.
Bad config or LibOVR not found. VR disabled.
Not finding any other posts about this. But the Rift (DK2) does not show anything and it's definitely not tracking within Unity. Any ideas?
23 Replies
Replies have been turned off for this discussion
- cyberealityGrand ChampionIt says "unsupported graphics API" are you maybe trying to build in DirectX9 (which is no longer supported)?
- wadamwExplorerThanks much for the help cybereality.
It looks like that was part of the problem. When I changed (in PlayerSettings>Other Settings) the "Graphics APIs for Windows" setting to DIrect3d11 (and remove Direct3D9), I get the warning message on the Rift...but it still goes black.
At this point, the console is firing (every frame):
depthSurface == NULL || rcolorZero->backBuffer == depthSurface->backBuffer
And then when I stop the Play, Unity crashes. Thoughts? - wadamwExplorerAh, just saw there are issues with Linear Color Space....swapped to Gamma, and it works.
Thanks. - cyberealityGrand ChampionGreat news!
- damian3kHonored Guest
- wadamwExplorerHey Damien...
I had to leave the Direct3D9 in the Graphics APIs for Windows section - but make sure DIrect3D11 was the first one on the list. - cyberealityGrand Champion@damian3k: I've seen that error before and usually restarting Unity and the Oculus service will fix it.
- justkellyExplorerI'm having the same issues in Unity and SDK 6.01 (we tried 7 but it just wouldn't recognize the DK1 at all).
* I've downloaded the VR drivers from NVidia (356 or whatever the latest are) and installed them.
* We're using a laptop with a NVidia Quadro K620M (We have a desktop handy, but since our company switched to laptops several years ago and this is very much an unofficial project, the desktop is very old and won't take a decent video card) with Windows 8.1 / 64.
* I've got the DK1 in extended mode, DK1 legacy support checked. The demo scene works just fine
* In unity, I set up a blank project, checked "VR Supported", set it to DirectX 11.
Still getting the "Compositor failed to initialize" and "bad config or libovr not found. VR disabled" errors.
Here are the logs:
Config:{
"Time": "2015-10-06_10:55:58",
"SDK Version": "0.6.0.1",
"Service Protocol": {
"Major": 1,
"Minor": 6,
"Patch": 0
},
"RemoteProtocolVersion": {
"Major": 1,
"Minor": 6,
"Patch": 0
},
"Service Running Time": {
"Hours": 1,
"Minutes": 0,
"Seconds": 10
},
"System Specifications": {
"Operating System": "Microsoft Windows 8.1 Enterprise",
"Processor": "Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz",
"Graphics Adapters": [{
"Name": "Intel(R) HD Graphics 5500",
"Video Controller RAM (MB)": 1024,
"Driver Version": "10.18.14.4170",
"Video Mode": "1920 x 1080 x 4294967296 colors"
}, {
"Name": "NVIDIA Quadro K620M",
"Video Controller RAM (MB)": 2048,
"Driver Version": "10.18.13.5604",
"Video Mode": ""
}],
"Total RAM (GB)": 16,
"USB Tree": [{
"name": "Mobile 5th Generation Intel(R) Core(TM) USB EHCI Controller - 9CA6",
"deviceid": "PCI\\VEN_8086&DEV_9CA6&SUBSYS_222317AA&REV_03\\3&E89B380&0&E8",
"caption": "Mobile 5th Generation Intel(R) Core(TM) USB EHCI Controller - 9CA6",
"manufacturer": "(Standard USB Host Controller)",
"Devices": [{
"manufacturer": "(Standard USB Host Controller)",
"name": "USB Root Hub"
}, {
"manufacturer": "(Generic USB Hub)",
"name": "Generic USB Hub"
}]
}, {
"name": "Intel(R) USB 3.0 eXtensible Host Controller - 0100 (Microsoft)",
"deviceid": "PCI\\VEN_8086&DEV_9CB1&SUBSYS_222317AA&REV_03\\3&E89B380&0&A0",
"caption": "Intel(R) USB 3.0 eXtensible Host Controller - 0100 (Microsoft)",
"manufacturer": "Generic USB xHCI Host Controller",
"Devices": [{
"manufacturer": "(Standard USB HUBs)",
"name": "USB Root Hub (xHCI)"
}, {
"manufacturer": "(Standard USB Host Controller)",
"name": "USB Composite Device"
}, {
"manufacturer": "Realtek",
"name": "Integrated Camera"
}, {
"manufacturer": "Intel Corporation",
"name": "Intel(R) Wireless Bluetooth(R)"
}, {
"manufacturer": "Microsoft",
"name": "Microsoft Bluetooth LE Enumerator"
}, {
"manufacturer": "Microsoft",
"name": "Bluetooth Device (RFCOMM Protocol TDI)"
}, {
"manufacturer": "Microsoft",
"name": "Microsoft Bluetooth Enumerator"
}, {
"manufacturer": "Microsoft",
"name": "Bluetooth Device (Personal Area Network)"
}, {
"manufacturer": "Synaptics FP Sensors",
"name": "Synaptics FP Sensors (WBF) (PID=0017)"
}, {
"manufacturer": "Microsoft",
"name": "Microsoft Hardware USB Mouse"
}, {
"manufacturer": "Microsoft",
"name": "HID-compliant mouse"
}, {
"manufacturer": "(Standard system devices)",
"name": "USB Input Device"
}, {
"manufacturer": "(Standard system devices)",
"name": "HID-compliant device"
}]
}]
},
"Drivers": [{
"Path": "\\system32\\OVRDisplay64.dll",
"Version": "1.2.6.0"
}, {
"Path": "\\system32\\OVRDisplayRT64.dll",
"Version": "1.2.6.0"
}, {
"Path": "\\syswow64\\OVRDisplay32.dll",
"Version": "1.2.6.0"
}, {
"Path": "\\syswow64\\OVRDisplayRT32.dll",
"Version": "1.2.6.0"
}, {
"Path": "\\system32\\drivers\\RiftEnabler.sys",
"Version": "1.2.6.0"
}, {
"Path": "\\system32\\OVRDisplay32.dll",
"Version": "1.2.6.0"
}, {
"Path": "\\system32\\OVRDisplayRT32.dll",
"Version": "1.2.6.0"
}, {
"Path": "\\system32\\drivers\\OCUSBVID.sys",
"Version": "C:\\Windows\\system32\\drivers\\OCUSBVID.sys not found"
}],
"Video Device Tree": [{
"Name": "Intel(R) HD Graphics 5500",
"VRAM (MB)": 0,
"Monitors": [{
"Name": "\\\\.\\DISPLAY1",
"Width": 1920,
"Height": 1080,
"Refresh Rate": 60
}, {
"Name": "\\\\.\\DISPLAY2",
"Width": 1280,
"Height": 800,
"Refresh Rate": 59
}]
}, {
"Name": "NVIDIA Quadro K620M",
"VRAM (MB)": 1965,
"Monitors": []
}, {
"Name": "Microsoft Basic Render Driver",
"VRAM (MB)": 0,
"Monitors": []
}],
"Devices": [{
"Product ID": 1,
"Product Name": "Oculus Rift DK1",
"Manufacturer": "Oculus VR",
"Serial Number": "5248I30GED2B",
"Vendor ID": 10291,
"EDID Serial": "SerialRD",
"Firmware": {
"Major": 0,
"Minor": 17
},
"Frustum": {
"Far Z Metres": 0,
"H Fov Radians": 0,
"Near Z Metres": 0,
"V Fov Radians": 0
}
}],
"Profile": {
"Player Name": "Test",
"IPD": 0.064000,
"Eye height": 1.675000,
"Eye Cup": "A",
"Eye Relief": 3,
"Gender": "Unknown",
"Eye To Neck": 0.075000,
"Player Height": 1.778000,
"Camera Centered From World": {
"Camera Centered From World": {
"x": 0,
"y": 0.104905,
"z": 0,
"w": 0.994482
},
"Rotation": {
"x": -0.029504,
"y": 0,
"z": -0.057788
}
}
}
}
OVRServer:[TrackingManager] Entering tracking thread
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
OVR::SensorDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
[TrackingManager] Broadcasting new HMD count = 0
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
BruteMatcher: Model 0 points, SampleRadius 5.0 deg, 0 samples, 0 triangles
[TrackingManager] Broadcasting new HMD count = 1
In OnEnterRender SetFullscreenState
[AppFocusObserver] Reacting to display change notification (WM_DISPLAYCHANGE).
[AppFocusObserver] Reacting to display change notification (WM_DISPLAYCHANGE).
In Present SetFullscreenState
[AppFocusObserver] Reacting to display change notification (WM_DISPLAYCHANGE).
[AppFocusObserver] Reacting to display change notification (WM_DISPLAYCHANGE).
[AppFocusObserver] Reacting to display change notification (WM_DISPLAYCHANGE).
OVR::SensorDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
[TrackingManager] Broadcasting new HMD count = 0
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
OVR::SensorDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
OVR::SensorDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
OVR::SensorDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
OVR::SensorDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
OVR::SensorDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
OVR::SensorDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
OVR::SensorDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
OVR::SensorDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
OVR::SensorDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
[AppFocusObserver] Reacting to display change notification (WM_DISPLAYCHANGE).
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
OVR::SensorDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
OVR::SensorDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Closed '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
OVR::Win32::HIDDevice - Opened '\\?\hid#vid_2833&pid_0001#6&30801b96&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}'
Manufacturer:'Oculus VR, Inc.' Product:'Tracker DK' Serial#:'5248I30GED2B' Version:'17'
{ERR-011} [SensorImpl] Magnetometer calibration not found!
BruteMatcher: Model 0 points, SampleRadius 5.0 deg, 0 samples, 0 triangles
[TrackingManager] Broadcasting new HMD count = 1
If you need any further information, please let me know; thanks. - cyberealityGrand ChampionI'm very sorry, but laptop GPU are not supported. Also workstations cards (Quadros) don't work very well.
- justkellyExplorerWas afraid of that. Well, could you suggest a decent chipset for a low-to-mid end workstation with a standard PCI card that the Oculus will like? I'll go see about getting the department to crack open the ol' purse strings (I actually brought in my Radeon 6870, but the sucker wouldn't even fit in the tower they gave us. Yeah, it's old :P)
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 months ago