Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

[Intermittent] The app freezes when playing krpano examples and WebXR content one after another #3363

Closed
Softvision-RemusDranca opened this issue May 12, 2020 · 7 comments
Assignees
Labels
ARCHIVED CLOSED at time of archiving [QA]:Major issue Label for QA to mark major issues logged
Milestone

Comments

@Softvision-RemusDranca
Copy link

[Affected Versions]:

  • Firefox Reality version 10 RC5 (e84d3c9)

[Affected Platforms]:

  • Oculus Quest - Android 7.1.1
  • HTC Vive Focus Plus - Android 7.1.2
  • Pico Neo2 - Android 8.1.0
  • Pico G2 4K - Android 8.1.0

[Prerequisites]:

  • The Firefox Reality browser is open.

[Steps to reproduce]:

  1. Play the "Hello WebXR" card from Interactive Experience.
  2. Exit Hello WebXR and navigate to krpano website.
  3. Enter in VR in one of the examples available (example: link).
  4. Navigate the page while in immersive mode and observe the behavior.

[Expected results]:

  • The VR environment can be navigated.

[Actual results]:

  • The app freezes, UI glitches are displayed and nothing happens while pressing the controller buttons.

[Notes]:

  • In some attempts on the HTC Vive Focus Plus device the content crashed after pressing the Back button on the controller link for the crash report.
  • I reproduced this issue in 8 attempts out of 10.
  • In some attempts the app froze when exiting immersive mode.
  • I was able to reproduce this issue even after disabling WebXR option from settings while having the two pages opened..
  • Attached are the screen recording and the logcat of the issue:
@daoshengmu
Copy link
Contributor

I can't reproduce it on my Quest, Focus Plus, and Focus after trying more ten times.

@bluemarvin
Copy link
Contributor

The crash looks like it is https://bugzilla.mozilla.org/show_bug.cgi?id=1634259

@bluemarvin
Copy link
Contributor

The freezing is cause by GeckoDisplay.surfaceChanged(surface, left, top, width, height); never returning.

@MortimerGoro MortimerGoro added blocked-media Issue blocked by Gecko Media Layer Bugzilla Main activity on this bug is in Bugzilla and removed Bugzilla Main activity on this bug is in Bugzilla [QA]:Major issue Label for QA to mark major issues logged blocked-media Issue blocked by Gecko Media Layer labels May 15, 2020
@MortimerGoro
Copy link
Contributor

MortimerGoro commented May 15, 2020

The app freeze is fixed by #3382

The krpano glitches or freeze are a different issue, I created this GV ticket:
https://bugzilla.mozilla.org/show_bug.cgi?id=1638414

@MortimerGoro MortimerGoro added the [QA]:Major issue Label for QA to mark major issues logged label May 15, 2020
@Softvision-RemusDranca
Copy link
Author

I've retested this issue and I was still able to reproduce it using Firefox Reality RC6 (140fb70) but only after quitting and resuming the app and then trying to navigate the krpano example.
- In most of the cases I had to quit and reopen the app 2 times.
- I reproduced the issue consistently on Oculus Go and Oculus Quest, and once on Pico Neo2 device.
- While testing without quiting and resuming the app, the krpano website only displayed glitches, but the app didn't freeze.
- Attached is a screen recording of the issue: link.

Note: I had to cut the video short because after the app is completely frozen the device is not responding when trying to save the screen recording, I get this error: "adb: error: failed to get feature set: no devices/emulators found".

@emstanley emstanley added this to the #11 polish milestone May 18, 2020
@bluemarvin
Copy link
Contributor

There were memory leaks in v10 that should be fixed now. Is it possible to retest this?

@bluemarvin bluemarvin modified the milestones: #11 polish, #12 features Jun 26, 2020
@Softvision-RemusDranca
Copy link
Author

I was still able to reproduce this issue using Firefox Reality version 10.2 RC3 (7523a32), but only in the scenarios mentioned in the above comment and after multiple attempts and more easily if there are 3 windows opened with webxr content.
I think that the content of the other webxr pages while they are in a loading state is highly affecting this issue, especially when I change the scenes in the krpano examples. Could this be an issue related to GPU janking?

@cknowles-admin cknowles-admin added the ARCHIVED CLOSED at time of archiving label Jul 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ARCHIVED CLOSED at time of archiving [QA]:Major issue Label for QA to mark major issues logged
Projects
None yet
Development

No branches or pull requests

6 participants