OS: Linux (20.04 pop os)
Version: 0.4.3-rc1
Linux/BSD: X11/Wayland
crashes and outputs this
thread 'main' panicked at 'not yet implemented', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.0/src/api/egl/mod.rs:1183:35
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.
I saw the same issue but it was closed without a solution.
What's you GPU/glxinfo output? But yeah, it seems like probably creating a context for your particular version of egl is not implemented. I'd assume that it's nvidia with binary drivers, right?
glxinfo output:
name of display: :1
display: :1 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
yeah nvidia 820m, don't know binary or what,but its auto-updated with software center in pop os (pop shop to be exact, it updates it all the time).
extra info :
when I start it with a system monitor open it shows up and vanishes, if this is of any help.
P.S
and I have no idea what you are talking about context and egl implementation
Could you share your full glxinfo output?
here you go
glxinfo.txt
Could you try to apply the following patch to https://github.com/rust-windowing/glutin? You can test it by running cargo run --example window.
diff --git a/glutin/src/api/egl/mod.rs b/glutin/src/api/egl/mod.rs
index 5b45209..b85394c 100644
--- a/glutin/src/api/egl/mod.rs
+++ b/glutin/src/api/egl/mod.rs
@@ -1180,7 +1180,7 @@ where
out.push(ffi::egl::OPENGL_ES_BIT as raw::c_int);
}
}
- (Api::OpenGlEs, _) => unimplemented!(),
+ (Api::OpenGlEs, version) => unimplemented!("OpenGL ES Version: {:?}", version),
(Api::OpenGl, _) => {
if egl_version < &(1, 3) {
return Err(CreationError::NoAvailablePixelFormat);
@@ -1190,7 +1190,7 @@ where
out.push(ffi::egl::CONFORMANT as raw::c_int);
out.push(ffi::egl::OPENGL_BIT as raw::c_int);
}
- (_, _) => unimplemented!(),
+ (api, version) => unimplemented!("API: {:?}, Version: {:?}", api, version),
};
if let Some(hardware_accelerated) = pf_reqs.hardware_accelerated {
I ran it, some weird stuff happened a rainbow triangle came up and the terminal was going all matrix like when I moved my mouse.
now alacritty won't install
That sounds like it works just fine. How are you trying to 'install' Alacritty?
I have no I idea what's happening but it installed all fine but now gives this on running :
thread 'main' panicked at 'not yet implemented', /build/alacritty-f7XVkQ/alacritty-0.4.3~1591123189~20.04~b089c66/vendor/glutin/src/api/egl/mod.rs:1183:35
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.
PS. I did try installing it it 3 times(all methods. repo, compiling, binaries, pop shop ) and restarted and what not but some error showed up and I lost it(my mind). Now I am here again.
now I removed any trace of alacritty I could remove, and installed it with snap this is what I get when I run it:
thread 'main' panicked at 'Failed to initialize any backend!
Wayland status: NoCompositorListening
X11 status: LibraryOpenError(
OpenError {
kind: Library,
detail: "opening library failed (/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.26\' not found (required by /lib/x86_64-linux-gnu/libX11.so.6)); opening library failed (/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.26\' not found (required by /lib/x86_64-linux-gnu/libX11.so))"
}
)
', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.15.1/src/platform/linux/mod.rs:428:9
note: Run with RUST_BACKTRACE=1 for a backtrace.
The snap is not maintained as far as I know, so I'm not sure what you installed there. If it doesn't work when compiled from the latest master, it will probably not work any other way either.
Could you try compiling from source, but linking against the glutin version with my patch applied? You can do that by changing the dependency glutin = { version = "0.24.0", features = ["serde"] } in the alacritty/Cargo.toml to glutin = { path = "/path/to/patched/glutin", features = ["serde"] }. Make sure that you link to the glutin directory inside the glutin project repository, not just the root of the project.
Sorry for the wait,
How exactly should I patch the thing?馃槄
You've already done that when following https://github.com/alacritty/alacritty/issues/3794#issuecomment-637397885, right?
Sorry my bad, but what is patching? how should I continue?
All I did was cloned the repo (glutin one) and ran example(and installed it with some minor hiccup, which solved it self)
You can apply a patch by running git apply <FILE>. So all you need to do is put that diff in a file and then run that (inside the repository).
steps I followed :
cargo build --release
which gave:
warning: /home/tusqasi/clones/alacritty/Cargo.toml: unused manifest key: profile.release.glutin
warning: use of deprecated item 'std::sync::ONCE_INIT': the new function is now preferred
--> alacritty/src/cli.rs:85:21
|
85 | .author(crate_authors!("\n"))
| ^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(deprecated)] on by default
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
warning: use of deprecated item 'std::sync::ONCE_INIT': the new function is now preferred
--> alacritty/src/cli.rs:85:21
|
85 | .author(crate_authors!("\n"))
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
Finished release [optimized + debuginfo] target(s) in 6.11s
Now you've got glutin working, you still need Alacritty compiled against that glutin version as described in https://github.com/alacritty/alacritty/issues/3794#issuecomment-640093139.
I did link it
(there was nothing in Cargo.toml like you told so I just pasted it at end)
assuming I had to build it after the last step:
cargo build --release
error: failed to parse manifest at /home/tusqasi/clones/alacritty/Cargo.toml
Caused by:
no targets specified in the manifest
either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be present
now I also copied in the original one(cargo.toml) from repo and appended it
[package]
name = "alacritty"
version = "0.5.0-dev"
authors = ["Christian Duerr contact@christianduerr.com", "Joe Wilm joe@jwilm.com"]
license = "Apache-2.0"
description = "GPU-accelerated terminal emulator"
readme = "../README.md"
homepage = "https://github.com/alacritty/alacritty"
edition = "2018"
added this
[workspace]
members = [
"alacritty",
"alacritty_terminal",
"font",
]
[profile.release]
lto = true
debug = 1
incremental = false
[dependencies]
alacritty_terminal = { path = "../alacritty_terminal", default-features = false }
clap = "2"
log = { version = "0.4", features = ["std"] }
time = "0.1.40"
fnv = "1"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.8"
serde_json = "1"
glutin = { path = "/home/tusqasi/clones/glutin", features = ["serde"] } changed this too **
notify = "4"
parking_lot = "0.10.2"
font = { path = "../font" }
urlocator = "0.1.3"
copypasta = { version = "0.7.0", default-features = false }
[build-dependencies]
gl_generator = "0.14.0"
rustc_tools_util = "0.2.0"
[target.'cfg(not(windows))'.dependencies]
xdg = "2"
[target.'cfg(not(target_os = "macos"))'.dependencies]
image = { version = "0.23.3", default-features = false, features = ["ico"] }
[target.'cfg(any(target_os = "macos", windows))'.dependencies]
dirs = "2.0.2"
[target.'cfg(not(any(target_os="windows", target_os="macos")))'.dependencies]
x11-dl = "2"
wayland-client = { version = "0.26.6", features = ["dlopen"] }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.7", features = ["impl-default", "wincon"]}
[target.'cfg(windows)'.build-dependencies]
embed-resource = "1.3"
[features]
default = ["wayland", "x11", "winpty"]
x11 = ["copypasta/x11"]
wayland = ["copypasta/wayland"]
winpty = ["alacritty_terminal/winpty"]
# Enabling this feature makes shaders automatically reload when changed
live-shader-reload = []
nightly = []
bench = []
I can just go keep compiling after changing things without doing anything else, right?
I also copied in the original one(cargo.toml) from repo and appended it
Why? You shouldn't have to do anything other than editing the alacritty/Cargo.toml file and changing the glutin line in your case to the following:
glutin = { path = "/home/tusqasi/clones/glutin/glutin", features = ["serde"] }
it still won't work
error: failed to parse manifest at /home/tusqasi/clones/alacritty/Cargo.toml
Caused by:
no targets specified in the manifest
either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be present
In which directory are you executing cargo? You should do so in the root of Alacritty's repository, not in the alacritty directory.
yeah
And by "yeah" you mean that works, or that's what you've been doing already?
I have been compiling in /alacritty and not in alacritty/alacritty.
And it doesn't work.
Can you compile the latest master following the official installation instructions?
still the same:
cargo build --release
error: failed to parse manifest at /home/tusqasi/alacritty/Cargo.toml
Caused by:
no targets specified in the manifest
either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be present
"Can you compile the latest master following the official installation instructions?"
By this if you mean cloning it, changing the Cargo.toml and compiling. Yes I can.
You know what, give me, exact down to the step, instructions, I might've been doing something wrong. Never know.
rustc --version)cd /tmpgit clone [email protected]:alacritty/alacrittygit clone [email protected]:rust-windowing/glutincd alacrittyvim alacritty/Cargo.tomlglutin = { path = "/tmp/glutin/glutin", features = ["serde"] }cargo runthis is what I got when followed step by step. (No patching)
untitled.txt
also when I ran alacrity in target/release (If that helps, so I thought ):
thread 'main' panicked at 'not implemented', <::std::macros::panic macros>:2:4
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Could you try with the patch now that it compiles?
the second one is when I patched it(sorry forgot to mention)
this one came up when I patched it
"""
also when I ran alacrity in target/release (If that helps, so I thought ):
thread 'main' panicked at 'not implemented', <::std::macros::panic macros>:2:4
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
"""
Let me redo everything.
I noticed it now but should there be the open brace at last in the patch you gave.
take a look at the very last
diff --git a/glutin/src/api/egl/mod.rs b/glutin/src/api/egl/mod.rs
index 5b45209..b85394c 100644
--- a/glutin/src/api/egl/mod.rs
+++ b/glutin/src/api/egl/mod.rs
@@ -1180,7 +1180,7 @@ where
out.push(ffi::egl::OPENGL_ES_BIT as raw::c_int);
}
}
- (Api::OpenGlEs, _) => unimplemented!(),
+ (Api::OpenGlEs, version) => unimplemented!("OpenGL ES Version: {:?}", version),
(Api::OpenGl, _) => {
if egl_version < &(1, 3) {
return Err(CreationError::NoAvailablePixelFormat);
@@ -1190,7 +1190,7 @@ where
out.push(ffi::egl::CONFORMANT as raw::c_int);
out.push(ffi::egl::OPENGL_BIT as raw::c_int);
}
- (_, _) => unimplemented!(),
+ (api, version) => unimplemented!("API: {:?}, Version: {:?}", api, version),
};
if let Some(hardware_accelerated) = pf_reqs.hardware_accelerated {
just to make sure
And I don't have to compile glutin, right?
Just git apply <thing>
And I don't have to compile glutin, right?
Just git apply
Correct.
Could you share the backtrace you get by running RUST_BACKTRACE=1 cargo run?
this is what I got:
RUST_BACKTRACE=1 cargo run
warning: /home/tusqasi/.local/share/vifm/Trash/002_alacritty/Cargo.toml: unused manifest key: profile.release.glutin
Compiling alacritty v0.5.0-dev (/home/tusqasi/.local/share/vifm/Trash/002_alacritty/alacritty)
warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
--> alacritty/src/cli.rs:71:21
|
71 | .author(crate_authors!("\n"))
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
--> alacritty/src/cli.rs:71:21
|
71 | .author(crate_authors!("\n"))
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
Finished dev [unoptimized + debuginfo] target(s) in 1m 33s
Running `target/debug/alacritty`
thread 'main' panicked at 'not implemented', /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/api/egl/mod.rs:1183:35
stack backtrace:
0: backtrace::backtrace::libunwind::trace
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/libunwind.rs:86
1: backtrace::backtrace::trace_unsynchronized
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/mod.rs:66
2: std::sys_common::backtrace::_print_fmt
at src/libstd/sys_common/backtrace.rs:78
3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
at src/libstd/sys_common/backtrace.rs:59
4: core::fmt::write
at src/libcore/fmt/mod.rs:1063
5: std::io::Write::write_fmt
at src/libstd/io/mod.rs:1426
6: std::sys_common::backtrace::_print
at src/libstd/sys_common/backtrace.rs:62
7: std::sys_common::backtrace::print
at src/libstd/sys_common/backtrace.rs:49
8: std::panicking::default_hook::{{closure}}
at src/libstd/panicking.rs:204
9: std::panicking::default_hook
at src/libstd/panicking.rs:224
10: std::panicking::rust_panic_with_hook
at src/libstd/panicking.rs:470
11: std::panicking::begin_panic
at /rustc/8d69840ab92ea7f4d323420088dd8c9775f180cd/src/libstd/panicking.rs:397
12: glutin::api::egl::choose_fbconfig
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/api/egl/mod.rs:1183
13: glutin::api::egl::Context::new
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/api/egl/mod.rs:493
14: glutin::platform_impl::platform_impl::x11::Context::new_first_stage::{{closure}}
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:359
15: glutin::platform_impl::platform_impl::x11::Context::new_first_stage
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:406
16: glutin::platform_impl::platform_impl::x11::Context::new_impl
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:483
17: glutin::platform_impl::platform_impl::x11::Context::new::{{closure}}
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:456
18: glutin::platform_impl::platform_impl::x11::Context::try_then_fallback
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:170
19: glutin::platform_impl::platform_impl::x11::Context::new
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:455
20: glutin::platform_impl::platform_impl::Context::new_windowed
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/mod.rs:115
21: glutin::windowed::<impl glutin::ContextBuilder<T>>::build_windowed
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/windowed.rs:362
22: alacritty::window::create_gl_window
at alacritty/src/window.rs:117
23: alacritty::window::Window::new
at alacritty/src/window.rs:165
24: alacritty::display::Display::new
at alacritty/src/display.rs:153
25: alacritty::run
at alacritty/src/main.rs:135
26: alacritty::main
at alacritty/src/main.rs:102
27: std::rt::lang_start::{{closure}}
at /rustc/8d69840ab92ea7f4d323420088dd8c9775f180cd/src/libstd/rt.rs:67
28: std::rt::lang_start_internal::{{closure}}
at src/libstd/rt.rs:52
29: std::panicking::try::do_call
at src/libstd/panicking.rs:303
30: __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:86
31: std::panicking::try
at src/libstd/panicking.rs:281
32: std::panic::catch_unwind
at src/libstd/panic.rs:394
33: std::rt::lang_start_internal
at src/libstd/rt.rs:51
34: std::rt::lang_start
at /rustc/8d69840ab92ea7f4d323420088dd8c9775f180cd/src/libstd/rt.rs:67
35: main
36: __libc_start_main
37: _start
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
with full (If it helps)
RUST_BACKTRACE=full cargo run
warning: /home/tusqasi/.local/share/vifm/Trash/002_alacritty/Cargo.toml: unused manifest key: profile.release.glutin
warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
--> alacritty/src/cli.rs:71:21
|
71 | .author(crate_authors!("\n"))
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
--> alacritty/src/cli.rs:71:21
|
71 | .author(crate_authors!("\n"))
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
Finished dev [unoptimized + debuginfo] target(s) in 6.19s
Running `target/debug/alacritty`
thread 'main' panicked at 'not implemented', /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/api/egl/mod.rs:1183:35
stack backtrace:
0: 0x55c9a3719c44 - backtrace::backtrace::libunwind::trace::h5d52ba5f20882f09
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/libunwind.rs:86
1: 0x55c9a3719c44 - backtrace::backtrace::trace_unsynchronized::hceee092869668a74
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/mod.rs:66
2: 0x55c9a3719c44 - std::sys_common::backtrace::_print_fmt::ha312c2904605e4d5
at src/libstd/sys_common/backtrace.rs:78
3: 0x55c9a3719c44 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h5b9981092140b727
at src/libstd/sys_common/backtrace.rs:59
4: 0x55c9a3741c4c - core::fmt::write::h5f6d7d8de88b4173
at src/libcore/fmt/mod.rs:1063
5: 0x55c9a37167c3 - std::io::Write::write_fmt::h893169117de3cc15
at src/libstd/io/mod.rs:1426
6: 0x55c9a371c575 - std::sys_common::backtrace::_print::h8ab61d4120f7a335
at src/libstd/sys_common/backtrace.rs:62
7: 0x55c9a371c575 - std::sys_common::backtrace::print::h8aae19fbb153bf2a
at src/libstd/sys_common/backtrace.rs:49
8: 0x55c9a371c575 - std::panicking::default_hook::{{closure}}::h1ee5b7d8b6f83429
at src/libstd/panicking.rs:204
9: 0x55c9a371c2c2 - std::panicking::default_hook::hd6c32c13403f9210
at src/libstd/panicking.rs:224
10: 0x55c9a371cbd2 - std::panicking::rust_panic_with_hook::h1f2449d529a25f22
at src/libstd/panicking.rs:470
11: 0x55c9a35e9641 - std::panicking::begin_panic::h3ddf693881d64603
at /rustc/8d69840ab92ea7f4d323420088dd8c9775f180cd/src/libstd/panicking.rs:397
12: 0x55c9a3398470 - glutin::api::egl::choose_fbconfig::h04e78a1ed2633588
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/api/egl/mod.rs:1183
13: 0x55c9a3395cfe - glutin::api::egl::Context::new::h1c1b007132cdf149
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/api/egl/mod.rs:493
14: 0x55c9a2bdaaa2 - glutin::platform_impl::platform_impl::x11::Context::new_first_stage::{{closure}}::hcecac28c8aa24301
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:359
15: 0x55c9a2c59570 - glutin::platform_impl::platform_impl::x11::Context::new_first_stage::h557b25f369ed2c42
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:406
16: 0x55c9a2bdb4c4 - glutin::platform_impl::platform_impl::x11::Context::new_impl::h136b13c0349b30d7
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:483
17: 0x55c9a2bdb1b9 - glutin::platform_impl::platform_impl::x11::Context::new::{{closure}}::h2cf9896d1c6e717a
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:456
18: 0x55c9a2bdad70 - glutin::platform_impl::platform_impl::x11::Context::try_then_fallback::h6c6f89879b3bf782
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:170
19: 0x55c9a2bdb0ff - glutin::platform_impl::platform_impl::x11::Context::new::h4c455aeef6ac5e17
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:455
20: 0x55c9a2d4bda8 - glutin::platform_impl::platform_impl::Context::new_windowed::h0856a81a5f63c786
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/mod.rs:115
21: 0x55c9a2e31e55 - glutin::windowed::<impl glutin::ContextBuilder<T>>::build_windowed::haf9e4581a80fec6c
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/windowed.rs:362
22: 0x55c9a2bdfb09 - alacritty::window::create_gl_window::hb799c06d2f05dff1
at alacritty/src/window.rs:117
23: 0x55c9a2be00ab - alacritty::window::Window::new::hbd18ba165d4df9d8
at alacritty/src/window.rs:165
24: 0x55c9a2da7b08 - alacritty::display::Display::new::h4c150fb2e9862ebb
at alacritty/src/display.rs:153
25: 0x55c9a2cf5b3e - alacritty::run::hb1fabc20c3274617
at alacritty/src/main.rs:135
26: 0x55c9a2cf4eee - alacritty::main::h3df4c13c9b0e2efa
at alacritty/src/main.rs:102
27: 0x55c9a2c038cb - std::rt::lang_start::{{closure}}::hfc48421c32b9f9fa
at /rustc/8d69840ab92ea7f4d323420088dd8c9775f180cd/src/libstd/rt.rs:67
28: 0x55c9a371c693 - std::rt::lang_start_internal::{{closure}}::h9a4aa16acf1cdc99
at src/libstd/rt.rs:52
29: 0x55c9a371c693 - std::panicking::try::do_call::h0b6fc9f6090c1e2b
at src/libstd/panicking.rs:303
30: 0x55c9a3725737 - __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:86
31: 0x55c9a371d0ec - std::panicking::try::h9eaeeaa81242ec77
at src/libstd/panicking.rs:281
32: 0x55c9a371d0ec - std::panic::catch_unwind::h07d504c1b691e8fb
at src/libstd/panic.rs:394
33: 0x55c9a371d0ec - std::rt::lang_start_internal::hcea4e704875ab132
at src/libstd/rt.rs:51
34: 0x55c9a2c038a7 - std::rt::lang_start::hea5b2933c44e7fe9
at /rustc/8d69840ab92ea7f4d323420088dd8c9775f180cd/src/libstd/rt.rs:67
35: 0x55c9a2cf6aea - main
36: 0x7f2d318200b3 - __libc_start_main
37: 0x55c9a2b9519e - _start
38: 0x0 - <unknown>
That looks like you did not apply the patch. Please make sure that the glutin/src/api/egl/mod.rs file contains only a single instance of unimplemented!() with nothing between the parenthesis.
This is what I get when I try applying the patch
git apply new.diff
error: patch failed: glutin/src/api/egl/mod.rs:1180
error: glutin/src/api/egl/mod.rs: patch does not apply
And I did it manually.
I did the patch and this
RUST_BACKTRACE=full cargo run
Compiling libc v0.2.71
Compiling cfg-if v0.1.10
Compiling xml-rs v0.8.3
Compiling log v0.4.8
Compiling bitflags v1.2.1
Compiling proc-macro2 v1.0.18
Compiling unicode-xid v0.2.0
Compiling autocfg v1.0.0
Compiling pkg-config v0.3.17
Compiling lazy_static v1.4.0
Compiling libloading v0.6.2
Compiling void v1.0.2
Compiling byteorder v1.3.4
Compiling proc-macro2 v0.4.30
Compiling khronos_api v3.1.0
Compiling unicode-xid v0.1.0
Compiling getrandom v0.1.14
Compiling smallvec v1.4.0
Compiling syn v1.0.30
Compiling downcast-rs v1.1.1
Compiling slab v0.4.2
Compiling memchr v2.3.3
Compiling nix v0.17.0
Compiling version_check v0.9.2
Compiling lazycell v1.2.1
Compiling nix v0.14.1
Compiling siphasher v0.3.3
Compiling ppv-lite86 v0.2.8
Compiling once_cell v1.4.0
Compiling serde v1.0.111
Compiling same-file v1.0.6
Compiling maybe-uninit v2.0.0
Compiling scoped-tls v1.0.0
Compiling scopeguard v1.1.0
Compiling xdg v2.2.0
Compiling crc32fast v1.2.0
Compiling adler32 v1.0.4
Compiling arc-swap v0.4.7
Compiling linked-hash-map v0.5.3
Compiling ryu v1.0.5
Compiling foreign-types-shared v0.3.0
Compiling unicode-width v0.1.7
Compiling instant v0.1.4
Compiling dtoa v0.4.5
Compiling fnv v1.0.7
Compiling percent-encoding v2.1.0
Compiling utf8parse v0.2.0
Compiling rustc_tools_util v0.2.0
Compiling itoa v0.4.5
Compiling strsim v0.8.0
Compiling bytemuck v1.2.0
Compiling vec_map v0.8.2
Compiling ansi_term v0.11.0
Compiling base64 v0.12.1
Compiling urlocator v0.1.3
Compiling num-traits v0.2.11
Compiling num-integer v0.1.42
Compiling num-iter v0.1.40
Compiling num-rational v0.2.4
Compiling x11-dl v2.18.5
Compiling servo-fontconfig-sys v5.0.2
Compiling phf_shared v0.8.0
Compiling walkdir v2.3.1
Compiling nom v5.1.1
Compiling lock_api v0.3.4
Compiling inflate v0.4.5
Compiling yaml-rust v0.4.4
Compiling textwrap v0.11.0
Compiling phf v0.8.0
Compiling dlib v0.4.2
Compiling quote v1.0.6
Compiling quote v0.6.13
Compiling stb_truetype v0.3.1
Compiling deflate v0.8.4
Compiling jobserver v0.1.21
Compiling net2 v0.2.34
Compiling iovec v0.1.4
Compiling memmap v0.7.0
Compiling parking_lot_core v0.7.2
Compiling dirs-sys v0.3.5
Compiling raw-window-handle v0.3.3
Compiling signal-hook-registry v1.2.0
Compiling inotify-sys v0.1.3
Compiling shared_library v0.1.9
Compiling atty v0.2.14
Compiling filetime v0.2.10
Compiling time v0.1.43
Compiling gl_generator v0.13.1
Compiling gl_generator v0.14.0
Compiling xcb v0.9.0
Compiling wayland-sys v0.26.6
Compiling wayland-sys v0.23.6
Compiling wayland-scanner v0.23.6
Compiling wayland-scanner v0.26.6
Compiling vte_generate_state_changes v0.1.1
Compiling cc v1.0.54
Compiling ordered-float v1.0.2
Compiling approx v0.3.2
Compiling line_drawing v0.7.0
Compiling euclid v0.20.13
Compiling png v0.16.4
Compiling mio v0.6.22
Compiling rand_core v0.5.1
Compiling dirs v2.0.2
Compiling parking_lot v0.10.2
Compiling inotify v0.7.1
Compiling osmesa-sys v0.1.2
Compiling clap v2.33.1
Compiling xcursor v0.3.1
Compiling wayland-commons v0.26.6
Compiling wayland-commons v0.23.6
Compiling glutin_glx_sys v0.1.6
Compiling glutin_egl_sys v0.1.4
Compiling alacritty v0.5.0-dev (/home/tusqasi/clones/alacritty/alacritty)
Compiling vte v0.8.0
Compiling cmake v0.1.44
Compiling wayland-client v0.23.6
Compiling wayland-protocols v0.23.6
Compiling rusttype v0.8.3
Compiling wayland-client v0.26.6
Compiling wayland-protocols v0.26.6
Compiling libloading v0.5.2
Compiling mio-extras v2.0.6
Compiling signal-hook v0.1.15
Compiling rand_chacha v0.2.2
Compiling rand_pcg v0.2.1
Compiling serde_derive v1.0.111
Compiling foreign-types-macros v0.2.1
Compiling freetype-sys v0.12.0
Compiling expat-sys v2.1.6
Compiling rusttype v0.7.9
Compiling image v0.23.4
Compiling calloop v0.4.4
Compiling notify v4.0.15
Compiling rand v0.7.3
Compiling foreign-types v0.5.0
Compiling andrew v0.2.1
Compiling x11-clipboard v0.5.1
Compiling phf_generator v0.8.0
Compiling wayland-cursor v0.26.6
Compiling phf_codegen v0.8.0
Compiling freetype-rs v0.25.0
Compiling terminfo v0.7.3
Compiling servo-fontconfig v0.5.0
Compiling serde_yaml v0.8.12
Compiling serde_json v1.0.53
Compiling smithay-client-toolkit v0.9.1
Compiling font v0.1.0 (/home/tusqasi/clones/alacritty/font)
Compiling smithay-client-toolkit v0.6.6
Compiling smithay-clipboard v0.5.0
Compiling copypasta v0.7.0
Compiling winit v0.22.2
Compiling glutin v0.24.1
Compiling alacritty_terminal v0.5.0-dev (/home/tusqasi/clones/alacritty/alacritty_terminal)
warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
--> alacritty/src/cli.rs:71:21
|
71 | .author(crate_authors!("\n"))
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
--> alacritty/src/cli.rs:71:21
|
71 | .author(crate_authors!("\n"))
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
Finished dev [unoptimized + debuginfo] target(s) in 4m 51s
Running `target/debug/alacritty`
thread 'main' panicked at 'not implemented', /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/api/egl/mod.rs:1183:35
stack backtrace:
0: 0x55e2b833cc44 - backtrace::backtrace::libunwind::trace::h5d52ba5f20882f09
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/libunwind.rs:86
1: 0x55e2b833cc44 - backtrace::backtrace::trace_unsynchronized::hceee092869668a74
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/mod.rs:66
2: 0x55e2b833cc44 - std::sys_common::backtrace::_print_fmt::ha312c2904605e4d5
at src/libstd/sys_common/backtrace.rs:78
3: 0x55e2b833cc44 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h5b9981092140b727
at src/libstd/sys_common/backtrace.rs:59
4: 0x55e2b8364c4c - core::fmt::write::h5f6d7d8de88b4173
at src/libcore/fmt/mod.rs:1063
5: 0x55e2b83397c3 - std::io::Write::write_fmt::h893169117de3cc15
at src/libstd/io/mod.rs:1426
6: 0x55e2b833f575 - std::sys_common::backtrace::_print::h8ab61d4120f7a335
at src/libstd/sys_common/backtrace.rs:62
7: 0x55e2b833f575 - std::sys_common::backtrace::print::h8aae19fbb153bf2a
at src/libstd/sys_common/backtrace.rs:49
8: 0x55e2b833f575 - std::panicking::default_hook::{{closure}}::h1ee5b7d8b6f83429
at src/libstd/panicking.rs:204
9: 0x55e2b833f2c2 - std::panicking::default_hook::hd6c32c13403f9210
at src/libstd/panicking.rs:224
10: 0x55e2b833fbd2 - std::panicking::rust_panic_with_hook::h1f2449d529a25f22
at src/libstd/panicking.rs:470
11: 0x55e2b820c641 - std::panicking::begin_panic::h3ddf693881d64603
at /rustc/8d69840ab92ea7f4d323420088dd8c9775f180cd/src/libstd/panicking.rs:397
12: 0x55e2b7fbb470 - glutin::api::egl::choose_fbconfig::h04e78a1ed2633588
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/api/egl/mod.rs:1183
13: 0x55e2b7fb8cfe - glutin::api::egl::Context::new::h1c1b007132cdf149
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/api/egl/mod.rs:493
14: 0x55e2b77fdaa2 - glutin::platform_impl::platform_impl::x11::Context::new_first_stage::{{closure}}::hcecac28c8aa24301
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:359
15: 0x55e2b787c570 - glutin::platform_impl::platform_impl::x11::Context::new_first_stage::h557b25f369ed2c42
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:406
16: 0x55e2b77fe4c4 - glutin::platform_impl::platform_impl::x11::Context::new_impl::h136b13c0349b30d7
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:483
17: 0x55e2b77fe1b9 - glutin::platform_impl::platform_impl::x11::Context::new::{{closure}}::h2cf9896d1c6e717a
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:456
18: 0x55e2b77fdd70 - glutin::platform_impl::platform_impl::x11::Context::try_then_fallback::h6c6f89879b3bf782
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:170
19: 0x55e2b77fe0ff - glutin::platform_impl::platform_impl::x11::Context::new::h4c455aeef6ac5e17
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:455
20: 0x55e2b796eda8 - glutin::platform_impl::platform_impl::Context::new_windowed::h0856a81a5f63c786
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/mod.rs:115
21: 0x55e2b7a54e55 - glutin::windowed::<impl glutin::ContextBuilder<T>>::build_windowed::haf9e4581a80fec6c
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/windowed.rs:362
22: 0x55e2b7802b09 - alacritty::window::create_gl_window::hb799c06d2f05dff1
at alacritty/src/window.rs:117
23: 0x55e2b78030ab - alacritty::window::Window::new::hbd18ba165d4df9d8
at alacritty/src/window.rs:165
24: 0x55e2b79cab08 - alacritty::display::Display::new::h4c150fb2e9862ebb
at alacritty/src/display.rs:153
25: 0x55e2b7918b3e - alacritty::run::hb1fabc20c3274617
at alacritty/src/main.rs:135
26: 0x55e2b7917eee - alacritty::main::h3df4c13c9b0e2efa
at alacritty/src/main.rs:102
27: 0x55e2b78268cb - std::rt::lang_start::{{closure}}::hfc48421c32b9f9fa
at /rustc/8d69840ab92ea7f4d323420088dd8c9775f180cd/src/libstd/rt.rs:67
28: 0x55e2b833f693 - std::rt::lang_start_internal::{{closure}}::h9a4aa16acf1cdc99
at src/libstd/rt.rs:52
29: 0x55e2b833f693 - std::panicking::try::do_call::h0b6fc9f6090c1e2b
at src/libstd/panicking.rs:303
30: 0x55e2b8348737 - __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:86
31: 0x55e2b83400ec - std::panicking::try::h9eaeeaa81242ec77
at src/libstd/panicking.rs:281
32: 0x55e2b83400ec - std::panic::catch_unwind::h07d504c1b691e8fb
at src/libstd/panic.rs:394
33: 0x55e2b83400ec - std::rt::lang_start_internal::hcea4e704875ab132
at src/libstd/rt.rs:51
34: 0x55e2b78268a7 - std::rt::lang_start::hea5b2933c44e7fe9
at /rustc/8d69840ab92ea7f4d323420088dd8c9775f180cd/src/libstd/rt.rs:67
35: 0x55e2b7919aea - main
36: 0x7f80ffc2e0b3 - __libc_start_main
37: 0x55e2b77b819e - _start
38: 0x0 - <unknown>
hey man is this it:
``cargo build --release
warning: /home/tusqasi/clones/alacritty/Cargo.toml: unused manifest key: profile.release.glutin
Compiling libc v0.2.71
Compiling cfg-if v0.1.10
Compiling xml-rs v0.8.3
Compiling log v0.4.8
Compiling proc-macro2 v1.0.18
Compiling bitflags v1.2.1
Compiling unicode-xid v0.2.0
Compiling autocfg v1.0.0
Compiling lazy_static v1.4.0
Compiling pkg-config v0.3.17
Compiling libloading v0.6.2
Compiling void v1.0.2
Compiling byteorder v1.3.4
Compiling khronos_api v3.1.0
Compiling proc-macro2 v0.4.30
Compiling syn v1.0.30
Compiling unicode-xid v0.1.0
Compiling smallvec v1.4.0
Compiling getrandom v0.1.14
Compiling downcast-rs v1.1.1
Compiling slab v0.4.2
Compiling memchr v2.3.3
Compiling nix v0.17.0
Compiling version_check v0.9.2
Compiling nix v0.14.1
Compiling lazycell v1.2.1
Compiling siphasher v0.3.3
Compiling ppv-lite86 v0.2.8
Compiling once_cell v1.4.0
Compiling serde v1.0.111
Compiling maybe-uninit v2.0.0
Compiling same-file v1.0.6
Compiling scoped-tls v1.0.0
Compiling scopeguard v1.1.0
Compiling crc32fast v1.2.0
Compiling adler32 v1.0.4
Compiling xdg v2.2.0
Compiling linked-hash-map v0.5.3
Compiling arc-swap v0.4.7
Compiling unicode-width v0.1.7
Compiling ryu v1.0.5
Compiling foreign-types-shared v0.3.0
Compiling utf8parse v0.2.0
Compiling percent-encoding v2.1.0
Compiling instant v0.1.4
Compiling dtoa v0.4.5
Compiling fnv v1.0.7
Compiling rustc_tools_util v0.2.0
Compiling vec_map v0.8.2
Compiling base64 v0.12.1
Compiling itoa v0.4.5
Compiling strsim v0.8.0
Compiling bytemuck v1.2.0
Compiling ansi_term v0.11.0
Compiling urlocator v0.1.3
Compiling num-traits v0.2.11
Compiling num-integer v0.1.42
Compiling num-rational v0.2.4
Compiling num-iter v0.1.40
Compiling x11-dl v2.18.5
Compiling servo-fontconfig-sys v5.0.2
Compiling phf_shared v0.8.0
Compiling walkdir v2.3.1
Compiling lock_api v0.3.4
Compiling inflate v0.4.5
Compiling nom v5.1.1
Compiling yaml-rust v0.4.4
Compiling textwrap v0.11.0
Compiling phf v0.8.0
Compiling quote v1.0.6
Compiling dlib v0.4.2
Compiling jobserver v0.1.21
Compiling iovec v0.1.4
Compiling net2 v0.2.34
Compiling memmap v0.7.0
Compiling parking_lot_core v0.7.2
Compiling dirs-sys v0.3.5
Compiling shared_library v0.1.9
Compiling signal-hook-registry v1.2.0
Compiling raw-window-handle v0.3.3
Compiling inotify-sys v0.1.3
Compiling atty v0.2.14
Compiling filetime v0.2.10
Compiling time v0.1.43
Compiling stb_truetype v0.3.1
Compiling deflate v0.8.4
Compiling gl_generator v0.13.1
Compiling gl_generator v0.14.0
Compiling quote v0.6.13
Compiling xcb v0.9.0
Compiling wayland-sys v0.26.6
Compiling wayland-sys v0.23.6
Compiling wayland-scanner v0.26.6
Compiling cc v1.0.54
Compiling ordered-float v1.0.2
Compiling approx v0.3.2
Compiling line_drawing v0.7.0
Compiling euclid v0.20.13
Compiling rand_core v0.5.1
Compiling mio v0.6.22
Compiling vte_generate_state_changes v0.1.1
Compiling parking_lot v0.10.2
Compiling dirs v2.0.2
Compiling osmesa-sys v0.1.2
Compiling inotify v0.7.1
Compiling clap v2.33.1
Compiling png v0.16.4
Compiling wayland-scanner v0.23.6
Compiling glutin_glx_sys v0.1.6
Compiling glutin_egl_sys v0.1.4
Compiling wayland-commons v0.26.6
Compiling xcursor v0.3.1
Compiling alacritty v0.5.0-dev (/home/tusqasi/clones/alacritty/alacritty)
Compiling wayland-commons v0.23.6
Compiling cmake v0.1.44
Compiling rusttype v0.8.3
Compiling rand_pcg v0.2.1
Compiling rand_chacha v0.2.2
Compiling mio-extras v2.0.6
Compiling signal-hook v0.1.15
Compiling wayland-client v0.26.6
Compiling wayland-protocols v0.26.6
Compiling libloading v0.5.2
Compiling vte v0.8.0
Compiling wayland-client v0.23.6
Compiling wayland-protocols v0.23.6
Compiling serde_derive v1.0.111
Compiling foreign-types-macros v0.2.1
Compiling rusttype v0.7.9
Compiling freetype-sys v0.12.0
Compiling expat-sys v2.1.6
Compiling image v0.23.4
Compiling rand v0.7.3
Compiling calloop v0.4.4
Compiling notify v4.0.15
Compiling andrew v0.2.1
Compiling x11-clipboard v0.5.1
Compiling foreign-types v0.5.0
Compiling phf_generator v0.8.0
Compiling phf_codegen v0.8.0
Compiling wayland-cursor v0.26.6
Compiling freetype-rs v0.25.0
Compiling terminfo v0.7.3
Compiling smithay-client-toolkit v0.9.1
Compiling smithay-client-toolkit v0.6.6
Compiling servo-fontconfig v0.5.0
Compiling serde_yaml v0.8.12
Compiling serde_json v1.0.53
Compiling smithay-clipboard v0.5.0
Compiling winit v0.22.2
Compiling font v0.1.0 (/home/tusqasi/clones/alacritty/font)
Compiling copypasta v0.7.0
Compiling glutin v0.24.1
Compiling alacritty_terminal v0.5.0-dev (/home/tusqasi/clones/alacritty/alacritty_terminal)
warning: use of deprecated item 'std::sync::ONCE_INIT': thenewfunction is now preferred
--> alacritty/src/cli.rs:71:21
|
71 | .author(crate_authors!("\n"))
| ^^^^^^^^^^^^^^^^^^^^
|
= note:#[warn(deprecated)]` on by default
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
warning: use of deprecated item 'std::sync::ONCE_INIT': the new function is now preferred
--> alacritty/src/cli.rs:71:21
|
71 | .author(crate_authors!("\n"))
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
Finished release [optimized + debuginfo] target(s) in 13m 22s
```
on running ./RUST_BACKTRACE=full alacritty in (/alacritty/taget/release/)
(thought this is it)
RUST_BACKTRACE=full ./alacritty
thread 'main' panicked at 'not implemented', <::std::macros::panic macros>:2:4
stack backtrace:
0: 0x55a0afa3f4ad - backtrace::backtrace::libunwind::trace::h5d52ba5f20882f09
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/libunwind.rs:86
1: 0x55a0afa3f4ad - backtrace::backtrace::trace_unsynchronized::hceee092869668a74
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.44/src/backtrace/mod.rs:66
2: 0x55a0afa3f4ad - std::sys_common::backtrace::_print_fmt::ha312c2904605e4d5
at src/libstd/sys_common/backtrace.rs:78
3: 0x55a0afa3f4ad - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h5b9981092140b727
at src/libstd/sys_common/backtrace.rs:59
4: 0x55a0af971c5c - core::fmt::write::h5f6d7d8de88b4173
at src/libcore/fmt/mod.rs:1063
5: 0x55a0afa3ec61 - std::io::Write::write_fmt::h893169117de3cc15
at src/libstd/io/mod.rs:1426
6: 0x55a0afa3e815 - std::sys_common::backtrace::_print::h8ab61d4120f7a335
at src/libstd/sys_common/backtrace.rs:62
7: 0x55a0afa3e815 - std::sys_common::backtrace::print::h8aae19fbb153bf2a
at src/libstd/sys_common/backtrace.rs:49
8: 0x55a0afa3e815 - std::panicking::default_hook::{{closure}}::h1ee5b7d8b6f83429
at src/libstd/panicking.rs:204
9: 0x55a0afa3ddaa - std::panicking::default_hook::hd6c32c13403f9210
at src/libstd/panicking.rs:224
10: 0x55a0afa3ddaa - std::panicking::rust_panic_with_hook::h1f2449d529a25f22
at src/libstd/panicking.rs:470
11: 0x55a0af8a6164 - std::panicking::begin_panic::h88b076563d2b34ce
at /rustc/8d69840ab92ea7f4d323420088dd8c9775f180cd/src/libstd/panicking.rs:397
12: 0x55a0af797395 - glutin::api::egl::choose_fbconfig::h56ff9a4e3ad7bf60
at /home/tusqasi/clones/alacritty/<::std::macros::panic macros>:2
13: 0x55a0af797395 - glutin::api::egl::Context::new::h78a57a5ca9f14947
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/api/egl/mod.rs:493
14: 0x55a0af854bd8 - glutin::platform_impl::platform_impl::x11::Context::new_first_stage::{{closure}}::h242e98539d281664
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:359
15: 0x55a0af84ff21 - glutin::platform_impl::platform_impl::x11::Context::new_first_stage::h0a0ece83e0d9e2f2
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:406
16: 0x55a0af84ff21 - glutin::platform_impl::platform_impl::x11::Context::new_impl::hb2872adb59846b33
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:483
17: 0x55a0af84ff21 - glutin::platform_impl::platform_impl::x11::Context::new::{{closure}}::h9575757f7b2ee63b
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:456
18: 0x55a0af891ede - glutin::platform_impl::platform_impl::x11::Context::new::h0390ca96dcc05af7
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/x11.rs:170
19: 0x55a0af891ede - glutin::platform_impl::platform_impl::Context::new_windowed::he9077bd9083b1c51
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/platform_impl/unix/mod.rs:115
20: 0x55a0af891ede - glutin::windowed::<impl glutin::ContextBuilder<T>>::build_windowed::h488b4b10c586ce7a
at /home/tusqasi/.cargo/registry/src/github.com-1ecc6299db9ec823/glutin-0.24.1/src/windowed.rs:362
21: 0x55a0af88394e - alacritty::window::create_gl_window::h9fcb587453453784
at alacritty/src/window.rs:117
22: 0x55a0af880e07 - alacritty::window::Window::new::h65a7c21af2cc4bdf
at alacritty/src/window.rs:165
23: 0x55a0af85b13f - alacritty::display::Display::new::h6018b2b8c86ae7fc
at alacritty/src/display.rs:153
24: 0x55a0af7b6ee0 - alacritty::run::hdf96085f934a5ab3
at alacritty/src/main.rs:135
25: 0x55a0af7b6ee0 - alacritty::main::h2b52f0befe5c4951
at alacritty/src/main.rs:102
26: 0x55a0af8dacc3 - std::rt::lang_start::{{closure}}::hefdc219683f18a5b
at /rustc/8d69840ab92ea7f4d323420088dd8c9775f180cd/src/libstd/rt.rs:67
27: 0x55a0af7b1f83 - main
28: 0x7f76bd5060b3 - __libc_start_main
29: 0x55a0af76519e - _start
30: 0x0 - <unknown>
how to heck does this work with others, man this is pre-pre-alpha?
how to heck does this work with others, man this is pre-pre-alpha?
For most people it just works, your GPU just uses some API that isn't supported. Which API that is, is why I'm asking you to provide the actual patched error message.
Most people using Alacritty are also able to apply a two line patch and get that going by just following our installation instructions, unfortunately following that lead seems to be mostly a waste of time here.
I can only recommend trying to switch between proprietary/free driver, that's likely the only thing that might just work. For everything else the best way forward is likely to wait for someone else who is able to reproduce this so they can help with troubleshooting it.
Well Last time I changed drivers for alacrrity, the whole system crashed and I had to reinstall the whole os. I will try it with a backup in place this time.
Thanks for taking the effort. Should I close this issue or what?
Should I close this issue or what?
As long as you've actually got drivers for your GPU, there should be an underlying issue regardless of being able to identify it. So no, you should not close this issue.
It is working now. I now in artix Linux.
(Don't know what made it work )
Closing for now, let me know when you run into it again.