Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Gray lines instead of camera feed in Galaxy S9 ARCore app builds #28

Closed
kipsten opened this issue May 16, 2018 · 26 comments
Closed

Gray lines instead of camera feed in Galaxy S9 ARCore app builds #28

kipsten opened this issue May 16, 2018 · 26 comments
Labels
bug Something isn't working fixed in upcoming release

Comments

@kipsten
Copy link

kipsten commented May 16, 2018

When I build and run the "Hello Sceneform" and "Solar System" projects that I downloaded while following the Android Quickstart https://developers.google.com/ar/develop/java/quickstart, all I see on my phone (a Galaxy S9) are these shifting gray/black lines
screenshot_20180515-085346_hello sceneform_2, with the moving ARCore hand/phone on top.

I can download and run ARCore apps from the store without a hitch. The S9 is the only ARCore-compatible phone I can test with. I'm using Android Studio 3.2 preview, Windows 10, ARCore 1.2, and Android 8.0.0.

When I try running on any emulator device, it immediately crashes before displaying anything, which is likely due to the fact that I don't think my desktop GPU supports OpenGL ES 3.1, based on the output when I run "adb logcat | grep eglMakeCurrent". Right now my goal is just to get it working on my phone, though.

@romainguy
Copy link

Please see #4 (comment) if you want instructions on how to setup an emulator that can run OpenGL ES 3.1. From your description you should be able to get it to work, but you'll need to pass a special flag.

@jeffersonatsafe
Copy link

I'm also experiencing the same thing with the Galaxy S9 (physical device)
It's listed as one of the compatible phones.
I was able to run Sceneform on Asus Zenfone AR, though.

@malik-at-work
Copy link

What is the model number of the S9 device you have?

https://developers.google.com/ar/discover/supported-devices does list the S9 as supported as long as the model number doesn't end in 0 or 8.

@jeffersonatsafe
Copy link

yup, I checked, and it's SM-G960W
that is a compatibility list for AR.
And I've been able to use the same phone to run and develop ARCore app (eg, the sample app).
The grey lines only show up for Sceneform (only tried the sample tutorial app, though)

@malik-at-work
Copy link

malik-at-work commented May 18, 2018

We will look into this.

@malik-at-work malik-at-work added the bug Something isn't working label May 23, 2018
@malik-at-work
Copy link

We have reproduced this and are investigating.

@crosseveryriver
Copy link

Samsung galaxy S9+ SM-G965U1 has the same problem

@st2092
Copy link

st2092 commented Jun 8, 2018

Samsung Galaxy S9+ SM-G965U have the same problem.

Logcat gives one of the two errors repeated:
06-07 23:16:43.384 7558-7558/com.google.ar.sceneform.samples.hellosceneform E/native: hit_test.cc:358 generic::internal: No point hit.

OR

06-07 23:16:43.618 7558-7558/com.google.ar.sceneform.samples.hellosceneform E/native: session.cc:880 FrameHitTest while not tracking. Returning empty list.

@romainguy
Copy link

This issue has been fixed internally.

@malik-at-work
Copy link

Fixed in Sceneform V1.3

@F1nite1Up
Copy link

F1nite1Up commented Jun 27, 2018

I'm on Sceneform 1.3.0 hellosceneform example and still getting the same grey strips problem.

I'm using Samsung Galaxy S9 SM-G965U1 (Android 8.0.0, API 26), ARCore 1.3.

screenshot_20180627-101734_hello sceneform

@malik-at-work
Copy link

Thank you for the report! This issue is very model specific. We've reopened the issue and the team will investigate.

@malik-at-work malik-at-work reopened this Jun 27, 2018
@renyedi
Copy link

renyedi commented Jul 10, 2018

The team should seriously consider making S9 compatibility a release blocker. It is the AR Core capable device with the highest market share, probably by quite a margin.

@ghost
Copy link

ghost commented Jul 11, 2018

I have also installed sceneform 1.3 and followed the NDK instructions from another possible solution and still getting the grey wavy lines. Using Samsung S9+ SM-G965U

@ReevesL
Copy link

ReevesL commented Jul 18, 2018

@malik-at-work , since you note it's very model-specific, I'll add in another that doesn't work: Samsung S9+ SM-G965U1 (Android 8.0.0).

@curtism99
Copy link

Reporting in that a Samsung S9 SM-G960U version 8.0 behaves the same way and does not work correctly.

@AxesandGrinds
Copy link

Any update on this? I am getting the same display on emulator running AugmentedImage from Sceneform on my Pixel 2 XL.

@malik-at-work
Copy link

We've looked into this issue quite a bit and tested against all the Samsung devices we have for QA. This is resolved in an upcoming release.

@AxesandGrinds I'd like to get detail on the issue you are running into..it's likely to be different than this one. Let's open a new issue and get more details on it.

@renanrhoden
Copy link

hey @malik-at-work , this fix is available somewhere? I have a S9+ with the same problem. Do you have any estimated date for the next release?

@malik-at-work
Copy link

Release may be imminent. We can't give more specific info as this has to go through the normal release process which may change any date we gave out.

@nileshlg2003
Copy link

Just for the record, Same problem for me too on Galaxy S9 - G960U1. Hopefully release with fix is coming soon.

@dsternfeld7
Copy link

This should now be fixed in Sceneform 1.4. Please open a new issue if you are still seeing a similar problem on any devices.

@renyedi
Copy link

renyedi commented Aug 3, 2018

I can confirm that Sceneform 1.4 now works nicely with my SM-G965U. Thanks!

@AxesandGrinds
Copy link

AxesandGrinds commented Aug 6, 2018 via email

@curtism99
Copy link

I'd like to report that I think I'm still having issues with my SM-G960U. I'm unsure if it's my code or if it's a Sceneform issue. I'm open to explore this issue more with someone.

@davidbeloo
Copy link

I can confirm that I have that issue on 1.3 and now on 1.5.1 it's working perfect.
Please make sure to move to 1.5.1 in:

  1. Your project build.gradle file:
    classpath 'com.google.ar.sceneform:plugin:1.5.1'

  2. Your app build.gradle file:
    implementation "com.google.ar.sceneform:core:1.5.1"
    implementation "com.google.ar.sceneform.ux:sceneform-ux:1.5.1"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working fixed in upcoming release
Projects
None yet
Development

No branches or pull requests