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

Cosmic Store crash on launch #71

Closed
aBgrOnGak opened this issue May 13, 2024 · 5 comments
Closed

Cosmic Store crash on launch #71

aBgrOnGak opened this issue May 13, 2024 · 5 comments

Comments

@aBgrOnGak
Copy link

Hello and good day.

As per title, it did not give any warning whatsoever.

How do I inspect any logs or something? FYI, I removed pop shop before installing cosmic store.

@mehedi-iut
Copy link

mehedi-iut commented May 14, 2024

Solved the issue by switching to Wayland

@jjinco33
Copy link

Impacted by same, did not try switching to Wayland. If needed/matters:

$ cosmic-store
[2024-05-12T03:55:36Z ERROR i18n_embed::fluent] Error while adding resource to bundle: Overriding { kind: Message, id: "utilities" }.
[2024-05-12T03:55:36Z ERROR i18n_embed::fluent] Error while adding resource to bundle: Overriding { kind: Message, id: "utilities" }.
[2024-05-12T03:55:36Z WARN wgpu_hal::gles::egl] No windowing system present. Using surfaceless platform
[2024-05-12T03:55:36Z WARN wgpu_hal::gles::egl] No config found!
[2024-05-12T03:55:36Z WARN wgpu_hal::gles::egl] No config found!
[2024-05-12T03:55:36Z ERROR winit::platform_impl::platform] X11 error: XError {
description: "BadMatch (invalid parameter attributes)",
error_code: 8,
request_code: 149,
minor_code: 4,
}
[2024-05-12T03:55:36Z ERROR winit::platform_impl::platform] X11 error: XError {
description: "BadMatch (invalid parameter attributes)",
error_code: 8,
request_code: 149,
minor_code: 4,
}
[2024-05-12T03:55:36Z ERROR winit::platform_impl::platform] X11 error: XError {
description: "BadMatch (invalid parameter attributes)",
error_code: 8,
request_code: 149,
minor_code: 4,
}
thread 'main' panicked at /build/cosmic-store-FpsAEw/cosmic-store-0.1.0171416602222.04225ebca/vendor/winit/src/platform_impl/linux/x11/window.rs:1208:18:
Failed to call XMapRaised: XError { description: "BadMatch (invalid parameter attributes)", error_code: 8, request_code: 149, minor_code: 4 }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread 'main' panicked at /build/cosmic-store-FpsAEw/cosmic-store-0.1.0
171416602222.04225ebca/vendor/winit/src/platform_impl/linux/x11/window.rs:601:34:
called Result::unwrap() on an Err value: PoisonError { .. }
stack backtrace:
0: 0x55c43081715b -
1: 0x55c43085d9e0 -
2: 0x55c43080aabd -
3: 0x55c430816f44 -
4: 0x55c43084021a -
5: 0x55c43083febd -
6: 0x55c430840638 -
7: 0x55c43081753e -
8: 0x55c430817376 -
9: 0x55c430840362 -
10: 0x55c42f74e665 -
11: 0x55c42f74ee13 -
12: 0x55c42ff06203 -
13: 0x55c42fee3a6c -
14: 0x55c42f9575f4 -
15: 0x55c42f8bd02c -
16: 0x55c42f8c8bc4 -
17: 0x55c42f984899 -
18: 0x55c42f8c3865 -
19: 0x55c42f80a28e -
20: 0x55c42f9c8013 -
21: 0x55c42f8c6ba9 -
22: 0x55c430840254 -
23: 0x55c4308262eb -
24: 0x55c42f8c6b9e -
25: 0x76092a029d90 - __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
26: 0x76092a029e40 - __libc_start_main_impl
at ./csu/../csu/libc-start.c:392:3
27: 0x55c42f74f245 -
28: 0x0 -
thread 'main' panicked at library/core/src/panicking.rs:144:5:
panic in a destructor during cleanup
thread caused non-unwinding panic. aborting.
Aborted (core dumped)

@jjinco33
Copy link

Issue appears resolved now.

@papercutter0324
Copy link

I just installed Pop_OS 22.04 a few days ago and came across this problem. Under Wayland, Cosmic-Store opens no problem; but under x11, it absolutely refused to. In my search for a soloution, I came across a Reddit post by a user with the exact same problem. I will include their error log (convenient since I still have that page open), but it is near identical to mine.

I didn't run the back trace, but one of the comments had the exact solution I needed. By running the command 'env WGPU_ADAPTER_NAME=3070 cosmic-store', it loaded up under X11 no problem.

Error log from Reddit:

[2024-06-21T14:50:18Z WARN wgpu_hal::gles::egl] No windowing system present. Using surfaceless platform

[2024-06-21T14:50:18Z WARN wgpu_hal::gles::egl] No config found!

[2024-06-21T14:50:18Z WARN wgpu_hal::gles::egl] No config found!

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "BadMatch (invalid parameter attributes)",

error_code: 8,

request_code: 149,

minor_code: 4,

}

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "BadMatch (invalid parameter attributes)",

error_code: 8,

request_code: 149,

minor_code: 4,

}

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "BadMatch (invalid parameter attributes)",

error_code: 8,

request_code: 149,

minor_code: 4,

}

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "BadMatch (invalid parameter attributes)",

error_code: 8,

request_code: 149,

minor_code: 4,

}

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "BadMatch (invalid parameter attributes)",

error_code: 8,

request_code: 149,

minor_code: 4,

}

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "BadMatch (invalid parameter attributes)",

error_code: 8,

request_code: 149,

minor_code: 4,

}

[2024-06-21T14:50:18Z ERROR winit::platform_impl::platform] X11 error: XError {

description: "136",

error_code: 136,

request_code: 148,

minor_code: 1,

}

[2024-06-21T14:50:19Z ERROR iced_winit::multi_window] Error Timeout when presenting surface.

[2024-06-21T14:50:20Z ERROR iced_winit::multi_window] Error Timeout when presenting surface.

[2024-06-21T14:50:21Z ERROR iced_winit::multi_window] Error Timeout when presenting surface.

[2024-06-21T14:50:22Z ERROR iced_winit::multi_window] Error Timeout when presenting surface.

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

[2024-06-21T14:50:22Z WARN iced_futures::subscription::tracker] Error sending event to subscription: TrySendError { kind: Full }

thread 'main' panicked at /build/cosmic-store-dR5whJ/cosmic-store-0.1.0171828178022.04~ba3452a/vendor/winit/src/platform_impl/linux/x11/event_processor.rs:1042:30:

Failed to unfocus input context: XError { description: "136", error_code: 136, request_code: 148, minor_code: 1 }

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@abhi8569
Copy link

abhi8569 commented Jun 25, 2024

env WGPU_ADAPTER_NAME=3070 cosmic-store

Is there a automated way to launch cosmic-store with this command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants