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

Neovide failes in mixed glibc configuration #168769

Closed
ck3d opened this issue Apr 15, 2022 · 5 comments
Closed

Neovide failes in mixed glibc configuration #168769

ck3d opened this issue Apr 15, 2022 · 5 comments

Comments

@ck3d
Copy link
Contributor

ck3d commented Apr 15, 2022

Describe the bug

If you run NixOS 21.11 which uses glibc version 2.33 and want to run neovide from nixon-unstabled which is compiled with glibc version 2.34, then neovide failes to start.

Glibc 2.34 was introduced with #133431

Steps To Reproduce

$ neovide --nofork
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: CreationErrors([OsError("Could not create EGL display object"), OsError("`glXQueryExtensionsString` found no glX extensions")])', src/window/mod.rs:331:10

Expected behavior

The application starts.

Notify maintainers

I am the maintainer.

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.2-xanmod1-tt, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4`
 - nixpkgs: `/nix/store/l5lbpfccaxn6scvkaawj5hhi13if8d6q-source`
@ck3d ck3d added the 0.kind: bug Something is broken label Apr 15, 2022
@teto
Copy link
Member

teto commented May 11, 2022

can we close this ?

@SuperSandro2000
Copy link
Member

Would be my call, too since mixed glibc is normally out for trouble.

@dccsillag
Copy link

Would be nice if there was some workaround out there first (something like overriding the glibc used?). At the end of the day, this issue means that I'm having to run an old and somewhat buggy version of neovide, whereas unstable has a much more solid one.

Nevertheless, I understand that this is tricky and likely won't have a definite solution.

@pca006132
Copy link
Contributor

Just wondering, if there is a convenient way to use the package source in unstable but evaluate using other channels? The way I'm doing this right now is to copy the file neovide/default.nix and neovide/skia-externals.json locally, do some modification and import it. This works perfectly but perhaps there is a simpler way?

@ck3d ck3d mentioned this issue Jun 30, 2022
13 tasks
@ck3d
Copy link
Contributor Author

ck3d commented Nov 11, 2022

I close this issue, since it is more general issue.

@ck3d ck3d closed this as completed Nov 11, 2022
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

6 participants