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

[Bug] comsic-session crashes when switching inputs using a KVM #840

Open
robrotheram opened this issue Aug 27, 2024 · 2 comments
Open

[Bug] comsic-session crashes when switching inputs using a KVM #840

robrotheram opened this issue Aug 27, 2024 · 2 comments

Comments

@robrotheram
Copy link

robrotheram commented Aug 27, 2024

I use a hardware KVM switch to swap between a windows laptop and a desktop running the latest POP-OS iso, when I switch inputs the cosmic session is lost.

Reproduce

  1. I am logged into a pop-os session and have a few windows open Firefox, terminal.
  2. I change inputs on my kvm onto the laptop.
  3. I then change back to the pop-os desktop and I am still logged in but all my open programs have been lost.

This does not happen if I turn on and off my monitor even though the KVM switch. So I suspect it be due to the strange signal the switch sends when its swapping inputs.

Cosmic session errors:

process ' COSMIC_SESSION_SOCK=12 cosmic-comp ' failed with code 101
Aug 27 16:52:46 pop-os cosmic-session[1282]: cosmic-comp exited with error code 101

Cosmic Comp errors:

Aug 27 16:52:46 pop-os cosmic-comp[26679]: Failed to destroy old mode property blob: No such file or directory (os error 2)
Aug 27 16:52:46 pop-os cosmic-comp[26679]: thread 'main' panicked at 'called `Option::unwrap()` on a `None` value': src/shell/mod.rs:958
                                              0: <unknown>
                                              1: <unknown>
                                              2: <unknown>
                                              3: <unknown>
                                              4: <unknown>
                                              5: <unknown>
                                              6: <unknown>
                                              7: <unknown>
                                              8: <unknown>
                                              9: <unknown>
                                             10: <unknown>
                                             11: <unknown>
                                             12: <unknown>
                                             13: <unknown>
                                             14: <unknown>
                                             15: <unknown>
                                             16: <unknown>
                                             17: __libc_start_main
                                             18: <unknown>
Aug 27 16:52:46 pop-os cosmic-comp[26679]: [EGL] 0x3001 (NOT_INITIALIZED) eglDestroySync: EGL_NOT_INITIALIZED error: In eglDestroySync: EGLDisplay (0x57b291964010) not intiialized
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Failed to read config 'workspaces'
Aug 27 16:52:48 pop-os cosmic-comp[31963]: failed to read local shortcuts config 'system_actions': NoConfigDirectory
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Key-Binding 'Period' only matched case insensitive for "period"
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Key-Binding 'Comma' only matched case insensitive for "comma"
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Key-Binding 'Period' only matched case insensitive for "period"
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Key-Binding 'Comma' only matched case insensitive for "comma"
Aug 27 16:52:48 pop-os cosmic-comp[31963]: shortcuts custom config error: GetKey("custom", Os { code: 2, kind: NotFound, message: "No such file or directory" })
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Unable to become drm master, assuming unprivileged mode
Aug 27 16:52:48 pop-os cosmic-comp[31963]: ignoring requested context priority, EGL_IMG_context_priority not supported
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Erroneous EGL call didn't set EGLError
Aug 27 16:52:48 pop-os cosmic-comp[31963]: ignoring requested context priority, EGL_IMG_context_priority not supported
Aug 27 16:52:48 pop-os cosmic-comp[31963]: ignoring requested context priority, EGL_IMG_context_priority not supported
Aug 27 16:52:48 pop-os cosmic-comp[31963]: ignoring requested context priority, EGL_IMG_context_priority not supported
Aug 27 16:52:48 pop-os cosmic-comp[31963]: Unable to become drm master, assuming unprivileged mode
Aug 27 16:52:49 pop-os cosmic-comp[31963]: Failed to destroy old mode property blob: No such file or directory (os error 2)
@pop-os pop-os deleted a comment Aug 27, 2024
@leviport
Copy link
Member

This looks very similar to #779

@pop-os pop-os deleted a comment from GoldenCaterpie Aug 27, 2024
@pop-os pop-os deleted a comment from YeGop0218 Aug 27, 2024
@WilliamsTravis
Copy link

I've had this exact problem, #779 was related but different. I just updated cosmic and now it works for me. @robrotheram does it work for you now?

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

3 participants