question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hubs loads into a black screen

See original GitHub issue

Hardware

Oculus Go

Steps to Reproduce

  1. go to hubs.mozilla.com
  2. create a room with the “atrium” space
  3. hit “enter in VR” on the landing page

Current Behavior

black screen (may not be 100% of the time)

Expected Behavior

you should enter the scene in 3d

Possible Solution

this may be related to shaders we are using in the scene. the “wide open space” scene may work for comparison

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
MortimerGorocommented, Sep 19, 2018

I found that the black screen happens when the canvas is not composited before entering VR. I also was able to reproduce the problem with the “wide open space” that @gfodor thought that worked ok.

The canvas is not composited in this 2 situations:

  • I created a local test project. If we don’t add a canvas to the DOM and use it in VR, FxR always renders a black screen. I tried the same on Oculus Go and it works ok.
  • In Hubs (or WebVR link traversal) there is a race condition in which the canvas is not composited. When we enter VR we pause the FxR compositor. As Hubs (or link traversal) doesn’t show the final canvas in a WebGL 2D scene before entering VR, the change of this issue happening is higher

I’m going to try to find a solution in Gecko for the problem. In the worst case we can delay the compositor pause a bit to fix the problem in Hubs or Link traversal. But the good solution is that a canvas that is never added to the DOM should also work.

1reaction
MortimerGorocommented, Oct 1, 2018

Gecko PR already merged

Read more comments on GitHub >

github_iconTop Results From Across the Web

Safari on iOS black screen in Hubs · Issue #3003 - GitHub
The UI loads, I get the happy "you've entered the room" sound, and my avatar shows up for others, but the viewport into...
Read more >
Nest Hub black screen unresponsive - Google Nest Community
My Nest Hub keeps going to a black screen after rebooting it. I unplug and re-plug it in, and have factory rebooted twice...
Read more >
Screen not loading on Airtame Hub – Knowledge Center
There are a few reasons why you may be seeing a black screen, here we will cover the most common ones and how...
Read more >
Troubleshoot black screen or blank screen errors
We'll look at some things that can cause a black or blank screen: Connection problems with your monitor or screen. Display adapter driver...
Read more >
How to fix black screen in Logitech G Hub - Reddit
How to fix black screen in Logitech G Hub · Right-click the Computer icon and choose Properties, or in Windows Control Panel, choose...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found