WebXR Page "VR not found" on Chromium Source Code for Oppo A1k and Oppo a54

220 views
Skip to first unread message

Mahmoud Ahmed

unread,
Mar 28, 2023, 2:26:47 PM3/28/23
to Chromium-dev
Hi
I hope this email finds you well.

I am writing to seek your assistance with an issue I have been facing while trying to open a WebXR page to test this bug https://bugs.chromium.org/p/chromium/issues/detail?id=1312352
on the Chromium source code using
- Oppo A1k device
- Android version 9
- Up to date source code
- These flags in out/Default/args.gn
-- target_cpu = "arm64"
-- target_os = "android"
-- enable_vr = true

Although my device can open the same WebXR page without any issues on the Chrome browser, I am encountering a message saying "VR not found" when I attempt to do so on the Chromium source code. I have tried several troubleshooting steps to resolve this problem, but unfortunately, none of them have been successful so far.

Here is a summary of the steps I have taken to try to resolve the issue:

1 - Checked if WebXR Incubations is enabled: I made sure that the WebXR flag (chrome://flags/#webxr-incubations) is enabled on the Chromium source code.
2- Updated the Chromium source code: I have updated my Chromium source code to the latest version to ensure that there are no compatibility issues.
3- Verified the device compatibility: I have confirmed that my Oppo A1k device supports WebXR since it works perfectly on the Chrome browser.
4- Checked for any relevant permissions: I ensured that all necessary permissions, such as camera and location access, were granted to the Chromium browser.
5- Cleared cache and data: I cleared the cache and data for the Chromium browser to eliminate any potential conflicts or issues caused by previously stored information.
6- Enabled apps from unknown sources by this command (third_party/android_sdk/public/platform-tools/adb shell settings put global verifier_verify_adb_installs 0)

Tried different WebXR samples: I tested multiple WebXR samples to check if the issue was specific to a particular website or page. However, the "VR not found" message persisted across all samples.

I would greatly appreciate your guidance and expertise in addressing this issue. If you have any suggestions, insights, or need further information, please do not hesitate to let me know.

Thank you in advance for your support and assistance.

Mahmoud Ahmed

unread,
Mar 28, 2023, 2:31:57 PM3/28/23
to Chromium-dev
I have solved it by building/deploying the target "monochrome_64_public_bundle"

And added the following to my deploy command `-m base -m vr`

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/91fa4f75-3867-4d37-9947-0737a801858en%40chromium.org.
Reply all
Reply to author
Forward
0 new messages