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

Got a black screen with Viro3DSceneNavigator. #305

Open
Charlynux opened this issue May 29, 2018 · 7 comments
Open

Got a black screen with Viro3DSceneNavigator. #305

Charlynux opened this issue May 29, 2018 · 7 comments

Comments

@Charlynux
Copy link

Charlynux commented May 29, 2018

Hello,

I work on a React Native app and we would like to integrate some 3D views.

My first scenes with Text, 360Image or 3DObject works well with a ViroVRSceneNavigator.
But I would like to use Viro3DSceneNavigator instead.

When I switch the scene navigator, I just got a black screen.

Looking at the Android logs I found this :

05-29 11:44:59.435  3505  5055 I Viro    : Failed to make complete resolve framebuffer object 8cd6
05-29 11:44:59.435  3505  5055 I Viro    :    Incomplete attachment
05-29 11:44:59.435  3505  5055 I Viro    : Failed to create color texture target: texture creation failed
05-29 11:44:59.438  3505  5055 I Viro    : Failed to make complete resolve framebuffer object 8cd6
05-29 11:44:59.438  3505  5055 I Viro    :    Incomplete attachment
05-29 11:44:59.438  3505  5055 I Viro    : Failed to create color texture target: texture creation failed
05-29 11:44:59.440  3505  5055 I Viro    : Failed to make complete resolve framebuffer object 8cd6
05-29 11:44:59.441  3505  5055 I Viro    :    Incomplete attachment
05-29 11:44:59.441  3505  5055 I Viro    : Failed to create color texture target: texture creation failed
05-29 11:44:59.446  3505  5055 I Viro    : Failed to make complete resolve framebuffer object 8cd6
05-29 11:44:59.446  3505  5055 I Viro    :    Incomplete attachment
05-29 11:44:59.446  3505  5055 I Viro    : Failed to create color texture target: texture creation failed
05-29 11:44:59.447  3505  5055 I Viro    : Failed to make complete resolve framebuffer object 8cd6
05-29 11:44:59.447  3505  5055 I Viro    :    Incomplete attachment
05-29 11:44:59.447  3505  5055 I Viro    : Failed to create color texture target: texture creation failed
05-29 11:44:59.448  3505  5055 I Viro    : Failed to make complete resolve framebuffer object 8cd6
05-29 11:44:59.448  3505  5055 I Viro    :    Incomplete attachment
05-29 11:44:59.448  3505  5055 I Viro    : Failed to create color texture target: texture creation failed
05-29 11:44:59.458  3505  5055 E         : mali gles error info : 95, error: 7
05-29 11:44:59.629  3505  5055 E         : mali gles error info : 95, error: 7
05-29 11:44:59.770  3505  5055 E         : mali gles error info : 95, error: 7
05-29 11:44:59.917  3505  5055 I Viro    : No gamma correction enabled in tone-mapper

At the moment, I work with Android, but will need iOS as well.

My dependencies versions :

react : 16.3.1
react-native: 0.55.4
react-viro : 2.7.0

I found an issue which the same warnings in ViroCore. viromedia/virocore#9
But can't figure if there some relation between the two problems.

Is there a way to find more informations for debugging ?

@Charlynux
Copy link
Author

I build the iOS version without errors, 3DObject is visible and draggable.
Without any change in JS code, just configuring iOS project.

Any known issue for Viro3DSceneNavigator on Android ?

@dam00n
Copy link
Collaborator

dam00n commented May 31, 2018

Hi @Charlynux, we do not have any known issues but we will look into this. Thanks for reporting. Just to clarify, the issue you are seeing is only for Viro3DSceneNavigator on Android? Also, can you tell us what device you are using when you see this error?

@Charlynux
Copy link
Author

You're right the issue is only for Viro3DSceneNavigator on Android.

I tested it on two devices :

  • Wiko U Feel Lite
  • Huawei Honor 7

If you need more informations, just ask.

@radvani
Copy link
Contributor

radvani commented Jun 5, 2018

Hi @Charlynux, thanks for helping us resolve this bug. When you start the app, Viro should print out the GPU type your device is using. Can you let me know what it says? It should look something like this:

GPU vendor [Qualcomm], renderer [Adreno (TM) 530]

Raj

@Charlynux
Copy link
Author

Hello,

Here is what I get :

Wiko U Feel Lite
06-06 09:30:37.682 1063 1121 I Viro : GPU vendor [ARM], renderer [Mali-T720]

Huawei Honor 7
06-06 09:32:32.031 7966 8023 I Viro : GPU vendor [ARM], renderer [Mali-T624]

Hope it can help you.

@rgouzal
Copy link

rgouzal commented Oct 9, 2020

@dam00n same here I see only black screen instead of camera view any solution?

OS: Android 10
Device: Samsung M31
React: 16.3.1
React Native: 0.63.3
React Viro: 2.17.4

@emirhanylmzz
Copy link

Same problem with Samsung Galaxy M21 ! Is there any solution?? @dam00n @radvani

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