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 · 3 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/MikeMcC399/github-action/blob/test/ubuntu-24-04/.github/workflows/example-basic.yml

  basic-ubuntu-24:
    runs-on: ubuntu-24.04
    timeout-minutes: 10
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Cypress tests
        uses: ./
        with:
          working-directory: examples/basic
          build: npx cypress info

Cypress Version

13.9.0

Node version

v20.8.1

Operating System

Ubuntu 24.04 LTS

Debug Logs

https://github.com/MikeMcC399/github-action/actions/runs/9090855358

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
Copy link
Contributor Author

@jennifer-shehane

  • If chore(dependency): Upgrade Electron 28 #28959 is planned for merger anytime soon, then I would re-test under Electron 28 first, as these types of error messages tend to depend on the embedded Electron version.
    Currently:
    Cypress package version: 13.9.0
    Electron version: 27.3.10
    According to Electron timelines Electron 27 reached EOL last month on Apr 16, 2024.

@jennifer-shehane
Copy link
Member

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

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