Android OpenGL: visual test 'Prepass SSAO + MSAA' fails with 'Failed to create frame buffer'

オープン
#2,118 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
46/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android
領域
mobile-dev

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C++
スター
931
フォーク
169
平均マージ
2日 17時間
マージ済み PR(30日)
66

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

BabylonJS/BabylonNative のほかの issue

BabylonJS/BabylonNative の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。