brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
16.98k stars 2.21k forks source link

`EGL Driver Message` exceptions are logged/thrown in Chromium-bump candidate builds (`nightly`) #39325

Open stephendonner opened 1 week ago

stephendonner commented 1 week ago

Description

EGL Driver Message exceptions are logged/thrown in Chromium-bump candidate builds (nightly)

Steps to reproduce

  1. download and install a CR127 x64.dmg build from the thread at https://bravesoftware.slack.com/archives/CU5UXM3EC/p1719239664719319?thread_ts=1719239650.765139&cid=CU5UXM3EC
  2. launch Brave using --args --enable-logging=stderr --update-feed-url=https://updates-panel.brave.com/sparkle/Brave-Browser/nightly/appcast.xml
  3. look at the logs

Actual result

[1839:259:0624/123253.225400:ERROR:gl_display.cc(497)] EGL Driver message (Error) eglQueryDeviceAttribEXT: Bad attribute.

is logged nearly constantly, to the console:

Screen Shot 2024-06-24 at 11 03 19 AM

Expected result

No log spew (as is the case with "regular" builds)

If you run using --disable-gpu the spew goes away (only as a temporary "fix", hence this issue)

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Brave | 1.69.37 Chromium: 127.0.6533.17 (Official Build) nightly (x86_64)
-- | --
Revision | 0199d3d9daf2ea6b0f025f9a0ed80c169316a6e6
OS | macOS Version 11.7.10 (Build 20G1427)

Channel information

Reproducibility

Miscellaneous information

cc @emerick @LaurenWags

LaurenWags commented 1 week ago

Observed these messages on macOS arm64 as well with 1.69.37 Chromium: 127.0.6533.17 (PR build). Fairly certain I also saw these (or similar) messages with C126 PR build as well, but not official C126 build(s). Will keep an eye out for them once C127 is merged to master.

stephendonner commented 1 week ago

Unfortunately, looks like this was introduced in/still exists using

Brave | 1.69.62 Chromium: 127.0.6533.17 (Official Build) nightly (x86_64)
-- | --
Revision | 50af8e07a47dfe29f581936e45c07e8ee8b676f5
OS | macOS Version 11.7.10 (Build 20G1427)

Screen Shot 2024-06-28 at 11 43 44 AM