-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Windows 10_Getting an error "GPU process launch failed: error_code=18" while trying to open cypress test runner. #19924
Comments
Hi @jennifer-shehane - Could you please look into the issue. |
Maybe related: electron/electron#32074 |
Hi @tbiethman - Thanks for looking into it. The impacted number of users is pretty high on respective to this issue in Windows 10 machine. We are currently blocked. Kindly look into this issue as a priority and provide a resolution on the same. |
@Praveentrp Can you try launching the app with the environment variable |
Thanks, @flotwig for your reply. Cypress test runner is successfully getting launched after adding this environment variable "ELECTRON_EXTRA_LAUNCH_ARGS=--disable-gpu-sandbox" and now I am not getting this error "GPU process launch failed:". But I am getting the below error while trying to run the customized execution command. `Still waiting to connect to chrome, retrying in 1 second (attempt 60/62) This usually indicates there was a problem opening the chrome browser.` Could you please help us to resolve this issue as well? |
As @Praveentrp mentioned, it is also affecting Win10 of both Microsoft Surface Laptops and HP EliteBooks across cypress user community. |
It looks like there's something with |
any progress? I'm seeing the same error |
Same here after resolving |
Same here, running in a Ubuntu WSL 2 instance inside Windows 11 |
I have the same issue on my Win10. I can open Cypress with v8.5.0 but it crashes with above error message since v8.6.0. |
I'm having the same issue. I get 'GPU process exited unexpectedly: exit_code=34' |
Solution:
This has resolved my issue. Hope it will resolve for you guys as well. |
@Praveentrp I tried executing it without admin mode yet I got the same error. |
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. |
When I installed Cypress globally on my PC and opened PowerShell (not as admin) in the project directory and ran |
This issue has gone stale and we do not have a way to reproduce this specific behavior at this point. I am going to close this issue for the time being and if a reproducible example or new information comes to light please comment back here and we will see if we can make further progress. |
just tried cypress for the first time today. Installed via I tried via windows terminal, non-admin powershell, admin powershell, vs code git gui. all had the same error. When installed as a global However, n0ow there is a new error from
Node 18.17.1 installed via nvm windows |
Can you confirm that you are getting exactly the error message Have you checked if there is an updated graphics driver available for your system? Which version of Windows are you running? I tried installing Cypress globally, like you, on Windows 11, and I did not get any symlink error. |
Current behavior
Console log:
`Note: You have set the environment variable:
CYPRESS_RUN_BINARY=C:\Cypress\9.3.1\Cypress\Cypress.exe
This overrides the default Cypress binary path used.
Found binary version 9.1.0 installed in C:\Cypress\9.3.1\Cypress`
!! Warning: Binary version 9.1.0 does not match the expected package version 9.3.1
These versions may not work properly together.
It looks like this is your first time using Cypress: 9.1.0
Verified Cypress! C:\Cypress\9.3.1\Cypress
Opening Cypress...
[22552:0126/205620.709:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[22552:0126/205620.725:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[22552:0126/205620.742:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[22552:0126/205620.758:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[22552:0126/205620.772:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[22552:0126/205620.799:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[22552:0126/205620.712:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[22552:0126/205620.788:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[22552:0126/205620.793:ERROR:gpu_process_host.cc(951)] GPU process launch failed: error_code=18
[22552:0126/205628.793:FATAL:gpu_data_manager_impl_private.cc(417)] GPU process isn't usable. Goodbye.
Desired behavior
Cypress test runner should be successfully open.
Test code to reproduce
To install the cypress latest version using the below command. (As GitHub has been blocked on-premise, we are using the below command for the installation)
CYPRESS_INSTALL_BINARY='C:/CypressInstallables/cypress-win-9.1.0.zip' CYPRESS_CACHE_FOLDER='C:/Cypress' npm i cypress --sev-dev
Cypress 9.3.1 got successfully installed.
Environment variable has been set in the System variables.
CYPRESS_RUN_BINARY=C:\Cypress\9.3.1\Cypress\Cypress.exe
npx cypress open
Cypress Version
9.3.1
Other
No response
The text was updated successfully, but these errors were encountered: