alacritty: Alacritty v0.3.0-rc2 does not start (Error creating GL context)
Alacritty release: v0.3.0-rc2 OS: Debian GNU/Linux buster/sid x86_64 Kernel: 4.19.0-4-amd64O DE: GNOME 3.30.2 GPU: NVIDIA Quadro FX 880M using X11
$ alacritty
Created log file at "/tmp/Alacritty-19721.log"
[2019-04-02 14:35] [ERROR] Alacritty encountered an unrecoverable error:
Error creating GL context; `glXQueryExtensionsString` found no glX extensions
notes:
- alacritty version v0.2.9 works fine
cargo run --example window
works fine when cloned glutin master- tried both installing from released deb file and building from sources
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 24 (10 by maintainers)
Commits related to this issue
- Fix build errors on BSD This updates winit and glutin to the latest git versions instead of relying on releases to fix a build failure on BSD. Unfortunately the upstream version bumps might still ta... — committed to chrisduerr/alacritty by chrisduerr 5 years ago
- Fix build errors on BSD This updates winit and glutin to the latest git versions instead of relying on releases to fix a build failure on BSD. Unfortunately the upstream version bumps might still... — committed to alacritty/alacritty by chrisduerr 5 years ago
same thing on pop os after upgrading some packages (don’t remember which ones)
alacritty version:
EDIT: after reading this thread I realized nvidia driver was upgraded. A reboot solved the issue
You need GL wrapper for OpenGL stuff with nix outside of nixos. Consult nix docs wrt that.
@ojsl1 You probably just need to reboot after a driver update. That’s just something you need to do with certain drivers.
This issue happens to me on every upgrade of some graphic specific package on my system, although I didn’t determine which one it is yet.
As alacritty leverages GPU capabilities, it is likely some cuda or nvidia package upgrade… Today I upgraded the below listed packages and had to restart the system for alacritty to start again, after the above mentioned error
Error creating GL context; Received multiple errors. Errors: [OsError("eglInitialize failed"), OsError("GL context creation failed")]
appeared.I will come back after the next breaking upgrade and likely narrow down the involved packages with an intersection.
@Bad3r me too on Ubuntu.
@chrisduerr
I just encountered this issue on Arch Linux
5.7.5-arch1-1
with Wayland display
Sounds like it would be beneficial to wait for the next glutin release before releasing 0.3. Thanks for looking into this.