Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mdmintz opened this issue Jun 30, 2022 · 2 comments · Fixed by #1385
Closed

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

mdmintz opened this issue Jun 30, 2022 · 2 comments · Fixed by #1385
Assignees
Labels
bug Uh oh... Something needs to be fixed

Comments

@mdmintz
Copy link
Member

mdmintz commented Jun 30, 2022

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

@mdmintz mdmintz added the bug Uh oh... Something needs to be fixed label Jun 30, 2022
@mdmintz mdmintz self-assigned this Jun 30, 2022
@mdmintz
Copy link
Member Author

mdmintz commented Jun 30, 2022

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

@mdmintz
Copy link
Member Author

mdmintz commented Jan 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Uh oh... Something needs to be fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant