Igalia / wolvic

A fast and secure browser for standalone virtual-reality and augmented-reality headsets.
https://wolvic.org
Mozilla Public License 2.0
808 stars 102 forks source link

Unable to run UnrealEngine pixel streaming #1123

Open weller0 opened 10 months ago

weller0 commented 10 months ago

Configuration

Wolvic version: v1.5.1 Wolvic build ID: 220

Hardware: PICO 4 Quest 2 also has this issue.

Steps to Reproduce

1.Use ue pixel-streaming(https://docs.unrealengine.com/5.2/en-US/experimental-pixel-streaming-features/). I have a packaged version(). 2.After decompressing Windows. rar, run the PC side service image 3.Enter the Wolvic browser and enter the PC address, for example:https://192.268.1.10 image 4.Entering VR mode image

Current Behavior

Currently in black screen state

Expected Behavior

It can display normally

Possible Solution

By checking the settings, it was found that the encoding option is empty, while there is an encoder in the PICO browser image

Context

Error Logs and Stack Traces

[log.log](https://github.com/Igalia/wolvic/files/13500443/log.log) ``` 11-29 20:20:23.243 15235 15235 I DEBUG : Current uptime at crash: 178508 seconds 11-29 20:20:23.386 15235 15235 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 11-29 20:20:23.386 15235 15235 F DEBUG : Build fingerprint: 'oculus/hollywood/hollywood:12/SQ3A.220605.009.A1/50670960048600150:user/release-keys' 11-29 20:20:23.386 15235 15235 F DEBUG : Revision: '0' 11-29 20:20:23.386 15235 15235 F DEBUG : ABI: 'arm64' 11-29 20:20:23.386 15235 15235 F DEBUG : Timestamp: 2023-11-29 20:20:23.242872277+0800 11-29 20:20:23.386 15235 15235 F DEBUG : Process uptime: 0s 11-29 20:20:23.386 15235 15235 F DEBUG : Diagnostic-Collection-Type: Tombstone Proto 11-29 20:20:23.386 15235 15235 F DEBUG : Has-Diagnostic-Summary: Yes 11-29 20:20:23.386 15235 15235 F DEBUG : Debugging: No 11-29 20:20:23.386 15235 15235 F DEBUG : Has-Waited-For-Debugger: No 11-29 20:20:23.386 15235 15235 F DEBUG : Last-Activity-Time: 19481043 11-29 20:20:23.386 15235 15235 F DEBUG : Process-Runtime: 159027934 11-29 20:20:23.386 15235 15235 F DEBUG : Waiting-To-Kill: 11-29 20:20:23.386 15235 15235 F DEBUG : Killed-By-AM: No 11-29 20:20:23.386 15235 15235 F DEBUG : Removed: No 11-29 20:20:23.386 15235 15235 F DEBUG : Wanted-ANR-Ui: No 11-29 20:20:23.386 15235 15235 F DEBUG : Killed: No 11-29 20:20:23.386 15235 15235 F DEBUG : OOM-Score-Adj: 0 11-29 20:20:23.386 15235 15235 F DEBUG : Wanted-Error-Ui: No 11-29 20:20:23.386 15235 15235 F DEBUG : Kill-Time: 0 11-29 20:20:23.386 15235 15235 F DEBUG : State: BTOP 11-29 20:20:23.386 15235 15235 F DEBUG : Foreground: No 11-29 20:20:23.386 15235 15235 F DEBUG : Cmdline: com.igalia.wolvic:media 11-29 20:20:23.386 15235 15235 F DEBUG : pid: 15217, tid: 15217, name: ia.wolvic:media >>> com.igalia.wolvic:media <<< 11-29 20:20:23.386 15235 15235 F DEBUG : uid: 10104 11-29 20:20:23.386 15235 15235 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x75a6c6a000 11-29 20:20:23.386 15235 15235 F DEBUG : x0 000000000000000b x1 0000007fef3bbf88 x2 0000000000000000 x3 0000000000000022 11-29 20:20:23.386 15235 15235 F DEBUG : x4 00000000ffffffff x5 0000000000000000 x6 0000000000000010 x7 7f7f7f7f7f7f7f7f 11-29 20:20:23.386 15235 15235 F DEBUG : x8 000000000000007b x9 705fefd652266799 x10 000000003b9aca00 x11 705fefd652266799 11-29 20:20:23.387 15235 15235 F DEBUG : x12 0000007467b2d670 x13 0000000000000058 x14 0000000000000005 x15 0000000000000000 11-29 20:20:23.387 15235 15235 F DEBUG : x16 0000007467bea358 x17 0000007590707160 x18 00000075a77cc000 x19 0000007467bebbc8 11-29 20:20:23.387 15235 15235 F DEBUG : x20 0000007467bebb90 x21 00000075a701bcc0 x22 00000075a6c6a000 x23 00000075a83062b6 11-29 20:20:23.387 15235 15235 F DEBUG : x24 00000075a83013b2 x25 00000075a8306eb4 x26 00000075a8412000 x27 000000000000000a 11-29 20:20:23.387 15235 15235 F DEBUG : x28 00000075a84118b8 x29 0000007fef3bc000 11-29 20:20:23.387 15235 15235 F DEBUG : lr 0000007467b2d620 sp 0000007fef3bbf50 pc 0000007467b2d630 pst 0000000000001000 11-29 20:20:23.387 15235 15235 F DEBUG : backtrace: 11-29 20:20:23.387 15235 15235 F DEBUG : #00 pc 00000000000a7630 /data/app/~~uXgKkQ8ONVSGze-Dc6tDHw==/com.igalia.wolvic-uBmd_RkYQ_WrtnH_ZVkxcw==/lib/arm64/libmozglue.so (BuildId: f3e8506544deed72edddd3d9f008f8ea71b5c141) 11-29 20:20:23.387 15235 15235 F DEBUG : #01 pc 00000000000a6668 /data/app/~~uXgKkQ8ONVSGze-Dc6tDHw==/com.igalia.wolvic-uBmd_RkYQ_WrtnH_ZVkxcw==/lib/arm64/libmozglue.so (BuildId: f3e8506544deed72edddd3d9f008f8ea71b5c141) 11-29 20:20:23.387 15235 15235 F DEBUG : #02 pc 00000000000a812c /data/app/~~uXgKkQ8ONVSGze-Dc6tDHw==/com.igalia.wolvic-uBmd_RkYQ_WrtnH_ZVkxcw==/lib/arm64/libmozglue.so (BuildId: f3e8506544deed72edddd3d9f008f8ea71b5c141) 11-29 20:20:23.387 15235 15235 F DEBUG : #03 pc 000000000004fbd4 /apex/com.android.runtime/bin/linker64 (__dl__ZL13call_functionPKcPFviPPcS2_ES0_+120) (BuildId: 9d66fccd139c5a60968252a6462db8b7) 11-29 20:20:23.387 15235 15235 F DEBUG : #04 pc 000000000004fad8 /apex/com.android.runtime/bin/linker64 (__dl__ZN6soinfo17call_constructorsEv+504) (BuildId: 9d66fccd139c5a60968252a6462db8b7) 11-29 20:20:23.387 15235 15235 F DEBUG : #05 pc 000000000003cf48 /apex/com.android.runtime/bin/linker64 (__dl__Z9do_dlopenPKciPK17android_dlextinfoPKv+1956) (BuildId: 9d66fccd139c5a60968252a6462db8b7) 11-29 20:20:23.387 15235 15235 F DEBUG : #06 pc 00000000000390e0 /apex/com.android.runtime/bin/linker64 (__dl__ZL10dlopen_extPKciPK17android_dlextinfoPKv+72) (BuildId: 9d66fccd139c5a60968252a6462db8b7) 11-29 20:20:23.387 15235 15235 F DEBUG : #07 pc 00000000000010c8 /apex/com.android.runtime/lib64/bionic/libdl.so (android_dlopen_ext+16) (BuildId: 788b6921fdb07a25aaef76eaf2cba94e) 11-29 20:20:23.387 15235 15235 F DEBUG : #08 pc 000000000001bf00 /apex/com.android.art/lib64/libnativeloader.so (android::NativeLoaderNamespace::Load(char const*) const+184) (BuildId: 4efe3b3475ee13d05f3664623586635f) 11-29 20:20:23.387 15235 15235 F DEBUG : #09 pc 000000000000ce34 /apex/com.android.art/lib64/libnativeloader.so (OpenNativeLibraryInNamespace+64) (BuildId: 4efe3b3475ee13d05f3664623586635f) 11-29 20:20:23.387 15235 15235 F DEBUG : #10 pc 000000000000c564 /apex/com.android.art/lib64/libnativeloader.so (OpenNativeLibrary+132) (BuildId: 4efe3b3475ee13d05f3664623586635f)11-29 20:20:23.387 15235 15235 F DEBUG : #11 pc 0000000000451620 /apex/com.android.art/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string, std::__1::allocator > const&, _jobject*, _jclass*, std::__1::basic_string, std::__1::allocator >*)+2104) (BuildId: 2fd1b4bfadae25b44ad28637cff404b8) 11-29 20:20:23.387 15235 15235 F DEBUG : #12 pc 00000000000050e0 /apex/com.android.art/lib64/libopenjdkjvm.so (JVM_NativeLoad+416) (BuildId: 7a57b415a697d5f40e78a5f6d0f4c4c7) 11-29 20:20:23.387 15235 15235 F DEBUG : #13 pc 0000000000017834 /apex/com.android.art/javalib/arm64/boot.oat (art_jni_trampoline+148) (BuildId: 9adc3e502251b82dab534064078080440f556207) 11-29 20:20:23.387 15235 15235 F DEBUG : #14 pc 00000000000226ac /apex/com.android.art/javalib/arm64/boot.oat (java.lang.Runtime.loadLibrary0+316) (BuildId: 9adc3e502251b82dab534064078080440f556207) 11-29 20:20:23.387 15235 15235 F DEBUG : #15 pc 0000000000022c64 /apex/com.android.art/javalib/arm64/boot.oat (java.lang.Runtime.loadLibrary0+180) (BuildId: 9adc3e502251b82dab534064078080440f556207) 11-29 20:20:23.387 15235 15235 F DEBUG : #16 pc 0000000000212520 /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 2fd1b4bfadae25b44ad28637cff404b8) 11-29 20:20:23.387 15235 15235 F DEBUG : #17 pc 00000000000e4db4 /apex/com.android.art/javalib/core-oj.jar (java.lang.System.loadLibrary+16) 11-29 20:20:23.387 15235 15235 F DEBUG : #18 pc 0000000000a4f26c /data/app/~~uXgKkQ8ONVSGze-Dc6tDHw==/com.igalia.wolvic-uBmd_RkYQ_WrtnH_ZVkxcw==/oat/arm64/base.odex (org.mozilla.gecko.mozglue.GeckoLoader.doLoadLibrary+60) 11-29 20:20:23.387 15235 15235 F DEBUG : #19 pc 0000000000a4daa8 /data/app/~~uXgKkQ8ONVSGze-Dc6tDHw==/com.igalia.wolvic-uBmd_RkYQ_WrtnH_ZVkxcw==/oat/arm64/base.odex (org.mozilla.gecko.media.MediaManager.onCreate+120) 11-29 20:20:23.387 15235 15235 F DEBUG : #20 pc 0000000000212520 /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 2fd1b4bfadae25b44ad28637cff404b8) 11-29 20:20:23.387 15235 15235 F DEBUG : #21 pc 00000000001a3842 /system/framework/framework.jar (android.app.ActivityThread.handleCreateService+298) 11-29 20:20:23.387 15235 15235 F DEBUG : #22 pc 000000000009f790 /system/framework/arm64/boot-framework.oat (android.app.ActivityThread$H.handleMessage+7328) (BuildId: eda84157f4a30c2e7f5652107569c926bbf9f72d) 11-29 20:20:23.387 15235 15235 F DEBUG : #23 pc 00000000000c850c /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+188) (BuildId: eda84157f4a30c2e7f5652107569c926bbf9f72d) 11-29 20:20:23.387 15235 15235 F DEBUG : #24 pc 00000000000c9700 /system/framework/arm64/boot-framework.oat (android.os.Looper.loopOnce+1424) (BuildId: eda84157f4a30c2e7f5652107569c926bbf9f72d) 11-29 20:20:23.387 15235 15235 F DEBUG : #25 pc 00000000000c90d4 /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+516) (BuildId: eda84157f4a30c2e7f5652107569c926bbf9f72d) 11-29 20:20:23.387 15235 15235 F DEBUG : #26 pc 0000000000211608 /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: 2fd1b4bfadae25b44ad28637cff404b8) 11-29 20:20:23.387 15235 15235 F DEBUG : #27 pc 00000000001a64ce /system/framework/framework.jar (android.app.ActivityThread.main+202) 11-29 20:20:23.387 15235 15235 F DEBUG : #28 pc 0000000000218be8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 2fd1b4bfadae25b44ad28637cff404b8) 11-29 20:20:23.387 15235 15235 F DEBUG : #29 pc 000000000028407c /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+212) (BuildId: 2fd1b4bfadae25b44ad28637cff404b8) 11-29 20:20:23.387 15235 15235 F DEBUG : #30 pc 00000000006171f0 /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1384) (BuildId: 2fd1b4bfadae25b44ad28637cff404b8) 11-29 20:20:23.387 15235 15235 F DEBUG : #31 pc 000000000058a0b4 /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+52) (BuildId: 2fd1b4bfadae25b44ad28637cff404b8) 11-29 20:20:23.387 15235 15235 F DEBUG : #32 pc 000000000001ef74 /apex/com.android.art/javalib/arm64/boot.oat (art_jni_trampoline+132) (BuildId: 9adc3e502251b82dab534064078080440f556207) 11-29 20:20:23.387 15235 15235 F DEBUG : #33 pc 00000000000e86ac /system/framework/arm64/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+140) (BuildId: eda84157f4a30c2e7f5652107569c926bbf9f72d) 11-29 20:20:23.387 15235 15235 F DEBUG : #34 pc 00000000000edab8 /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2344) (BuildId: eda84157f4a30c2e7f5652107569c926bbf9f72d) 11-29 20:20:23.387 15235 15235 F DEBUG : #35 pc 0000000000218be8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 2fd1b4bfadae25b44ad28637cff404b8) 11-29 20:20:23.387 15235 15235 F DEBUG : #36 pc 000000000028407c /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+212) (BuildId: 2fd1b4bfadae25b44ad28637cff404b8) 11-29 20:20:23.387 15235 15235 F DEBUG : #37 pc 0000000000617944 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+448) (BuildId: 2fd1b4bfadae25b44ad28637cff404b8) 11-29 20:20:23.387 15235 15235 F DEBUG : #38 pc 0000000000617e10 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+92) (BuildId: 2fd1b4bfadae25b44ad28637cff404b8) 11-29 20:20:23.387 15235 15235 F DEBUG : #39 pc 00000000004f6f90 /apex/com.android.art/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+608) (BuildId: 2fd1b4bfadae25b44ad28637cff404b8) 11-29 20:20:23.387 15235 15235 F DEBUG : #40 pc 00000000000c277c /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+120) (BuildId: c8aa19a0dd1718a8d369c27b987bfe45) 11-29 20:20:23.387 15235 15235 F DEBUG : #41 pc 00000000000cb6ec /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector const&, bool)+828) (BuildId: c8aa19a0dd1718a8d369c27b987bfe45) 11-29 20:20:23.387 15235 15235 F DEBUG : #42 pc 00000000000024d8 /system/bin/app_process64 (main+1156) (BuildId: b1e147f9f2bcff6152cbad44a9c6428d) 11-29 20:20:23.387 15235 15235 F DEBUG : #43 pc 0000000000082f90 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96) (BuildId: 969ab0b152061cbc434d585970f5a76d) 11-29 20:20:23.476 892 983 E OMX-VDEC-1080P: Extension: OMX.google.android.index.AndroidNativeBufferConsumerUsage not implemented 11-29 20:20:23.506 892 12285 E OMX-VDEC-1080P: Extension: OMX.google.android.index.AndroidNativeBufferConsumerUsage not implemented ```
svillar commented 10 months ago

Is there any way to test that in a linux machine?

The backtrace looks weird because it does correspond to the loading of the native code, i.e., Gecko engine in this case, but in your report you're already playing a video in Wolvic. Are you sure that's the right backtrace?

Just to confirm that is not a limitation in the underlying Android system, are you able to reproduce it on the Pico browser or the Meta browser?

weller0 commented 10 months ago

quest browser.log wolvic.log Uploaded logs from Quest browser and Wolvic. Logged the black screen from opening the browser to entering VR. It may be that this process crashes causing no screen to appear 12-04 10:40:03.313 25082 25082 F DEBUG : Cmdline: com.igalia.wolvic:media

I don't have a Linux environment to test here(I only have WSL2). But it is stably reproducing. PICO optimizes many logs, so we use Quest to test and capture logs

svillar commented 10 months ago

Thanks for the information. We're superbusy now preparing a new release, but will take a quick look after that to check what's going on