Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

Oculus Go - Retrieving logs from OVRMetricsTool

VRexVRex Posts: 64
Hiro Protagonist
I've successfully installed the OVRMetricsTool to the Oculus Go but I'm having a very difficult time figuring out how to retrieve the logs from it. The mobile guide only mentions how to retrieve it from an Android phone, unless I missed something. Can anyone shed some light on this? Thanks so much.
Jesse Kirberger

Comments

  • VRexVRex Posts: 64
    Hiro Protagonist
    Thanks, imperativity! Not sure how I missed that before. Much appreciated.
    Jesse Kirberger
  • VRexVRex Posts: 64
    Hiro Protagonist
    edited October 2018
    @imperativity I actually have a few more questions for you. I can't get the OVR Metrics Tool to close on my Go. In the guide, it says:

    To disable Performance HUD Mode, restart your phone or send the following three adb commands:
    adb shell setprop debug.oculus.notifPackage ''
    adb shell setprop debug.oculus.notifClass ''
    adb shell am force-stop com.oculus.ovrmonitormetricsservice

    I tried this and it definitely did something and didn't give any error messages but the HUD was still there when I tested my project. I've also tried restarting the Go and it still pops up. Is it possible to fully delete this or other apk's from the Go?

    How can you send console commands to the Go while running an apk, such as 'stat unit'? Would you have tocode inputs to execute console commands within your project? Thanks for your help!



    Jesse Kirberger
  • MikeSwansonMikeSwanson Posts: 26
    Brain Burst
    I have this same issue. No matter what I do (including restarting the Go), the OVR Metrics graph is displayed.

    When I execute:
    adb shell setprop debug.oculus.notifClass ''
    I get:

    usage: setprop NAME VALUE
    Sets an Android system property.
    setprop: Need 2 arguments

    I've tried many variations of the command, including quotes, spaces, etc. with no luck.

    Android Debug Bridge version 1.0.40
    Version 4986621

  • VRexVRex Posts: 64
    Hiro Protagonist
    edited October 2018
    @imperativity Unfortunately I am. I ended up having to factory reset the Go in order to get rid of the metrics tool.

    I'd really appreciate some advice on how to best profile the GPU/CPU on the Go. Metrics tool doesn't really seem to give the specifics of what is taking up ms and I've tried to get Oculus Remote Monitor working and it cannot detect any hosts after enabling the capture server. How can I run something like 'stat startfile' in Unreal and retrieve this profile for analyzing? I've tried running it automatically in console commands after it begins playing, and it seems to capture this, but I cannot locate the file after it done. If you could please recommend the best way to do a thorough GPU/CPU profile on the Go it would be incredible, as I am pretty much dead in the water at this point whenever I run into frame issues. Thanks so much, @imperativity.
    Jesse Kirberger
  • MikeSwansonMikeSwanson Posts: 26
    Brain Burst
  • ClavusClavus Posts: 11
    NerveGear
    @VRex

    Are you still experiencing this issue?
    I can confirm I have the same issue. I'm unable to disable the Performance HUD on my Oculus Go (OVR Metrics Tool v1.2).
  • MikeSwansonMikeSwanson Posts: 26
    Brain Burst
    @imperativity Just wondering if there's been an update on this one. I still have the metrics overlay enabled for everything I do.
  • VR-Lab-nlVR-Lab-nl Posts: 20
    Brain Burst
    @VRex

    Are you still experiencing this issue?
    I can also confirm this issue.
    The 3 commands do not disable the HUD display and restarting the Go also does not fix it.
    I definitely do NOT want to go through a factory reset (if only to avoid the elaborate setup procedure including the annoying obligatory warnings video)

    @imperativity any updates on this issue which you are able to share with us?

    You might also want to update the readme.txt included in the download adding the force-stop cmd) as the file currently only states:
    To disable Performance HUD Mode, use the following two adb commands:

    adb shell setprop debug.oculus.notifPackage ''
    adb shell setprop debug.oculus.notifClass ''

    For more information, see https://developer.oculus.com.



  • VR-Lab-nlVR-Lab-nl Posts: 20
    Brain Burst
  • cannes_xkcannes_xk Posts: 2 Oculus Start Member

    I have the solution. For me it worked.

    adb uninstall com.oculus.ovrmonitormetricsservice    

    then, you turn off and on ... and finally out!


  • cannes_xkcannes_xk Posts: 2 Oculus Start Member
  • moutinoirmoutinoir Posts: 1
    NerveGear
    Hello,
    I installed the OVRMetricsTools apk with adb on my Oculus Go, the Go is connected to my iphone, I can see the OVRMetricsTools graph in an app I also installed and I would like to get the report log, to use the report mode, I can't find the file with the logs, I looked in the sd card in all the files and could'nt find them, I looked in the app on my iphone and I can't find anything either. In this documentation https://developer.oculus.com/documentation/mobilesdk/latest/concepts/mobile-ovrmetricstool/ it is written : "After you have finished your session and exited VR, open OVR Metrics Tool from your phone’s desktop launcher and click the log entry that corresponds to your application." I don't know what my phone's desktop launcher is. Can you help me please?
    What I need to find is a way to save that live data I'm seeing in the graph in the headset. But I don't understand where the report data is. ("In Report Mode, it produces a performance report about a VR session after it is complete. Report data may be easily exported as a CSV and PNG graphs.")
    Thank you for your help!
Sign In or Register to comment.