cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.8k stars 3.17k forks source link

GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels Repetitive Error #27841

Open bilarallen opened 1 year ago

bilarallen commented 1 year ago

Current behavior

When Running Cypress Test in Jenkins CI using the latest version 13.2.0 through Linux 5.4 Debian the following repetitive errors are displaying in the logs:

[887:0919/073119.239355:ERROR:gl_utils.cc(402)] [.WebGL-0x33ac0f51e900]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels

[875:0919/073135.977947:ERROR:gl_utils.cc(402)] [.WebGL-0x1df813da8e00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels (this message will no longer repeat)

Desired behavior

No GPU stall due to ReadPixels related errors should be displayed in the CI logs

Test code to reproduce

Any test running with the following configuration:

Cypress version: 13.2.0 Browser: Electron Cypress base image: cypress/base:16.18.1-with-git Environment/CI: Linux 5.4 Debian

Cypress Version

13.2.0

Node version

16.18.1

Operating System

Linux 5.4 Debian

Debug Logs

Cypress_GPU stall due to ReadPixels Repetitive Error_Debug_Logs.txt

Other

There are issues encountered similar to this but some of those were closed or didn't provide any supporting details like debug logs. It is also worth checking these previous issues:

https://github.com/cypress-io/cypress/issues/8206#issuecomment-1613560416 https://github.com/cypress-io/cypress/issues/26947 https://github.com/cypress-io/cypress/issues/23641#issuecomment-1272954799

cypress-app-bot commented 6 months ago

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

LukasLewandowski commented 6 months ago

I have observed the same problem on my GitLab CI when using:

Cypress: 13.6.6
Browser: Electron 118 (headless)
Node Version: v20.11.1 (/root/.nvm/versions/node/v20.11.1/bin/node)

Error:

ERROR:gl_utils.cc(402)] [.WebGL-0x29380ff51b00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[10059:0318/174946.804218:ERROR:stun_port.cc(79)] Binding error response: class=4 number=1 reason=Unauthorized
bahag-stolyarchukm commented 5 months ago

Same in other projects were we use Cypress

cfecherolle commented 3 months ago

I have the same issue using the following Docker image: cypress/browsers:node-20.9.0-chrome-118.0.5993.88-1-ff-118.0.2-edge-118.0.2088.46-1

I'm testing a page which is loading a Web GL 2 canvas with 3D data. The consequence is, due to this "GPU stall", my canvas is not fully rendered before I call my snapshot comparison method. I have to use a cy.wait to try and make sure everything is rendered because of that. Is there any other way to compensate this?

rizwanarshad-1980 commented 1 week ago

I believe I'm also hitting this issue on OL8:

[961269:0927/171614.263470:ERROR:gl_utils.cc(402)] [.WebGL-0x25dc06ab2a00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels

Cypress Version: 13.14.2 Node Version: 20.16.0 OS: Oracle Linux Server release 8.10 Kernel: 5.15.0-210.163.7.el8uek.x86_64