viro icon indicating copy to clipboard operation
viro copied to clipboard

Got a black screen with Viro3DSceneNavigator.

Open Charlynux opened this issue 6 years ago • 7 comments

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. https://github.com/viromedia/virocore/issues/9 But can't figure if there some relation between the two problems.

Is there a way to find more informations for debugging ?

Charlynux avatar May 29 '18 09:05 Charlynux

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 ?

Charlynux avatar May 31 '18 08:05 Charlynux

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?

dam00n avatar May 31 '18 14:05 dam00n

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.

Charlynux avatar May 31 '18 14:05 Charlynux

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

radvani avatar Jun 05 '18 14:06 radvani

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.

Charlynux avatar Jun 06 '18 07:06 Charlynux

@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

rgouzal avatar Oct 09 '20 12:10 rgouzal

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

emirhanylmzz avatar Sep 29 '21 08:09 emirhanylmzz