Nixpkgs version
Describe the bug
when login into a cosmic session it hangs with a blinking cursor
Steps to reproduce
Install cosmic and try to login
Expected behaviour
cosmic starts up normaly
Screenshots
No response
Relevant log output
Nov 23 13:28:30 <hostname> .cosmic-comp-wrapped[2515]: Unable to become drm master, assuming unprivileged mode
Nov 23 13:28:30 <hostname> .cosmic-comp-wrapped[2515]: thread 'main' panicked at 'Failed to load LibEGL: DlOpen { desc: "libEGL.so.1: cannot open >
0: log_panics::Config::install_panic_hook::{{closure}}
1: std::panicking::panic_with_hook
2: std::panicking::panic_handler::{{closure}}
3: std::sys::backtrace::__rust_end_short_backtrace
4: __rustc::rust_begin_unwind
5: core::panicking::panic_fmt
6: core::result::unwrap_failed
7: core::ops::function::FnOnce::call_once
8: std::sync::poison::once::Once::call_once_force::{{closure}}
9: std::sys::sync::once::futex::Once::call
10: smithay::backend::egl::ffi::make_sure_egl_is_loaded::{{closure}}::{{closure}}
11: smithay::backend::egl::ffi::egl::metaloadfn
12: smithay::backend::egl::ffi::egl::load_with::inner
13: std::sync::poison::once::Once::call_once::{{closure}}
14: std::sys::sync::once::futex::Once::call
15: smithay::backend::egl::ffi::make_sure_egl_is_loaded
16: smithay::backend::egl::display::EGLDisplay::new
17: cosmic_comp::backend::kms::device::init_egl
18: cosmic_comp::backend::kms::device::<impl cosmic_comp::state::State>::device_added
19: cosmic_comp::backend::kms::init_backend
20: cosmic_comp::backend::init_backend_auto
21: cosmic_comp::run
22: cosmic_comp::main
23: std::sys::backtrace::__rust_begin_short_backtrace
24: main
25: __libc_start_call_main
26: __libc_start_main_alias_1
27: _start
Nov 23 13:28:30 <hostname> .cosmic-comp-wrapped[2515]: Failed to restore previous state. Error: Invalid argument (os error 22)
Nov 23 13:28:30 <hostname> cosmic-session[2466]: process ' COSMIC_SESSION_SOCK=12 cosmic-comp ' failed with code 101
Nov 23 13:28:30 <hostname> cosmic-session[2466]: cosmic-comp exited with error code 101
Nov 23 13:28:30 <hostname> cosmic-session[2466]: draining stdin receiver before restarting process
Nov 23 13:28:30 <hostname> cosmic-session[2467]: sleeping for 3ms before restarting process cosmic-comp (restart 0)
Nov 23 13:28:30 <hostname> cosmic-session[2466]: restarted process ' COSMIC_SESSION_SOCK=12 cosmic-comp ', now at 1 restarts
Nov 23 13:28:30 <hostname> cosmic-session[2466]: process 'ProcessKey(1v1)' cancelled
Nov 23 13:28:30 <hostname> cosmic-session[2466]: cosmic-comp exited with error code 137
Additional context
No response
System metadata
fetching path input 'path:/nix/store/rqigshwjn8kaj3g472gv0jk99xw85m40-source'
these 6 paths will be fetched (0.77 MiB download, 10.25 MiB unpacked):
/nix/store/vm303svk9lm31riwv42q75zbrbwrcypk-file-5.45
/nix/store/a7nvqa7rkfqpa6vspbncal3d6flbnyj8-gnu-config-2024-01-01
/nix/store/n7qxwqwbhxhrhdym3bhprf0lvymli2iv-gnumake-4.4.1
/nix/store/ayfx0nn300ggdkvdvjnhb17fqwdzq4fi-patchelf-0.15.2
/nix/store/k5z8rkvj1fn1nrf05l5a86aflc5s1p6m-stdenv-linux
/nix/store/f8w8n1sdi14gkgwnmshgnannjfs5p976-update-autotools-gnu-config-scripts-hook
copying path '/nix/store/a7nvqa7rkfqpa6vspbncal3d6flbnyj8-gnu-config-2024-01-01' from 'https://cache.nixos.org'...
copying path '/nix/store/n7qxwqwbhxhrhdym3bhprf0lvymli2iv-gnumake-4.4.1' from 'https://cache.nixos.org'...
copying path '/nix/store/vm303svk9lm31riwv42q75zbrbwrcypk-file-5.45' from 'https://cache.nixos.org'...
copying path '/nix/store/ayfx0nn300ggdkvdvjnhb17fqwdzq4fi-patchelf-0.15.2' from 'https://cache.nixos.org'...
copying path '/nix/store/f8w8n1sdi14gkgwnmshgnannjfs5p976-update-autotools-gnu-config-scripts-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/k5z8rkvj1fn1nrf05l5a86aflc5s1p6m-stdenv-linux' from 'https://cache.nixos.org'...
- system:
"x86_64-linux"
- host os:
Linux 6.17.8, NixOS, 25.11 (Xantusia), 25.11.20251121.2ac8b8e
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Lix, like Nix) 2.93.3 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux, x86_64-v4-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: ~/.config/nix/nix.conf:/nix/store/f2v7r2g04j7chwyl15xz1iasfs2kx80k-stylix-kde-config/nix/nix.conf:/etc/xdg/nix/nix.conf:~/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:~/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/<username>/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/i6lm069c9din9v4ry6szspx5zrn0qzhv-lix-2.93.3/share
- channels(root):
"home-manager, nixos"
- nixpkgs:
/nix/store/rqigshwjn8kaj3g472gv0jk99xw85m40-source
Notify maintainers
@alyssais @nyabinary @HeitorAugustoLN @Pandapip1 @a-kenji @ahoneybun @drakon64 @michaelBelsanti @thefossguy
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.
Nixpkgs version
Describe the bug
when login into a cosmic session it hangs with a blinking cursor
Steps to reproduce
Install cosmic and try to login
Expected behaviour
cosmic starts up normaly
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
fetching path input 'path:/nix/store/rqigshwjn8kaj3g472gv0jk99xw85m40-source'
these 6 paths will be fetched (0.77 MiB download, 10.25 MiB unpacked):
/nix/store/vm303svk9lm31riwv42q75zbrbwrcypk-file-5.45
/nix/store/a7nvqa7rkfqpa6vspbncal3d6flbnyj8-gnu-config-2024-01-01
/nix/store/n7qxwqwbhxhrhdym3bhprf0lvymli2iv-gnumake-4.4.1
/nix/store/ayfx0nn300ggdkvdvjnhb17fqwdzq4fi-patchelf-0.15.2
/nix/store/k5z8rkvj1fn1nrf05l5a86aflc5s1p6m-stdenv-linux
/nix/store/f8w8n1sdi14gkgwnmshgnannjfs5p976-update-autotools-gnu-config-scripts-hook
copying path '/nix/store/a7nvqa7rkfqpa6vspbncal3d6flbnyj8-gnu-config-2024-01-01' from 'https://cache.nixos.org'...
copying path '/nix/store/n7qxwqwbhxhrhdym3bhprf0lvymli2iv-gnumake-4.4.1' from 'https://cache.nixos.org'...
copying path '/nix/store/vm303svk9lm31riwv42q75zbrbwrcypk-file-5.45' from 'https://cache.nixos.org'...
copying path '/nix/store/ayfx0nn300ggdkvdvjnhb17fqwdzq4fi-patchelf-0.15.2' from 'https://cache.nixos.org'...
copying path '/nix/store/f8w8n1sdi14gkgwnmshgnannjfs5p976-update-autotools-gnu-config-scripts-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/k5z8rkvj1fn1nrf05l5a86aflc5s1p6m-stdenv-linux' from 'https://cache.nixos.org'...
"x86_64-linux"Linux 6.17.8, NixOS, 25.11 (Xantusia), 25.11.20251121.2ac8b8eyesyesnix-env (Lix, like Nix) 2.93.3 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux, x86_64-v4-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: ~/.config/nix/nix.conf:/nix/store/f2v7r2g04j7chwyl15xz1iasfs2kx80k-stylix-kde-config/nix/nix.conf:/etc/xdg/nix/nix.conf:~/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:~/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/<username>/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/i6lm069c9din9v4ry6szspx5zrn0qzhv-lix-2.93.3/share"home-manager, nixos"/nix/store/rqigshwjn8kaj3g472gv0jk99xw85m40-sourceNotify maintainers
@alyssais @nyabinary @HeitorAugustoLN @Pandapip1 @a-kenji @ahoneybun @drakon64 @michaelBelsanti @thefossguy
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.