Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black canvas on Firefox but not Chrome (errormsg: "Failed to recalculate device parameters.") #111

Closed
nylki opened this issue Feb 2, 2016 · 7 comments

Comments

@nylki
Copy link

nylki commented Feb 2, 2016

I tried to integrate the polyfill + webvr-manager into a project of mine, but I encountered some issues:

Firefox:

THREE.WebGLRenderer 73 three.js:21257:2
Recalculating device params. webvr-manager.js:1881:3
User agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 webvr-manager.js:1918:3
Pixel width: 1920.0000686645508 webvr-manager.js:1919:3
Pixel height: 1080.0000386238098 webvr-manager.js:1920:3
No DPDB device match. webvr-manager.js:1962:3
New device parameters: webvr-manager.js:1883:3
null webvr-manager.js:1884:3
Failed to recalculate device parameters. webvr-manager.js:1892:5
Fetching DPDB... webvr-manager.js:1854:5
:  webvr-manager.js:1870:0

firefox

Chrome:

three.js:21257 THREE.WebGLRenderer 73
webvr-manager.js:1881 Recalculating device params.
webvr-manager.js:1918 User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36
webvr-manager.js:1919 Pixel width: 1920
webvr-manager.js:1920 Pixel height: 1080
webvr-manager.js:1962 No DPDB device match.
webvr-manager.js:1883 New device parameters:
webvr-manager.js:1884 null
webvr-manager.js:1892 Failed to recalculate device parameters.Dpdb.recalculateDeviceParams_ @ webvr-manager.js:1892Dpdb @ webvr-manager.js:1847WebVRManager @ webvr-manager.js:2623Polymer.start @ game-view.html:199(anonymous function) @ app.js:47
webvr-manager.js:1854 Fetching DPDB...
webvr-manager.js:515 Using fallback iOS device measurements.
webvr-manager.js:2628 Using the Cardboard I/O 2014 viewer.
game-view.html:283 animate
webvr-manager.js:2775 Mode change: 0 => 1
game-view.html:283 animate
webvr-manager.js:1862 Successfully loaded online DPDB.
webvr-manager.js:1881 Recalculating device params.
webvr-manager.js:1918 User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36
webvr-manager.js:1919 Pixel width: 1920
webvr-manager.js:1920 Pixel height: 1080
webvr-manager.js:1962 No DPDB device match.
webvr-manager.js:1883 New device parameters:
webvr-manager.js:1884 null
webvr-manager.js:1892 Failed to recalculate device parameters.Dpdb.recalculateDeviceParams_ @ webvr-manager.js:1892(anonymous funct
![firefox](https://cloud.githubusercontent.com/assets/1710598/12767631/a125ef24-ca0a-11e5-9303-9b12ea081b8c.png)
ion) @ webvr-manager.js:1864
57game-view.html:283 animate

chrome

@higain
Copy link

higain commented Mar 18, 2016

I encounter the same problem.
Did you manage to find a solution?

@nylki
Copy link
Author

nylki commented Mar 18, 2016

@higain unfortunately not. I wonder wether this might be fixed in the webvr-1.0 branch?

@higain
Copy link

higain commented Mar 18, 2016

@nylki doesn't seem so, also I get the black canvas in chrome and firefox as well.
After updating to three.js version 75 from 68 I need to fix some code, perhaps it fixes itself.

@DigDigDig
Copy link

Same for me. Errors on all devices, I still get display on chrome for windows and android. Safari on IOS8 shows until I put it into VRMode.

@iambumblehead
Copy link

+1

@borismus
Copy link
Owner

Does this still happen with the latest changes for WebVR 1.0?

@higain
Copy link

higain commented Mar 29, 2016

No, works fine now. I still get the error message, but it doesn't seem to affect anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants