Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Lots of rendering tests are failing in android-mason branch #692

Closed

Description

@ljbade

From #676

Need to figure out the problem. Possibly #683

Activity

  1. ljbade commented on Dec 6, 2014

    @ljbade
    ContributorAuthor

    Travis does not run the rendering tests on OSX so I can't look at this until Travis runs the tests.

  2. ljbade commented on Dec 6, 2014

    @ljbade
    ContributorAuthor

    On Linux in master all the line width tests seem to fail.

    However the background colour tests are fine on Linux in both master and android-mason so it must be an OSX problem.

  3. ljbade commented on Dec 6, 2014

    @ljbade
    ContributorAuthor

    Thanks to @jfirebaugh we know that OSX Travis does not support GL.

    This leaves me stuck as I do not have OSX and the tests only seem to fail on OSX.

    @mikemorris It looks like you will have to fix them for me.

  4. ljbade commented on Dec 8, 2014

    @ljbade
    ContributorAuthor

    @jfirebaugh response from Travis re GL on OSX:

    Sorry for the troubles. A quick Google search indicates that the OpenGL problem might lie with XQuartz. Could you try the latest release, 2.7.7? https://gist.github.com/BanzaiMan/5243f87d164ebb939eed should help.

  5. ljbade commented on Dec 8, 2014

    @ljbade
    ContributorAuthor

    According to @kkaefer we shouldn't use glxinfo, and we don't use X11 on OSX anyway, just CGL

  6. ljbade commented on Dec 8, 2014

    @ljbade
    ContributorAuthor

    I have fixed up the CGL error checking in cache-shaders <- realised I need to change the branch name

    I will see what the actual error is.

  7. mikemorris commented on Dec 8, 2014

    @mikemorris
    Contributor

    Finally found a little time to start looking into this, the rendering tests failures are only present when BUILDTYPE=Debug is set, everything looks correct on regular builds.

  8. mikemorris commented on Dec 8, 2014

    @mikemorris
    Contributor

    Confirmed that unexpected test failures are not present on master branch with BUILDTYPE=Debug

  9. ljbade commented on Dec 8, 2014

    @ljbade
    ContributorAuthor

    @mikemorris Hmm interesting, you don't see any sign of failing asserts?

  10. mikemorris commented on Dec 8, 2014

    @mikemorris
    Contributor

    @ljbade Merged in the uv-disable-assert branch I'm currently using for Node.js bindings and ran tests against that https://github.com/mapbox/mapbox-gl-native/tree/android-disable-assert

  11. ljbade commented on Dec 9, 2014

    @ljbade
    ContributorAuthor

    @mikemorris do the tests still fail on OSX with the disabled asserts?

  12. ljbade commented on Dec 9, 2014

    @ljbade
    ContributorAuthor

    @mikemorris another difference between release and debug I can think of is that debug uses a debug GL context. It is possible that it is doing validation.

    I still need to add lots of glGetError checks, have an issue open for that.

  13. mikemorris commented on Dec 9, 2014

    @mikemorris
    Contributor

    @ljbade Yes, mapbox-gl-native tests are still failing under BUILDTYPE=Debug with those asserts disabled (asserts only get tripped when running through Node.js bindings). Debug GL context could be a good spot to check out.

  14. ljbade commented on Dec 10, 2014

    @ljbade
    ContributorAuthor

    Perhaps the test runner should check for GL errors after a test to make sure there wasn't anything bad.

  15. 8 remaining items

  16. mikemorris commented on Dec 11, 2014

    @mikemorris
    Contributor

    Actually not sure, we should probably add that info to the test log.

    EDIT: Added. Gist with test fixture names https://gist.github.com/mikemorris/c1d1a5ad099f8831fee3

  17. mikemorris commented on Dec 11, 2014

    @mikemorris
    Contributor

    Tried swapping the setAppliedClasses functionality back to what it was before - no changes in test failures. Swapping MBGL_CHECK_ERROR to the Release version didn't fix anything either.

  18. ljbade commented on Dec 12, 2014

    @ljbade
    ContributorAuthor

    Must be something else.

  19. ljbade commented on Dec 12, 2014

    @ljbade
    ContributorAuthor

    You dud run make again right?

  20. mikemorris commented on Dec 12, 2014

    @mikemorris
    Contributor

    Yep, definitely recompiled, didn't fix anything. I'm gonna try methodically going through all the changes outside the android/ directory today to see if i can pinpoint it.

  21. added
    Android
    on Dec 17, 2014
  22. added this to the Android merge milestone on Dec 17, 2014
  23. ljbade commented on Dec 18, 2014

    @ljbade
    ContributorAuthor

    @mikemorris Did you have any luck with pinpointing the change?

  24. mikemorris commented on Dec 22, 2014

    @mikemorris
    Contributor

    @ljbade Not yet, still seeing this in Debug builds

  25. ljbade commented on Dec 22, 2014

    @ljbade
    ContributorAuthor

    :-(

  26. ljbade commented on Jan 9, 2015

    @ljbade
    ContributorAuthor

    @mikemorris at some stage I am gonna have to work with you to get to the bottom of this, or prehaps I should join the dark side (buy a Mac).

  27. ljbade commented on Jan 21, 2015

    @ljbade
    ContributorAuthor

    @mikemorris OK I ran debug tests.

    I get the same 43 failures on master as android-mason which I indicated nothing is broken in my code.

    Can you re-run and confirm you get the same failures?

    Here is my test log to compare: https://gist.github.com/ljbade/74f919eb2036babe15f1

  28. mikemorris commented on Jan 21, 2015

    @mikemorris
    Contributor

    I'm seeing the exact same failures between master and android-mason with BUILDTYPE=Debug now too, whatever was previously causing this seems to have been fixed.

  29. ljbade commented on Jan 21, 2015

    @ljbade
    ContributorAuthor

    So close to merge now, I can taste it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Androidbug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions