seleniumbase/SeleniumBase

WebGL performance issue -> "GPU stall due to ReadPixels"

Closed this issue · 2 comments

WebGL performance issue -> "GPU stall due to ReadPixels"

Full message:
[.WebGL-0x1100a6d1400]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels

Tested on https://github.com/ when not logged in. This issue caused slowdowns to be seen.

Screen Shot 2022-06-30 at 1 04 05 PM

This will solve it:
options.add_argument("--disable-3d-apis")
I should probably set that option to always be on.

This may already be fixed. Upgrade to the latest version of SeleniumBase and use --enable-3d-apis to activate 3D Mode from pytest, or enable_3d_apis=True from the SB() format. (3D Mode is disabled by default unless the option is set.)

There's also a new example test for displaying a 3D animation: SeleniumBase/examples/test_3d_apis.py

robot_wave