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

code-cursor: Fails to launch due to egl dri2 error #391260

Open
3 tasks done
Fractal-Tess opened this issue Mar 19, 2025 · 0 comments
Open
3 tasks done

code-cursor: Fails to launch due to egl dri2 error #391260

Fractal-Tess opened this issue Mar 19, 2025 · 0 comments
Labels
0.kind: bug Something is broken

Comments

@Fractal-Tess
Copy link
Contributor

Nixpkgs version

  • Unstable (25.05)

Describe the bug

Starting code-cursor with the command cursor . shows a couple of warning and an error, failing to start a window and exiting.

The error message reads:
libEGL warning: egl: failed to create dri2 screen

Running cursor with --ozone-platform=x11 flag is able to start up the application properly.

Steps to reproduce

Install cursor on the unstable branch via flakes

This is the lock of my flake's nixpkgs

"lastModified": 1742069588,
"narHash": "sha256-C7jVfohcGzdZRF6DO+ybyG/sqpo1h6bZi9T56sxLy+k=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c80f6a7e10b39afcc1894e02ef785b1ad0b0d7e5",
"type": "github"

Expected behaviour

Cursor launches normaly

Screenshots

No response

Relevant log output

cursor .
@todesktop/runtime: skipping autoUpdater initialization because application is not in AppImage.
Warning: 'ozone-platform-hint' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'enable-features' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'enable-wayland-ime' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'update' is not in the list of known options, but still passed to Electron/Chromium.
libEGL warning: egl: failed to create dri2 screen

Additional context

I'm doing this kind of reporting for the first time, so I'm unsure if I missed some information. Let me know and I'll do my best to provide it

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.19, NixOS, 25.05 (Warbler), 25.05.20250315.c80f6a7
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.12
  • channels(root): "nixos-24.05"
  • nixpkgs: /nix/store/alzxn3hjisc84hrlv44x6hni48crww26-source

Notify maintainers


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@Fractal-Tess Fractal-Tess added the 0.kind: bug Something is broken label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

1 participant