cancel
Showing results for 
Search instead for 
Did you mean: 

[solved] Ubuntu 17.10 and oculus rift [NO HMD detected | No tracker Detected ]

florian_dordain
Level 2
Hi guys,

I get oculus since 3 days.

i used Ubuntu 17.10, i'va download the lastest SDK for linux. When i start ovrd i get the folowing message

And when i start RiftConfigUtil i get :  [NO HMD detected | No tracker Detected ]

ayv8ngms8oo2.png

Terminal result :

------------------------------------------------------------------

OVR::DeviceManagerThread - running (ThreadId=0x7f22e7eb1700).
OVR::DeviceManager - initialized.
CameraFactory starts
[TrackingManager] Entering tracking thread
OVR::Linux::HIDDevice - Opened '/dev/hidraw3'
                    Manufacturer:'Oculus VR, Inc.'  Product:'Rift'  Serial#:'WMHD315J400TN3'
Repeated 214 IMU samples: 214000 214 0
OVR::Linux::HIDDevice - Opened '/dev/hidraw4'
                    Manufacturer:'Oculus VR, Inc.'  Product:'Rift'  Serial#:'WMHD315J400TN3'
OVR::SensorDevice - Closed '/dev/hidraw4'
OVR::Linux::HIDDevice - HID Device Closed '/dev/hidraw4'
OVR::Linux::HIDDevice - HIDShutdown '/dev/hidraw4'
OVR::SensorDevice - Closed '/dev/hidraw3'
OVR::Linux::HIDDevice - HID Device Closed '/dev/hidraw3'
OVR::Linux::HIDDevice - HIDShutdown '/dev/hidraw3'
[TrackingManager] Broadcasting new HMD count = 0
OVR::Linux::HIDDevice - Opened '/dev/hidraw3'
                    Manufacturer:'Oculus VR, Inc.'  Product:'Rift'  Serial#:'WMHD315J400TN3'
Repeated 2 IMU samples: 2000 2 0
OVR::Linux::HIDDevice - Opened '/dev/hidraw4'
                    Manufacturer:'Oculus VR, Inc.'  Product:'Rift'  Serial#:'WMHD315J400TN3'
OVR::SensorDevice - Closed '/dev/hidraw4'
OVR::Linux::HIDDevice - HID Device Closed '/dev/hidraw4'
OVR::Linux::HIDDevice - HIDShutdown '/dev/hidraw4'
OVR::SensorDevice - Closed '/dev/hidraw3'
OVR::Linux::HIDDevice - HID Device Closed '/dev/hidraw3'
OVR::Linux::HIDDevice - HIDShutdown '/dev/hidraw3'

--------------------------------------------------------------------------------------------------

And when i start RiftConfigUtil i get :

------------------------------------------------------------------------------------------------

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[From Service] OVR::Linux::HIDDevice - Opened '/dev/hidraw3'
                    Manufacturer:'Oculus VR, Inc.'  Product:'Rift'  Serial#:'WMHD315J400TN3'
[From Service] Repeated 2 IMU samples: 2000 2 0
[From Service] OVR::Linux::HIDDevice - Opened '/dev/hidraw4'
                    Manufacturer:'Oculus VR, Inc.'  Product:'Rift'  Serial#:'WMHD315J400TN3'
[From Service] OVR::SensorDevice - Closed '/dev/hidraw4'
[From Service] OVR::Linux::HIDDevice - HID Device Closed '/dev/hidraw4'
[From Service] OVR::Linux::HIDDevice - HIDShutdown '/dev/hidraw4'
[From Service] OVR::SensorDevice - Closed '/dev/hidraw3'
[From Service] OVR::Linux::HIDDevice - HID Device Closed '/dev/hidraw3'
[From Service] OVR::Linux::HIDDevice - HIDShutdown '/dev/hidraw3'
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[From Service] OVR::Linux::HIDDevice - Opened '/dev/hidraw3'
                    Manufacturer:'Oculus VR, Inc.'  Product:'Rift'  Serial#:'WMHD315J400TN3'
[From Service] Repeated 214 IMU samples: 214000 214 0
[From Service] OVR::Linux::HIDDevice - Opened '/dev/hidraw4'
                    Manufacturer:'Oculus VR, Inc.'  Product:'Rift'  Serial#:'WMHD315J400TN3'
[From Service] OVR::SensorDevice - Closed '/dev/hidraw4'
[From Service] OVR::Linux::HIDDevice - HID Device Closed '/dev/hidraw4'
[From Service] OVR::Linux::HIDDevice - HIDShutdown '/dev/hidraw4'
[From Service] OVR::SensorDevice - Closed '/dev/hidraw3'
[From Service] OVR::Linux::HIDDevice - HID Device Closed '/dev/hidraw3'
[From Service] OVR::Linux::HIDDevice - HIDShutdown '/dev/hidraw3'
[From Service] [TrackingManager] Broadcasting new HMD count = 0
[From Service] OVR::Linux::HIDDevice - Opened '/dev/hidraw3'
                    Manufacturer:'Oculus VR, Inc.'  Product:'Rift'  Serial#:'WMHD315J400TN3'
[From Service] Repeated 2 IMU samples: 2000 2 0
[From Service] OVR::Linux::HIDDevice - Opened '/dev/hidraw4'
                    Manufacturer:'Oculus VR, Inc.'  Product:'Rift'  Serial#:'WMHD315J400TN3'
[From Service] OVR::SensorDevice - Closed '/dev/hidraw4'
[From Service] OVR::Linux::HIDDevice - HID Device Closed '/dev/hidraw4'
[From Service] OVR::Linux::HIDDevice - HIDShutdown '/dev/hidraw4'
[From Service] OVR::SensorDevice - Closed '/dev/hidraw3'
[From Service] OVR::Linux::HIDDevice - HID Device Closed '/dev/hidraw3'
[From Service] OVR::Linux::HIDDevice - HIDShutdown '/dev/hidraw3'
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
----------------------------------------------------------------------------------------------------------

do you have any idea ?

 I think this problem with [ libpng warning: iCCP: known incorrect sRGB profile ] but i don't know, how to solve this problem.


5 REPLIES 5

Create4Life
Level 4
Did you buy the CV1 or one of the development kits (DK1 or DK2)? Because oculus decided to stop supporting linux a long time ago even before CV1 got released, so you will have a hard time getting it to run on linux. DK1 and DK2 should be able to work using the severely outdated sdk version still availabe.

I would absolutely love if linux were natively supported, but so far it is not even clear if supporting linux is on their roadmap at all, so don't count on it happening soon.

florian_dordain
Level 2
Thank you for your answer Create4Life. Yes it's a oculus CV1.

It is a pity ! So i work with openHMD but i can't send image to the oculus screen.

I can work with openHMD to generate image but i can't display generated image in Oculus. I just need to access  the oculus screen.

openHMD work very well i can retrieve the data from all sensor, just i can't display the scene in oculus.

may be you have any idea to send image to the oculus screen ? because the screen isn't detected by ubuntu.



Create4Life
Level 4
I have not tried it yet but you can try this project which theoretically bridges openHMD to the osvr server.

https://devpost.com/software/oculus-for-linux-with-osvr
https://github.com/mbilker/OSVR-OpenHMD

Be sure to share if you manage to get it to work or not. I believe there are quite a few of us that would be interested in a working solution.

EDIT: Bear in mind openHMD at least for the moment does not support positional tracking. And it is unclear when this might happen. Knowing that oculus took quite some time to get it right I would not expect perfect tracking until the oculus devs themself decide to support linux.

florian_dordain
Level 2
Hi,

i wrote another post on openHMD's github :

https://github.com/OpenHMD/OpenHMD/issues/135

If you have Nvidia card you need to set Xconf file on Ubuntu. Nvidia driver lock HMD connection by default :

http://us.download.nvidia.com/XFree86/Linux-x86_64/378.09/README/xconfigoptions.html

So you need to add in Xconf file (please read the link above)  :

 option "allowHMD" "yes" 
option "allowHMD "hdmi-1" "hdmi-0"

And it works with openHMD !!!

i check my installation with this code :
https://github.com/OpenHMD/OpenHMDDemo

if you are interested, i can write a tiny tutorial to install oculus CV1 on ubuntu 17.10 with openHMD?


Create4Life
Level 4
I would really apreciate a small written tutorial. Also what apps are you using on ubuntu that make use of VR? Are you using unity3D the gameengine, Blender, Nuke or simply trying to game on steamvr?