GithubHelp home page GithubHelp logo

pop-os / cosmic-comp Goto Github PK

View Code? Open in Web Editor NEW
398.0 30.0 43.0 2.85 MB

Compositor for the COSMIC desktop environment

License: GNU General Public License v3.0

Rust 99.21% Makefile 0.08% Shell 0.06% Nix 0.14% GLSL 0.09% Fluent 0.41%

cosmic-comp's People

Contributors

13r0ck avatar alyssais avatar cmeissl avatar drakulix avatar falexei avatar git-f0x avatar ids1024 avatar jackpot51 avatar jokeyrhyme avatar louisdispa avatar mmstick avatar moni-dz avatar mrkomododragon avatar pixeldoted avatar quackdoc avatar ryanabx avatar vandalhj avatar wash2 avatar wsx-udscbt avatar xdarksome avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cosmic-comp's Issues

Failing to start on Pinebook Pro

Sway works well, so Cosmic-comp probably should work well enough with the Panfrost driver.

First it seems to error in edid_info. The call to device.get_property_blob returns an ENOENT. Not sure why that is failing, but modifying the function to return Ok allows things to progress further.

Then GbmBufferedSurface::new() fails with an Invalid Argument error. Not sure how to debug that further.

(I had to add prints and unwraps to the code to diagnose the issue this much; exactly where things were failing and the underlying errors weren't being clearly reported. That can be hard, but it would help in the future if this could be improved in some way.)

Multi-user spams journal logs

If a user is logged in via GDM with COSMIC and then ctrl+alt+f1 back to GDM and logins in with a different account the journal logs becomes flooded with error messages:
ERRO Error rendering: Failed to submit buffer for display

With three users logged in the journal logs increased to 1GB in under 5 minutes.

system76@pop-os:~$ journalctl --disk-usage 
Archived and active journals take up 860.0M in the file system.
system76@pop-os:~$ du -sh /var/log/journal/59cc83efa41f8142ac3a6c34630e888b/*
17M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/system@429150618a404e05ba080b86a6c0b0ab-0000000000000001-0005e77cbf827f35.journal
8.0M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/system@429150618a404e05ba080b86a6c0b0ab-0000000000038725-0005e77cd52f6984.journal
8.0M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/system@429150618a404e05ba080b86a6c0b0ab-000000000006998d-0005e77cda9cec05.journal
8.1M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/system.journal
81M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/user-1000@6ef2f44b20674f44a5eba790007de4f4-00000000000009a4-0005e77cc04cde8d.journal
33M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/user-1000.journal
126M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/user-1001@3adba734f86549c5ad30c86b74398e50-0000000000002b18-0005e77ccebf4b1b.journal
126M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/user-1001@3adba734f86549c5ad30c86b74398e50-0000000000033e72-0005e77cd5246806.journal
126M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/user-1001@3adba734f86549c5ad30c86b74398e50-0000000000064f37-0005e77cda84d5bb.journal
8.1M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/user-1001.journal
49M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/user-1002@c03c874d03d6460ead3e7821ce9e9665-0000000000002b1f-0005e77ccebfa031.journal
126M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/user-1002@c03c874d03d6460ead3e7821ce9e9665-000000000003a986-0005e77cd57513e3.journal
121M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/user-1002@c03c874d03d6460ead3e7821ce9e9665-000000000006998f-0005e77cdad25e7d.journal
33M	/var/log/journal/59cc83efa41f8142ac3a6c34630e888b/user-1002.journal

ScreenCopy gets `BufferInfo` with width/height/stride 0 when a window is created

https://github.com/pop-os/cosmic-workspaces-epoch currently panics with a protocol error if a toplevel is opened while its running, since it tries to screencopy the toplevel, but it seems it gets a BuferInfo with size 0.

Presumably the protocol should never report a buffer format that will causes a protocol error to try to use. Should it report no buffer formats? Should it not send buffer_info until the toplevel commits a buffer?

When running under X, grab keyboard like VMs do

This seems like it would be quite helpful for so things using super bindings can be tested without the parent window manager handling them.

I believe some use of XIGrabDevice is the way to do that. Though I'm not entirely sure how that API has to be used.

Resizing a window in the tiling mode, causes segfaults

To reproduce, open 3 windows (for example 3 Gnome Terminals) and try to change the size using the mouse. At some point all 3 windows disappear (because they segfaulted).

Here is the log Gnome Terminal and Nautilus:

pop-os kernel: gnome-terminal-[76947]: segfault at 18 ip 00007f8e11f803b2 sp 00007ffc75458898 error 4 in libgdk-3.so.0.2404.29[7f8e11f04000+83000] likely on CPU 1 (core 1, socket 0)
pop-os kernel: Code: 48 89 c2 e8 b0 88 f8 ff 48 8b bb c0 00 00 00 48 8d 35 2e a8 02 00 e8 cd 9e f8 ff 48 8b 93 c0 00 00 00 5b 48 8d 35 1e ab 05 00 <48> 8b 78 18 e9 a5 7f f8 ff 0f 1f 44 00 00 41 56 41 55 41 54 41 89
pop-os systemd[73789]: gnome-terminal-server.service: Main process exited, code=dumped, status=11/SEGV
pop-os systemd[73789]: gnome-terminal-server.service: Failed with result 'core-dump'.
pop-os systemd[73789]: gnome-terminal-server.service: Consumed 1.774s CPU time.
Feb 15 16:27:14 pop-os kernel: nautilus[77536]: segfault at 18 ip 00007f46d4da03b2 sp 00007ffe37865228 error 4 in libgdk-3.so.0.2404.29[7f46d4d24000+83000] likely on CPU 0 (core 0, socket 0)
Feb 15 16:27:14 pop-os kernel: Code: 48 89 c2 e8 b0 88 f8 ff 48 8b bb c0 00 00 00 48 8d 35 2e a8 02 00 e8 cd 9e f8 ff 48 8b 93 c0 00 00 00 5b 48 8d 35 1e ab 05 00 <48> 8b 78 18 e9 a5 7f f8 ff 0f 1f 44 00 00 41 56 41 55 41 54 41 89
Feb 15 16:27:15 pop-os cosmic-comp[73986]: restoring focus to: None

and here is the output of an Iced window crashing while resizing:

[2023-02-15T23:32:30Z ERROR smithay_client_toolkit::event_loop] Error trying to flush the wayland display: Broken pipe (os error 32)
wl_display@1: error 1: invalid arguments for [email protected]_pool

With tiling disabled, new windows still launch tiled

Version: ec64759 (master_jammy)

Issue: After opening up some windows and disabling tiling, opening up a new window launches it tiled behind the existing windows (taking up the entire workspace and not able to be resized, as nothing else is tiled with it.)

Steps to recreate:

  • Log into a session.
  • Open a Terminal window with Super-T.
  • Turn off tiling with Super-Y.
  • Using the Launcher (Super + /), open a Calculator.
    • Observe that the Calculator opens up behind the Terminal.
  • Attempt to resize the calculator window.
  • Press Super-Y two more times.
    • The first press results in the Terminal window tiling with the Calculator window.
    • The second press untiles both windows, and Calculator is now resizable/movable.

Expected behavior: When tiling has been disabled with Super-Y, new windows should launch floating.

Deb building with dpkg-buildpackage fails

Hello, out of curiosity I decided to compile the various components of the cosmic pre alpha, and also to be able to compare with the Alpha when it releases to see how different both will be, and for the ones who have support for it, I built the deb, but for Cosmic-Comp specifically, it doesn't generate the deb because it says that Cosmic-comp.install isn't a executable file
Is this issue only on my side or is Cosmic-comp.install wrong?

warning: unused imports: `Instant`, `SystemTime`
  --> src/backend/kms/mod.rs:47:22
   |
47 |     time::{Duration, Instant, SystemTime},
   |                      ^^^^^^^  ^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: `cosmic-comp` (bin "cosmic-comp") generated 1 warning
    Finished release [optimized] target(s) in 14m 35s
make[2]: a sair da pasta "/media/paulo/Augusto/Paulo/cosmic-comp"
make[1]: a sair da pasta "/media/paulo/Augusto/Paulo/cosmic-comp"
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary
dh binary --with=systemd
   dh_testroot
   dh_prep
   dh_auto_install --destdir=debian/cosmic-comp/
	make -j4 install DESTDIR=/media/paulo/Augusto/Paulo/cosmic-comp/debian/cosmic-comp AM_UPDATE_INFO_DIR=no
make[1]: a entrar na pasta "/media/paulo/Augusto/Paulo/cosmic-comp"
install -Dm0644 "data/cosmic.desktop" "/media/paulo/Augusto/Paulo/cosmic-comp/debian/cosmic-comp/usr/share/wayland-sessions/cosmic.desktop"
install -Dm0644 "data/cosmic-session.target" "/media/paulo/Augusto/Paulo/cosmic-comp/debian/cosmic-comp/usr/lib/systemd/user/cosmic-session.target"
install -Dm0644 "data/cosmic-session-pre.target" "/media/paulo/Augusto/Paulo/cosmic-comp/debian/cosmic-comp/usr/lib/systemd/user/cosmic-session-pre.target"
install -Dm0644 "data/cosmic-comp.service" "/media/paulo/Augusto/Paulo/cosmic-comp/debian/cosmic-comp/usr/lib/systemd/user/cosmic-comp.service"
install -Dm04755 "data/cosmic-service" "/media/paulo/Augusto/Paulo/cosmic-comp/debian/cosmic-comp//usr/bin/cosmic-service"
install -Dm04755 "target/release/cosmic-comp" ""/media/paulo/Augusto/Paulo/cosmic-comp/debian/cosmic-comp/usr/bin/cosmic-comp""
make[1]: a sair da pasta "/media/paulo/Augusto/Paulo/cosmic-comp"
   dh_install
/media/paulo/Augusto/Paulo/cosmic-comp/debian/cosmic-comp.install: 1: config.ron: not found
dh_install: warning: debian/cosmic-comp.install is marked executable but does not appear to an executable config.
dh_install: warning: 
dh_install: warning: If debian/cosmic-comp.install is intended to be an executable config file, please ensure it can
dh_install: warning: be run as a stand-alone script/program (e.g. "./debian/cosmic-comp.install")
dh_install: warning: Otherwise, please remove the executable bit from the file (e.g. chmod -x "debian/cosmic-comp.install")
dh_install: warning: 
dh_install: warning: Please see "Executable debhelper config files" in debhelper(7) for more information.
dh_install: warning: 
dh_install: error: debian/cosmic-comp.install (executable config) returned exit code 127
make: *** [debian/rules:8: binary] Erro 255
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

And yes I tried to chmod -x the file and it doesn't work, even if I try trough nautilus it'll just automatically toggle on again

Popups in bottom anchored panel are repositioned off screen

I have set the popups in all cosmic-panel applets to allow repositioning by cosmic-comp. Side anchored panel popups and top anchored panel popups all seem to be positioned correctly when necessary, but the bottom panel popup, are re-positioned to appear off screen below the panel, even when they don't seem to have needed re-positioning in the first place.

Cursor can move off-screen when dual-monitors do not form rectangular area

I have two monitors with different resolutions. The cursor moves off screen from the top edge. It only happens if the top area is invisible. The cursor moves off screen from the top edge. It won't happen if the top edge are aligned.

Also, if I change the position of both screens (using wdisplays) and move them both to a different position, so not starting at (0, 0), it looks like that the left and the top edge both allow the cursor to leave the screen.

Scale factor causes the cursor to be limited to one screen

My setup:
a laptop with an external monitor on the USB C port.

I changed the scaling factor for all my outputs from 1.0 to 1.5. Then I noticed that my cursor can not leave the external monitor. The cursor can move from the built-in screen to the external one, but not from the external screen to the built-in one.

If I switch focus to a window that is on the built-in screen the cursor would appear on that screen and I can move it back to the external screen, but then I can't move it back to the built-in screen (unless I use the keyboard and move the focus to a window on that screen).

If I return all the scaling factors to 1.0, then the cursor is free to move between the screens.

I know cosmic-comp is not ready but I figured this is odd enough to report.

Crashes running `simple_window` example from `sctk`

Jan 31 21:39:05.626 ERRO thread 'main' panicked at 'cast_slice_mut>TargetAlignmentGreaterAndInputNotAligned': /home/ian/.cargo/registry/src/github.com-1ecc6299db9ec823/bytemuck-1.13.0/src/internal.rs:32
   0: <backtrace::capture::Backtrace as core::default::Default>::default
             at /home/ian/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.67/src/capture.rs:410:9
   1: log_panics::Config::install_panic_hook::{{closure}}
             at /home/ian/.cargo/registry/src/github.com-1ecc6299db9ec823/log-panics-2.1.0/src/lib.rs:115:29
   2: std::panicking::rust_panic_with_hook
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/panicking.rs:702:17
   3: std::panicking::begin_panic_handler::{{closure}}
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/panicking.rs:588:13
   4: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/sys_common/backtrace.rs:138:18
   5: rust_begin_unwind
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/panicking.rs:584:5
   6: core::panicking::panic_fmt
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/panicking.rs:142:14
   7: bytemuck::internal::something_went_wrong
             at /home/ian/.cargo/registry/src/github.com-1ecc6299db9ec823/bytemuck-1.13.0/src/internal.rs:32:3
   8: bytemuck::internal::cast_slice_mut
             at /home/ian/.cargo/registry/src/github.com-1ecc6299db9ec823/bytemuck-1.13.0/src/internal.rs:249:15
   9: bytemuck::cast_slice_mut
             at /home/ian/.cargo/registry/src/github.com-1ecc6299db9ec823/bytemuck-1.13.0/src/lib.rs:300:12
  10: <cosmic_comp::utils::iced::IcedElement<P> as smithay::backend::renderer::element::AsRenderElements<R>>::render_elements::{{closure}}
             at src/utils/iced.rs:569:29
  11: smithay::backend::renderer::element::memory::RenderContext::draw
             at /home/ian/.cargo/git/checkouts/smithay-1fd533335f33e976/3437fe1/src/backend/renderer/element/memory.rs:427:27
  12: <cosmic_comp::utils::iced::IcedElement<P> as smithay::backend::renderer::element::AsRenderElements<R>>::render_elements
             at src/utils/iced.rs:563:17
  13: <cosmic_comp::shell::element::window::CosmicWindow as smithay::backend::renderer::element::AsRenderElements<R>>::render_elements
             at src/shell/element/window.rs:556:29
  14: <cosmic_comp::shell::element::CosmicMapped as smithay::backend::renderer::element::AsRenderElements<R>>::render_elements
             at src/shell/element/mod.rs:1037:33
  15: smithay::desktop::space::Space<E>::render_elements_for_region::{{closure}}
             at /home/ian/.cargo/git/checkouts/smithay-1fd533335f33e976/3437fe1/src/desktop/space/mod.rs:400:17
  16: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &mut F>::call_once
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/ops/function.rs:306:13
  17: core::option::Option<T>::map
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/option.rs:929:29
  18: <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::next
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/iter/adapters/map.rs:103:9
  19: <core::iter::adapters::fuse::Fuse<I> as core::iter::adapters::fuse::FuseImpl<I>>::next
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/iter/adapters/fuse.rs:337:9
  20: <core::iter::adapters::fuse::Fuse<I> as core::iter::traits::iterator::Iterator>::next
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/iter/adapters/fuse.rs:43:9
      <core::iter::adapters::flatten::FlattenCompat<I,U> as core::iter::traits::iterator::Iterator>::next
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/iter/adapters/flatten.rs:474:19
  21: <core::iter::adapters::flatten::FlatMap<I,U,F> as core::iter::traits::iterator::Iterator>::next
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/iter/adapters/flatten.rs:51:9
  22: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter_nested::SpecFromIterNested<T,I>>::from_iter
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/alloc/src/vec/spec_from_iter_nested.rs:26:32
  23: <alloc::vec::Vec<T> as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/alloc/src/vec/spec_from_iter.rs:33:9
  24: <alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/alloc/src/vec/mod.rs:2649:9
  25: core::iter::traits::iterator::Iterator::collect
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/iter/traits/iterator.rs:1836:9
  26: smithay::desktop::space::Space<E>::render_elements_for_region
             at /home/ian/.cargo/git/checkouts/smithay-1fd533335f33e976/3437fe1/src/desktop/space/mod.rs:391:9
  27: cosmic_comp::shell::layout::floating::FloatingLayout::render_output
             at src/shell/layout/floating/mod.rs:361:12
  28: cosmic_comp::shell::workspace::Workspace::render_output
             at src/shell/workspace.rs:523:17
  29: cosmic_comp::backend::render::render_workspace
             at src/backend/render/mod.rs:262:9
  30: cosmic_comp::backend::render::render_output
             at src/backend/render/mod.rs:160:18
  31: cosmic_comp::backend::x11::Surface::render_output
             at src/backend/x11.rs:200:15
  32: cosmic_comp::backend::x11::X11State::add_window::{{closure}}
             at src/backend/x11.rs:107:25
  33: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::process_events::{{closure}}
             at /home/ian/.cargo/registry/src/github.com-1ecc6299db9ec823/calloop-0.10.5/src/sources/mod.rs:306:61
  34: <calloop::sources::ping::eventfd::PingSource as calloop::sources::EventSource>::process_events::{{closure}}
             at /home/ian/.cargo/registry/src/github.com-1ecc6299db9ec823/calloop-0.10.5/src/sources/ping/eventfd.rs:133:21
  35: <calloop::sources::generic::Generic<F,E> as calloop::sources::EventSource>::process_events
             at /home/ian/.cargo/registry/src/github.com-1ecc6299db9ec823/calloop-0.10.5/src/sources/generic.rs:121:9
  36: <calloop::sources::ping::eventfd::PingSource as calloop::sources::EventSource>::process_events
             at /home/ian/.cargo/registry/src/github.com-1ecc6299db9ec823/calloop-0.10.5/src/sources/ping/eventfd.rs:122:9
  37: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::process_events
             at /home/ian/.cargo/registry/src/github.com-1ecc6299db9ec823/calloop-0.10.5/src/sources/mod.rs:305:9
  38: calloop::loop_logic::EventLoop<Data>::dispatch_events
             at /home/ian/.cargo/registry/src/github.com-1ecc6299db9ec823/calloop-0.10.5/src/loop_logic.rs:300:31
  39: calloop::loop_logic::EventLoop<Data>::run
             at /home/ian/.cargo/registry/src/github.com-1ecc6299db9ec823/calloop-0.10.5/src/loop_logic.rs:454:13
  40: cosmic_comp::main
             at src/main.rs:56:5
  41: core::ops::function::FnOnce::call_once
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/ops/function.rs:248:5
  42: std::sys_common::backtrace::__rust_begin_short_backtrace
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/sys_common/backtrace.rs:122:18
  43: std::rt::lang_start::{{closure}}
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/rt.rs:166:18
  44: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/core/src/ops/function.rs:283:13
      std::panicking::try::do_call
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/panicking.rs:492:40
      std::panicking::try
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/panicking.rs:456:19
      std::panic::catch_unwind
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/panic.rs:137:14
      std::rt::lang_start_internal::{{closure}}
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/rt.rs:148:48
      std::panicking::try::do_call
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/panicking.rs:492:40
      std::panicking::try
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/panicking.rs:456:19
      std::panic::catch_unwind
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/panic.rs:137:14
      std::rt::lang_start_internal
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/rt.rs:148:20
  45: std::rt::lang_start
             at /rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/rt.rs:165:17
  46: main
  47: __libc_start_call_main
             at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  48: __libc_start_main_impl
             at ./csu/../csu/libc-start.c:392:3
  49: _start

Shortcuts stop working

Sometimes the configured shortcuts will stop working. For example, I will try [ Super ] + [ 1 ] to switch to the first workspace, but then instead a "1" key-input will be sent to the currently focused application instead. I assume it is because of something involving the modifiers state. Once this start happens during a session, I have to restart cosmic-comp for the shortcuts to work again.

[lemp10] Right-click with touchpad doesn't work

Version: d493b90

On lemp10 running with Wayland, two-finger click does not right-click within apps (e.g. Nautilus or Firefox). Right-click with a USB mouse does work.

Three-finger click for middle click also does not work; middle-clicking with a USB mouse works.

(I'm making an educated guess this is the correct repo for an input issue like this, feel free to transfer if not.)

Key bindings sometimes stop working

I'm not sure how exactly to figure out what's causing this, but after running cosmic-comp for a while, I sometimes am no longer able to switch workspaces. Super+num just types the number into the current window.

Launching cosmic-comp kms mode race condition

When launching cosmic-comp from the console in kms mode, I sometimes get the error seen as in attached log
cosmic-comp.log

thread 'main' panicked at 'Backend initialized without output', src/input/mod.rs:148:34

Seems like:

src/backend/kms/mod.rs
pub fn init_backend
let libinput_event_source = event_loop
state.process_input_event(event);

Can get called sometimes even before the display is initialized later in the same function, causing this line to not find an initialized display and therefore .expect() to trigger

src/input/mod.rs
impl State {
pub fn process_input_event
.expect("Backend initialized without output")

Capture for workspaces only works for current workspace

Displaying all workspaces is necessary for the workspaces view. Toplevels from other workspaces, however, seem to be captured anyway (though they don't seem to change, and constantly capturing everything seems to not be very stable and performant).

It may be desirable for the workspaces view to instead composite together toplevels to show workspaces, which allows some things and it needs to capture toplevels for the current workspace anyway, but it would need positioning information for toplevels which doesn't seem to be exposed.

The gtk-capture example in pop-os/cosmic-protocols#7 currently shows all outputs, workspaces, and toplevels.

Compostor segfaults on shm screencopy if file isn't large enough

This can be reproduced by modifying https://github.com/pop-os/cosmic-protocols/blob/main/examples/screenshot-screencopy.rs to remove the set_len call.

Interestingly attaching too small a buffer to a window also crashes the compositor, but it isn't a segfault; it's a SIGBUS that is caught. So maybe a somewhat different issue? But related: Smithay/smithay#834

(I noticed this again since I was running screenshot-screencopy to take a screenshot, wondering why the compositor crashed, then seeing this was the version I had modified to crash the compositor ๐Ÿ˜†.)

Allocator age overflow

When running with udev backend, after some time passes (seems to be random, or maybe it's amount of rendered frames) the compositor panics on intager overflow in smithay alocator,
To be precisse it's this addition:
https://github.com/Smithay/smithay/blob/62f0cb675a8313cc249d3759548db580509d66f9/src/backend/allocator/swapchain.rs#L189

This does not happen in Anvil or Anodium.

Full log:

May 24 18:56:45.565 INFO Version: 0.1.0
May 24 18:56:45.565 INFO Cosmic starting up!
unable to lock lockfile /run/user/1000/wayland-0.lock, maybe another compositor is running
May 24 18:56:45.565 INFO Listening on "wayland-1"
May 24 18:56:45.565 DEBG Trying config location: /home/poly/.config/cosmic-comp.ron
May 24 18:56:45.565 DEBG Trying config location: /home/poly/.config/cosmic-comp/config.ron
May 24 18:56:45.565 DEBG Trying config location: /home/poly/dev/cosmic-comp/config.ron
May 24 18:56:45.565 INFO Using config at /home/poly/dev/cosmic-comp/config.ron
May 24 18:56:45.566 WARN Key-Binding 'Slash' only matched case insensitive for "slash"
May 24 18:56:45.568 INFO Trying to create libseat session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.568 INFO [libseat/backend/seatd.c:80] Could not connect to socket /run/seatd.sock: No such file or directory, session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.568 INFO [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping, session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.575 INFO [libseat/libseat.c:73] Seat opened with backend 'logind', session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.575 DEBG Enable callback called, session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.580 DEBG Opening device: "/dev/input/event4", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.581 DEBG Opening device: "/dev/input/event0", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.583 DEBG Opening device: "/dev/input/event1", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.584 DEBG Opening device: "/dev/input/event2", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.585 DEBG Opening device: "/dev/input/event13", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.587 DEBG Closing device: 23, session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.618 DEBG Opening device: "/dev/input/event14", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.619 DEBG Closing device: 23, session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.642 DEBG Opening device: "/dev/input/event12", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.707 DEBG Opening device: "/dev/input/event15", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.709 DEBG Opening device: "/dev/input/event6", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.712 DEBG Opening device: "/dev/input/event11", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.714 DEBG Closing device: 26, session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.750 DEBG Opening device: "/dev/input/event7", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.752 DEBG Opening device: "/dev/input/event8", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.754 DEBG Opening device: "/dev/input/event5", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.756 DEBG Opening device: "/dev/input/event3", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.758 DEBG Opening device: "/dev/input/event9", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.760 DEBG Opening device: "/dev/input/event10", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.761 INFO Initializing a libinput backend, smithay_module: backend_libinput
May 24 18:56:45.763 INFO Trying to initialize EGLDevice { inner: 0x5614f113ce20, device_extensions: ["EGL_EXT_device_drm", "EGL_EXT_device_drm_render_node"] } from renderD128
May 24 18:56:45.763 DEBG Supported EGL client extensions: ["EGL_EXT_device_base", "EGL_EXT_device_enumeration", "EGL_EXT_device_query", "EGL_EXT_platform_base", "EGL_KHR_client_get_all_proc_addresses", "EGL_EXT_client_extensions", "EGL_KHR_debug", "EGL_EXT_platform_device", "EGL_EXT_platform_wayland", "EGL_KHR_platform_wayland", "EGL_EXT_platform_x11", "EGL_KHR_platform_x11", "EGL_MESA_platform_xcb", "EGL_MESA_platform_gbm", "EGL_KHR_platform_gbm", "EGL_MESA_platform_surfaceless"], smithay_module: backend_egl
May 24 18:56:45.763 DEBG Trying EGL platform: PLATFORM_DEVICE_EXT, smithay_module: backend_egl
May 24 18:56:45.763 INFO Successfully selected EGL platform: PLATFORM_DEVICE_EXT, platform: EGLPlatform { platform_name: "PLATFORM_DEVICE_EXT", required_extensions: ["EGL_EXT_platform_device"] }, smithay_module: backend_egl
May 24 18:56:45.788 INFO EGL Initialized, smithay_module: backend_egl
May 24 18:56:45.788 INFO EGL Version: (1, 5), smithay_module: backend_egl
May 24 18:56:45.788 INFO Supported EGL display extensions: ["EGL_ANDROID_blob_cache", "EGL_ANDROID_native_fence_sync", "EGL_EXT_create_context_robustness", "EGL_EXT_image_dma_buf_import", "EGL_EXT_image_dma_buf_import_modifiers", "EGL_EXT_protected_surface", "EGL_KHR_cl_event2", "EGL_KHR_config_attribs", "EGL_KHR_create_context", "EGL_KHR_create_context_no_error", "EGL_KHR_fence_sync", "EGL_KHR_get_all_proc_addresses", "EGL_KHR_gl_colorspace", "EGL_KHR_gl_renderbuffer_image", "EGL_KHR_gl_texture_2D_image", "EGL_KHR_gl_texture_3D_image", "EGL_KHR_gl_texture_cubemap_image", "EGL_KHR_image_base", "EGL_KHR_no_config_context", "EGL_KHR_reusable_sync", "EGL_KHR_surfaceless_context", "EGL_EXT_pixel_format_float", "EGL_KHR_wait_sync", "EGL_MESA_configless_context", "EGL_MESA_drm_image", "EGL_MESA_image_dma_buf_export", "EGL_MESA_query_driver", "EGL_WL_bind_wayland_display", ""], smithay_module: backend_egl
May 24 18:56:45.790 INFO EGL context created, smithay_module: backend_egl
May 24 18:56:45.792 INFO Initializing OpenGL ES Renderer, smithay_module: renderer_gles2
May 24 18:56:45.792 INFO GL Version: "OpenGL ES 3.2 Mesa 22.0.1", smithay_module: renderer_gles2
May 24 18:56:45.792 INFO GL Vendor: "AMD", smithay_module: renderer_gles2
May 24 18:56:45.792 INFO GL Renderer: "AMD RENOIR (LLVM 13.0.1, DRM 3.42, 5.15.0-27-generic)", smithay_module: renderer_gles2
May 24 18:56:45.792 INFO Supported GL Extensions: ["GL_EXT_blend_minmax", "GL_EXT_multi_draw_arrays", "GL_EXT_texture_filter_anisotropic", "GL_EXT_texture_compression_s3tc", "GL_EXT_texture_compression_dxt1", "GL_EXT_texture_compression_rgtc", "GL_EXT_texture_format_BGRA8888", "GL_OES_compressed_ETC1_RGB8_texture", "GL_OES_depth24", "GL_OES_element_index_uint", "GL_OES_fbo_render_mipmap", "GL_OES_mapbuffer", "GL_OES_rgb8_rgba8", "GL_OES_standard_derivatives", "GL_OES_stencil8", "GL_OES_texture_3D", "GL_OES_texture_float", "GL_OES_texture_float_linear", "GL_OES_texture_half_float", "GL_OES_texture_half_float_linear", "GL_OES_texture_npot", "GL_OES_vertex_half_float", "GL_EXT_draw_instanced", "GL_EXT_texture_sRGB_decode", "GL_OES_EGL_image", "GL_OES_depth_texture", "GL_AMD_performance_monitor", "GL_OES_packed_depth_stencil", "GL_EXT_texture_type_2_10_10_10_REV", "GL_NV_conditional_render", "GL_OES_get_program_binary", "GL_APPLE_texture_max_level", "GL_EXT_discard_framebuffer", "GL_EXT_read_format_bgra", "GL_EXT_frag_depth", "GL_NV_fbo_color_attachments", "GL_OES_EGL_image_external", "GL_OES_EGL_sync", "GL_OES_vertex_array_object", "GL_OES_viewport_array", "GL_ANGLE_pack_reverse_row_order", "GL_ANGLE_texture_compression_dxt3", "GL_ANGLE_texture_compression_dxt5", "GL_EXT_occlusion_query_boolean", "GL_EXT_robustness", "GL_EXT_texture_rg", "GL_EXT_unpack_subimage", "GL_NV_draw_buffers", "GL_NV_read_buffer", "GL_NV_read_depth", "GL_NV_read_depth_stencil", "GL_NV_read_stencil", "GL_EXT_draw_buffers", "GL_EXT_map_buffer_range", "GL_KHR_debug", "GL_KHR_robustness", "GL_KHR_texture_compression_astc_ldr", "GL_NV_pixel_buffer_object", "GL_OES_depth_texture_cube_map", "GL_OES_required_internalformat", "GL_OES_surfaceless_context", "GL_EXT_color_buffer_float", "GL_EXT_sRGB_write_control", "GL_EXT_separate_shader_objects", "GL_EXT_shader_group_vote", "GL_EXT_shader_implicit_conversions", "GL_EXT_shader_integer_mix", "GL_EXT_tessellation_point_size", "GL_EXT_tessellation_shader", "GL_ANDROID_extension_pack_es31a", "GL_EXT_base_instance", "GL_EXT_compressed_ETC1_RGB8_sub_texture", "GL_EXT_copy_image", "GL_EXT_draw_buffers_indexed", "GL_EXT_draw_elements_base_vertex", "GL_EXT_gpu_shader5", "GL_EXT_polygon_offset_clamp", "GL_EXT_primitive_bounding_box", "GL_EXT_render_snorm", "GL_EXT_shader_io_blocks", "GL_EXT_texture_border_clamp", "GL_EXT_texture_buffer", "GL_EXT_texture_cube_map_array", "GL_EXT_texture_norm16", "GL_EXT_texture_view", "GL_KHR_blend_equation_advanced", "GL_KHR_context_flush_control", "GL_KHR_robust_buffer_access_behavior", "GL_NV_image_formats", "GL_OES_copy_image", "GL_OES_draw_buffers_indexed", "GL_OES_draw_elements_base_vertex", "GL_OES_gpu_shader5", "GL_OES_primitive_bounding_box", "GL_OES_sample_shading", "GL_OES_sample_variables", "GL_OES_shader_io_blocks", "GL_OES_shader_multisample_interpolation", "GL_OES_tessellation_point_size", "GL_OES_tessellation_shader", "GL_OES_texture_border_clamp", "GL_OES_texture_buffer", "GL_OES_texture_cube_map_array", "GL_OES_texture_stencil8", "GL_OES_texture_storage_multisample_2d_array", "GL_OES_texture_view", "GL_EXT_blend_func_extended", "GL_EXT_buffer_storage", "GL_EXT_float_blend", "GL_EXT_geometry_point_size", "GL_EXT_geometry_shader", "GL_EXT_shader_samples_identical", "GL_EXT_texture_sRGB_R8", "GL_KHR_no_error", "GL_KHR_texture_compression_astc_sliced_3d", "GL_OES_EGL_image_external_essl3", "GL_OES_geometry_point_size", "GL_OES_geometry_shader", "GL_OES_shader_image_atomic", "GL_EXT_clear_texture", "GL_EXT_clip_cull_distance", "GL_EXT_disjoint_timer_query", "GL_EXT_texture_compression_s3tc_srgb", "GL_EXT_window_rectangles", "GL_MESA_shader_integer_functions", "GL_EXT_clip_control", "GL_EXT_color_buffer_half_float", "GL_EXT_memory_object", "GL_EXT_memory_object_fd", "GL_EXT_semaphore", "GL_EXT_semaphore_fd", "GL_EXT_texture_compression_bptc", "GL_EXT_texture_mirror_clamp_to_edge", "GL_KHR_parallel_shader_compile", "GL_NV_alpha_to_coverage_dither_control", "GL_AMD_framebuffer_multisample_advanced", "GL_EXT_EGL_image_storage", "GL_EXT_texture_shadow_lod", "GL_INTEL_blackhole_render", "GL_MESA_framebuffer_flip_y", "GL_NV_compute_shader_derivatives", "GL_EXT_demote_to_helper_invocation", "GL_EXT_depth_clamp", "GL_EXT_texture_query_lod", "GL_MESA_bgra", ""], smithay_module: renderer_gles2
May 24 18:56:45.798 INFO Using renderD128 as primary gpu for rendering
May 24 18:56:45.799 DEBG [GL] Shader Stats: SGPRS: 24 VGPRS: 12 Code Size: 140 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 DivergentLoop: 0, InlineUniforms: 0, ParamExports: 0, (VS, W64), smithay_module: renderer_gles2
May 24 18:56:45.800 DEBG [GL] Shader Stats: SGPRS: 24 VGPRS: 24 Code Size: 124 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 DivergentLoop: 0, InlineUniforms: 0, ParamExports: 0, (PS, W64), smithay_module: renderer_gles2
May 24 18:56:45.800 DEBG [GL] Shader Stats: SGPRS: 24 VGPRS: 12 Code Size: 200 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 DivergentLoop: 0, InlineUniforms: 0, ParamExports: 1, (VS, W64), smithay_module: renderer_gles2
May 24 18:56:45.800 DEBG [GL] Shader Stats: SGPRS: 8 VGPRS: 24 Code Size: 52 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 DivergentLoop: 0, InlineUniforms: 0, ParamExports: 0, (PS, W64), smithay_module: renderer_gles2
May 24 18:56:45.800 DEBG [GL] Shader Stats: SGPRS: 24 VGPRS: 24 Code Size: 120 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 DivergentLoop: 0, InlineUniforms: 0, ParamExports: 0, (PS, W64), smithay_module: renderer_gles2
May 24 18:56:45.800 DEBG [GL] Shader Stats: SGPRS: 24 VGPRS: 24 Code Size: 120 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 DivergentLoop: 0, InlineUniforms: 0, ParamExports: 0, (PS, W64), smithay_module: renderer_gles2
May 24 18:56:45.802 DEBG Opening device: "/dev/dri/card0", session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.802 DEBG [libseat/backend/logind.c:155] DRM device opened, current total: 1, session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
May 24 18:56:45.803 INFO DrmDevice initializing, smithay_module: backend_drm
May 24 18:56:45.803 WARN Unable to become drm master, assuming unprivileged mode, smithay_module: backend_drm
May 24 18:56:45.809 DEBG Supported EGL client extensions: ["EGL_EXT_device_base", "EGL_EXT_device_enumeration", "EGL_EXT_device_query", "EGL_EXT_platform_base", "EGL_KHR_client_get_all_proc_addresses", "EGL_EXT_client_extensions", "EGL_KHR_debug", "EGL_EXT_platform_device", "EGL_EXT_platform_wayland", "EGL_KHR_platform_wayland", "EGL_EXT_platform_x11", "EGL_KHR_platform_x11", "EGL_MESA_platform_xcb", "EGL_MESA_platform_gbm", "EGL_KHR_platform_gbm", "EGL_MESA_platform_surfaceless"], smithay_module: backend_egl
May 24 18:56:45.809 DEBG Trying EGL platform: PLATFORM_GBM_KHR, smithay_module: backend_egl
May 24 18:56:45.809 INFO Successfully selected EGL platform: PLATFORM_GBM_KHR, platform: EGLPlatform { platform_name: "PLATFORM_GBM_KHR", required_extensions: ["EGL_KHR_platform_gbm"] }, smithay_module: backend_egl
May 24 18:56:45.810 INFO EGL Initialized, smithay_module: backend_egl
May 24 18:56:45.810 INFO EGL Version: (1, 5), smithay_module: backend_egl
May 24 18:56:45.811 INFO Supported EGL display extensions: ["EGL_ANDROID_blob_cache", "EGL_ANDROID_native_fence_sync", "EGL_EXT_buffer_age", "EGL_EXT_create_context_robustness", "EGL_EXT_image_dma_buf_import", "EGL_EXT_image_dma_buf_import_modifiers", "EGL_EXT_protected_surface", "EGL_KHR_cl_event2", "EGL_KHR_config_attribs", "EGL_KHR_create_context", "EGL_KHR_create_context_no_error", "EGL_KHR_fence_sync", "EGL_KHR_get_all_proc_addresses", "EGL_KHR_gl_colorspace", "EGL_KHR_gl_renderbuffer_image", "EGL_KHR_gl_texture_2D_image", "EGL_KHR_gl_texture_3D_image", "EGL_KHR_gl_texture_cubemap_image", "EGL_KHR_image", "EGL_KHR_image_base", "EGL_KHR_image_pixmap", "EGL_KHR_no_config_context", "EGL_KHR_reusable_sync", "EGL_KHR_surfaceless_context", "EGL_EXT_pixel_format_float", "EGL_KHR_wait_sync", "EGL_MESA_configless_context", "EGL_MESA_drm_image", "EGL_MESA_image_dma_buf_export", "EGL_MESA_query_driver", "EGL_WL_bind_wayland_display", ""], smithay_module: backend_egl
May 24 18:56:45.812 INFO EGL context created, smithay_module: backend_egl
May 24 18:56:45.812 INFO Adding socket at /run/user/1000/wayland-1-renderD128 for gpu renderD128
May 24 18:56:45.828 INFO Creating new wl_output, smithay_module: output_handler, name: eDP-1
May 24 18:56:45.830 INFO Creating new wl_output, smithay_module: output_handler, name: HDMI-A-1
May 24 18:56:45.832 INFO Initializing drm surface (crtc::Handle(67):plane::Handle(55)) with mode Mode { name: "1920x1080", clock: 145000, size: (1920, 1080), hsync: (2000, 2054, 2150), vsync: (1086, 1094, 1124), hskew: 0, vscan: 0, vrefresh: 60, mode_type: PREFERRED | DRIVER } and connectors [connector::Handle(78)], drm_module: surface, smithay_module: backend_drm_atomic, smithay_module: backend_drm
May 24 18:56:45.832 DEBG Remaining intersected formats: {DrmFormat { code: DrmFourcc(AR24), modifier: Linear }, DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115206334806273) }, DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115188075858177) }, DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115188080056577) }}, backend: drm_render
May 24 18:56:45.832 DEBG Testing Formats: [DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115188075858177) }, DrmFormat { code: DrmFourcc(AR24), modifier: Linear }, DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115188080056577) }, DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115206334806273) }], backend: drm_render
May 24 18:56:45.835 DEBG Choosen format: DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115206334806273) }, backend: drm_render
May 24 18:56:45.836 INFO Initializing drm surface (crtc::Handle(70):plane::Handle(50)) with mode Mode { name: "1920x1080", clock: 148500, size: (1920, 1080), hsync: (2008, 2052, 2200), vsync: (1084, 1089, 1125), hskew: 0, vscan: 0, vrefresh: 60, mode_type: PREFERRED | DRIVER } and connectors [connector::Handle(85)], drm_module: surface, smithay_module: backend_drm_atomic, smithay_module: backend_drm
May 24 18:56:45.837 DEBG Remaining intersected formats: {DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115188075858177) }, DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115206334806273) }, DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115188080056577) }, DrmFormat { code: DrmFourcc(AR24), modifier: Linear }}, backend: drm_render
May 24 18:56:45.837 DEBG Testing Formats: [DrmFormat { code: DrmFourcc(AR24), modifier: Linear }, DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115188080056577) }, DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115188075858177) }, DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115206334806273) }], backend: drm_render
May 24 18:56:45.837 DEBG Choosen format: DrmFormat { code: DrmFourcc(AR24), modifier: Unrecognized(144115206334806273) }, backend: drm_render
May 24 18:56:45.854 DEBG [GL] Shader Stats: SGPRS: 16 VGPRS: 20 Code Size: 392 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 DivergentLoop: 0, InlineUniforms: 0, ParamExports: 0, (CS, W64), smithay_module: renderer_gles2
May 24 18:56:45.855 DEBG Preparing Commit.
	Current: State { mode: Mode { name: "1920x1080", clock: 145000, size: (1920, 1080), hsync: (2000, 2054, 2150), vsync: (1086, 1094, 1124), hskew: 0, vscan: 0, vrefresh: 60, mode_type: PREFERRED | DRIVER }, blob: Blob(102), connectors: {connector::Handle(78)} }
	Pending: State { mode: Mode { name: "1920x1080", clock: 145000, size: (1920, 1080), hsync: (2000, 2054, 2150), vsync: (1086, 1094, 1124), hskew: 0, vscan: 0, vrefresh: 60, mode_type: PREFERRED | DRIVER }, blob: Blob(117), connectors: {connector::Handle(78)} }
, drm_module: surface, smithay_module: backend_drm_atomic, smithay_module: backend_drm
May 24 18:56:45.856 DEBG Setting screen: AtomicModeReq { objects: [55, 67], count_props_per_object: [11, 2], props: [property::Handle(9), property::Handle(10), property::Handle(11), property::Handle(12), property::Handle(13), property::Handle(14), property::Handle(15), property::Handle(16), property::Handle(17), property::Handle(20), property::Handle(59), property::Handle(22), property::Handle(23)], values: [0, 0, 125829120, 70778880, 0, 0, 1920, 1080, 119, 67, 1, 1, 117] }, drm_module: surface, smithay_module: backend_drm_atomic, smithay_module: backend_drm
May 24 18:56:45.864 DEBG Preparing Commit.
	Current: State { mode: Mode { name: "1920x1080", clock: 148500, size: (1920, 1080), hsync: (2008, 2052, 2200), vsync: (1084, 1089, 1125), hskew: 0, vscan: 0, vrefresh: 60, mode_type: PREFERRED | DRIVER }, blob: Blob(112), connectors: {connector::Handle(85)} }
	Pending: State { mode: Mode { name: "1920x1080", clock: 148500, size: (1920, 1080), hsync: (2008, 2052, 2200), vsync: (1084, 1089, 1125), hskew: 0, vscan: 0, vrefresh: 60, mode_type: PREFERRED | DRIVER }, blob: Blob(120), connectors: {connector::Handle(85)} }
, drm_module: surface, smithay_module: backend_drm_atomic, smithay_module: backend_drm
May 24 18:56:45.864 DEBG Setting screen: AtomicModeReq { objects: [50, 70], count_props_per_object: [11, 2], props: [property::Handle(9), property::Handle(10), property::Handle(11), property::Handle(12), property::Handle(13), property::Handle(14), property::Handle(15), property::Handle(16), property::Handle(17), property::Handle(20), property::Handle(54), property::Handle(22), property::Handle(23)], values: [0, 0, 125829120, 70778880, 0, 0, 1920, 1080, 99, 70, 1, 1, 120] }, drm_module: surface, smithay_module: backend_drm_atomic, smithay_module: backend_drm
May 24 18:56:46.400 INFO New device "event4", smithay_module: backend_libinput
May 24 18:56:46.403 INFO Initializing a xkbcommon handler with keymap query, smithay_module: xkbcommon_handler, seat_name: seat-0, smithay_module: seat_handler, options: , variant: , layout: , model: , rules: 
May 24 18:56:46.405 INFO Loaded Keymap, smithay_module: xkbcommon_handler, seat_name: seat-0, smithay_module: seat_handler, name: English (US)
May 24 18:56:46.406 INFO New device "event0", smithay_module: backend_libinput
May 24 18:56:46.408 INFO New device "event1", smithay_module: backend_libinput
May 24 18:56:46.409 INFO New device "event2", smithay_module: backend_libinput
May 24 18:56:46.411 INFO New device "event12", smithay_module: backend_libinput
May 24 18:56:46.412 INFO New device "event15", smithay_module: backend_libinput
May 24 18:56:46.414 INFO New device "event6", smithay_module: backend_libinput
May 24 18:56:46.416 INFO New device "event7", smithay_module: backend_libinput
May 24 18:56:46.417 INFO New device "event8", smithay_module: backend_libinput
May 24 18:56:46.419 INFO New device "event5", smithay_module: backend_libinput
May 24 18:56:46.420 INFO New device "event3", smithay_module: backend_libinput
May 24 18:56:46.422 INFO New device "event9", smithay_module: backend_libinput
May 24 18:56:46.423 INFO New device "event10", smithay_module: backend_libinput
May 24 18:56:46.426 WARN Unable to load xcursor: Theme has no default cursor, using fallback cursor
May 24 18:56:46.431 DEBG [GL] Shader Stats: SGPRS: 16 VGPRS: 8 Code Size: 112 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 DivergentLoop: 0, InlineUniforms: 0, ParamExports: 1, (VS, W64), smithay_module: renderer_gles2
May 24 18:56:46.432 DEBG [GL] Shader Stats: SGPRS: 16 VGPRS: 24 Code Size: 60 LDS: 0 Scratch: 0 Max Waves: 10 Spilled SGPRs: 0 Spilled VGPRs: 0 PrivMem VGPRs: 0 DivergentLoop: 0, InlineUniforms: 0, ParamExports: 0, (PS, W64), smithay_module: renderer_gles2
thread 'main' panicked at 'attempt to add with overflow', /home/poly/.cargo/git/checkouts/smithay-1fd533335f33e976/6b7db88/src/backend/allocator/swapchain.rs:189:34
stack backtrace:
   0: rust_begin_unwind
             at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:517:5
   1: core::panicking::panic_fmt
             at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/panicking.rs:100:14
   2: core::panicking::panic
             at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/panicking.rs:50:5
   3: smithay::backend::allocator::swapchain::Swapchain<A,B>::submitted::{{closure}}
             at /home/poly/.cargo/git/checkouts/smithay-1fd533335f33e976/6b7db88/src/backend/allocator/swapchain.rs:189:34
   4: core::sync::atomic::AtomicU8::fetch_update
             at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/sync/atomic.rs:1949:40
   5: smithay::backend::allocator::swapchain::Swapchain<A,B>::submitted
             at /home/poly/.cargo/git/checkouts/smithay-1fd533335f33e976/6b7db88/src/backend/allocator/swapchain.rs:185:27
   6: smithay::backend::drm::surface::gbm::GbmBufferedSurface<A,D>::submit
             at /home/poly/.cargo/git/checkouts/smithay-1fd533335f33e976/6b7db88/src/backend/drm/surface/gbm.rs:241:13
   7: smithay::backend::drm::surface::gbm::GbmBufferedSurface<A,D>::queue_buffer
             at /home/poly/.cargo/git/checkouts/smithay-1fd533335f33e976/6b7db88/src/backend/drm/surface/gbm.rs:209:13
   8: cosmic_comp::backend::kms::Surface::render_output
             at ./src/backend/kms/mod.rs:733:17
   9: cosmic_comp::backend::kms::KmsState::schedule_render::{{closure}}
             at ./src/backend/kms/mod.rs:904:51
  10: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::process_events::{{closure}}
             at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/calloop-0.10.0/src/sources/mod.rs:306:61
  11: <calloop::sources::timer::Timer as calloop::sources::EventSource>::process_events
             at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/calloop-0.10.0/src/sources/timer.rs:117:38
  12: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::process_events
             at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/calloop-0.10.0/src/sources/mod.rs:305:9
  13: calloop::loop_logic::EventLoop<Data>::dispatch_events
             at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/calloop-0.10.0/src/loop_logic.rs:300:31
  14: calloop::loop_logic::EventLoop<Data>::run
             at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/calloop-0.10.0/src/loop_logic.rs:434:13
  15: cosmic_comp::main
             at ./src/main.rs:48:5
  16: core::ops::function::FnOnce::call_once
             at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread 'main' panicked at 'slog-scope: No logger set. Use `slog_scope::set_global_logger` or `slog_scope::scope`.', /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-scope-4.4.0/lib.rs:125:13
stack backtrace:
   0:     0x5614eea8c3ce - std::backtrace_rs::backtrace::libunwind::trace::hf6a6dfd7da937cb0
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
   1:     0x5614eea8c3ce - std::backtrace_rs::backtrace::trace_unsynchronized::hc596a19e4891f7f3
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x5614eea8c3ce - std::sys_common::backtrace::_print_fmt::hb16700db31584325
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x5614eea8c3ce - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h231c4190cfa75162
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/sys_common/backtrace.rs:46:22
   4:     0x5614ee47c02d - core::fmt::write::h2a1462b5f8eea807
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/fmt/mod.rs:1163:17
   5:     0x5614eea8021a - std::io::Write::write_fmt::h71ddfebc68685972
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/io/mod.rs:1696:15
   6:     0x5614eea8f8e0 - std::sys_common::backtrace::_print::hcc197d4bebf2b369
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/sys_common/backtrace.rs:49:5
   7:     0x5614eea8f8e0 - std::sys_common::backtrace::print::h335a66af06738c7c
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/sys_common/backtrace.rs:36:9
   8:     0x5614eea8f8e0 - std::panicking::default_hook::{{closure}}::h6fac9ac9c8b79e52
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:210:50
   9:     0x5614eea8f138 - std::panicking::default_hook::h341c1030c6a1161b
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:227:9
  10:     0x5614eea90908 - std::panicking::rust_panic_with_hook::h50680ff4b44510c6
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:624:17
  11:     0x5614ee6472e2 - std::panicking::begin_panic::{{closure}}::h882cad1a08f08f94
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:544:9
  12:     0x5614ee645e89 - std::sys_common::backtrace::__rust_end_short_backtrace::h7343c353f775e9e0
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/sys_common/backtrace.rs:139:18
  13:     0x5614ee647223 - std::panicking::begin_panic::hef01ad205940cfd8
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:543:12
  14:     0x5614ee64374e - <slog_scope::NoGlobalLoggerSet as slog::Drain>::log::h8992ecaef3077be8
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-scope-4.4.0/lib.rs:125:13
  15:     0x5614ee64b834 - <alloc::sync::Arc<D> as slog::Drain>::log::hf405e429ff481866
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-2.7.0/src/lib.rs:1719:9
  16:     0x5614ee64bb1e - slog::Logger<D>::log::hde6dfaac82f42fb6
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-2.7.0/src/lib.rs:1233:17
  17:     0x5614ee649cfd - <slog_stdlog::Logger as log::Log>::log::{{closure}}::he5f87d63f545a07f
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-stdlog-4.1.1/lib.rs:109:42
  18:     0x5614ee64b729 - slog_scope::with_logger::{{closure}}::h506d53bc3849043a
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-scope-4.4.0/lib.rs:221:21
  19:     0x5614ee64b0aa - std::thread::local::LocalKey<T>::try_with::h4683ba90497b9537
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/thread/local.rs:399:16
  20:     0x5614ee64af99 - std::thread::local::LocalKey<T>::with::hec26cd38e9c5d380
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/thread/local.rs:375:9
  21:     0x5614ee64b46f - slog_scope::with_logger::hebdf5e47da4bd03b
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-scope-4.4.0/lib.rs:217:5
  22:     0x5614ee649c93 - <slog_stdlog::Logger as log::Log>::log::h24141f1f0aba3e64
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-stdlog-4.1.1/lib.rs:109:9
  23:     0x5614ee64a7df - <slog_stdlog::StdLog as slog::Drain>::log::h3ed03cb815499f9a
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-stdlog-4.1.1/lib.rs:269:9
  24:     0x5614ee72181c - <slog::Fuse<D> as slog::Drain>::log::h7dcd72b690d27860
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-2.7.0/src/lib.rs:1942:17
  25:     0x5614ee531e24 - <alloc::sync::Arc<D> as slog::Drain>::log::hc34be383d7ce4619
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-2.7.0/src/lib.rs:1719:9
  26:     0x5614ee53415e - slog::Logger<D>::log::hdff11e480172ab32
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/slog-2.7.0/src/lib.rs:1233:17
  27:     0x5614ee72a2a6 - <smithay::backend::session::libseat::LibSeatSession as smithay::backend::session::Session>::close::h57f0a0ecf9236769
                               at /home/poly/.cargo/git/checkouts/smithay-1fd533335f33e976/6b7db88/src/backend/session/libseat.rs:147:13
  28:     0x5614ee80d694 - <smithay::backend::session::auto::AutoSession as smithay::backend::session::Session>::close::h3b488cee2a912a8f
                               at /home/poly/.cargo/git/checkouts/smithay-1fd533335f33e976/6b7db88/src/backend/session/auto.rs:153:53
  29:     0x5614ee15e7fb - <smithay::backend::libinput::LibinputSessionInterface<S> as input::context::LibinputInterface>::close_restricted::h005624b2f4dd05ee
                               at /home/poly/.cargo/git/checkouts/smithay-1fd533335f33e976/6b7db88/src/backend/libinput/mod.rs:447:17
  30:     0x5614ee043751 - input::context::close_restricted::hec242128379511d5
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/input-0.7.1/src/context.rs:74:9
  31:     0x7ff486815dc1 - <unknown>
  32:     0x7ff48681f986 - <unknown>
  33:     0x7ff4868328ed - <unknown>
  34:     0x7ff48680ca6d - libinput_unref
  35:     0x5614ee529a8e - <input::context::Libinput as core::ops::drop::Drop>::drop::h3fa276f8b2e1ff5c
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/input-0.7.1/src/context.rs:115:13
  36:     0x5614ee526927 - core::ptr::drop_in_place<input::context::Libinput>::he4ee20090c43bece
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  37:     0x5614ee7f0ea7 - core::ptr::drop_in_place<<smithay::backend::libinput::LibinputInputBackend as smithay::utils::signaling::Linkable<smithay::backend::session::Signal>>::link::{{closure}}>::ha5434fe67578c312
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  38:     0x5614ee7f1fbb - core::ptr::drop_in_place<core::cell::UnsafeCell<<smithay::backend::libinput::LibinputInputBackend as smithay::utils::signaling::Linkable<smithay::backend::session::Signal>>::link::{{closure}}>>::h6d99a312b3d5dd79
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  39:     0x5614ee7f1e4f - core::ptr::drop_in_place<core::cell::RefCell<<smithay::backend::libinput::LibinputInputBackend as smithay::utils::signaling::Linkable<smithay::backend::session::Signal>>::link::{{closure}}>>::h991ad74efa3b3e64
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  40:     0x5614eeb60be0 - core::ptr::drop_in_place<dyn core::any::Any>::h31aec7850ac539e8
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  41:     0x5614ee82b606 - <alloc::rc::Rc<T> as core::ops::drop::Drop>::drop::hdd90a46bb53b5143
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/alloc/src/rc.rs:1450:17
  42:     0x5614ee7fa58b - core::ptr::drop_in_place<alloc::rc::Rc<dyn core::any::Any>>::h8e497980e5c31d28
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  43:     0x5614ee7f916b - core::ptr::drop_in_place<smithay::utils::signaling::SignalToken>::hb9dd259bbfe48d21
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  44:     0x5614ee326cdf - core::ptr::drop_in_place<[smithay::utils::signaling::SignalToken]>::hac6fc49ae770d494
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  45:     0x5614ee337293 - <alloc::vec::Vec<T,A> as core::ops::drop::Drop>::drop::h6ef3a85deec8e387
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/alloc/src/vec/mod.rs:2786:13
  46:     0x5614ee32a793 - core::ptr::drop_in_place<alloc::vec::Vec<smithay::utils::signaling::SignalToken>>::h04f6ec236fcf2055
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  47:     0x5614ee326f17 - core::ptr::drop_in_place<smithay::backend::libinput::LibinputInputBackend>::h3c2d4a1f6b1f9c81
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  48:     0x5614ee31388a - core::ptr::drop_in_place<calloop::sources::DispatcherInner<smithay::backend::libinput::LibinputInputBackend,cosmic_comp::backend::kms::init_backend::{{closure}}>>::h51409c877371283e
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  49:     0x5614ee316b7a - core::ptr::drop_in_place<core::cell::UnsafeCell<calloop::sources::DispatcherInner<smithay::backend::libinput::LibinputInputBackend,cosmic_comp::backend::kms::init_backend::{{closure}}>>>::hb8f19b4198e7af00
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  50:     0x5614ee31693e - core::ptr::drop_in_place<core::cell::RefCell<calloop::sources::DispatcherInner<smithay::backend::libinput::LibinputInputBackend,cosmic_comp::backend::kms::init_backend::{{closure}}>>>::hb09961f9088154e3
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  51:     0x5614ee32cc00 - core::ptr::drop_in_place<dyn calloop::sources::EventDispatcher<cosmic_comp::state::State>>::h66dbb15e9d7b9557
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  52:     0x5614ee32e0a0 - <alloc::rc::Rc<T> as core::ops::drop::Drop>::drop::h065b989e2e45e226
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/alloc/src/rc.rs:1450:17
  53:     0x5614ee30c02a - core::ptr::drop_in_place<alloc::rc::Rc<dyn calloop::sources::EventDispatcher<cosmic_comp::state::State>>>::h8c1e058adbb97143
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  54:     0x5614ee36e6aa - core::mem::manually_drop::ManuallyDrop<T>::drop::h677b0a436dfe3212
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/mem/manually_drop.rs:143:18
  55:     0x5614ee337b82 - <slotmap::basic::Slot<T> as core::ops::drop::Drop>::drop::hd7f9e727ab5a226d
                               at /home/poly/.cargo/registry/src/github.com-1ecc6299db9ec823/slotmap-1.0.6/src/basic.rs:78:17
  56:     0x5614ee30f7ba - core::ptr::drop_in_place<slotmap::basic::Slot<alloc::rc::Rc<dyn calloop::sources::EventDispatcher<cosmic_comp::state::State>>>>::h28b233e9aa4d8b35
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  57:     0x5614ee310beb - core::ptr::drop_in_place<[slotmap::basic::Slot<alloc::rc::Rc<dyn calloop::sources::EventDispatcher<cosmic_comp::state::State>>>]>::h4ce908700d7190ec
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  58:     0x5614ee337972 - <alloc::vec::Vec<T,A> as core::ops::drop::Drop>::drop::hd6610b244d1ca000
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/alloc/src/vec/mod.rs:2786:13
  59:     0x5614ee311eb3 - core::ptr::drop_in_place<alloc::vec::Vec<slotmap::basic::Slot<alloc::rc::Rc<dyn calloop::sources::EventDispatcher<cosmic_comp::state::State>>>>>::h610a490276fa2cc2
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  60:     0x5614ee3138aa - core::ptr::drop_in_place<slotmap::basic::SlotMap<calloop::loop_logic::CalloopKey,alloc::rc::Rc<dyn calloop::sources::EventDispatcher<cosmic_comp::state::State>>>>::h2243cb7223d0396d
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  61:     0x5614ee316b8a - core::ptr::drop_in_place<core::cell::UnsafeCell<slotmap::basic::SlotMap<calloop::loop_logic::CalloopKey,alloc::rc::Rc<dyn calloop::sources::EventDispatcher<cosmic_comp::state::State>>>>>::h1d7e8fae254ead0e
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  62:     0x5614ee31694e - core::ptr::drop_in_place<core::cell::RefCell<slotmap::basic::SlotMap<calloop::loop_logic::CalloopKey,alloc::rc::Rc<dyn calloop::sources::EventDispatcher<cosmic_comp::state::State>>>>>::h62e4478c58939444
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  63:     0x5614ee32b423 - core::ptr::drop_in_place<calloop::loop_logic::LoopInner<cosmic_comp::state::State>>::h75d4eed8bd416d27
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  64:     0x5614ee32f69d - <alloc::rc::Rc<T> as core::ops::drop::Drop>::drop::h2ba24e250153ff28
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/alloc/src/rc.rs:1450:17
  65:     0x5614ee30a95a - core::ptr::drop_in_place<alloc::rc::Rc<calloop::loop_logic::LoopInner<cosmic_comp::state::State>>>::h4ed7e7b8d6239880
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  66:     0x5614ee32b5ea - core::ptr::drop_in_place<calloop::loop_logic::LoopHandle<cosmic_comp::state::State>>::h7c3846c9e75c0160
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  67:     0x5614ee32b383 - core::ptr::drop_in_place<calloop::loop_logic::EventLoop<cosmic_comp::state::State>>::hd68975e5ee978852
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ptr/mod.rs:188:1
  68:     0x5614ee0b729f - cosmic_comp::main::h1532dfc5cb55379a
                               at /home/poly/dev/cosmic-comp/src/main.rs:79:1
  69:     0x5614ee304e4b - core::ops::function::FnOnce::call_once::h18a614a8212f3945
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ops/function.rs:227:5
  70:     0x5614ee042eae - std::sys_common::backtrace::__rust_begin_short_backtrace::hfc1eeafc9e76bfce
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/sys_common/backtrace.rs:123:18
  71:     0x5614edffccb1 - std::rt::lang_start::{{closure}}::h02b21f9e409029bd
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/rt.rs:146:18
  72:     0x5614eea8bebe - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hc56adab7a77ec6e3
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ops/function.rs:259:13
  73:     0x5614eea8bebe - std::panicking::try::do_call::h29f013120c5abc65
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:403:40
  74:     0x5614eea8bebe - std::panicking::try::h86d5b2b66caec4cf
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:367:19
  75:     0x5614eea8bebe - std::panic::catch_unwind::h7dd136d787f51397
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panic.rs:133:14
  76:     0x5614eea8bebe - std::rt::lang_start_internal::{{closure}}::h4a199351e630a8a5
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/rt.rs:128:48
  77:     0x5614eea8bebe - std::panicking::try::do_call::h20ceb9e5dff838c6
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:403:40
  78:     0x5614eea8bebe - std::panicking::try::hc2abb46a5e41bd43
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:367:19
  79:     0x5614eea8bebe - std::panic::catch_unwind::h52c3eb4408ad6dfb
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panic.rs:133:14
  80:     0x5614eea8bebe - std::rt::lang_start_internal::hd15a47be08101c28
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/rt.rs:128:20
  81:     0x5614edffcc80 - std::rt::lang_start::h46c9194ba3d8d8b4
                               at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/rt.rs:145:17
  82:     0x5614ee0b76ec - main
  83:     0x7ff4864e2d90 - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  84:     0x7ff4864e2e40 - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:392:3
  85:     0x5614edf6f0d5 - _start
  86:                0x0 - <unknown>
thread panicked while panicking. aborting.

question about build errors regarding dependency on smithay

Howdie, thanks so much for sharing this project, I'm excited to see it! <3

I've landed here from the submodule in cosmic-epoch as of https://github.com/pop-os/cosmic-epoch/tree/e6aeb0ae6127ceb485ce3302912597af1d7f7013

That submodule reference points to https://github.com/pop-os/cosmic-comp/tree/d843919502b50237399ca1492ce64aafdb698b08

When I run just sysext over in cosmic-epoch or cargo build --release inside the cosmic-comp submodule, I get this error:

โฏ cargo build --release
    Updating git repository `https://github.com/Smithay//smithay`
error: failed to load source for dependency `smithay`

Caused by:
  Unable to update https://github.com/Smithay//smithay?rev=625cbca5#625cbca5

Caused by:
  failed to fetch into: /home/user/.cargo/git/db/smithay-0141b1fcb9e16729

Caused by:
  process didn't exit successfully: `git fetch --tags --force --update-head-ok 'https://github.com/Smithay//smithay' '+refs/heads/*:refs/remotes/origin/*' '+HEAD:refs/remotes/origin/HEAD'` (exit status: 128)
  --- stderr
  fatal: remote error:
    Smithay//smithay is not a valid repository name
    Visit https://support.github.com/ for help

I believe this is caused by the double-slash here:

smithay = { git = "https://github.com/Smithay//smithay", rev = "625cbca5" }

But, when I remove the extra slash, I get this new error:

โฏ cargo build --release
    Updating git repository `https://github.com/Smithay/smithay`
error: failed to resolve patches for `https://github.com/Smithay/smithay.git`

Caused by:
  patch for `smithay` in `https://github.com/Smithay/smithay.git` points to the same source, but patches must point to different sources

I believe this is caused by that patch line having a different git revision than the one on this line:

rev = "606d2d5c"

But, if I remove the patch line, I get:

โฏ cargo build --release
    Updating git repository `https://github.com/Smithay/smithay.git`
    Updating crates.io index
error: failed to select a version for `wayland-backend`.
    ... required by package `smithay v0.3.0 (https://github.com/Smithay/smithay.git?rev=606d2d5c#606d2d5c)`
    ... which satisfies git dependency `smithay` of package `cosmic-comp v0.1.0 (/home/user/GitHub/pop-os/cosmic-epoch/cosmic-comp)`
versions that meet the requirements `=0.1.0-beta.8` are: 0.1.0-beta.8

all possible versions conflict with previously selected packages.

  previously selected package `wayland-backend v0.1.0-beta.10`
    ... which satisfies dependency `wayland-backend = "=0.1.0-beta.10"` (locked to 0.1.0-beta.10) of package `cosmic-comp v0.1.0 (/home/user/GitHub/pop-os/cosmic-epoch/cosmic-comp)`

failed to select a version for `wayland-backend` which could resolve this conflict

And then, if I change the dependency version to the (now deleted) patch revision, I get:

โฏ cargo build --release
    Updating git repository `https://github.com/Smithay/smithay.git`
    Updating git repository `https://github.com/Smithay/smithay.git`
    Updating crates.io index
error: failed to select a version for `wayland-protocols`.
    ... required by package `smithay v0.3.0 (https://github.com/Smithay/smithay.git?rev=606d2d5c#606d2d5c)`
    ... which satisfies git dependency `smithay` of package `smithay-egui v0.1.0 (https://github.com/Smithay/smithay-egui.git?rev=939febaf#939febaf)`
    ... which satisfies git dependency `smithay-egui` (locked to 0.1.0) of package `cosmic-comp v0.1.0 (/home/user/GitHub/pop-os/cosmic-epoch/cosmic-comp)`
versions that meet the requirements `=0.30.0-beta.8` are: 0.30.0-beta.8

all possible versions conflict with previously selected packages.

  previously selected package `wayland-protocols v0.30.0-beta.10`
    ... which satisfies dependency `wayland-protocols = "^0.30.0-beta.8"` (locked to 0.30.0-beta.10) of package `cosmic-protocols v0.1.0 (https://github.com/pop-os/cosmic-protocols?branch=main#3ff11df3)`
    ... which satisfies git dependency `cosmic-protocols` (locked to 0.1.0) of package `cosmic-comp v0.1.0 (/home/user/GitHub/pop-os/cosmic-epoch/cosmic-comp)`

failed to select a version for `wayland-protocols` which could resolve this conflict

I believe the original double-slash problem is caused by my ~/.cargo/config.toml:

[net]
git-fetch-with-cli = true

However, without that, my SSH setup for GitHub fails completely and everything fails at the crate download/update step

I'm going to see if I can find a combination of versions of dependencies that allows this to compile, but I was wondering if you had any thoughts/suggestions about what else I could try? Cheers!

Display hotplug seems to put workspace groups in an incorrect state

Output from https://github.com/pop-os/cosmic-protocols/blob/main/client-toolkit/examples/workspaces.rs, in a session I've been running for a while and hotplugged monitors:

Group: output: None, capabilities: []
  Workspace: name: 1, coordinates: [1, 0], capabilties: [Value(Activate)], state: [Value(Active)]
  Workspace: name: 2, coordinates: [2, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 3, coordinates: [3, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 4, coordinates: [4, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 5, coordinates: [5, 0], capabilties: [Value(Activate)], state: []
Group: output: None, capabilities: []
  Workspace: name: 1, coordinates: [1, 0], capabilties: [Value(Activate)], state: [Value(Active)]
  Workspace: name: 2, coordinates: [2, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 3, coordinates: [3, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 4, coordinates: [4, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 5, coordinates: [5, 0], capabilties: [Value(Activate)], state: []
Group: output: DP-5, capabilities: []
  Workspace: name: 1, coordinates: [1, 0], capabilties: [Value(Activate)], state: [Value(Active)]
  Workspace: name: 2, coordinates: [2, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 3, coordinates: [3, 0], capabilties: [Value(Activate)], state: []
Group: output: None, capabilities: []
  Workspace: name: 1, coordinates: [1, 0], capabilties: [Value(Activate)], state: [Value(Active)]
  Workspace: name: 2, coordinates: [2, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 3, coordinates: [3, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 4, coordinates: [4, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 5, coordinates: [5, 0], capabilties: [Value(Activate)], state: []
Group: output: DP-5, capabilities: []
  Workspace: name: 1, coordinates: [1, 0], capabilties: [Value(Activate)], state: [Value(Active)]
  Workspace: name: 2, coordinates: [2, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 3, coordinates: [3, 0], capabilties: [Value(Activate)], state: []
Group: output: DP-6, capabilities: []
  Workspace: name: 0, coordinates: [0, 1], capabilties: [Value(Activate)], state: [Value(Active)]
  Workspace: name: 1, coordinates: [1, 1], capabilties: [Value(Activate)], state: []
Group: output: None, capabilities: []
  Workspace: name: 1, coordinates: [1, 0], capabilties: [Value(Activate)], state: [Value(Active)]
  Workspace: name: 2, coordinates: [2, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 3, coordinates: [3, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 4, coordinates: [4, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 5, coordinates: [5, 0], capabilties: [Value(Activate)], state: []
Group: output: DP-5, capabilities: []
  Workspace: name: 1, coordinates: [1, 0], capabilties: [Value(Activate)], state: [Value(Active)]
  Workspace: name: 2, coordinates: [2, 0], capabilties: [Value(Activate)], state: []
  Workspace: name: 3, coordinates: [3, 0], capabilties: [Value(Activate)], state: []
Group: output: DP-6, capabilities: []
  Workspace: name: 0, coordinates: [0, 1], capabilties: [Value(Activate)], state: [Value(Active)]
  Workspace: name: 1, coordinates: [1, 1], capabilties: [Value(Activate)], state: []
Group: output: eDP-1, capabilities: []
  Workspace: name: 1, coordinates: [1, 2], capabilties: [Value(Activate)], state: [Value(Active)]

Disconnecting and reconnecting monitors also doesn't seem to move windows to the still connected display, nor do the windows appear when reconnected (since, I guess, it created a new workspace group).

Feature: BT.2020 colour space

A wonderful option would be for the compositor to always output in BT.2020 colour space. RGB surfaces would be mapped to BT.2020. This way, windowed/embedded HDR content would always display correctly.

A possibility to run filters on the output would be great as well. e.g. applying a gamma curve to the whole screen, lowering "brightness" to reduce migraine pain. (As an aside, migraine is the third most common disease globally, affecting one in every seven people.)

Obviously, this is not important at this stage of development but hopefully, the design can accommodate this future.

Application unresponse due to not getting frame callback when moved on hotplug

  • Run cosmic-comp with more than one monitor
  • Open gnome-terminal, foot, etc. on one monitor
  • Disable the monitor it is open on in wdisplays
  • The workspace the application was on is moved to the display that is still enabled, but switching to that, the application seems slow to respond to input

Looking at WAYLAND_DEBUG logs of foot, it seems it isn't receiving a regular frame callback when this issue occurs, unlike when the application is running normally.

Looking at the code involved in sending frame callbacks, maybe the "primary scanout output" for the surface isn't being changed correctly?

Errors when compiling cosmic-comp

I am trying to test the new cosmic desktop environment, but I keep running into errors when compiling cosmic-comp. Here is a screenshot of the error:
Screenshot from 2022-07-29 20-18-55
And the error in plain text:

error[E0432]: unresolved imports `smithay::reexports::wayland_server::DelegateDispatch`, `smithay::reexports::wayland_server::DelegateGlobalDispatch`
  --> src/wayland/protocols/drm.rs:29:77
   |
29 |         backend::GlobalId, protocol::wl_buffer::WlBuffer, Client, DataInit, DelegateDispatch,
   |                                                                             ^^^^^^^^^^^^^^^^ no `DelegateDispatch` in the root
30 |         DelegateGlobalDispatch, Dispatch, DisplayHandle, GlobalDispatch, New, Resource,
   |         ^^^^^^^^^^^^^^^^^^^^^^ no `DelegateGlobalDispatch` in the root
   |
help: a similar name exists in the module
   |
29 |         backend::GlobalId, protocol::wl_buffer::WlBuffer, Client, DataInit, delegate_dispatch,
   |                                                                             ~~~~~~~~~~~~~~~~~
help: a similar name exists in the module
   |
30 |         delegate_global_dispatch, Dispatch, DisplayHandle, GlobalDispatch, New, Resource,
   |         ~~~~~~~~~~~~~~~~~~~~~~~~

error[E0432]: unresolved imports `smithay::reexports::wayland_server::DelegateDispatch`, `smithay::reexports::wayland_server::DelegateGlobalDispatch`
  --> src/wayland/protocols/output_configuration.rs:15:31
   |
15 |             Client, DataInit, DelegateDispatch, DelegateGlobalDispatch, Dispatch, DisplayHandle,
   |                               ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^ no `DelegateGlobalDispatch` in the root
   |                               |
   |                               no `DelegateDispatch` in the root
   |
help: a similar name exists in the module
   |
15 |             Client, DataInit, delegate_dispatch, DelegateGlobalDispatch, Dispatch, DisplayHandle,
   |                               ~~~~~~~~~~~~~~~~~
help: a similar name exists in the module
   |
15 |             Client, DataInit, DelegateDispatch, delegate_global_dispatch, Dispatch, DisplayHandle,
   |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~

error[E0432]: unresolved imports `smithay::reexports::wayland_server::DelegateDispatch`, `smithay::reexports::wayland_server::DelegateGlobalDispatch`
  --> src/wayland/protocols/toplevel_info.rs:11:31
   |
11 |             Client, DataInit, DelegateDispatch, DelegateGlobalDispatch, Dispatch, DisplayHandle,
   |                               ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^ no `DelegateGlobalDispatch` in the root
   |                               |
   |                               no `DelegateDispatch` in the root
   |
help: a similar name exists in the module
   |
11 |             Client, DataInit, delegate_dispatch, DelegateGlobalDispatch, Dispatch, DisplayHandle,
   |                               ~~~~~~~~~~~~~~~~~
help: a similar name exists in the module
   |
11 |             Client, DataInit, DelegateDispatch, delegate_global_dispatch, Dispatch, DisplayHandle,
   |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~

error[E0432]: unresolved imports `smithay::reexports::wayland_server::DelegateDispatch`, `smithay::reexports::wayland_server::DelegateGlobalDispatch`
  --> src/wayland/protocols/workspace.rs:11:27
   |
11 |         Client, DataInit, DelegateDispatch, DelegateGlobalDispatch, Dispatch, DisplayHandle,
   |                           ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^ no `DelegateGlobalDispatch` in the root
   |                           |
   |                           no `DelegateDispatch` in the root
   |
help: a similar name exists in the module
   |
11 |         Client, DataInit, delegate_dispatch, DelegateGlobalDispatch, Dispatch, DisplayHandle,
   |                           ~~~~~~~~~~~~~~~~~
help: a similar name exists in the module
   |
11 |         Client, DataInit, DelegateDispatch, delegate_global_dispatch, Dispatch, DisplayHandle,
   |                                             ~~~~~~~~~~~~~~~~~~~~~~~~

For more information about this error, try `rustc --explain E0432`.
error: could not compile `cosmic-comp` due to 4 previous errors

Failing to start on latest master

It seems 4a9dfce breaks cosmic-comp on my Dev One. The previous commit works fine, as does Anvil from the latest Smithay commit.

Feb 14 13:22:50 pop-os cosmic-comp[51391]: Version: 0.1.0
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Cosmic starting up!
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Created new socket, wayland_socket: wayland-1
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Listening on "wayland-1"
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Trying config location: /home/ian/.config/cosmic-comp.ron
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Trying config location: /home/ian/.config/cosmic-comp/config.ron
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Trying config location: /home/ian/src/pop/cosmic-comp/config.ron
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Using config at /home/ian/src/pop/cosmic-comp/config.ron
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Key-Binding 'Period' only matched case insensitive for "period"
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Key-Binding 'Comma' only matched case insensitive for "comma"
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Key-Binding 'Period' only matched case insensitive for "period"
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Key-Binding 'Comma' only matched case insensitive for "comma"
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Enable callback called, session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event2", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event4", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event0", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event1", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event19", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Closing device: 23, session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event20", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Closing device: 23, session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event21", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Closing device: 23, session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event22", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Closing device: 23, session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event18", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event7", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event11", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event12", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event13", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event14", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event15", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event16", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event17", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event5", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event24", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Closing device: 33, session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event25", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Closing device: 33, session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event6", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event9", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event10", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event3", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event8", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/input/event23", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Initializing a libinput backend, smithay_module: backend_libinput
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Using renderD128 as primary gpu for rendering
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Starting XWayland, smithay_module: XWayland
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Attempting to aquire an X11 display lock, smithay_module: XWayland, D: 0
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Failed to acquire lock, smithay_module: XWayland, D: 0
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Lock was blocked by a defunct X11 server, trying again, smithay_module: XWayland, D: 0
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Attempting to aquire an X11 display lock, smithay_module: XWayland, D: 0
Feb 14 13:22:50 pop-os cosmic-comp[51391]: X11 lock acquired, smithay_module: XWayland, D: 0
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Opening device: "/dev/dri/card0", session_type: libseat, smithay_module: backend_session
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Unable to become drm master, assuming unprivileged mode, smithay_module: backend_drm
Feb 14 13:22:50 pop-os cosmic-comp[51391]: DrmDevice initializing, smithay_module: backend_drm
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Supported EGL client extensions: ["EGL_EXT_device_base", "EGL_EXT_device_enumeration", "EGL_EXT_device_query", "EGL_EXT_platform_base", "EGL_KHR_client_get_all_proc_addresses", "EGL_EXT_client_extensions", "EGL_KHR_debug", "EGL_EXT_platform_device", "EGL_EXT_platform_wayland", "EGL_KHR_platform_wayland", "EGL_EXT_platform_x11", "EGL_KHR_platform_x11", "EGL_EXT_platform_xcb", "EGL_MESA_platform_gbm", "EGL_KHR_platform_gbm", "EGL_MESA_platform_surfaceless"], smithay_module: backend_egl
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Trying EGL platform: PLATFORM_GBM_KHR, smithay_module: backend_egl
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Successfully selected EGL platform: PLATFORM_GBM_KHR, platform: EGLPlatform { platform_name: "PLATFORM_GBM_KHR", required_extensions: ["EGL_KHR_platform_gbm"] }, smithay_module: backend_egl
Feb 14 13:22:50 pop-os cosmic-comp[51391]: EGL Initialized, smithay_module: backend_egl
Feb 14 13:22:50 pop-os cosmic-comp[51391]: EGL Version: (1, 5), smithay_module: backend_egl
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Supported EGL display extensions: ["EGL_ANDROID_blob_cache", "EGL_ANDROID_native_fence_sync", "EGL_EXT_buffer_age", "EGL_EXT_create_context_robustness", "EGL_EXT_image_dma_buf_import", "EGL_EXT_image_dma_buf_import_modifiers", "EGL_EXT_protected_surface", "EGL_IMG_context_priority", "EGL_KHR_cl_event2", "EGL_KHR_config_attribs", "EGL_KHR_context_flush_control", "EGL_KHR_create_context", "EGL_KHR_create_context_no_error", "EGL_KHR_fence_sync", "EGL_KHR_get_all_proc_addresses", "EGL_KHR_gl_colorspace", "EGL_KHR_gl_renderbuffer_image", "EGL_KHR_gl_texture_2D_image", "EGL_KHR_gl_texture_3D_image", "EGL_KHR_gl_texture_cubemap_image", "EGL_KHR_image", "EGL_KHR_image_base", "EGL_KHR_image_pixmap", "EGL_KHR_no_config_context", "EGL_KHR_reusable_sync", "EGL_KHR_surfaceless_context", "EGL_EXT_pixel_format_float", "EGL_KHR_wait_sync", "EGL_MESA_configless_context", "EGL_MESA_drm_image", "EGL_MESA_image_dma_buf_export", "EGL_MESA_query_driver", "EGL_WL_bind_wayland_display", ""], smithay_module: backend_egl
Feb 14 13:22:50 pop-os cosmic-comp[51391]: EGL context created, smithay_module: backend_egl
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Created new socket, wayland_socket: wayland-1-renderD128
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Added socket at wayland-1-renderD128 for gpu renderD128
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Failed to initialize output: The graphics api has found no node matching DrmNode { dev: 57984, ty: Render }
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Failed to initialize output: The graphics api has found no node matching DrmNode { dev: 57984, ty: Render }
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Failed to initialize output: The graphics api has found no node matching DrmNode { dev: 57984, ty: Render }
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Validation layers not available. These can be installed through your package manager, smithay_module: backend_vulkan
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Created new instance, smithay_module: backend_vulkan, version: 1.2.0 variant 0
Feb 14 13:22:50 pop-os cosmic-comp[51391]: Enabled instance extensions: ["VK_EXT_debug_utils"], smithay_module: backend_vulkan
Feb 14 13:22:51 pop-os cosmic-comp[51391]: Loading layer library libVkLayer_MESA_device_select.so, vulkan: debug_messenger, smithay_module: backend_vulkan, ty: general
Feb 14 13:22:51 pop-os cosmic-comp[51391]: Failed to find vkGetDeviceProcAddr in layer libVkLayer_MESA_device_select.so, vulkan: debug_messenger, smithay_module: backend_vulkan, ty: general
Feb 14 13:22:51 pop-os cosmic-comp[51391]: Unloading layer library libVkLayer_MESA_device_select.so, vulkan: debug_messenger, smithay_module: backend_vulkan, ty: general
Feb 14 13:22:51 pop-os cosmic-comp[51391]: Shutting down XWayland., smithay_module: XWayland
Feb 14 13:22:51 pop-os cosmic-comp[51391]: Cleaning up X11 lock., smithay_module: XWayland

Default monitor configuration has monitors spaced apart; unable to move cursor between them

Trying cosmic-comp with multiple monitors, I was unable to move my cursor to another display. In wdisplays, the monitors were positioned vertically with spaces between them. Adjusting to a layout that had them touching allows moving the cursor between monitors.

Not sure what the default layout comes from (and if it may be confused by a 1080p monitor and 2 1440p, if this issue doesn't always happen), but we'll have to think about the best default behavior here.

Accessibility Cosmic DE

Hi,
will Cosmic Develop it's own Screen Magnification Software or will it be using something like kMag or the GNOME one?

The current issue with the Magnifier in Pop!_OS (22.04), which I think uses the default GNOME Magnifier, is that it experiences some lag and unreliability despite utilizing modern hardware, while simultaneously producing a bit blurry image.

Cosmic Desktop is in its early stages of development and currently, accessibility isn't near a top priority. However, I have high hopes that as the development progresses, the team will create an exceptional version that includes accessibility features. It is exciting to see what the future holds for Cosmic Desktop and I am looking forward to the advancements it will bring.

Issue was moved from https://github.com/pop-os/cosmic-settings. Not a duplicate.

Doesn't start in VirtualBox

Attempting to start the COSMIC session in VirtualBox returns to the GDM login screen after logging in (the host is an NVIDIA GPU/AMD CPU machine, serw12.)

Output:
Sep 20 18:50:24 virtualbox gdm-password][1987]: gkr-pam: unable to locate daemon control file
Sep 20 18:50:24 virtualbox gdm-password][1987]: gkr-pam: stashed password to try later in open session
Sep 20 18:50:24 virtualbox gdm-password][1987]: pam_unix(gdm-password:session): session opened for user system76(uid=1000) by (uid=0)
Sep 20 18:50:24 virtualbox systemd-logind[686]: New session 4 of user system76.
Sep 20 18:50:24 virtualbox systemd[1]: Started Session 4 of User system76.
Sep 20 18:50:24 virtualbox gdm-password][1987]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Sep 20 18:50:24 virtualbox wireplumber[986]: dbus[986]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:24 virtualbox wireplumber[986]: dbus[986]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:24 virtualbox wireplumber[986]: dbus[986]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:24 virtualbox wireplumber[986]: dbus[986]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:24 virtualbox wireplumber[986]: dbus[986]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:24 virtualbox wireplumber[986]: dbus[986]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:24 virtualbox wireplumber[986]: dbus[986]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:24 virtualbox wireplumber[986]: dbus[986]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:24 virtualbox wireplumber[986]: dbus[986]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:24 virtualbox wireplumber[986]: dbus[986]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:24 virtualbox gsd-media-keys[1565]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
Sep 20 18:50:24 virtualbox gsd-media-keys[1565]: Unable to get default source
Sep 20 18:50:24 virtualbox gsd-media-keys[1565]: Unable to get default sink
Sep 20 18:50:24 virtualbox kernel: rfkill: input handler enabled
Sep 20 18:50:24 virtualbox gnome-shell[1195]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
Sep 20 18:50:24 virtualbox wireplumber[1881]: The decibel volume range for element 'Center' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:24 virtualbox wireplumber[1881]: The decibel volume range for element 'LFE' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:24 virtualbox wireplumber[1881]: The decibel volume range for element 'Center' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:24 virtualbox wireplumber[1881]: The decibel volume range for element 'LFE' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:24 virtualbox wireplumber[1881]: The decibel volume range for element 'Center' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:24 virtualbox wireplumber[1881]: The decibel volume range for element 'LFE' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:24 virtualbox wireplumber[1881]: The decibel volume range for element 'Center' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:24 virtualbox wireplumber[1881]: The decibel volume range for element 'LFE' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:24 virtualbox wireplumber[1881]: The decibel volume range for element 'Center' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:24 virtualbox wireplumber[1881]: The decibel volume range for element 'LFE' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Starting cosmic-session
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.542268Z  INFO cosmic_session: Starting cosmic-session
Sep 20 18:50:24 virtualbox cosmic-session[2530]: started
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.546868Z  INFO cosmic-comp: cosmic_session::comp: started
Sep 20 18:50:24 virtualbox systemd[1868]: Reached target Cosmic Session Target.
Sep 20 18:50:24 virtualbox systemd[1868]: Reached target Current graphical user session.
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.567 INFO Version: 0.1.0
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.571 INFO Cosmic starting up!
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.571352Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.567 INFO Version: 0.1.0
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.571434Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.571 INFO Cosmic starting up!
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.574 INFO Created new socket, wayland_socket: wayland-1
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.574879Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.574 INFO Created new socket, wayland_socket: wayland-1
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.574889Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.574 INFO Listening on "wayland-1"
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.574 INFO Listening on "wayland-1"
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.576 INFO Using config at /etc/cosmic-comp/config.ron
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.576455Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.576 INFO Using config at /etc/cosmic-comp/config.ron
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.581 INFO Initializing a xkbcommon handler with keymap query, smithay_module: xkbcommon_handler, seat_name: seat-0, smithay_module: seat_handler, options: , variant: , layout: , model: , rules: 
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.581980Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.581 INFO Initializing a xkbcommon handler with keymap query, smithay_module: xkbcommon_handler, seat_name: seat-0, smithay_module: seat_handler, options: , variant: , layout: , model: , rules:
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.584 INFO Loaded Keymap, smithay_module: xkbcommon_handler, seat_name: seat-0, smithay_module: seat_handler, name: English (US)
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.584816Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.584 INFO Loaded Keymap, smithay_module: xkbcommon_handler, seat_name: seat-0, smithay_module: seat_handler, name: English (US)
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.585 INFO Trying to create libseat session, session_type: auto, smithay_module: backend_session_auto
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.585878Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.585 INFO Trying to create libseat session, session_type: auto, smithay_module: backend_session_auto
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.585 INFO [libseat/backend/seatd.c:80] Could not connect to socket /run/seatd.sock: No such file or directory, session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.586126Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.585 INFO [libseat/backend/seatd.c:80] Could not connect to socket /run/seatd.sock: No such file or directory, session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.586 INFO [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping, session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.586372Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.586 INFO [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping, session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.651 INFO [libseat/libseat.c:73] Seat opened with backend 'logind', session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.651814Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.651 INFO [libseat/libseat.c:73] Seat opened with backend 'logind', session_type: libseat, smithay_module: backend_session, session_type: auto, smithay_module: backend_session_auto
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.671 INFO Initializing a libinput backend, smithay_module: backend_libinput
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.671817Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.671 INFO Initializing a libinput backend, smithay_module: backend_libinput
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.675 INFO Trying to initialize EGLDevice { inner: 0x5633589b9c50, device_extensions: ["EGL_EXT_device_drm", "EGL_EXT_device_drm_render_node"] } from renderD128
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.676142Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.675 INFO Trying to initialize EGLDevice { inner: 0x5633589b9c50, device_extensions: ["EGL_EXT_device_drm", "EGL_EXT_device_drm_render_node"] } from renderD128
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.676 INFO Successfully selected EGL platform: PLATFORM_DEVICE_EXT, platform: EGLPlatform { platform_name: "PLATFORM_DEVICE_EXT", required_extensions: ["EGL_EXT_platform_device"] }, smithay_module: backend_egl
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.676367Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.676 INFO Successfully selected EGL platform: PLATFORM_DEVICE_EXT, platform: EGLPlatform { platform_name: "PLATFORM_DEVICE_EXT", required_extensions: ["EGL_EXT_platform_device"] }, smithay_module: backend_egl
Sep 20 18:50:24 virtualbox kernel: [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel.
Sep 20 18:50:24 virtualbox kernel: [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel.
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.696 INFO EGL Initialized, smithay_module: backend_egl
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.696821Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.696 INFO EGL Initialized, smithay_module: backend_egl
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.696 INFO EGL Version: (1, 4), smithay_module: backend_egl
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.697052Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.696 INFO EGL Version: (1, 4), smithay_module: backend_egl
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.697 INFO Supported EGL display extensions: ["EGL_ANDROID_blob_cache", "EGL_ANDROID_native_fence_sync", "EGL_EXT_image_dma_buf_import", "EGL_EXT_image_dma_buf_import_modifiers", "EGL_KHR_cl_event2", "EGL_KHR_config_attribs", "EGL_KHR_create_context", "EGL_KHR_create_context_no_error", "EGL_KHR_fence_sync", "EGL_KHR_get_all_proc_addresses", "EGL_KHR_gl_renderbuffer_image", "EGL_KHR_gl_texture_2D_image", "EGL_KHR_gl_texture_3D_image", "EGL_KHR_gl_texture_cubemap_image", "EGL_KHR_image_base", "EGL_KHR_no_config_context", "EGL_KHR_reusable_sync", "EGL_KHR_surfaceless_context", "EGL_EXT_pixel_format_float", "EGL_KHR_wait_sync", "EGL_MESA_configless_context", "EGL_MESA_drm_image", "EGL_MESA_image_dma_buf_export", "EGL_MESA_query_driver", "EGL_WL_bind_wayland_display", ""], smithay_module: backend_egl
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.698284Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.697 INFO Supported EGL display extensions: ["EGL_ANDROID_blob_cache", "EGL_ANDROID_native_fence_sync", "EGL_EXT_image_dma_buf_import", "EGL_EXT_image_dma_buf_import_modifiers", "EGL_KHR_cl_event2", "EGL_KHR_config_attribs", "EGL_KHR_create_context", "EGL_KHR_create_context_no_error", "EGL_KHR_fence_sync", "EGL_KHR_get_all_proc_addresses", "EGL_KHR_gl_renderbuffer_image", "EGL_KHR_gl_texture_2D_image", "EGL_KHR_gl_texture_3D_image", "EGL_KHR_gl_texture_cubemap_image", "EGL_KHR_image_base", "EGL_KHR_no_config_context", "EGL_KHR_reusable_sync", "EGL_KHR_surfaceless_context", "EGL_EXT_pixel_format_float", "EGL_KHR_wait_sync", "EGL_MESA_configless_context", "EGL_MESA_drm_image", "EGL_MESA_image_dma_buf_export", "EGL_MESA_query_driver", "EGL_WL_bind_wayland_display", ""], smithay_module: backend_egl
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.699 INFO EGL context created, smithay_module: backend_egl
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.699202Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.699 INFO EGL context created, smithay_module: backend_egl
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.701 INFO Initializing OpenGL ES Renderer, smithay_module: renderer_gles2
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.701 INFO GL Version: "OpenGL ES 2.0 Mesa 22.0.5", smithay_module: renderer_gles2
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.701884Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.701 INFO Initializing OpenGL ES Renderer, smithay_module: renderer_gles2
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.701912Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.701 INFO GL Version: "OpenGL ES 2.0 Mesa 22.0.5", smithay_module: renderer_gles2
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.701919Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.701 INFO GL Vendor: "VMware, Inc.", smithay_module: renderer_gles2
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.701 INFO GL Vendor: "VMware, Inc.", smithay_module: renderer_gles2
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.701 INFO GL Renderer: "SVGA3D; build: RELEASE;  LLVM;", smithay_module: renderer_gles2
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.702181Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.701 INFO GL Renderer: "SVGA3D; build: RELEASE;  LLVM;", smithay_module: renderer_gles2
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.702 INFO Supported GL Extensions: ["GL_EXT_blend_minmax", "GL_EXT_multi_draw_arrays", "GL_EXT_texture_filter_anisotropic", "GL_EXT_texture_compression_s3tc", "GL_EXT_texture_compression_dxt1", "GL_EXT_texture_format_BGRA8888", "GL_OES_depth24", "GL_OES_element_index_uint", "GL_OES_fbo_render_mipmap", "GL_OES_mapbuffer", "GL_OES_rgb8_rgba8", "GL_OES_standard_derivatives", "GL_OES_stencil8", "GL_OES_texture_3D", "GL_OES_texture_float", "GL_OES_texture_float_linear", "GL_OES_texture_half_float", "GL_OES_texture_half_float_linear", "GL_OES_texture_npot", "GL_OES_vertex_half_float", "GL_OES_EGL_image", "GL_OES_depth_texture", "GL_OES_packed_depth_stencil", "GL_OES_get_program_binary", "GL_APPLE_texture_max_level", "GL_EXT_discard_framebuffer", "GL_EXT_read_format_bgra", "GL_EXT_frag_depth", "GL_NV_fbo_color_attachments", "GL_OES_EGL_image_external", "GL_OES_EGL_sync", "GL_OES_vertex_array_object", "GL_ANGLE_pack_reverse_row_order", "GL_ANGLE_texture_compression_dxt3", "GL_ANGLE_texture_compression_dxt5", "GL_EXT_occlusion_query_boolean", "GL_EXT_unpack_subimage", "GL_NV_draw_buffers", "GL_NV_read_buffer", "GL_NV_read_depth", "GL_NV_read_depth_stencil", "GL_NV_read_stencil", "GL_EXT_draw_buffers", "GL_EXT_map_buffer_range", "GL_KHR_debug", "GL_NV_pixel_buffer_object", "GL_OES_required_internalformat", "GL_OES_surfaceless_context", "GL_EXT_separate_shader_objects", "GL_EXT_draw_elements_base_vertex", "GL_EXT_texture_border_clamp", "GL_KHR_context_flush_control", "GL_OES_draw_elements_base_vertex", "GL_OES_texture_border_clamp", "GL_KHR_no_error", "GL_EXT_texture_compression_s3tc_srgb", "GL_KHR_parallel_shader_compile", "GL_MESA_bgra", ""], smithay_module: renderer_gles2
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.702456Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.702 INFO Supported GL Extensions: ["GL_EXT_blend_minmax", "GL_EXT_multi_draw_arrays", "GL_EXT_texture_filter_anisotropic", "GL_EXT_texture_compression_s3tc", "GL_EXT_texture_compression_dxt1", "GL_EXT_texture_format_BGRA8888", "GL_OES_depth24", "GL_OES_element_index_uint", "GL_OES_fbo_render_mipmap", "GL_OES_mapbuffer", "GL_OES_rgb8_rgba8", "GL_OES_standard_derivatives", "GL_OES_stencil8", "GL_OES_texture_3D", "GL_OES_texture_float", "GL_OES_texture_float_linear", "GL_OES_texture_half_float", "GL_OES_texture_half_float_linear", "GL_OES_texture_npot", "GL_OES_vertex_half_float", "GL_OES_EGL_image", "GL_OES_depth_texture", "GL_OES_packed_depth_stencil", "GL_OES_get_program_binary", "GL_APPLE_texture_max_level", "GL_EXT_discard_framebuffer", "GL_EXT_read_format_bgra", "GL_EXT_frag_depth", "GL_NV_fbo_color_attachments", "GL_OES_EGL_image_external", "GL_OES_EGL_sync", "GL_OES_vertex_array_object", "GL_ANGLE_pack_reverse_row_order", "GL_ANGLE_texture_compression_dxt3", "GL_ANGLE_texture_compression_dxt5", "GL_EXT_occlusion_query_boolean", "GL_EXT_unpack_subimage", "GL_NV_draw_buffers", "GL_NV_read_buffer", "GL_NV_read_depth", "GL_NV_read_depth_stencil", "GL_NV_read_stencil", "GL_EXT_draw_buffers", "GL_EXT_map_buffer_range", "GL_KHR_debug", "GL_NV_pixel_buffer_object", "GL_OES_required_internalformat", "GL_OES_surfaceless_context", "GL_EXT_separate_shader_objects", "GL_EXT_draw_elements_base_vertex", "GL_EXT_texture_border_clamp", "GL_KHR_context_flush_control", "GL_OES_draw_elements_base_vertex", "GL_OES_texture_border_clamp", "GL_KHR_no_error", "GL_EXT_texture_compression_s3tc_srgb", "GL_KHR_parallel_shader_compile", "GL_MESA_bgra", ""], smithay_module: renderer_gles2
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.714 INFO Using renderD128 as primary gpu for rendering
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.715525Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.714 INFO Using renderD128 as primary gpu for rendering
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.715 INFO DrmDevice initializing, smithay_module: backend_drm
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.716535Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.715 INFO DrmDevice initializing, smithay_module: backend_drm
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.715 WARN Unable to become drm master, assuming unprivileged mode, smithay_module: backend_drm
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.716627Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.715 WARN Unable to become drm master, assuming unprivileged mode, smithay_module: backend_drm
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.721 INFO Successfully selected EGL platform: PLATFORM_GBM_KHR, platform: EGLPlatform { platform_name: "PLATFORM_GBM_KHR", required_extensions: ["EGL_KHR_platform_gbm"] }, smithay_module: backend_egl
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.721845Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.721 INFO Successfully selected EGL platform: PLATFORM_GBM_KHR, platform: EGLPlatform { platform_name: "PLATFORM_GBM_KHR", required_extensions: ["EGL_KHR_platform_gbm"] }, smithay_module: backend_egl
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.722 INFO EGL Initialized, smithay_module: backend_egl
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.722311Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.722 INFO EGL Initialized, smithay_module: backend_egl
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.722 INFO EGL Version: (1, 4), smithay_module: backend_egl
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.722642Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.722 INFO EGL Version: (1, 4), smithay_module: backend_egl
Sep 20 18:50:24 virtualbox kernel: [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel.
Sep 20 18:50:24 virtualbox kernel: [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel.
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.722 INFO Supported EGL display extensions: ["EGL_ANDROID_blob_cache", "EGL_ANDROID_native_fence_sync", "EGL_EXT_buffer_age", "EGL_EXT_image_dma_buf_import", "EGL_EXT_image_dma_buf_import_modifiers", "EGL_KHR_cl_event2", "EGL_KHR_config_attribs", "EGL_KHR_create_context", "EGL_KHR_create_context_no_error", "EGL_KHR_fence_sync", "EGL_KHR_get_all_proc_addresses", "EGL_KHR_gl_renderbuffer_image", "EGL_KHR_gl_texture_2D_image", "EGL_KHR_gl_texture_3D_image", "EGL_KHR_gl_texture_cubemap_image", "EGL_KHR_image", "EGL_KHR_image_base", "EGL_KHR_image_pixmap", "EGL_KHR_no_config_context", "EGL_KHR_reusable_sync", "EGL_KHR_surfaceless_context", "EGL_EXT_pixel_format_float", "EGL_KHR_wait_sync", "EGL_MESA_configless_context", "EGL_MESA_drm_image", "EGL_MESA_image_dma_buf_export", "EGL_MESA_query_driver", "EGL_WL_bind_wayland_display", ""], smithay_module: backend_egl
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.723860Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.722 INFO Supported EGL display extensions: ["EGL_ANDROID_blob_cache", "EGL_ANDROID_native_fence_sync", "EGL_EXT_buffer_age", "EGL_EXT_image_dma_buf_import", "EGL_EXT_image_dma_buf_import_modifiers", "EGL_KHR_cl_event2", "EGL_KHR_config_attribs", "EGL_KHR_create_context", "EGL_KHR_create_context_no_error", "EGL_KHR_fence_sync", "EGL_KHR_get_all_proc_addresses", "EGL_KHR_gl_renderbuffer_image", "EGL_KHR_gl_texture_2D_image", "EGL_KHR_gl_texture_3D_image", "EGL_KHR_gl_texture_cubemap_image", "EGL_KHR_image", "EGL_KHR_image_base", "EGL_KHR_image_pixmap", "EGL_KHR_no_config_context", "EGL_KHR_reusable_sync", "EGL_KHR_surfaceless_context", "EGL_EXT_pixel_format_float", "EGL_KHR_wait_sync", "EGL_MESA_configless_context", "EGL_MESA_drm_image", "EGL_MESA_image_dma_buf_export", "EGL_MESA_query_driver", "EGL_WL_bind_wayland_display", ""], smithay_module: backend_egl
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.724 INFO EGL context created, smithay_module: backend_egl
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.724882Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.724 INFO EGL context created, smithay_module: backend_egl
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.725 INFO Created new socket, wayland_socket: wayland-1-renderD128
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.725305Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.725 INFO Created new socket, wayland_socket: wayland-1-renderD128
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.725 INFO Added socket at wayland-1-renderD128 for gpu renderD128
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.725535Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.725 INFO Added socket at wayland-1-renderD128 for gpu renderD128
Sep 20 18:50:24 virtualbox cosmic-session[2530]: Sep 21 00:50:24.726 WARN Failed to initialize output: No prop found
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.726493Z  INFO cosmic-comp: cosmic_session::comp: Sep 21 00:50:24.726 WARN Failed to initialize output: No prop found
Sep 20 18:50:24 virtualbox cosmic-session[2530]: thread 'main' panicked at 'slog-scope: No logger set. Use `slog_scope::set_global_logger` or `slog_scope::scope`.', /build/cosmic-comp-PQeq0U/cosmic-comp-0.1~1661944224~22.04~e1894ef/vendor/slog-scope/lib.rs:125:13
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.833862Z  INFO cosmic-comp: cosmic_session::comp: thread 'main' panicked at 'slog-scope: No logger set. Use `slog_scope::set_global_logger` or `slog_scope::scope`.', /build/cosmic-comp-PQeq0U/cosmic-comp-0.1~1661944224~22.04~e1894ef/vendor/slog-scope/lib.rs:125:13
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.833896Z  INFO cosmic-comp: cosmic_session::comp: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Sep 20 18:50:24 virtualbox cosmic-session[2530]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Sep 20 18:50:24 virtualbox cosmic-session[2530]: thread 'main' panicked at 'slog-scope: No logger set. Use `slog_scope::set_global_logger` or `slog_scope::scope`.', /build/cosmic-comp-PQeq0U/cosmic-comp-0.1~1661944224~22.04~e1894ef/vendor/slog-scope/lib.rs:125:13
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837404Z  INFO cosmic-comp: cosmic_session::comp: thread 'main' panicked at 'slog-scope: No logger set. Use `slog_scope::set_global_logger` or `slog_scope::scope`.', /build/cosmic-comp-PQeq0U/cosmic-comp-0.1~1661944224~22.04~e1894ef/vendor/slog-scope/lib.rs:125:13
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837413Z  INFO cosmic-comp: cosmic_session::comp: stack backtrace:
Sep 20 18:50:24 virtualbox cosmic-session[2530]: stack backtrace:
Sep 20 18:50:24 virtualbox cosmic-session[2530]:    0:     0x563357c88441 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837605Z  INFO cosmic-comp: cosmic_session::comp:    0:     0x563357c88441 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837615Z  INFO cosmic-comp: cosmic_session::comp:    1:     0x5633578c6f3c - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837621Z  INFO cosmic-comp: cosmic_session::comp:    2:     0x563357c60754 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837626Z  INFO cosmic-comp: cosmic_session::comp:    3:     0x563357c8bcf6 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837631Z  INFO cosmic-comp: cosmic_session::comp:    4:     0x563357c8cd77 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837637Z  INFO cosmic-comp: cosmic_session::comp:    5:     0x563357bb09fa - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837642Z  INFO cosmic-comp: cosmic_session::comp:    6:     0x563357bb09c6 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837647Z  INFO cosmic-comp: cosmic_session::comp:    7:     0x56335785ca99 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837653Z  INFO cosmic-comp: cosmic_session::comp:    8:     0x563357bb0386 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837659Z  INFO cosmic-comp: cosmic_session::comp:    9:     0x563357bb1617 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837669Z  INFO cosmic-comp: cosmic_session::comp:   10:     0x563357bb2d58 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837674Z  INFO cosmic-comp: cosmic_session::comp:   11:     0x563357c2b12c - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837680Z  INFO cosmic-comp: cosmic_session::comp:   12:     0x5633579e31c0 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:    1:     0x5633578c6f3c - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837684Z  INFO cosmic-comp: cosmic_session::comp:   13:     0x5633579135e7 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837690Z  INFO cosmic-comp: cosmic_session::comp:   14:     0x5633579134b5 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837694Z  INFO cosmic-comp: cosmic_session::comp:   15:     0x5633579a8ffc - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837699Z  INFO cosmic-comp: cosmic_session::comp:   16:     0x563357a38218 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837704Z  INFO cosmic-comp: cosmic_session::comp:   17:     0x563357a03699 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837710Z  INFO cosmic-comp: cosmic_session::comp:   18:     0x5633579a2cc9 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837715Z  INFO cosmic-comp: cosmic_session::comp:   19:     0x563357a01b83 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.837721Z  INFO cosmic-comp: cosmic_session::comp:   20:     0x56335799fbb4 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:    2:     0x563357c60754 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:    3:     0x563357c8bcf6 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:    4:     0x563357c8cd77 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:    5:     0x563357bb09fa - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:    6:     0x563357bb09c6 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:    7:     0x56335785ca99 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:    8:     0x563357bb0386 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:    9:     0x563357bb1617 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   10:     0x563357bb2d58 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   11:     0x563357c2b12c - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   12:     0x5633579e31c0 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   13:     0x5633579135e7 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   14:     0x5633579134b5 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   15:     0x5633579a8ffc - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   16:     0x563357a38218 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   17:     0x563357a03699 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   18:     0x5633579a2cc9 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   19:     0x563357a01b83 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.838966Z  INFO cosmic-comp: cosmic_session::comp:   21:     0x7f9d44829d90 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.838991Z  INFO cosmic-comp: cosmic_session::comp:   22:     0x7f9d44829e40 - __libc_start_main
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.839000Z  INFO cosmic-comp: cosmic_session::comp:   23:     0x563357869055 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.839007Z  INFO cosmic-comp: cosmic_session::comp:   24:                0x0 - <unknown>
Sep 20 18:50:24 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:24.839014Z  INFO cosmic-comp: cosmic_session::comp: thread panicked while panicking. aborting.
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   20:     0x56335799fbb4 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   21:     0x7f9d44829d90 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   22:     0x7f9d44829e40 - __libc_start_main
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   23:     0x563357869055 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]:   24:                0x0 - <unknown>
Sep 20 18:50:24 virtualbox cosmic-session[2530]: thread panicked while panicking. aborting.
Sep 20 18:50:26 virtualbox cosmic-session[2530]: failed to receive IPC: 
                                                    0: failed to read IPC length
                                                    1: early eof
                                                 
                                                 Location:
                                                    src/comp.rs:135
                                                 
                                                 Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
                                                 Run with RUST_BACKTRACE=full to include source snippets.
                                                 Warning: SpanTrace capture is Unsupported.
                                                 Ensure that you've setup a tracing-error ErrorLayer and the semver versions are compatible
Sep 20 18:50:26 virtualbox cosmic-session[2530]: 'cosmic-comp' exited with status signal: 6 (SIGABRT) (core dumped)
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]: The application panicked (crashed).
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]: Message:  failed to receive environmental variables: RecvError(())
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]: Location: src/main.rs:53
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]: Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]: Run with RUST_BACKTRACE=full to include source snippets.
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:26.764763Z ERROR cosmic-comp: cosmic_session::comp: failed to receive IPC:
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]:    0: failed to read IPC length
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]:    1: early eof
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]: Location:
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]:    src/comp.rs:135
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]: Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]: Run with RUST_BACKTRACE=full to include source snippets.
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]: Warning: SpanTrace capture is Unsupported.
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]: Ensure that you've setup a tracing-error ErrorLayer and the semver versions are compatible
Sep 20 18:50:26 virtualbox /usr/libexec/gdm-wayland-session[2530]: 2022-09-21T00:50:26.764880Z  INFO cosmic-comp: cosmic_session::process: 'cosmic-comp' exited with status signal: 6 (SIGABRT) (core dumped)
Sep 20 18:50:26 virtualbox systemd[1868]: Stopped target Cosmic Session Target.
Sep 20 18:50:26 virtualbox systemd[1868]: Stopped target Current graphical user session.
Sep 20 18:50:26 virtualbox gdm-password][1987]: pam_unix(gdm-password:session): session closed for user system76
Sep 20 18:50:26 virtualbox gdm3[814]: Gdm: GdmDisplay: Session never registered, failing
Sep 20 18:50:26 virtualbox kernel: rfkill: input handler disabled
Sep 20 18:50:26 virtualbox wireplumber[1881]: dbus[1881]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:26 virtualbox wireplumber[1881]: dbus[1881]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:26 virtualbox wireplumber[1881]: dbus[1881]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:26 virtualbox wireplumber[1881]: dbus[1881]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:26 virtualbox wireplumber[1881]: dbus[1881]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:26 virtualbox wireplumber[1881]: dbus[1881]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:26 virtualbox wireplumber[1881]: dbus[1881]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:26 virtualbox wireplumber[1881]: dbus[1881]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:26 virtualbox wireplumber[1881]: dbus[1881]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:26 virtualbox wireplumber[1881]: dbus[1881]: Attempted to unregister path (path[0] = MediaEndpoint path[1] = A2DPSink) which isn't registered
Sep 20 18:50:26 virtualbox gsd-color[1558]: unable to get EDID for xrandr-Virtual-1: unable to get EDID for output
Sep 20 18:50:26 virtualbox systemd-logind[686]: Session 4 logged out. Waiting for processes to exit.
Sep 20 18:50:26 virtualbox systemd[1]: session-4.scope: Deactivated successfully.
Sep 20 18:50:26 virtualbox systemd-logind[686]: Removed session 4.
Sep 20 18:50:26 virtualbox wireplumber[986]: The decibel volume range for element 'Center' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:26 virtualbox wireplumber[986]: The decibel volume range for element 'LFE' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:26 virtualbox wireplumber[986]: The decibel volume range for element 'Center' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:26 virtualbox wireplumber[986]: The decibel volume range for element 'LFE' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:26 virtualbox wireplumber[986]: The decibel volume range for element 'Center' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:26 virtualbox wireplumber[986]: The decibel volume range for element 'LFE' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:26 virtualbox wireplumber[986]: The decibel volume range for element 'Center' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:26 virtualbox wireplumber[986]: The decibel volume range for element 'LFE' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:26 virtualbox wireplumber[986]: The decibel volume range for element 'Center' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:26 virtualbox wireplumber[986]: The decibel volume range for element 'LFE' (-4650 dB - -2400 dB) has negative maximum. Disabling the decibel range.
Sep 20 18:50:26 virtualbox wireplumber[986]: <WpNode:0x556312770610> ignoring set_param on already destroyed objects
Sep 20 18:50:26 virtualbox wireplumber[986]: <WpNode:0x5563127188f0> ignoring set_param on already destroyed objects
Sep 20 18:50:26 virtualbox gsd-media-keys[1565]: Unable to get default sink
Sep 20 18:50:26 virtualbox gsd-media-keys[1565]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
Sep 20 18:50:26 virtualbox gnome-shell[1195]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
Sep 20 18:50:26 virtualbox org.gnome.Shell.desktop[2572]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Sep 20 18:50:26 virtualbox org.gnome.Shell.desktop[2572]: > Warning:          Unsupported maximum keycode 708, clipping.
Sep 20 18:50:26 virtualbox org.gnome.Shell.desktop[2572]: >                   X11 cannot support keycodes above 255.
Sep 20 18:50:26 virtualbox org.gnome.Shell.desktop[2572]: Errors from xkbcomp are not fatal to the X server
Sep 20 18:50:26 virtualbox gsd-color[1558]: unable to get EDID for xrandr-Virtual-1: unable to get EDID for output
Sep 20 18:50:26 virtualbox gsd-color[1558]: unable to get EDID for xrandr-Virtual-1: unable to get EDID for output
Sep 20 18:50:26 virtualbox gsd-color[1558]: unable to get EDID for xrandr-Virtual-1: unable to get EDID for output
Sep 20 18:50:27 virtualbox gsd-color[1558]: unable to get EDID for xrandr-Virtual-1: unable to get EDID for output

Not caused by or fixed by #37.

Cosmic-comp fails to start on Asahi: `Failed to initialize drm device for: /dev/dri/card1`

From what I understand this is because the connectors are associated with different drm device than renderers on these mobile-esque gpus, I believe this is the same issue as Smithay/smithay#678 but I'm not sure

Sway and river (wlroots based) launch just fine for reference, while smithay's anvil results in a similar error

Ran using nix with nix run github:pop-os/cosmic-comp

Heres the log output

warning: Using saved setting for 'extra-substituters = https://nix-community.cachix.org' from ~/.local/share/nix/trusted-settings.json.
warning: Using saved setting for 'extra-trusted-public-keys = nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=' from ~/.local/share/nix/trusted-settings.json.
warning: ignoring untrusted substituter 'https://nix-community.cachix.org'
Feb 04 19:06:57.778 INFO Version: 0.1.0
Feb 04 19:06:57.778 INFO Cosmic starting up!
Feb 04 19:06:57.778 INFO Created new socket, wayland_socket: wayland-1
Feb 04 19:06:57.778 INFO Listening on "wayland-1"
Feb 04 19:06:57.833 INFO Initializing a libinput backend, smithay_module: backend_libinput
Feb 04 19:06:57.840 INFO Trying to initialize EGLDevice { inner: 0xaaab13fc5400, device_extensions: ["EGL_EXT_device_drm", "EGL_EXT_device_drm_render_node"] } from renderD128
Feb 04 19:06:57.840 INFO Successfully selected EGL platform: PLATFORM_DEVICE_EXT, platform: EGLPlatform { platform_name: "PLATFORM_DEVICE_EXT", required_extensions: ["EGL_EXT_platform_device"] }, smithay_module: backend_egl
Feb 04 19:06:57.877 INFO EGL Initialized, smithay_module: backend_egl
Feb 04 19:06:57.877 INFO EGL Version: (1, 4), smithay_module: backend_egl
Feb 04 19:06:57.877 INFO Supported EGL display extensions: ["EGL_ANDROID_blob_cache", "EGL_EXT_image_dma_buf_import", "EGL_EXT_image_dma_buf_import_modifiers", "EGL_KHR_cl_event2", "EGL_KHR_config_attribs", "EGL_KHR_context_flush_control", "EGL_KHR_create_context", "EGL_KHR_create_context_no_error", "EGL_KHR_fence_sync", "EGL_KHR_get_all_proc_addresses", "EGL_KHR_gl_colorspace", "EGL_KHR_gl_renderbuffer_image", "EGL_KHR_gl_texture_2D_image", "EGL_KHR_gl_texture_3D_image", "EGL_KHR_gl_texture_cubemap_image", "EGL_KHR_image_base", "EGL_KHR_no_config_context", "EGL_KHR_reusable_sync", "EGL_KHR_surfaceless_context", "EGL_EXT_pixel_format_float", "EGL_KHR_wait_sync", "EGL_MESA_configless_context", "EGL_MESA_drm_image", "EGL_MESA_image_dma_buf_export", "EGL_MESA_query_driver", "EGL_WL_bind_wayland_display", ""], smithay_module: backend_egl
Feb 04 19:06:57.878 INFO EGL context created, smithay_module: backend_egl
Feb 04 19:06:57.879 INFO Initializing OpenGL ES Renderer, smithay_module: renderer_gles2
Feb 04 19:06:57.880 INFO GL Version: "OpenGL ES 2.0 Mesa 23.0.0-devel", smithay_module: renderer_gles2
Feb 04 19:06:57.880 INFO GL Vendor: "Asahi", smithay_module: renderer_gles2
Feb 04 19:06:57.880 INFO GL Renderer: "Apple M1 (G13G B1)", smithay_module: renderer_gles2
Feb 04 19:06:57.880 INFO Supported GL Extensions: ["GL_EXT_blend_minmax", "GL_EXT_multi_draw_arrays", "GL_EXT_texture_filter_anisotropic", "GL_EXT_texture_compression_s3tc", "GL_EXT_texture_compression_dxt1", "GL_EXT_texture_format_BGRA8888", "GL_OES_compressed_ETC1_RGB8_texture", "GL_OES_depth24", "GL_OES_element_index_uint", "GL_OES_fbo_render_mipmap", "GL_OES_mapbuffer", "GL_OES_rgb8_rgba8", "GL_OES_standard_derivatives", "GL_OES_stencil8", "GL_OES_texture_3D", "GL_OES_texture_float", "GL_OES_texture_float_linear", "GL_OES_texture_half_float", "GL_OES_texture_half_float_linear", "GL_OES_texture_npot", "GL_OES_vertex_half_float", "GL_EXT_draw_instanced", "GL_OES_EGL_image", "GL_OES_depth_texture", "GL_OES_packed_depth_stencil", "GL_EXT_texture_type_2_10_10_10_REV", "GL_OES_get_program_binary", "GL_APPLE_texture_max_level", "GL_EXT_discard_framebuffer", "GL_EXT_read_format_bgra", "GL_NV_pack_subimage", "GL_EXT_frag_depth", "GL_NV_fbo_color_attachments", "GL_OES_EGL_image_external", "GL_OES_EGL_sync", "GL_OES_vertex_array_object", "GL_ANGLE_pack_reverse_row_order", "GL_ANGLE_texture_compression_dxt3", "GL_ANGLE_texture_compression_dxt5", "GL_EXT_occlusion_query_boolean", "GL_EXT_texture_rg", "GL_EXT_unpack_subimage", "GL_NV_draw_buffers", "GL_NV_read_buffer", "GL_NV_read_depth", "GL_NV_read_depth_stencil", "GL_NV_read_stencil", "GL_EXT_draw_buffers", "GL_EXT_map_buffer_range", "GL_KHR_debug", "GL_KHR_texture_compression_astc_ldr", "GL_NV_pixel_buffer_object", "GL_OES_depth_texture_cube_map", "GL_OES_required_internalformat", "GL_OES_surfaceless_context", "GL_EXT_debug_label", "GL_EXT_separate_shader_objects", "GL_EXT_compressed_ETC1_RGB8_sub_texture", "GL_EXT_draw_elements_base_vertex", "GL_EXT_texture_border_clamp", "GL_KHR_context_flush_control", "GL_OES_draw_elements_base_vertex", "GL_OES_texture_border_clamp", "GL_KHR_no_error", "GL_KHR_texture_compression_astc_sliced_3d", "GL_EXT_texture_compression_s3tc_srgb", "GL_KHR_parallel_shader_compile", "GL_EXT_depth_clamp", "GL_MESA_bgra", ""], smithay_module: renderer_gles2
Feb 04 19:06:57.892 INFO Using renderD128 as primary gpu for rendering
Feb 04 19:06:57.892 INFO Starting XWayland, smithay_module: XWayland
Feb 04 19:06:57.894 WARN Unable to become drm master, assuming unprivileged mode, smithay_module: backend_drm
Feb 04 19:06:57.894 INFO DrmDevice initializing, smithay_module: backend_drm
Feb 04 19:06:57.899 INFO Successfully selected EGL platform: PLATFORM_GBM_KHR, platform: EGLPlatform { platform_name: "PLATFORM_GBM_KHR", required_extensions: ["EGL_KHR_platform_gbm"] }, smithay_module: backend_egl
Feb 04 19:06:57.899 INFO EGL Initialized, smithay_module: backend_egl
Feb 04 19:06:57.899 INFO EGL Version: (1, 4), smithay_module: backend_egl
Feb 04 19:06:57.900 INFO Supported EGL display extensions: ["EGL_ANDROID_blob_cache", "EGL_EXT_buffer_age", "EGL_EXT_image_dma_buf_import", "EGL_EXT_image_dma_buf_import_modifiers", "EGL_KHR_cl_event2", "EGL_KHR_config_attribs", "EGL_KHR_context_flush_control", "EGL_KHR_create_context", "EGL_KHR_create_context_no_error", "EGL_KHR_fence_sync", "EGL_KHR_get_all_proc_addresses", "EGL_KHR_gl_colorspace", "EGL_KHR_gl_renderbuffer_image", "EGL_KHR_gl_texture_2D_image", "EGL_KHR_gl_texture_3D_image", "EGL_KHR_gl_texture_cubemap_image", "EGL_KHR_image", "EGL_KHR_image_base", "EGL_KHR_image_pixmap", "EGL_KHR_no_config_context", "EGL_KHR_reusable_sync", "EGL_KHR_surfaceless_context", "EGL_EXT_pixel_format_float", "EGL_KHR_wait_sync", "EGL_MESA_configless_context", "EGL_MESA_drm_image", "EGL_MESA_image_dma_buf_export", "EGL_MESA_query_driver", "EGL_WL_bind_wayland_display", ""], smithay_module: backend_egl
Feb 04 19:06:57.900 INFO EGL context created, smithay_module: backend_egl
Feb 04 19:06:57.900 INFO Created new socket, wayland_socket: wayland-1-card2
Feb 04 19:06:57.900 INFO Added socket at wayland-1-card2 for gpu card2
Feb 04 19:06:57.901 WARN Failed to initialize output: The graphics api has found no node matching DrmNode { dev: 57858, ty: Primary }
Feb 04 19:06:57.903 WARN Unable to become drm master, assuming unprivileged mode, smithay_module: backend_drm
Feb 04 19:06:57.903 INFO DrmDevice initializing, smithay_module: backend_drm
Feb 04 19:06:57.903 INFO Dropping device: Some("/dev/dri/card1"), smithay_module: backend_drm
Feb 04 19:06:57.907 INFO Shutting down XWayland., smithay_module: XWayland
Feb 04 19:06:57.907 INFO Cleaning up X11 lock., smithay_module: XWayland
Error: Failed to add drm device: /dev/dri/card1

Caused by:
    0: Failed to initialize drm device for: /dev/dri/card1
    1: DRM access error: Error loading resource handles on device `Some("/dev/dri/card1")` (unknown system error: EOPNOTSUPP: Operation not supported on transport endpoint)
    2: unknown system error: EOPNOTSUPP: Operation not supported on transport endpoint
(EE) could not connect to wayland server

Panic when xkb configuration is wrong

xkbcommon: ERROR: Couldn't find file "symbols/en" in include paths
xkbcommon: ERROR: 1 include paths searched:
xkbcommon: ERROR:       /usr/share/X11/xkb
xkbcommon: ERROR: 3 include paths could not be added:
xkbcommon: ERROR:       /home/ian/.config/xkb
xkbcommon: ERROR:       /home/ian/.xkb
xkbcommon: ERROR:       /etc/xkb
xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
[...]
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/input/mod.rs:187:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This should probably be handled more gracefully, perhaps defaulting to something that should work (as long as the necessary xkb data files exist at all).

Plugging in external monitor makes internal monitor go black, but still shows as enabled in wdisplays, has `wl_output`

I believe with the way monitor configuration in handled in cosmic-comp, it is expected that the monitor is disabled when I plug in external monitors since I've configured it that way with wdisplays previously.

But it doesn't quite work correctly. wdisplays shows the output as enabled. It still has a wl_output global, and dmabuf_export produces an image that shows what was on the screen previously.

Disabling the output in wdisplays makes it no longer produce a wl_output global, as expected.

Desktop: It also stops working when the monitor is turned off.

Last logs:

Jan 07 07:18:52.336 INFO New device "event0", smithay_module: backend_libinput
Jan 07 07:18:52.344 INFO New device "event1", smithay_module: backend_libinput
Jan 07 07:18:52.353 INFO New device "event7", smithay_module: backend_libinput
Jan 07 07:18:55.732 INFO Device changed: #57856, smithay_module: backend_udev
Jan 07 07:18:55.833 INFO Dropping device: Some("/dev/dri/card0"), smithay_module: backend_drm
Jan 07 07:18:55.854 INFO Device changed: #57856, smithay_module: backend_udev
Jan 07 07:18:55.879 INFO Shutting down
Jan 07 07:18:55.880 INFO Dropping device: Some("/dev/dri/card0"), smithay_module: backend_drm

Seems caused by:

if data.state.common.shell.outputs().next().is_none() || data.state.common.should_stop {

Unable to load source for Smithay dependency.

I was unable to compile the project.

Updating git repository `https://github.com/pop-os/smithay`
error: failed to load source for dependency `smithay`

Caused by:
  Unable to update https://github.com/pop-os/smithay?branch=main#bb4bdc61

Caused by:
  object not found - no match for id (bb4bdc613ff91e06b2205d4021d8c2003e9ef660); class=Odb (9); code=NotFound (-3)

It appears that specifying the branch inside the Cargo.toml is causing this issue.

[patch."https://github.com/Smithay/smithay.git"]
smithay = { git = "https://github.com/pop-os/smithay", branch = "main" }

By removing it, the issue is resolved, I can send a PR, let me know if this solution is acceptable to you.

Duplicate mouse cursor upon login from GDM

After logging in from GDM, my mouse cursor from GDM remains on the screen in the position it was at in GDM for about ten seconds, while I get a new mouse cursor to actually use in COSMIC.

C0053-compress.mp4

Documentation

I would like to start documenting this project, is there any inconvenient?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.