How do I troubleshoot Oculus in Firefox WebVR? - firefox

I'm currently using Oculus Rift + Touch in A-Frame (0.6.1). I haven't found any online forum on where to ask. I've tried using Firefox 55 (Which comes with WebVR), but it doesn't detect the Rift.
I can use Firefox Nightly, but it's very unstable, and it comes with different problems. My most recent one, is that the whole screen goes blank whenever I try to enter VR mode. The display is seen in the headset, and the app is able to work flawlessly. But I can't go back to Firefox and check the devtools (which is annoying).
How can I troubleshoot the Oculus Rift so I can connect it to a stable version of Firefox, such as 55?
Tried checking this:
WebVR supported, but no VRDisplays found, suddnly
But it didn't help.

Check about:config in Firefox and make sure the VR flags are enabled (specifically the Oculus one). Sometimes it may be disabled for some reason.

Related

Chrome Dev Tools Performance Tab - Profiling

When attempting to profile a webpage using Chromes Dev tools, since the most recent update most performance profiles load something like the attached image. All the data is crammed up against the right side of the timeline and now there are negative milliseconds included in the timeline... which doesnt make sense. Is anyone else having this issue since the most recent chrome update? I cant find anything in google docs.
I use the 'Record' and 'Start Profiling and reload page' buttons on the performance tab a lot and also have the bug similar to yours on Windows platform since Chrome v.90 (Chrome v.92 also have this bug), Linux versions are not affected.
As a temporary solution, you can downgrade Chrome to any version below 90 (configure your system to prevent Chrome updates): Chrome x64 v.86 (other versions/platforms)
If you need to use the latest Chrome version, you can install an older Opera or Opera GX (e.g., LVL2 ver.68) to use it with non-bugged performance tab (newer Opera versions also have this bug because they also have an updated Chromium engine)

WebVR supported, but no VRDisplays found, suddnly

When I develop webVr content using A-frame , web vr work probably with oculus rift using nightly browser (powered by firefox)
Then after 1 day I restart my computer , Then non of web vr experience work (developed by me or by other ) in nightly browser .
when i test using
https://webvr.info/samples/test-vr-links.html
The message "WebVR supported, but no VRDisplays found."
so i have problem i don't know where it .
->then I install firefox developer edition (it support web vr)
and I try test , it work probably then crash message from browser appears
so what can I do with this problem ? any solution ?
Note :
-I use web vr and I try it many times this problem doesn't appear
- all oculus experiences from store work
-actually I uninstalled and installed Nightly ,this step doesn't solve the problem .
Have you ever tried installing WebVR Emulation plugin in your Chrome Browser?
With the Emulation plugin, you don't even need the VR device like Oculus Rift, which kind of handy for development directly on desktop non-nightly browser.

Chrome's emulate touch screen circle not visible

I have a strange issue whit my emulate touch functionality on Google Chrome version 49.0.2623.110 m.
I'm using laptop + monitor (both Dell) and running Windows 8.
The issue is that while Chrome is on my secondary monitor and touch screen emulation is enabled I cannot see a touch screen pointer (black circle) nor any kind of pointer, but when I move my Chrome to my main laptop display it would show. I tried disabling laptop display while using external monitor and it is the same, I cannot see the pointer. This was not a problem with previous Chrome version.
Did anyone had similar issues with this version?
Thank you
EDIT:
I've change the laptop, updated to win10 and updated Chrome to 50.0.2661.87 m version and I still have the same issue (colleague of mine has the same problem as well).
A colleague of mine "solved" the problem by enabling Windows' Mouse pointer trails at minimum length. I find it too annoying to work with the setting enable, but it does work if you really need it.
Mouse settings
They did some changes in recent version of Dev Tools and some options are now gone. Ensure you have "Mobile" or "Desktop with touch" selected, as you can see on the screenshot.

AVFoundation CoreMedaIO virtual camera not being detected in browser

I have been testing the Apple CoreMediaIO sample camera on Mac OS X 10.9 Mavericks.
Locally the applications i have tried could detect and recognize the sample camera automatically (like Skype, AVRecorder - Apple's AVFoundation capture API sample)
In Mozilla Firefox and Opera browsers the camera has been detected automatically on the Flash Player based sites that i have checked (for example Adobe's Cirrus sample), although in Safari and Chrome the sample camera was missing from the video input devices list.
How could i make these browsers recognize the CoreMediaIO sample camera on such a website?
Safari:
The problem causing this to happen is that on Mavericks the current Safari uses a sandboxed Flash Player which refuses to detect the sample camera.
You can solve this by allowing sites to run Flash Player in unsafe mode: (make sure you have allowed the website to use your cameras on the Flash Player pop-up window)
Go to Safari/Preferences.
Go to the Security page.
Click Manage Website Settings.
On the left pane select Adobe Flash Player.
Select the website you have allowed to use the camera and want to use the camera with.
Click on the combobox.
Select Run in Unsafe Mode.
On the pop-up window choose Trust.
Refresh the website.
From now on, Safari can detect the sample camera on the specific website.
I could not find a better/all-around solution yet.
Chrome:
This problem is mainly based on the Mac OS X AVFoundation API being disabled by default in the current Chrome (the CoreMediaIO sample uses it).
There are various methods to make Chrome detect the sample camera.
So far my best solution is the following:
Open a new tab in chrome.
Go to chrome://flags.
Search for "Enable use of Mac OS X AVFoundation APIs, instead of QTKit, Mac" entry.
Set the above-mentioned entry to Enabled.
Relaunch Chrome.
As far as i could get, the key AVFoundation flag's internal ID is IDS_FLAGS_DISABLE_AVFOUNDATION_NAME.
As long as you try to use AVFoundation based things in Chrome (OS X Mavericks) you will probably need this. (I don't really know why the default value is disabled, but i hope they will change it as Apple tends to deprecate QTKit.)
Other solutions that i prefer less:
Disabling Pepper Flash (PPAPI) and using NPAPI Flash Player instead.
Open a new tab in chrome.
Go to chrome://plugins.
Hit the plus (+) sign in the upper right corner next to Details.
Search for the Adobe Flash Player plugin section.
Locate the Pepper Flash version (PPAPI type).
Click Disable.
Refresh the website.
Google intends to deprecate NPAPI Flash Player soon, which leaves the Pepper Flash (PPAPI) as the only alternative, that was the reason to try and find a better solution than this. I don't recommend to rely on this solution considering the future of NPAPI Flash Player.
There is another temporary solution involving Mozilla Firefox. I don't know why exactly this works and i think this might easily change in the future, but i tried and verified that it works at the moment:
Close Chrome entirely (Chrome/Quit Google Chrome or Command+Q).
Start Firefox.
Go to the website you would like to use the camera with (any Flash Player based site works that calls for camera list).
Open Chrome.
Close Firefox.
Go to the website in Chrome.
If you close Chrome you will have to redo the process from Step #2. It seems like Firefox initializes something that makes the Chrome startup different and causes it to detect the sample camera. I don't recommend to rely on this though.

Why does StageVideo not work locally in IE?

I'm having troubles testing a StageVideo file locally. The HTML file that contains the swf loads perfectly in Chrome & FireFox, but when I go to open it in Internet Explorer 9 nothing happens (it just shows a white screen).
I've added the permissions for the location to the 'Global Security Settings' tab of the Flash settings manager (on the Macromedia website). I've also checked in the IE9 settings to make sure that it allows GPU rendering.
Has anyone encountered anything similar or have any suggestions as to why it might be blocked in IE9?
Thanks in advance.
My gut feeling is that you don't have the latest Flash Player for IE, but do have it for Chrome/FF since they're 2 different versions. The swf probably doesn't even load up because of the Flash Player requirement.

Resources