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

Missing screen mode for crtc specified mode id #9105

Closed
1 task done
VitorRamos opened this issue Mar 9, 2024 · 1 comment
Closed
1 task done

Missing screen mode for crtc specified mode id #9105

VitorRamos opened this issue Mar 9, 2024 · 1 comment
Labels
defect [core label] linux panic / crash [core label]

Comments

@VitorRamos
Copy link
Contributor

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Panic in the initialization on:

Thread "main" panicked with "Missing screen mode for crtc specified mode id" at crates/gpui/src/platform/linux/x11/client.rs:330:14
0: Zed::init_panic_hook::{closure#0}
at crates/zed/src/main.rs:596:29
1: <alloc::boxed::Box<F,A> as core::ops::function::Fn>::call
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
std::panicking::rust_panic_with_hook
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:783:13
2: std::panicking::begin_panic_handler::{{closure}}
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:657:13
3: std::sys_common::backtrace::__rust_end_short_backtrace
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18

The first crtc may not be a valid one.

Environment

Linux x11

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

@VitorRamos VitorRamos added admin read Pending admin review defect [core label] panic / crash [core label] triage Maintainer needs to classify the issue labels Mar 9, 2024
@Moshyfawn Moshyfawn added linux and removed triage Maintainer needs to classify the issue labels Mar 10, 2024
@JosephTLyons JosephTLyons removed the admin read Pending admin review label Mar 11, 2024
mikayla-maki pushed a commit that referenced this issue Mar 11, 2024
Fix panic caused by missing screen mode for specified crtc mode id #9105
by searching over all crtcs instead of using the first one which may be
invalid.
@mikayla-maki
Copy link
Contributor

I believe this has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect [core label] linux panic / crash [core label]
Projects
None yet
Development

No branches or pull requests

4 participants