Jump to content

Rollback Wave SDK 5.0.1 to 4.5


Recommended Posts

Hi, I am working with Nvidia on using the Vive Focus 3 and their CloudXR platform. It looks like my up-to-date Vive Focus 3 might be causing an issue with the provided sample application (appears to rely on Wave SDK 4.5).  I did see there is a way to manage updates on some level by enrolling the device into a MDM system. It's not clear whether or not this will let me rollback the firmware once installed. I tried a factory reset, but it keeps the device on Wave SDK 5.0.1. So my CloudXR app crashes immediately after launch. Please let me know if there are some troubleshooting steps I can take. 

Link to comment
Share on other sites

@VizSpaces I'm a little confused would appreciate any help clarifying

We have a 4.5.0 SDK available here: https://developer.vive.com/resources/vive-wave/download/latest/
I'm not seeing a similar wave sdk 5.0.1 posted, nor references in the github repo. 
If it's the this situation, specifying the sdk version would work fine.

I *am* seeing version 5.0.999.558 as the latest vive focus3 ROM (system software) update here https://business.vive.com/release-notes/vive-focus-3/vive-focus-3-software-50999558/ with another 5x release. Before that was in the 3.x range

If it is the 2nd situation - rolling back the rom version is something that isn't normally done. I'm only familiar with enterprise clients who use our DMS / MDM solution https://business.vive.com/eu/solutions/dms/ . I'll dig a bit further, but I suspect this might be a bug fixed with a sdk or rom update. Certainly it may be worth trying opting into the beta in order to see if there is anything changed there.

Link to comment
Share on other sites

Hey thanks for the follow up Alex and Dario. So I am aware of each link you all shared. This sounds like it's a misunderstanding on my part. Let me clarify and see if you all can confirm. 

So even though the device itself reports a Wave SDK "5.099..." it does not necessarily mean that it can't run applications built on Wave SDK 4.5. I don't have to worry about some odd instance of backwards compatibility. The latest and greatest here: https://github.com/ViveSoftware/Wave-CloudXR-Sample/releases/tag/v1.2 should work, and there must be something else causing my application crash? I've been careful to follow the documentation and open firewall ports where needed. I'll continue troubleshooting in the meantime. 

Link to comment
Share on other sites

Posted (edited)

By the way, have you all had any luck running the latest CloudXR on an up-to-date vive focus 3? Not sure if anyone else is testing this out.  

Edited by VizSpaces
duplicate post error
Link to comment
Share on other sites

--------- beginning of crash
07-25 13:37:48.536  4021  4082 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8 in tid 4082 (Thread-15), pid 4021 (les.wavecloudxr)
07-25 13:37:48.578  4103  4103 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-25 13:37:48.578  4103  4103 F DEBUG   : Build fingerprint: 'HTC/kona/kona:10/QKQ1.210528.001/4372:user/release-keys'
07-25 13:37:48.578  4103  4103 F DEBUG   : Revision: '0'
07-25 13:37:48.578  4103  4103 F DEBUG   : ABI: 'arm64'
07-25 13:37:48.579  4103  4103 F DEBUG   : Timestamp: 2022-07-25 13:37:48-0400
07-25 13:37:48.579  4103  4103 F DEBUG   : pid: 4021, tid: 4082, name: Thread-15  >>> com.htc.vr.samples.wavecloudxr <<<
07-25 13:37:48.579  4103  4103 F DEBUG   : uid: 10140
07-25 13:37:48.579  4103  4103 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8
07-25 13:37:48.579  4103  4103 F DEBUG   : Cause: null pointer dereference
07-25 13:37:48.579  4103  4103 F DEBUG   :     x0  0000000000000000  x1  000000733f1f9aa8  x2  000000733f1f9a88  x3  000000733f1f9a38
07-25 13:37:48.579  4103  4103 F DEBUG   :     x4  000000733f1f95a4  x5  6170706c69636174  x6  0000000000000038  x7  0000000000000038
07-25 13:37:48.579  4103  4103 F DEBUG   :     x8  000000733f1f9a00  x9  6e7a7fc4a7479e69  x10 000000735afed718  x11 000000733d9f4de8
07-25 13:37:48.579  4103  4103 F DEBUG   :     x12 0000000000000000  x13 000000733f1f9780  x14 0000000000000008  x15 0000000000000000
07-25 13:37:48.579  4103  4103 F DEBUG   :     x16 000000735afe8998  x17 000000735add7898  x18 0000000000000008  x19 000000733f1f9a00
07-25 13:37:48.579  4103  4103 F DEBUG   :     x20 000000735baf8600  x21 0000000000000ff1  x22 000000735baf8600  x23 000000733f1fc020
07-25 13:37:48.579  4103  4103 F DEBUG   :     x24 000000733f1fc020  x25 000000733f1fc020  x26 000000733d7074b0  x27 0000000000000001
07-25 13:37:48.579  4103  4103 F DEBUG   :     x28 000000733f1fa180  x29 000000733f1f9c20
07-25 13:37:48.579  4103  4103 F DEBUG   :     sp  000000733f1f9a00  lr  000000735adabb4c  pc  000000735ae29058
07-25 13:37:48.687  4103  4103 F DEBUG   : 
07-25 13:37:48.687  4103  4103 F DEBUG   : backtrace:
07-25 13:37:48.687  4103  4103 F DEBUG   :     NOTE: Function names and BuildId information is missing for some frames due
07-25 13:37:48.687  4103  4103 F DEBUG   :     NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
07-25 13:37:48.687  4103  4103 F DEBUG   :     NOTE: found under the lib/ directory are readable.
07-25 13:37:48.687  4103  4103 F DEBUG   :       #00 pc 0000000000123058  /data/data/com.htc.vr.samples.wavecloudxr/code_cache/wavevr/client/lib/libvrcore.so
07-25 13:37:48.687  4103  4103 F DEBUG   :       #01 pc 00000000000a5b48  /data/data/com.htc.vr.samples.wavecloudxr/code_cache/wavevr/client/lib/libvrcore.so
07-25 13:37:48.687  4103  4103 F DEBUG   :       #02 pc 0000000000249580  /data/data/com.htc.vr.samples.wavecloudxr/code_cache/wavevr/client/lib/libwvr_runtime.so
07-25 13:37:48.687  4103  4103 F DEBUG   :       #03 pc 0000000000248fec  /data/data/com.htc.vr.samples.wavecloudxr/code_cache/wavevr/client/lib/libwvr_runtime.so
07-25 13:37:48.687  4103  4103 F DEBUG   :       #04 pc 000000000024ab70  /data/data/com.htc.vr.samples.wavecloudxr/code_cache/wavevr/client/lib/libwvr_runtime.so
07-25 13:37:48.687  4103  4103 F DEBUG   :       #05 pc 0000000000140350  /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #06 pc 0000000000137334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #07 pc 0000000000145fec  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #08 pc 00000000002e304c  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #09 pc 00000000002de2ac  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+892) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #10 pc 00000000005a2d14  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+424) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #11 pc 0000000000131914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #12 pc 00000000001a5018  [anon:dalvik-classes.dex extracted in memory from /data/user/0/com.htc.vr.samples.wavecloudxr/code_cache/wavevr/client/client-module.apk] (com.htc.vr.sdk.VRVrModeService.triggerClientReady)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #13 pc 00000000005a0cac  /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1352) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #14 pc 0000000000131814  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #15 pc 00000000001a2142  [anon:dalvik-classes.dex extracted in memory from /data/user/0/com.htc.vr.samples.wavecloudxr/code_cache/wavevr/client/client-module.apk] (com.htc.vr.sdk.VRPlatform.triggerClientReady+134)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #16 pc 00000000005a1904  /apex/com.android.runtime/lib64/libart.so (MterpInvokeSuper+2248) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #17 pc 0000000000131894  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_super+20) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #18 pc 00000000001ba9c4  [anon:dalvik-classes.dex extracted in memory from /data/user/0/com.htc.vr.samples.wavecloudxr/code_cache/wavevr/client/client-module.apk] (com.htc.vr.sdk.wvrvrplatform.WvrVRPlatform.triggerClientReady)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #19 pc 00000000002b4360  /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.18354625717638269794+240) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #20 pc 0000000000591f54  /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1032) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #21 pc 0000000000140468  /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #22 pc 0000000000137334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #23 pc 0000000000145fec  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #24 pc 00000000004b08c0  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #25 pc 00000000004b1d0c  /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+424) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #26 pc 0000000000397960  /apex/com.android.runtime/lib64/libart.so (art::JNI::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+628) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #27 pc 000000000036c3f8  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, std::__va_list, art::Primitive::Type, art::InvokeType)+2368) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #28 pc 000000000035a6d8  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::CheckJNI::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+72) (BuildId: c147364ca6fe35a4d75912fc03dcab1d)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #29 pc 00000000001d796c  /data/data/com.htc.vr.samples.wavecloudxr/code_cache/wavevr/client/lib/liboverlay_api.so
07-25 13:37:48.687  4103  4103 F DEBUG   :       #30 pc 00000000001d7ffc  /data/data/com.htc.vr.samples.wavecloudxr/code_cache/wavevr/client/lib/liboverlay_api.so
07-25 13:37:48.687  4103  4103 F DEBUG   :       #31 pc 00000000001efb34  /data/data/com.htc.vr.samples.wavecloudxr/code_cache/wavevr/client/lib/liboverlay_api.so
07-25 13:37:48.687  4103  4103 F DEBUG   :       #32 pc 00000000001ee7cc  /data/data/com.htc.vr.samples.wavecloudxr/code_cache/wavevr/client/lib/liboverlay_api.so
07-25 13:37:48.687  4103  4103 F DEBUG   :       #33 pc 00000000001f6c74  /data/data/com.htc.vr.samples.wavecloudxr/code_cache/wavevr/client/lib/liboverlay_api.so
07-25 13:37:48.687  4103  4103 F DEBUG   :       #34 pc 00000000000e68a0  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 21847aa9757f000b0461310a9f5e6e51)
07-25 13:37:48.687  4103  4103 F DEBUG   :       #35 pc 0000000000084b6c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 21847aa9757f000b0461310a9f5e6e51)

Link to comment
Share on other sites

@VizSpacesThe extra detail can help, thank you. I suspect we need to clarify the top level issue first.
The sdk is used to build the app, and the ROM is on the hardware. They are important details that help us support you properly, a rom verison would look like 5.0.999.558 and a SDK version would look like 4.5.0.

If you could help me better understand which version number of the ROM is on the hardware and what versions of the SDK are used in the branch you're using, along with which commit ID of the repo is being used, that can help get some forward movement, assuming it's not an environmental issue.

For instance:
wave 4.5.0 is here https://developer.vive.com/resources/vive-wave/download/latest/ 
I'm currently unfamiliar with any newer releases of that SDK. In other words, a reference to a 5.x sdk doesn't exist in a form we're distributing.  This development branch would likely be in an unstable state and might even use internal-only features.
If the repo is using a newer one, then likely it is a "development feature" branch and you should go off of the last release, a stable branch which likely also uses 4.5.0, as Dario indicated.

If it's the ROM version that's being indicated there is no 4.5xx version. there was 3.xxx and 5.xxx. 

Aside from this:
There are a broad range of environmental issues which can cause cloud rendering to work, including some silly ones like disk running out on the host machine or more common ones like switching networks or extra network load.

A quick peek at the logs I'm seeing some new types of errors, and perhaps some of the libraries installed are corrupt for some reason. I would definitely go with the 1.2 github release that dario pointed out here https://github.com/ViveSoftware/Wave-CloudXR-Sample/releases/tag/v1.2 and then go from there.

Link to comment
Share on other sites

Hey Alex, I am using the Github release. I also did this on a fresh device reset too and install. Is there anyway I can schedule a call? I have a support case open too. 

Regarding the device build it's what i cited previously. I have a screenshot i can share directly in an email. 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...