New to the forums? Click here to read the "How To" Guide.

Developer? Click here to go to the Developer Forums.

[Obsolete] Oculus Service Manager -By Bilago

bilagobilago Posts: 403
Hiro Protagonist
edited December 2014 in General
This tool is now obsolete. Please download my VR Game Manager to stop the service on a per-game basis.


VR Game Manager:
viewtopic.php?f=26&t=12754



I updated my configuration tool to work with SDK4.2

Updated:
-Removed the Watchdog Feature
-Added an option to "Optimize the service" : Configures the service to automatically restart upon failure
-Start/Stop Service now uses the service controller to stop and start the service

Everything Else works the same!

xq3uc3xt3jiptt76g.jpg


Updated:
[*](8/12/2014)Update : v1.0.5337.9633: *SDK 0.4.1 Update*
Registry Path has changed
SSE Emulator has been removed (6.4MB file size reduction ;) )
Added a new option to the "Install Context Adapter", now lets you also force D3DX11 as well:

46w9i2i52s94dnu6g.jpg


Older Updates:


[b][*](8/11/2014)Update : v1.0.5336.14017:[/b] [i]*Minor Update No functionality changes*[/i]
Redirected all Troubleshooting data grabbed from devCon internally instead of redirecting output to text file, then into a variable (Eliminated the timeout issue :) )
Added Running Processes to the report to help troubleshoot issues.

[b][*](8/8/2014)Update : v1.0.5333.18034:[/b]
Now added event logs from the last 48 hours that have the OculusVR source to the troubleshooter!

[b][*](8/8/2014)Update : v1.0.5333.15723:[/b]
Added more useful information to the troubleshooter. Now detects when the wrong display driver is installed for the Rift. Shown in screenshot below:
[img]http://www.mediafire.com/convkey/a384/3olu9uw19w1ye886g.jpg[/img]

[b][*](8/7/2014)Update : v1.0.5332.26221:[/b]
Added a feature to the utility that lets you add a context menu option called "Open On Oculus Rift" - basically runs the exe you selected with the -Adapter argument. 

[b]Example Screenshot:[/b]
[img]https://www.mediafire.com/convkey/82e2/ko2ub7jd58zrgax6g.jpg[/img]

[*](8/7/2014) v1.0.5332.18722:
Added a "LowFilters" check to the troubleshooter to help locate issues where the End users video card drivers become un-usable and where the DK2 Camera fails to install due to "[b]The specified service does not exist as an installed service[/b]" Error

[*]Update (8/6/2014) v1.0.5331.1335:
Changed the way the program sets the current working directory so files are not put into system32 when ran as a scheduled task. Increased the timeout for the troubleshoot link, as some computers did not run it fast enough - was causing it to crash while accessing the file.

[*]Update (8/5/2014) v1.0.5330.15088:
Added a "Troubleshoot Issues" Link on the bottom right corner of the utility. When you press this, it will put all relevant debugging information on to your clipboard, or to textfile if your computer has problems accessing the clipboard (admin issues usually). You can post this info on this forum or on Reddit. [b]I highly suggest that you wrap the contents in code tags [code]like this[/code] because it is VERY long.[/b]

[*]Update (8/1/2014) v1.0.5326.10214:
SSE-Fix has been optimized and no longer uses 7zip to extract the SSE-Emulator since a few users were having issues. Now it's a self contained self extracting executable. This has added about 2MB to the file size, totaling at 6MB which isn't too bad. Added more error checking with some new log files that should only have text if something goes wrong.

[*]Update v1.0.5325.14213:
When SSE fix is Enabled, it will remember to re-enable it the next time you run it, even by scheduled task.

[*]update v1.0.5323.12638:
Now when My Custom Watchdog is enabled, it will create a scheduled task that will auto launch the watch dog when you reboot your PC.

[*]update 
Now includes an Option for SSE-Emulation as shown in this thread: http://www.reddit.com/r/oculus/comments/2c65vb/found_a_solution_for_the_ovrservice_x64exe_has/
Just check the checkbox "Enable SSE Fix" and you're good to go!

[*]If you press "Restart Drivers", it will actually restart the drivers for the Camera and the HMD. This is useful if you need to reboot - now you don't have to!

The tool is pretty self explanatory. But to mitigate as many questions as possible:

Start (Stop) Service button: This will start/stop OVRService_x64(86).exe , wscript.exe (Oculus’s watchdog) and OculusConfigUtil.exe. Use this for one time toggle on or off.

Restart Service button: This is used if the service is already running but you want to manually stop, then start it (does the same as clicking the first button twice)

Disable/Enable Aero button: This will turn off/on Aero on your machine which may help with vsync issues.

Enable Custom Watchdog checkbox: This will replace the use of a VBS file (terrible idea since a lot of pc’s have vbs associated to notepad instead of wscript.exe as a security precaution). This utility will place itself in the system tray and silently check every 30 seconds to ensure that OVRService and OculusConfigUtil are both running. If either are stopped, both are restarted. You will get a tooltip notification when this happens.
This will also disable the scheduled task that starts the VBS watch dog, and a new scheduled task is created will launch the watchdog at system startup.

Enable SSE-Fix checkbox: This will run OVRService in an SSE Emulator, for those users who do not have CPU's that support SSE 4.1. Only use this option if you're trying to play 0.4.0 SDK games only, as 0.3.0 SDK games need OVRService Turned off.



This has been tested on Win 7 x64 , please let me know if you come across any bugs and I’ll fix it promptly. Enjoy :)



Download: 0.4.2 only - Obsolete
http://www.mediafire.com/download/1i39o786z33xei6/OculusServiceManager_-_By_Bilago.7z

Legacy Version (pre 0.4.2):
http://www.mediafire.com/download/gqdw07k68m3yv1f

Source:
https://github.com/bilago/Oculus-Service-Manager
If you decide to use any of the source, all I ask is for credit where it's due :)
[Obsolete] Oculus Service Manager - https://developer.oculusvr.com/forums/viewtopic.php?f=26&t=11395
[Unofficial] VR Game Manager - viewtopic.php?f=26&t=12754
«134

Comments

  • SemicidalSemicidal Posts: 297
    Hiro Protagonist
    I am sorry, but what is this for?
  • bilagobilago Posts: 403
    Hiro Protagonist
    Semicidal wrote:
    I am sorry, but what is this for?

    A few things,

    Most common use: To turn off the OVR Service when wanting to play a game built on SDK 0.3 -and then to turn it back on.

    Other uses:

    Replace the VBS watchdog put in place with a more secure option, with tooltip notifications when the service fails. Unlike the included watchdog, this one will also restart the config utility.

    I have also verified this fixes performance issues when using direct mode. When things start getting 'stuttery' hit the restart service button and it has cleared it up for me.

    In turn, it doesn't do anything a power user can't do. It just makes it a lot easier/faster.
    [Obsolete] Oculus Service Manager - https://developer.oculusvr.com/forums/viewtopic.php?f=26&t=11395
    [Unofficial] VR Game Manager - viewtopic.php?f=26&t=12754
  • SemicidalSemicidal Posts: 297
    Hiro Protagonist
    Wow, I am apparently way behind on how to use my rift. I didn't know the service needed stopping to play certain games. (Didn't know my DK2 COULD play anything below 0.4). I'm still stumbling around trying to get it to accept the camera.
  • RiftXdevRiftXdev Posts: 847 Poster of the Week
    Looks great, cheers. I'll download it later. It a pain to turn it off and I've been rebooting to restart the services.
    DK1 | DK2
    "The question isn't who is going to let me but rather who is going to stop me"
  • bilagobilago Posts: 403
    Hiro Protagonist
    Semicidal wrote:
    Wow, I am apparently way behind on how to use my rift. I didn't know the service needed stopping to play certain games. (Didn't know my DK2 COULD play anything below 0.4). I'm still stumbling around trying to get it to accept the camera.

    Here is a post by an Oculus Employee on the steps to play pre 0.4 games. Note, my utility will do every step for you , other than step 1
    viewtopic.php?f=37&t=10892&start=40#p146051
    [Obsolete] Oculus Service Manager - https://developer.oculusvr.com/forums/viewtopic.php?f=26&t=11395
    [Unofficial] VR Game Manager - viewtopic.php?f=26&t=12754
  • museumstevemuseumsteve Posts: 443
    Art3mis
    Many thanks for doing this :)
  • AnotherCrazyCanadianAnotherCrazyCanadian Posts: 321
    Nexus 6
    edited July 2014
    I actually had no idea that the DK2 could work for the pre- 0.4 SDK games, and I am also having problems with stuttering (my frame rate either goes to 60, 85, 100, 125, and 144 Hz). Hopefully this'll help clear some of it up.

    I really appreciate the help on this man, I have over 100 demo's that are pre DK2.
    Facebook bought Instagram. How exactly did they ruin them?
  • SemicidalSemicidal Posts: 297
    Hiro Protagonist
    Is there a way to tell what SDK a game was compiled in without trial and error?
  • bilagobilago Posts: 403
    Hiro Protagonist
    Semicidal wrote:
    Is there a way to tell what SDK a game was compiled in without trial and error?
    Most games are on SDK 0.3 currently. Unless you specifically see something from the author that they are on 0.4, i would assume they are on older versions.
    [Obsolete] Oculus Service Manager - https://developer.oculusvr.com/forums/viewtopic.php?f=26&t=11395
    [Unofficial] VR Game Manager - viewtopic.php?f=26&t=12754
  • doctorcryptodoctorcrypto Posts: 2
    NerveGear
    This looks great. Do you need to have multiple SDK runtimes installed, or just the 0.4.0 runtime?
  • bilagobilago Posts: 403
    Hiro Protagonist
    This looks great. Do you need to have multiple SDK runtimes installed, or just the 0.4.0 runtime?

    Based on the post by Oculus, it looks like you need 0.4.0 installed for tracking, then disable the service and config utility to run sdk 0.3.0 while in extended monitor mode. I don't see any reason to have to install anything else
    [Obsolete] Oculus Service Manager - https://developer.oculusvr.com/forums/viewtopic.php?f=26&t=11395
    [Unofficial] VR Game Manager - viewtopic.php?f=26&t=12754
  • SemicidalSemicidal Posts: 297
    Hiro Protagonist
    Okay, so now my only problem is I cannot get positional tracking :(
  • doctorcryptodoctorcrypto Posts: 2
    NerveGear
    edited July 2014
    bilago wrote:
    This looks great. Do you need to have multiple SDK runtimes installed, or just the 0.4.0 runtime?

    Based on the post by Oculus, it looks like you need 0.4.0 installed for tracking, then disable the service and config utility to run sdk 0.3.0 while in extended monitor mode. I don't see any reason to have to install anything else

    I see the runtime is new for 0.4.0 .. that was my misunderstanding (not having had a DK1) .. thanks for your help.
  • Hiro_Protag0nistHiro_Protag0nist Posts: 4,978 Valuable Player
    Looks very handy, thanks Bilago.
  • bilagobilago Posts: 403
    Hiro Protagonist
    andyring wrote:
    Looks very handy, thanks Bilago.

    No problem at all :)
    [Obsolete] Oculus Service Manager - https://developer.oculusvr.com/forums/viewtopic.php?f=26&t=11395
    [Unofficial] VR Game Manager - viewtopic.php?f=26&t=12754
  • SemicidalSemicidal Posts: 297
    Hiro Protagonist
    Wait, how do I get it ro run on 0.3 after shutting down 0.4?
  • Did anyone managed to play Dreadhalls on the DK2 with this trick?
    DK2 and Gear VR owner.
  • bilagobilago Posts: 403
    Hiro Protagonist
    Semicidal wrote:
    Wait, how do I get it ro run on 0.3 after shutting down 0.4?

    1. Configure your DK2 as a monitor in the Config tool
    2. Shut down the services with my tool (make sure my watchdog is unchecked)
    3. Set the rift as your primary monitor
    4. Run the 0.3.0 game, choose 948x1080 resolution - if you do not have that option, go into your graphic control panel and rotate the screen 90 degree's, then choose the standard 1920x1080.
    5. if the game isn't full screen, make sure you drag the window to the rift screen and then press ALT+ENTER to enter full screen.
    [Obsolete] Oculus Service Manager - https://developer.oculusvr.com/forums/viewtopic.php?f=26&t=11395
    [Unofficial] VR Game Manager - viewtopic.php?f=26&t=12754
  • SemicidalSemicidal Posts: 297
    Hiro Protagonist
    Nothing picks up the tracking (Rotational). It must be another issue.
  • bilagobilago Posts: 403
    Hiro Protagonist
    Semicidal wrote:
    Nothing picks up the tracking (Rotational). It must be another issue.

    What game?
    [Obsolete] Oculus Service Manager - https://developer.oculusvr.com/forums/viewtopic.php?f=26&t=11395
    [Unofficial] VR Game Manager - viewtopic.php?f=26&t=12754
  • achachiachachi Posts: 43
    As mentioned before, although older stuff will run you will not be able to get head tracking working which obviously spoils the majority of games and demos. The only real solution will be when the developers update their work and compile it in the new 0.4 SDK.
  • evil1evil1 Posts: 51
    Brain Burst
    bilago wrote:
    Hey Guys, I wrote a Tool to help make transitioning between 0.3 and 0.4 a little easier


    Thanks Bilago, you saved me the effort, I was contemplating doing the same this morning :-)
  • rupyrupy Posts: 517
    Brain Burst
    Good job!
    aeon.svg
    "It's like Homeworld in first person."
    Disable Aero and vSync for a completely simulator sickness free experience with 2xHz FPS.
    Keep the config utility open for tracking to work.
  • jeroenbreukelsjeroenbreukels Posts: 11
    NerveGear
    This is awesome. You just made my life a lot easier :) Thank you!
  • bilagobilago Posts: 403
    Hiro Protagonist
    New Update guys, now you can restart the drivers themselves as well! You only need to do that if your camera/HMD isn't working the way it should (ie not detected) it's basically like you're physically unplugging and replugging it back in. Enjoy
    [Obsolete] Oculus Service Manager - https://developer.oculusvr.com/forums/viewtopic.php?f=26&t=11395
    [Unofficial] VR Game Manager - viewtopic.php?f=26&t=12754
  • ValiantOneValiantOne Posts: 105
    You are a god, my friend! Thank you for this wonderful program. Oculus should hire you! :)
    i7-2600k @4.20(OC) Ghz, 16gb RAM DDR3 Corsair Vengeance, ASUS Maximus IV Extreme-Z, NVIDIA GTX 760 4gb, 1200w Gold Certified Corsair PSU, (1)Acer HN274H 3D 120hz Monitor-1920x1080,(2) Samsung Syncmaster 245BW-1920x1200, Win 7 64bit.
  • bilagobilago Posts: 403
    Hiro Protagonist
    Latest update now includes an Option for SSE-Emulation as shown in this thread: http://www.reddit.com/r/oculus/comments/2c65vb/found_a_solution_for_the_ovrservice_x64exe_has/

    Just check the checkbox "Enable SSE Fix" and you're good to go!
    [Obsolete] Oculus Service Manager - https://developer.oculusvr.com/forums/viewtopic.php?f=26&t=11395
    [Unofficial] VR Game Manager - viewtopic.php?f=26&t=12754
  • nalex66nalex66 Posts: 5,411 Volunteer Moderator
    Thanks Bilago. I was already using the SSE4.1 fix, but this is a nice clean way to manage it. Good stuff!
    i7 5820K @ 4.25GHz | EVGA GTX 1080 SC | Gigabyte GA-X99-UD4 | Corsair DDR4 3000 32GB | Corsair HX 750W
    SSDs: Intel 660p M.2 2TB, Samsung 860 Evo 1TB, 850 Evo 1TB, 840 Evo 1TB | Startech 4 controller PCIe USB 3.0
  • sisyphesisyphe Posts: 21
    Very nice ! Can't wait to try this at home this evening.
  • bilagobilago Posts: 403
    Hiro Protagonist
    New update v1.0.5323.12638:
    Now when My Custom Watchdog is enabled, it will create a scheduled task that will auto launch the watch dog when you reboot your PC.
    [Obsolete] Oculus Service Manager - https://developer.oculusvr.com/forums/viewtopic.php?f=26&t=11395
    [Unofficial] VR Game Manager - viewtopic.php?f=26&t=12754
Sign In or Register to comment.