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

Ubuntu 24.04: MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER) #29521

Open
MikeMcC399 opened this issue May 15, 2024 · 6 comments

Comments

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented May 15, 2024

Current behavior

Cypress outputs garbage errors running on a headless Ubuntu 24.04 LTS GitHub-hosted runner:

MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
glx: failed to create drisw screen

The test is however successful.

Desired behavior

Cypress should not output error messages which do not apply to a headless situation. Vulkan is only used when there is a GPU. On a headless system there is by definition no GPU active.

Test code to reproduce

https://github.com/cypress-io/github-action/actions/workflows/example-basic.yml

Cypress Version

First reported on version 13.9.0
Still reproducible on version 13.16.1

Node version

v20.8.1 v20.13.1

Operating System

Ubuntu 24.04 LTS

Debug Logs

https://github.com/cypress-io/github-action/actions/workflows/example-basic.yml?query=branch%3Amaster

  cypress:server:cypress scaling electron app in headless mode +0ms
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
glx: failed to create drisw screen

Other

@jennifer-shehane
Copy link
Member

Should probably do the same as #29278 and expand the logic to strip these out.

@MikeMcC399

This comment was marked as outdated.

@jennifer-shehane
Copy link
Member

@MikeMcC399 True, we did make some progress on the Electron 28 upgrade, so it might come first.

@MikeMcC399

This comment was marked as outdated.

@MikeMcC399

This comment was marked as outdated.

@MikeMcC399
Copy link
Contributor Author

This issue is also reproducible under on GitHub Actions with Ubuntu 24.04 and Cypress 14.0.0 beta (commit 4f2a244):

Cypress Version: 14.0.0 (pre-release)
System Platform: linux (Ubuntu - 24.04)
System Memory: 16.8 GB free 15.1 GB

This is a pre-release build of Cypress.
Build info:
  Commit SHA: 4f2a244612f8ef627b35c32162669cdfc6bee90c
  Commit Branch: release/14.0.0
  Commit Date: 2024-11-14T15:16:15.000Z
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
glx: failed to create drisw screen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants