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

wezterm fails to boot #169998

Closed
rmcgibbo opened this issue Apr 23, 2022 · 5 comments
Closed

wezterm fails to boot #169998

rmcgibbo opened this issue Apr 23, 2022 · 5 comments
Labels
0.kind: bug Something is broken

Comments

@rmcgibbo
Copy link
Contributor

rmcgibbo commented Apr 23, 2022

Describe the bug

wezterm fails to boot

I bisected, and this is the commit that broke it for me 7433e080a66fbd1d73bfc33ac9b14259ee1f1a3e.

Steps To Reproduce

[mcgibbon@pn50:~/projects/nixpkgs]$ result/bin/wezterm
14:59:22.666  INFO   wezterm_mux_server_impl::local > setting up /run/user/1000/wezterm/gui-sock-200190
libEGL warning: MESA-LOADER: failed to open radeonsi: /nix/store/ayrsyv7npr0lcbann4k9lxr19x813f0z-glibc-2.34-115/lib/libpthread.so.0: version `GLIBC_PRIVATE' not found (required by /nix/store/kq5mfvarbjar95xahcf7kd5mfkc64qz3-glibc-2.33-78/lib/librt.so.1) (search paths /run/opengl-driver/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /nix/store/ayrsyv7npr0lcbann4k9lxr19x813f0z-glibc-2.34-115/lib/libpthread.so.0: version `GLIBC_PRIVATE' not found (required by /nix/store/kq5mfvarbjar95xahcf7kd5mfkc64qz3-glibc-2.33-78/lib/librt.so.1) (search paths /run/opengl-driver/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: /nix/store/ayrsyv7npr0lcbann4k9lxr19x813f0z-glibc-2.34-115/lib/libpthread.so.0: version `GLIBC_PRIVATE' not found (required by /nix/store/kq5mfvarbjar95xahcf7kd5mfkc64qz3-glibc-2.33-78/lib/librt.so.1) (search paths /run/opengl-driver/lib/dri, suffix _dri)

14:59:22.699  ERROR  wezterm_gui::frontend          > Failed to create window: with_egl_lib failed: with_egl_lib(libEGL.so.1) failed: egl Initialize: NOT_INITIALIZED, libEGL.so: libEGL.so: cannot open shared object file: No such file or directory, with_egl_lib(libEGL.so.1) failed: egl Initialize: NOT_INITIALIZED, libEGL.so: libEGL.so: cannot open shared object file: No such file or directory

Notify maintainers

cc @SuperSandro2000

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.95, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5.0pre20211206_d1aaa7e`
 - channels(root): `"nixos-20.09.4404.a13824fe5e3"`
 - channels(mcgibbon): `"home-manager-20.09, nixpkgs-unstable-21.11pre325073.0920efc96dc"`
 - nixpkgs: `/nix/store/ffg8kny7szdc3qda1f3ixgk7xix29p16-source`
@rmcgibbo rmcgibbo added the 0.kind: bug Something is broken label Apr 23, 2022
@rmcgibbo
Copy link
Contributor Author

On my laptop, I get the same problem, but it appears to be fixed by setting a MESA-related environment variable.

[mcgibbon@xps13:~/projects/nixpkgs]$ MESA_LOADER_DRIVER_OVERRIDE=i965 ./result/bin/wezterm-gui
15:50:18.806  INFO   wezterm_mux_server_impl::local > setting up /run/user/1000/wezterm/gui-sock-33979
glium has triggered an OpenGL error during initialization. Please report this error: https://github.com/glium/glium/issues
15:50:18.900  INFO   wezterm_gui::termwindow        > OpenGL initialized! Mesa DRI Intel(R) UHD Graphics 620 (WHL GT2) 3.0 Mesa 21.2.6 is_context_loss_possible=false wezterm version: 20220408-101518-b908e2dd

@SuperSandro2000
Copy link
Member

Did you reboot your system after upgrading?

@rmcgibbo
Copy link
Contributor Author

Huh, yes actually maybe rebooting my system worked. Do you know what that's about?

@SuperSandro2000
Copy link
Member

/run/opengl-driver/ is pretty impure and needs a restart to be up to date. Similar to #80936

@rmcgibbo
Copy link
Contributor Author

Nope, sorry, reboot did not actually do it. I'll just set the env variable though.

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

2 participants