Android OpenGL: visual test 'Prepass SSAO + MSAA' fails with 'Failed to create frame buffer'
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 46/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- android
- Domain
- mobile-dev
Research direction
Start with Apps/Playground/Scripts/config.json at visual test #LSTDFU#0 (index 369), then inspect the prepass MRT and MSAA attachment setup used by that test. Reproduce it on Android OpenGL ES and read the bgfx framebuffer validation reason surfaced after #2102. Done means the test passes with a valid attachment setup, or is excluded on OpenGL ES with a link to this issue.
Written by the indexing model from the issue text.
Description
Visual test "Prepass SSAO + MSAA" (#LSTDFU#0, index 369 in Apps/Playground/Scripts/config.json) fails on Android OpenGL ES (Pixel 9a, Mali, V8, Debug) with a JavaScript error:
Failed to create frame buffer
Before #2102 this was a debug crash: bgfx::createFrameBuffer asserts on invalid attachments. #2102 validates the attachments with bgfx::isFrameBufferValid first and throws the bgfx reason to JavaScript, so the crash became this error. The same test passes on Android Vulkan and on Win32 D3D11/D3D12.
The cause isn't known yet. The test combines a prepass MRT with MSAA, so the suspect is a multisampled MRT/depth attachment combination that GLES on Mali can't create. With #2102 the error message includes bgfx's validation reason (Failed to create frame buffer: <reason>), which should narrow it down.
Android visual tests don't run in CI, so config.json has no exclusion for this. Fix the attachment setup, or exclude it on OpenGL ES with a link to this issue.
- Dominant language
- C++
- Stars
- 931
- Forks
- 169
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 66
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from BabylonJS/BabylonNative
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
BabylonJS/BabylonNative#2138 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BabylonJS/BabylonNative#2042 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
BabylonJS/BabylonNative#2052 ·
Maintainers usually reply within 1 day
-
testing
Difficulty 4/5 3-5 days Newbie friendliness 45/100
BabylonJS/BabylonNative#2136 ·
Maintainers usually reply within 1 day
-
Support useNDCHalfZRange (half-range NDC depth) so Babylon.js half-range depth visual tests can runOpen
Difficulty 4/5 3-5 days Newbie friendliness 48/100
BabylonJS/BabylonNative#2134 ·
Maintainers usually reply within 1 day
All issues in BabylonJS/BabylonNative
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
gofractally/psibase#2379 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
simnJS/AnyPS5#735 · 1 comment ·
Maintainers usually reply within 1 day
-
needs-format
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Niko1221/Strata#7719 · 1 comment ·
Maintainers usually reply within 4 days