Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Mark Stafford
    @mstafford_gitlab
    So the udev.rules didn't seem to change anything. Though, it seems to be detecting the HDK, but still throwing the error message?
    [mstafford@Galactica ~]$ sudo osvr_server 
    [sudo] password for mstafford: 
    Aug 03 14:20:51.678 info [OSVR]: Logging for /usr/local/bin/osvr_server
    Aug 03 14:20:51.678 info [OSVR Server]: Using default config file - pass a filename on the command line to use a different one.
    Aug 03 14:20:51.678 info [OSVR Server]: Constructing server as configured...
    Aug 03 14:20:51.679 info [OSVR Server]: Loading auto-loadable plugins...
    Aug 03 14:20:51.681 info [OSVR Server]: Loading plugins...
    Aug 03 14:20:51.681 info [OSVR Server]: Instantiating configured drivers...
    Aug 03 14:20:51.681 info [OSVR Server]: Aliases found and parsed from config file.
    Aug 03 14:20:51.682 info [OSVR Server]: Display descriptor found and parsed from config file.
    Aug 03 14:20:51.682 info [OSVR Server]: RenderManager config found and parsed from the config file.
    Aug 03 14:20:51.682 info [OSVR Server]: Triggering automatic hardware detection...
    Aug 03 14:20:51.682 info [OSVR Server]: Registering shutdown handler...
    Aug 03 14:20:51.682 info [OSVR Server]: Starting server mainloop: OSVR Server is ready to go!
    Aug 03 14:20:51.682 info [OSVR Server]: Performing hardware auto-detection.
    vrpn_HidInterface::reconnect(): Could not open device 0003:0005:02
       (Did you remember to run as root or otherwise set permissions?)
    Aug 03 14:20:51.851 info [OSVR Server]: Added device: com_osvr_Multiserver/OSVRHackerDevKit0
    Aug 03 14:20:51.852 info [OSVR Server]: Added device: com_osvr_Multiserver/OSVRHackerDevKitPrediction0
    Aug 03 14:20:51.932 info [OSVR Server]: Sent path tree to clients.
    vrpn_HidInterface::reconnect(): Could not open device 0003:0005:02
       (Did you remember to run as root or otherwise set permissions?)
    vrpn_HidInterface::reconnect(): Could not open device 0003:0005:02
       (Did you remember to run as root or otherwise set permissions?)
    vrpn_HidInterface::reconnect(): Could not open device 0003:0005:02
    Kevin Godby
    @godbyk
    @mstafford_gitlab What does lsusb show?
    Mark Stafford
    @mstafford_gitlab
    lsusb shows the Razer device at Bus 003 Device 009 (had it unplugged, so the device location changed):
    [mstafford@Galactica ~]$ lsusb
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 005: ID 0424:5534 Standard Microsystems Corp. Hub
    Bus 004 Device 004: ID 05e3:0617 Genesys Logic, Inc. USB3.0 Hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 007: ID 0572:1806 Conexant Systems (Rockwell), Inc. 
    Bus 003 Device 009: ID 1532:0b00 Razer USA, Ltd 
    Bus 003 Device 008: ID 0424:2134 Standard Microsystems Corp. Hub
    Bus 003 Device 006: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 004: ID 046d:c066 Logitech, Inc. G9x Laser Mouse
    Bus 001 Device 006: ID 046d:c22a Logitech, Inc. Gaming Keyboard G110
    Bus 001 Device 005: ID 046d:c22b Logitech, Inc. Gaming Keyboard G110 G-keys
    Bus 001 Device 003: ID 05e3:0607 Genesys Logic, Inc. Logitech G110 Hub
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Aug 04 11:09:21.202 info [OSVR Server]: Starting server mainloop: OSVR Server is ready to go!
    Aug 04 11:09:21.203 info [OSVR Server]: Performing hardware auto-detection.
    vrpn_HidInterface::reconnect(): Could not open device 0003:0009:02
       (Did you remember to run as root or otherwise set permissions?)
    Kevin Godby
    @godbyk
    A couple other idea: (1) Make sure you don't have any other instances of osvr_server or vrpn running that might be holding the device open. (2) Try running osvr_server as root and see if that helps any.
    Mark Stafford
    @mstafford_gitlab

    output above is from running sudo osvr_server

    I don't think there are any other instances of either of osvr_server or vrpn... but I can check.

    Kevin Godby
    @godbyk
    Oh, also check that OpenHMD isn't running. I think they have an OSVR HDK driver, too.
    Mark Stafford
    @mstafford_gitlab
    image.png
    Hmmm.. It LOOKS like there might be 2x osvr_servers going...
    Which is likely the problem -- but I'm uncertain how I would stop that.. I'm only running the command a single time...
    Kevin Godby
    @godbyk
    Run killall -9 osvr_server. Then see if both the osvr_server processes are gone. If they are, try running it by hand again and see what happens.
    Mark Stafford
    @mstafford_gitlab
    Both processes stop when either just hittcing CTRL-C to cancel, or killall -9 osvr_server. Same issue, 2x processes, starting up when running osvr_server
    maybe I could try just killing one.
    Kevin Godby
    @godbyk
    If you look at tree view in htop (press F5, I think), is one a subprocess of the other?
    (It's been quite a while since I've ran osvr_server, I'm struggling to recall the details now.. sorry..)
    Mark Stafford
    @mstafford_gitlab
    image.png
    Totally fine. I appreciate the help.
    Kevin Godby
    @godbyk
    Okay, in that case I think it's okay.
    Mark Stafford
    @mstafford_gitlab

    Somewhat tangential side question... I'm dusting off the HDK2 b/c I saw the Monado project is coming along and I wanted to get things 'working'.

    Is the intent of the full OpenXR to be such that it would no longer require the osvr_server to work? i.e. am I just kinda spinning my wheels trying to get this to work when, ideally, soon, it may not be required? Or is this a necessary step regardless?

    Kevin Godby
    @godbyk
    If you shut down the server (Ctrl+C or kill), then run lsof /dev/whatever_osvr_hdk_is_set_to, does it show any processes using the device?
    @rpavlik would be the person to ask about that as he's working on the Monado project.
    My suspicion is that it'll support the OSVR HDK without requiring osvr_server, but I'm not positive.
    I've been a bit out of the loop on it for a while.
    Mark Stafford
    @mstafford_gitlab
    My folks just rolled into town, so I gotta go be social for a few hours! I'm gonna come back to this. Thanks for the help @godbyk
    Christoph Haag
    @ChristophHaag
    monado doesn't make use of the osvr framework. there is a standalone hdk driver in monado but right now it only implements rotation tracking and doesn't use the camera for positional tracking
    Ryan A. Pavlik
    @rpavlik
    OpenXR is just an API - you can have any number of implementers. It's a little confusing because a lot of the marketing stuff has the driver layer listed, but there's no driver layer right now in the standard
    Ryan A. Pavlik
    @rpavlik
    so, e.g. somebody could write an OpenXR implementation on top of OSVR, but that's not where Collabora's focus is right now
    Someone could also plumb OSVR into Monado as a driver, but there's a bit of feature/flexibility mismatch: monado has more hard enumerations (at least right now)
    Mark Stafford
    @mstafford_gitlab

    Ahhh okay.

    So I think for right now -- I might focus on building and getting Monado to work, rather than spinning my wheels on the osvr_server. Thanks for the info, all.

    krsears
    @krsears
    Quick question: I am trying to code a project using the windows version of the OSVR ClientKit. Does anyone know of a precompiled version of osvr.clientkit.dll that contains exports that can be used with LoadLibrary/GetProcAddress?
    Ryan A. Pavlik
    @rpavlik
    @krsears osvr.clientkit.dll IIRC is the .net bindings. The osvr_ClientKit.dll should have get proc address as an ability.
    krsears
    @krsears
    Anyone have instructions (or links to docs) on how to display images to the headset? I've got the other parts working but cannot find documentation on how to display TO the headset. In order for this to be of any use I need to display the environment back to the headset.
    Ryan A. Pavlik
    @rpavlik
    @krsears you'll use the OSVR-RenderManager API for that - the API is separate because display is much more in flux and thus much more likely to change
    SArpnt
    @SArpnt
    i have the oculus dk1, and i'm having problems calibrating distortion, instead of lines becoming straight they end up just having multiple curves. does anyone have a good oculus dk1 distortion config or know a good tool for distortion calibration?
    Christoph Haag
    @ChristophHaag
    Ryan A. Pavlik
    @rpavlik
    @SArpnt you can use distortionizer if you want to modify the distortion config, if none of the bundled DK1 configs work.
    SArpnt
    @SArpnt

    sorry i wasn't here
    i've tried both of those, but they both give wavy lines.

    oculus config demo gives straight lines, so i know my lenses aren't warped, but distortionizer never reaches a point that's straight, and instead just goes to lines that curve back and forth.

    Ryan A. Pavlik
    @rpavlik
    yeah lens distortion is a tricky one to measure. Unfortunately I don't have a DK1 myself to measure - I just figured that since I hadn't heard otherwise in a long time, that the dk1 config was reasonable as-is.
    What app are you using to test? make sure it's using rendermanager, and maybe post your server logs
    SArpnt
    @SArpnt
    i test with d3d example, and i know there aren't any errors, i just can't find a good distortion calibration setting, and distortionizer doesn't help at all because the config has less properties and doesn't even match up with osvr
    also there's nothing explaining which numbers in the osvr distortion settings do what, it's literally just "distortion".
    all i can tell is there's probably 4 parameters per color channel [w,x,y,z], w does pincushion with positive, y and z do barrel with positive, and x is just a scale iirc
    Ryan A. Pavlik
    @rpavlik
    it's a polynomial, per color channel
    0th term (constant, usually 0 iirc), 1st order (k times radius), second order (k times r squared), etc.
    Erik Aranda
    @ErikAranda7_twitter
    Hello, i need the files for building a plugin for OSVR. I found it but the page dosn’t work… http://access.osvr.com/binary/osvr-sdk-installer - "Application error, An error occurred in the application and your page could not be served. " . If it is not there the files where is?
    niko20010
    @niko20010
    sensics hosted that server
    as they are out of business from what i heard, you have to search the net for those installers
    i can search my backup drives, will report back when i found some installer (might not be the most recent version ever released, but reasonably recent)
    @ErikAranda7_twitter
    Erik Aranda
    @ErikAranda7_twitter
    Ah yes please, thanks
    Ryan A. Pavlik
    @rpavlik
    yeah I don't know why that went down- it was a free-level heroku instance
    the backing S3 is covered by Razer and is still there.